Skip to content

Commit 9593059

Browse files
authored
Merge pull request #305 from platanus/ruby27-adjustments
Ruby27 adjustments
2 parents 524cc42 + 45bcc21 commit 9593059

File tree

7 files changed

+40
-23
lines changed

7 files changed

+40
-23
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ gemspec
1212

1313
# To use debugger
1414
# gem "debugger"
15-
gem "activeadmin", github: "activeadmin"
15+
gem "activeadmin"
1616
gem "devise"

Gemfile.lock

Lines changed: 32 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,3 @@
1-
GIT
2-
remote: git://github.com/activeadmin/activeadmin.git
3-
revision: a92ee4d2394f3f5b8ee15de7f26e4ce754834842
4-
specs:
5-
activeadmin (2.6.1)
6-
arbre (~> 1.2, >= 1.2.1)
7-
formtastic (~> 3.1)
8-
formtastic_i18n (~> 0.4)
9-
inherited_resources (~> 1.7)
10-
jquery-rails (~> 4.2)
11-
kaminari (~> 1.0, >= 1.0.1)
12-
railties (>= 5.2, < 6.1)
13-
ransack (~> 2.1, >= 2.1.1)
14-
sassc-rails (~> 2.1)
15-
sprockets (>= 3.0, < 4.1)
16-
171
PATH
182
remote: .
193
specs:
@@ -54,6 +38,17 @@ GEM
5438
rails-dom-testing (~> 2.0)
5539
rails-html-sanitizer (~> 1.0, >= 1.0.3)
5640
active_material (1.4.2)
41+
activeadmin (2.7.0)
42+
arbre (~> 1.2, >= 1.2.1)
43+
formtastic (~> 3.1)
44+
formtastic_i18n (~> 0.4)
45+
inherited_resources (~> 1.7)
46+
jquery-rails (~> 4.2)
47+
kaminari (~> 1.0, >= 1.0.1)
48+
railties (>= 5.2, < 6.1)
49+
ransack (~> 2.1, >= 2.1.1)
50+
sassc-rails (~> 2.1)
51+
sprockets (>= 3.0, < 4.1)
5752
activejob (5.2.4.1)
5853
activesupport (= 5.2.4.1)
5954
globalid (>= 0.3.6)
@@ -77,6 +72,7 @@ GEM
7772
arbre (1.2.1)
7873
activesupport (>= 3.0.0)
7974
arel (9.0.0)
75+
ast (2.4.0)
8076
bcrypt (3.1.13)
8177
builder (3.2.4)
8278
capybara (3.31.0)
@@ -142,6 +138,7 @@ GEM
142138
has_scope (~> 0.6)
143139
railties (>= 5.0, < 6.1)
144140
responders (>= 2, < 4)
141+
jaro_winkler (1.5.4)
145142
jquery-rails (4.3.5)
146143
rails-dom-testing (>= 1, < 3)
147144
railties (>= 4.2.0)
@@ -191,13 +188,18 @@ GEM
191188
mime-types
192189
mimemagic (~> 0.3.0)
193190
terrapin (~> 0.6.0)
191+
parallel (1.19.1)
192+
parser (2.7.1.2)
193+
ast (~> 2.4.0)
194194
polyamorous (2.3.2)
195195
activerecord (>= 5.2.1)
196+
powerpack (0.1.2)
196197
pry (0.12.2)
197198
coderay (~> 1.1.0)
198199
method_source (~> 0.9.0)
199200
pry-rails (0.3.9)
200201
pry (>= 0.10.4)
202+
psych (3.1.0)
201203
public_suffix (4.0.3)
202204
puma (4.3.3)
203205
nio4r (~> 2.0)
@@ -228,6 +230,7 @@ GEM
228230
method_source
229231
rake (>= 0.8.7)
230232
thor (>= 0.19.0, < 2.0)
233+
rainbow (3.0.0)
231234
rake (13.0.1)
232235
ransack (2.3.2)
233236
activerecord (>= 5.2.1)
@@ -263,6 +266,16 @@ GEM
263266
rspec-mocks (~> 3.9.0)
264267
rspec-support (~> 3.9.0)
265268
rspec-support (3.9.2)
269+
rubocop (0.65.0)
270+
jaro_winkler (~> 1.5.1)
271+
parallel (~> 1.10)
272+
parser (>= 2.5, != 2.5.1.1)
273+
powerpack (~> 0.1)
274+
psych (>= 3.1.0)
275+
rainbow (>= 2.2.2, < 4.0)
276+
ruby-progressbar (~> 1.7)
277+
unicode-display_width (~> 1.4.0)
278+
ruby-progressbar (1.10.1)
266279
rubyzip (2.2.0)
267280
sassc (2.2.1)
268281
ffi (~> 1.9)
@@ -293,6 +306,7 @@ GEM
293306
tilt (2.0.10)
294307
tzinfo (1.2.6)
295308
thread_safe (~> 0.1)
309+
unicode-display_width (1.4.1)
296310
warden (1.2.8)
297311
rack (>= 2.0.6)
298312
webdrivers (4.2.0)
@@ -313,7 +327,7 @@ PLATFORMS
313327

314328
DEPENDENCIES
315329
aasm
316-
activeadmin!
330+
activeadmin
317331
activeadmin_addons!
318332
capybara-selenium
319333
database_cleaner
@@ -327,6 +341,7 @@ DEPENDENCIES
327341
puma
328342
rails (~> 5.2, >= 5.2.4.1)
329343
rspec-rails
344+
rubocop (~> 0.65.0)
330345
shoulda-matchers
331346
sqlite3
332347
webdrivers

activeadmin_addons.gemspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ Gem::Specification.new do |s|
3737
s.add_development_dependency "puma"
3838
s.add_development_dependency "rails", "~> 5.2", ">= 5.2.4.1"
3939
s.add_development_dependency "rspec-rails"
40+
s.add_development_dependency "rubocop", "~> 0.65.0"
4041
s.add_development_dependency "shoulda-matchers"
4142
s.add_development_dependency "sqlite3"
4243
s.add_development_dependency "webdrivers"

spec/dummy/config/application.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,6 @@ class Application < Rails::Application
2626
# config.i18n.default_locale = :de
2727
config.secret_key_base = 'TODO Put something here'
2828
config.action_controller.permit_all_parameters = true
29+
config.active_record.sqlite3.represent_boolean_as_integer = true
2930
end
3031
end

spec/dummy/spec/factories/cities.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
FactoryBot.define do
44
factory :city do
5-
name "MyString"
6-
region nil
5+
name { "MyString" }
6+
region { nil }
77
end
88
end

spec/dummy/spec/factories/countries.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
FactoryBot.define do
44
factory :country do
5-
name "MyString"
5+
name { "MyString" }
66
end
77
end

spec/dummy/spec/factories/regions.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
FactoryBot.define do
44
factory :region do
5-
name "MyString"
6-
country nil
5+
name { "MyString" }
6+
country { nil }
77
end
88
end

0 commit comments

Comments
 (0)