rails_admin_settings 1.1.4 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 47d3f93294e3ae605d3c32140ba23450c262a89f
4
- data.tar.gz: ba5887e77196c8e4f1b3d3c7944e3248ffe99442
3
+ metadata.gz: e3237e11ad711cca7d223e52fd22295b794af6da
4
+ data.tar.gz: 0ae58d2d039704ea6ef6a53f85842e55873a94f8
5
5
  SHA512:
6
- metadata.gz: 0db473dcb00deb425abffbf1cccaf6745c113f265a9931313993fd50d830bbb3496929fb9ae55652abc2adce08181053560ecc6caba2b3be5e7e5ab056af14e0
7
- data.tar.gz: e9360ca3b45ecc6b02e6c2563b842952697ceda330fbc2cb02252db57af14abe61301d4effa9089e9045e2db38c25b2923c80a712856f4264507d7e6c1720378
6
+ metadata.gz: dde5441f235573ee477bf82e8cc1cb7b9665674ce2fd6e9946b58cb412ea6d7e37a00d7b41257a78d868dff36f2debb0ce772e54cf49a9ebacc8a465b1c154aa
7
+ data.tar.gz: 01a5777944b1429f70425ce169b69c600c1dce03dbb2c5b27bc4c786ecbfcc56850cb6f43dac338381ec1071585be682c6befc77a9e058439d4ede585bb71ddf
data/.travis.yml CHANGED
@@ -5,13 +5,13 @@ notifications:
5
5
  email: false
6
6
 
7
7
  rvm:
8
- - 2.2.2
9
-
8
+ - 2.3.3
9
+
10
10
  env:
11
11
  - "UPLOADS=paperclip"
12
12
  - "UPLOADS=carrierwave"
13
13
 
14
14
  gemfile:
15
- - gemfiles/mongoid-3.1.gemfile
16
- - gemfiles/mongoid-4.0.gemfile
15
+ - gemfiles/mongoid-6.0.gemfile
16
+ - gemfiles/mongoid-6.1.gemfile
17
17
 
data/Gemfile.lock CHANGED
@@ -1,52 +1,53 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rails_admin_settings (1.1.4)
4
+ rails_admin_settings (1.2.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
- actioncable (5.0.0.1)
10
- actionpack (= 5.0.0.1)
11
- nio4r (~> 1.2)
9
+ actioncable (5.0.2)
10
+ actionpack (= 5.0.2)
11
+ nio4r (>= 1.2, < 3.0)
12
12
  websocket-driver (~> 0.6.1)
13
- actionmailer (5.0.0.1)
14
- actionpack (= 5.0.0.1)
15
- actionview (= 5.0.0.1)
16
- activejob (= 5.0.0.1)
13
+ actionmailer (5.0.2)
14
+ actionpack (= 5.0.2)
15
+ actionview (= 5.0.2)
16
+ activejob (= 5.0.2)
17
17
  mail (~> 2.5, >= 2.5.4)
18
18
  rails-dom-testing (~> 2.0)
19
- actionpack (5.0.0.1)
20
- actionview (= 5.0.0.1)
21
- activesupport (= 5.0.0.1)
19
+ actionpack (5.0.2)
20
+ actionview (= 5.0.2)
21
+ activesupport (= 5.0.2)
22
22
  rack (~> 2.0)
23
23
  rack-test (~> 0.6.3)
24
24
  rails-dom-testing (~> 2.0)
25
25
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
26
- actionview (5.0.0.1)
27
- activesupport (= 5.0.0.1)
26
+ actionview (5.0.2)
27
+ activesupport (= 5.0.2)
28
28
  builder (~> 3.1)
29
29
  erubis (~> 2.7.0)
30
30
  rails-dom-testing (~> 2.0)
31
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
32
- activejob (5.0.0.1)
33
- activesupport (= 5.0.0.1)
31
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
32
+ activejob (5.0.2)
33
+ activesupport (= 5.0.2)
34
34
  globalid (>= 0.3.6)
35
- activemodel (5.0.0.1)
36
- activesupport (= 5.0.0.1)
37
- activerecord (5.0.0.1)
38
- activemodel (= 5.0.0.1)
39
- activesupport (= 5.0.0.1)
35
+ activemodel (5.0.2)
36
+ activesupport (= 5.0.2)
37
+ activerecord (5.0.2)
38
+ activemodel (= 5.0.2)
39
+ activesupport (= 5.0.2)
40
40
  arel (~> 7.0)
41
- activesupport (5.0.0.1)
41
+ activesupport (5.0.2)
42
42
  concurrent-ruby (~> 1.0, >= 1.0.2)
43
43
  i18n (~> 0.7)
44
44
  minitest (~> 5.1)
45
45
  tzinfo (~> 1.1)
46
- addressable (2.4.0)
46
+ addressable (2.5.0)
47
+ public_suffix (~> 2.0, >= 2.0.2)
47
48
  arel (7.1.4)
48
- bson (4.1.1)
49
- builder (3.2.2)
49
+ bson (4.2.1)
50
+ builder (3.2.3)
50
51
  carrierwave (0.11.2)
51
52
  activemodel (>= 3.2.0)
52
53
  activesupport (>= 3.2.0)
@@ -57,27 +58,23 @@ GEM
57
58
  carrierwave (>= 0.8.0, < 0.12.0)
58
59
  mongoid (>= 3.0, < 7.0)
59
60
  mongoid-grid_fs (>= 1.3, < 3.0)
60
- climate_control (0.0.3)
61
- activesupport (>= 3.0)
61
+ climate_control (0.1.0)
62
62
  cocaine (0.5.8)
63
63
  climate_control (>= 0.0.3, < 1.0)
64
64
  coderay (1.1.1)
65
- concurrent-ruby (1.0.2)
65
+ concurrent-ruby (1.0.5)
66
66
  crass (1.0.2)
67
67
  database_cleaner (1.5.3)
68
- diff-lcs (1.2.5)
68
+ diff-lcs (1.3)
69
69
  docile (1.1.5)
70
70
  erubis (2.7.0)
71
- factory_girl (4.7.0)
71
+ factory_girl (4.8.0)
72
72
  activesupport (>= 3.0.0)
73
- geocoder (1.4.0)
74
- glebtv-mongoid-paperclip (0.5.0)
75
- mongoid (>= 3.0, < 6.1)
76
- paperclip (~> 5.1.0)
73
+ geocoder (1.4.3)
77
74
  globalid (0.3.7)
78
75
  activesupport (>= 4.1.0)
79
- i18n (0.7.0)
80
- json (2.0.2)
76
+ i18n (0.8.1)
77
+ json (2.0.3)
81
78
  loofah (2.0.3)
82
79
  nokogiri (>= 1.5.9)
83
80
  mail (2.6.4)
@@ -88,23 +85,26 @@ GEM
88
85
  mime-types-data (3.2016.0521)
89
86
  mimemagic (0.3.2)
90
87
  mini_portile2 (2.1.0)
91
- minitest (5.9.1)
92
- mongo (2.3.0)
93
- bson (~> 4.1)
94
- mongoid (6.0.0)
88
+ minitest (5.10.1)
89
+ mongo (2.4.1)
90
+ bson (>= 4.2.1, < 5.0.0)
91
+ mongoid (6.1.0)
95
92
  activemodel (~> 5.0)
96
- mongo (~> 2.3)
93
+ mongo (>= 2.4.1, < 3.0.0)
97
94
  mongoid-grid_fs (2.3.0)
98
95
  mime-types (>= 1.0, < 4.0)
99
96
  mongoid (>= 3.0, < 7.0)
97
+ mongoid-paperclip (0.0.11)
98
+ mongoid
99
+ paperclip (>= 2.3.6, != 4.3.0)
100
100
  mongoid-rspec (1.10.0)
101
101
  mongoid (>= 3.0.1)
102
102
  rake
103
103
  rspec (>= 2.14)
104
- nio4r (1.2.1)
105
- nokogiri (1.6.8.1)
104
+ nio4r (2.0.0)
105
+ nokogiri (1.7.1)
106
106
  mini_portile2 (~> 2.1.0)
107
- nokogumbo (1.4.9)
107
+ nokogumbo (1.4.10)
108
108
  nokogiri
109
109
  paperclip (5.1.0)
110
110
  activemodel (>= 4.2.0)
@@ -116,33 +116,34 @@ GEM
116
116
  coderay (~> 1.1.0)
117
117
  method_source (~> 0.8.1)
118
118
  slop (~> 3.4)
119
+ public_suffix (2.0.5)
119
120
  rack (2.0.1)
120
121
  rack-test (0.6.3)
121
122
  rack (>= 1.0)
122
- rails (5.0.0.1)
123
- actioncable (= 5.0.0.1)
124
- actionmailer (= 5.0.0.1)
125
- actionpack (= 5.0.0.1)
126
- actionview (= 5.0.0.1)
127
- activejob (= 5.0.0.1)
128
- activemodel (= 5.0.0.1)
129
- activerecord (= 5.0.0.1)
130
- activesupport (= 5.0.0.1)
123
+ rails (5.0.2)
124
+ actioncable (= 5.0.2)
125
+ actionmailer (= 5.0.2)
126
+ actionpack (= 5.0.2)
127
+ actionview (= 5.0.2)
128
+ activejob (= 5.0.2)
129
+ activemodel (= 5.0.2)
130
+ activerecord (= 5.0.2)
131
+ activesupport (= 5.0.2)
131
132
  bundler (>= 1.3.0, < 2.0)
132
- railties (= 5.0.0.1)
133
+ railties (= 5.0.2)
133
134
  sprockets-rails (>= 2.0.0)
134
- rails-dom-testing (2.0.1)
135
+ rails-dom-testing (2.0.2)
135
136
  activesupport (>= 4.2.0, < 6.0)
136
- nokogiri (~> 1.6.0)
137
+ nokogiri (~> 1.6)
137
138
  rails-html-sanitizer (1.0.3)
138
139
  loofah (~> 2.0)
139
- railties (5.0.0.1)
140
- actionpack (= 5.0.0.1)
141
- activesupport (= 5.0.0.1)
140
+ railties (5.0.2)
141
+ actionpack (= 5.0.2)
142
+ activesupport (= 5.0.2)
142
143
  method_source
143
144
  rake (>= 0.8.7)
144
145
  thor (>= 0.18.1, < 2.0)
145
- rake (11.3.0)
146
+ rake (12.0.0)
146
147
  rspec (3.5.0)
147
148
  rspec-core (~> 3.5.0)
148
149
  rspec-expectations (~> 3.5.0)
@@ -162,26 +163,26 @@ GEM
162
163
  crass (~> 1.0.2)
163
164
  nokogiri (>= 1.4.4)
164
165
  nokogumbo (~> 1.4.1)
165
- simplecov (0.12.0)
166
+ simplecov (0.14.1)
166
167
  docile (~> 1.1.0)
167
168
  json (>= 1.8, < 3)
168
169
  simplecov-html (~> 0.10.0)
169
170
  simplecov-html (0.10.0)
170
171
  slop (3.6.0)
171
- sprockets (3.7.0)
172
+ sprockets (3.7.1)
172
173
  concurrent-ruby (~> 1.0)
173
174
  rack (> 1, < 3)
174
175
  sprockets-rails (3.2.0)
175
176
  actionpack (>= 4.0)
176
177
  activesupport (>= 4.0)
177
178
  sprockets (>= 3.0.0)
178
- thor (0.19.1)
179
- thread_safe (0.3.5)
179
+ thor (0.19.4)
180
+ thread_safe (0.3.6)
180
181
  tzinfo (1.2.2)
181
182
  thread_safe (~> 0.1)
182
183
  validates_email_format_of (1.6.3)
183
184
  i18n
184
- websocket-driver (0.6.4)
185
+ websocket-driver (0.6.5)
185
186
  websocket-extensions (>= 0.1.0)
186
187
  websocket-extensions (0.1.2)
187
188
 
@@ -195,8 +196,8 @@ DEPENDENCIES
195
196
  database_cleaner
196
197
  factory_girl
197
198
  geocoder
198
- glebtv-mongoid-paperclip
199
- mongoid (~> 6.0)
199
+ mongoid (~> 6.1)
200
+ mongoid-paperclip
200
201
  mongoid-rspec
201
202
  pry
202
203
  rails
@@ -210,4 +211,4 @@ DEPENDENCIES
210
211
  validates_email_format_of
211
212
 
212
213
  BUNDLED WITH
213
- 1.13.1
214
+ 1.14.6
@@ -1,5 +1,5 @@
1
1
  source "https://rubygems.org"
2
2
 
3
- gem "mongoid", "~> 4.0.0.beta1"
3
+ gem "mongoid", "~> 6.0.0"
4
4
 
5
5
  gemspec path: "../"
@@ -0,0 +1,5 @@
1
+ source "https://rubygems.org"
2
+
3
+ gem "mongoid", "~> 6.1.0"
4
+
5
+ gemspec path: "../"
@@ -1,3 +1,3 @@
1
1
  module RailsAdminSettings
2
- VERSION = "1.1.4"
2
+ VERSION = "1.2.0"
3
3
  end
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
19
19
  spec.require_paths = ["lib"]
20
20
 
21
21
 
22
- spec.add_development_dependency "mongoid", '~> 6.0'
22
+ spec.add_development_dependency "mongoid", '~> 6.1'
23
23
  spec.add_development_dependency "rails"
24
24
  spec.add_development_dependency "bundler"
25
25
  spec.add_development_dependency "rake"
@@ -35,6 +35,6 @@ Gem::Specification.new do |spec|
35
35
  spec.add_development_dependency "geocoder"
36
36
  spec.add_development_dependency "addressable"
37
37
  spec.add_development_dependency "carrierwave-mongoid"
38
- spec.add_development_dependency "glebtv-mongoid-paperclip"
38
+ spec.add_development_dependency "mongoid-paperclip"
39
39
  spec.add_development_dependency "pry"
40
40
  end
data/spec/spec_helper.rb CHANGED
@@ -18,7 +18,7 @@ require 'database_cleaner'
18
18
  require 'factory_girl'
19
19
  require 'mongoid-rspec'
20
20
 
21
- require "glebtv-mongoid-paperclip" if ENV['UPLOADS'] == 'paperclip'
21
+ require "mongoid-paperclip" if ENV['UPLOADS'] == 'paperclip'
22
22
  if ENV['UPLOADS'] == 'carrierwave'
23
23
  require "carrierwave/mongoid"
24
24
  CarrierWave.configure do |config|
@@ -28,7 +28,7 @@ if ENV['UPLOADS'] == 'carrierwave'
28
28
  end
29
29
  end
30
30
 
31
- I18n.enforce_available_locales = true
31
+ I18n.enforce_available_locales = true
32
32
  I18n.load_path << File.join(File.dirname(__FILE__), "..", "config", "locales", "en.yml")
33
33
 
34
34
  Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each do |f|
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_admin_settings
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.4
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gleb Tv
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-14 00:00:00.000000000 Z
11
+ date: 2017-03-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mongoid
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '6.0'
19
+ version: '6.1'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '6.0'
26
+ version: '6.1'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rails
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -235,7 +235,7 @@ dependencies:
235
235
  - !ruby/object:Gem::Version
236
236
  version: '0'
237
237
  - !ruby/object:Gem::Dependency
238
- name: glebtv-mongoid-paperclip
238
+ name: mongoid-paperclip
239
239
  requirement: !ruby/object:Gem::Requirement
240
240
  requirements:
241
241
  - - ">="
@@ -284,8 +284,8 @@ files:
284
284
  - app/views/rails_admin/main/_setting_value.html.haml
285
285
  - config/locales/en.yml
286
286
  - config/locales/ru.yml
287
- - gemfiles/mongoid-3.1.gemfile
288
- - gemfiles/mongoid-4.0.gemfile
287
+ - gemfiles/mongoid-6.0.gemfile
288
+ - gemfiles/mongoid-6.1.gemfile
289
289
  - lib/generators/rails_admin_settings/migration_generator.rb
290
290
  - lib/generators/rails_admin_settings/templates/migration.rb
291
291
  - lib/rails_admin_settings.rb
@@ -346,7 +346,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
346
346
  version: '0'
347
347
  requirements: []
348
348
  rubyforge_project:
349
- rubygems_version: 2.5.1
349
+ rubygems_version: 2.6.10
350
350
  signing_key:
351
351
  specification_version: 4
352
352
  summary: ''
@@ -1,5 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- gem "mongoid", github: "mongoid/mongoid", branch: "3.1.0-stable"
4
-
5
- gemspec path: "../"