Skip to content

Commit 2f4601d

Browse files
committed
enumerize supports rails 5 now, and friendly_id uses the master branch
- also updated activeadmin to use the master branch as that has rails 5 support
1 parent 5673c7c commit 2f4601d

2 files changed

Lines changed: 40 additions & 75 deletions

File tree

Gemfile

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ gem 'pg'
99
gem 'schema_plus_core', github: 'SchemaPlus/schema_plus_core', branch: 'activerecord-5.0'
1010
# gem 'schema_plus_foreign_keys', github: 'SchemaPlus/schema_plus_foreign_keys', branch: 'activerecord-5.0'
1111
# Add enumerize gem
12-
gem 'enumerize', github: 'brainspec/enumerize', branch: 'rails-5'
12+
gem 'enumerize'
1313

1414
# Use bootstrap
1515
gem 'bootstrap-sass', '~> 3.3.6'
@@ -28,14 +28,10 @@ gem 'haml-rails'
2828

2929
# jquery form validation plugin
3030
gem 'jquery-validation-rails'
31-
gem 'activeadmin', '~> 1.0.0.pre4'
31+
gem 'activeadmin', github: 'activeadmin'
3232
# TODO remove these once activeamdin is rails 5 ready
3333
# activeadmin dependencies that have rails 5 support
3434
gem 'inherited_resources', github: 'activeadmin/inherited_resources'
35-
gem 'ransack', github: 'activerecord-hackery/ransack'
36-
gem 'formtastic', github: 'justinfrench/formtastic'
37-
gem 'activemodel-serializers-xml', github: 'rails/activemodel-serializers-xml'
38-
gem 'draper', github: 'audionerd/draper', branch: 'rails5' #, ref: 'e816e0e587'
3935
# END depedencies
4036

4137
# Use jquery as the JavaScript library
@@ -82,7 +78,7 @@ gem 'useragent'
8278
gem 'addressable'
8379

8480
#better urls
85-
gem 'friendly_id', '~> 5.1.0'
81+
gem 'friendly_id', github: 'norman/friendly_id'
8682

8783
#group objects by time frames
8884
gem 'groupdate'

Gemfile.lock

Lines changed: 37 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,25 @@ GIT
77
activerecord (>= 4.2, < 6)
88
schema_monkey (~> 2.1)
99

10+
GIT
11+
remote: git://github.com/activeadmin/activeadmin.git
12+
revision: 15820510e4ba3c81dbfeb966f237380123304404
13+
specs:
14+
activeadmin (1.0.0.pre4)
15+
arbre (~> 1.0, >= 1.0.2)
16+
bourbon
17+
coffee-rails
18+
formtastic (~> 3.1)
19+
formtastic_i18n
20+
inherited_resources (~> 1.6)
21+
jquery-rails
22+
jquery-ui-rails
23+
kaminari (~> 0.15)
24+
railties (>= 3.2, < 5.1)
25+
ransack (~> 1.3)
26+
sass-rails
27+
sprockets (< 4.1)
28+
1029
GIT
1130
remote: git://github.com/activeadmin/inherited_resources.git
1231
revision: d50b05f7e9e36dd45f065871e836a57a33ba4118
@@ -18,51 +37,11 @@ GIT
1837
responders
1938

2039
GIT
21-
remote: git://github.com/activerecord-hackery/ransack.git
22-
revision: fd94685abc0d18d30a730a57fb3dbd8aff048f7d
23-
specs:
24-
ransack (1.7.0)
25-
actionpack (>= 3.0)
26-
activerecord (>= 3.0)
27-
activesupport (>= 3.0)
28-
i18n
29-
polyamorous (~> 1.3)
30-
31-
GIT
32-
remote: git://github.com/audionerd/draper.git
33-
revision: e816e0e5876b76c648c0928f1c3f2aa2c7a3d1f2
34-
branch: rails5
35-
specs:
36-
draper (2.1.0)
37-
actionpack (>= 3.0)
38-
activemodel (>= 3.0)
39-
activesupport (>= 3.0)
40-
request_store (~> 1.0)
41-
42-
GIT
43-
remote: git://github.com/brainspec/enumerize.git
44-
revision: dc3c2a7dee8d30754b706329d49fe742507f6aee
45-
branch: rails-5
40+
remote: git://github.com/norman/friendly_id.git
41+
revision: aff0564584e84ffa505e6e278b65ca3c4ee5d698
4642
specs:
47-
enumerize (1.1.1)
48-
activesupport (>= 3.2)
49-
50-
GIT
51-
remote: git://github.com/justinfrench/formtastic.git
52-
revision: f591abe68fe0d3de338425b910e4316b5dcf8fd7
53-
specs:
54-
formtastic (3.2.0.pre)
55-
actionpack (>= 4.1.0)
56-
57-
GIT
58-
remote: git://github.com/rails/activemodel-serializers-xml.git
59-
revision: 570ee7ed33d60e44ca1f3ccbec3d1fbf61d52cbf
60-
specs:
61-
activemodel-serializers-xml (1.0.1)
62-
activemodel (> 5.x)
63-
activerecord (> 5.x)
64-
activesupport (> 5.x)
65-
builder (~> 3.1)
43+
friendly_id (5.2.0.beta.1)
44+
activerecord (>= 4.0.0)
6645

6746
GEM
6847
remote: https://rubygems.org/
@@ -90,20 +69,6 @@ GEM
9069
erubis (~> 2.7.0)
9170
rails-dom-testing (~> 2.0)
9271
rails-html-sanitizer (~> 1.0, >= 1.0.2)
93-
activeadmin (1.0.0.pre4)
94-
arbre (~> 1.0, >= 1.0.2)
95-
bourbon
96-
coffee-rails
97-
formtastic (~> 3.1)
98-
formtastic_i18n
99-
inherited_resources (~> 1.6)
100-
jquery-rails
101-
jquery-ui-rails
102-
kaminari (~> 0.15)
103-
rails (>= 3.2, < 5.1)
104-
ransack (~> 1.3)
105-
sass-rails
106-
sprockets (< 4)
10772
activejob (5.0.0)
10873
activesupport (= 5.0.0)
10974
globalid (>= 0.3.6)
@@ -172,6 +137,8 @@ GEM
172137
docile (1.1.5)
173138
domain_name (0.5.20160615)
174139
unf (>= 0.0.5, < 1.0.0)
140+
enumerize (2.0.0)
141+
activesupport (>= 3.2)
175142
erubis (2.7.0)
176143
eventmachine (1.2.0.1)
177144
execjs (2.7.0)
@@ -188,9 +155,9 @@ GEM
188155
thor (~> 0.14)
189156
font-awesome-sass (4.6.2)
190157
sass (>= 3.2)
158+
formtastic (3.1.4)
159+
actionpack (>= 3.2.13)
191160
formtastic_i18n (0.6.0)
192-
friendly_id (5.1.0)
193-
activerecord (>= 4.0.0)
194161
globalid (0.3.6)
195162
activesupport (>= 4.1.0)
196163
gon (6.1.0)
@@ -291,7 +258,7 @@ GEM
291258
rake (>= 0.8.1)
292259
pg (0.18.4)
293260
pkg-config (1.1.7)
294-
polyamorous (1.3.0)
261+
polyamorous (1.3.1)
295262
activerecord (>= 3.0)
296263
pry (0.10.4)
297264
coderay (~> 1.1.0)
@@ -337,6 +304,12 @@ GEM
337304
rake (>= 0.8.7)
338305
thor (>= 0.18.1, < 2.0)
339306
rake (11.2.2)
307+
ransack (1.8.2)
308+
actionpack (>= 3.0)
309+
activerecord (>= 3.0)
310+
activesupport (>= 3.0)
311+
i18n
312+
polyamorous (~> 1.3)
340313
rdoc (4.2.2)
341314
json (~> 1.4)
342315
redis (3.3.1)
@@ -447,8 +420,7 @@ PLATFORMS
447420
ruby
448421

449422
DEPENDENCIES
450-
activeadmin (~> 1.0.0.pre4)
451-
activemodel-serializers-xml!
423+
activeadmin!
452424
addressable
453425
bcrypt (~> 3.1.7)
454426
better_errors
@@ -462,14 +434,12 @@ DEPENDENCIES
462434
coffee-rails
463435
dalli
464436
database_cleaner
465-
draper!
466-
enumerize!
437+
enumerize
467438
factory_girl_rails
468439
faker
469440
figaro
470441
font-awesome-sass
471-
formtastic!
472-
friendly_id (~> 5.1.0)
442+
friendly_id!
473443
gon
474444
groupdate
475445
haml-rails
@@ -492,7 +462,6 @@ DEPENDENCIES
492462
rails-controller-testing
493463
rails_12factor
494464
rails_warden
495-
ransack!
496465
rest-client
497466
rspec-rails (~> 3.5)
498467
sass-rails

0 commit comments

Comments
 (0)