rails_admin_settings 0.9.0.pre.2 → 0.9.0.pre.3
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 +4 -4
- data/Gemfile.lock +1 -87
- data/lib/rails_admin_settings/version.rb +1 -1
- data/lib/rails_admin_settings.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fd1a916f88cb3ba3b6698194be6d109272250d29
|
|
4
|
+
data.tar.gz: c05392e903d074555dc73b0031129e62350c001d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4939894fc05a8340e07b634bf6feb1ea460e98ced1a63b5e8e38fba1443bce35b9cd20108935a3c5a4a3d2b0338bd4039f8fa644355ddf00fe50a125bebcad13
|
|
7
|
+
data.tar.gz: d4143ec7c3ec0e2a01c7f2be92f8719d66a22c984c6502648c5006f6d6397ba5c0b3623025ab3f031a58268d591dd5f40f0cec3731b1f999bd27e5737f411c70
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
rails_admin_settings (0.9.0.pre.
|
|
4
|
+
rails_admin_settings (0.9.0.pre.3)
|
|
5
5
|
|
|
6
6
|
GEM
|
|
7
7
|
remote: https://rubygems.org/
|
|
@@ -155,92 +155,6 @@ GEM
|
|
|
155
155
|
tilt (1.4.1)
|
|
156
156
|
treetop (1.4.15)
|
|
157
157
|
polyglot
|
|
158
|
-
polyglot
|
|
159
|
-
polyglot
|
|
160
|
-
polyglot
|
|
161
|
-
polyglot
|
|
162
|
-
polyglot
|
|
163
|
-
polyglot
|
|
164
|
-
polyglot
|
|
165
|
-
polyglot
|
|
166
|
-
polyglot
|
|
167
|
-
polyglot
|
|
168
|
-
polyglot
|
|
169
|
-
polyglot
|
|
170
|
-
polyglot
|
|
171
|
-
polyglot
|
|
172
|
-
polyglot
|
|
173
|
-
polyglot
|
|
174
|
-
polyglot (>= 0.3.1)
|
|
175
|
-
polyglot (>= 0.3.1)
|
|
176
|
-
polyglot (>= 0.3.1)
|
|
177
|
-
polyglot (>= 0.3.1)
|
|
178
|
-
polyglot (>= 0.3.1)
|
|
179
|
-
polyglot (>= 0.3.1)
|
|
180
|
-
polyglot (>= 0.3.1)
|
|
181
|
-
polyglot (>= 0.3.1)
|
|
182
|
-
polyglot (>= 0.3.1)
|
|
183
|
-
polyglot (>= 0.3.1)
|
|
184
|
-
polyglot (>= 0.3.1)
|
|
185
|
-
polyglot (>= 0.3.1)
|
|
186
|
-
polyglot (>= 0.3.1)
|
|
187
|
-
polyglot (>= 0.3.1)
|
|
188
|
-
polyglot (>= 0.3.1)
|
|
189
|
-
polyglot (>= 0.3.1)
|
|
190
|
-
polyglot (>= 0.3.1)
|
|
191
|
-
polyglot (>= 0.3.1)
|
|
192
|
-
polyglot (>= 0.3.1)
|
|
193
|
-
polyglot (>= 0.3.1)
|
|
194
|
-
polyglot (>= 0.3.1)
|
|
195
|
-
polyglot (>= 0.3.1)
|
|
196
|
-
polyglot (>= 0.3.1)
|
|
197
|
-
polyglot (>= 0.3.1)
|
|
198
|
-
polyglot (>= 0.3.1)
|
|
199
|
-
polyglot (>= 0.3.1)
|
|
200
|
-
polyglot (>= 0.3.1)
|
|
201
|
-
polyglot (>= 0.3.1)
|
|
202
|
-
polyglot (>= 0.3.1)
|
|
203
|
-
polyglot (>= 0.3.1)
|
|
204
|
-
polyglot (>= 0.3.1)
|
|
205
|
-
polyglot (>= 0.3.1)
|
|
206
|
-
polyglot (>= 0.3.1)
|
|
207
|
-
polyglot (>= 0.3.1)
|
|
208
|
-
polyglot (>= 0.3.1)
|
|
209
|
-
polyglot (>= 0.3.1)
|
|
210
|
-
polyglot (>= 0.3.1)
|
|
211
|
-
polyglot (>= 0.3.1)
|
|
212
|
-
polyglot (>= 0.3.1)
|
|
213
|
-
polyglot (>= 0.3.1)
|
|
214
|
-
polyglot (>= 0.3.1)
|
|
215
|
-
polyglot (>= 0.3.1)
|
|
216
|
-
polyglot (>= 0.3.1)
|
|
217
|
-
polyglot (>= 0.3.1)
|
|
218
|
-
polyglot (>= 0.3.1)
|
|
219
|
-
polyglot (>= 0.3.1)
|
|
220
|
-
polyglot (>= 0.3.1)
|
|
221
|
-
polyglot (>= 0.3.1)
|
|
222
|
-
polyglot (>= 0.3.1)
|
|
223
|
-
polyglot (>= 0.3.1)
|
|
224
|
-
polyglot (>= 0.3.1)
|
|
225
|
-
polyglot (>= 0.3.1)
|
|
226
|
-
polyglot (>= 0.3.1)
|
|
227
|
-
polyglot (>= 0.3.1)
|
|
228
|
-
polyglot (>= 0.3.1)
|
|
229
|
-
polyglot (>= 0.3.1)
|
|
230
|
-
polyglot (>= 0.3.1)
|
|
231
|
-
polyglot (>= 0.3.1)
|
|
232
|
-
polyglot (>= 0.3.1)
|
|
233
|
-
polyglot (>= 0.3.1)
|
|
234
|
-
polyglot (>= 0.3.1)
|
|
235
|
-
polyglot (>= 0.3.1)
|
|
236
|
-
polyglot (>= 0.3.1)
|
|
237
|
-
polyglot (>= 0.3.1)
|
|
238
|
-
polyglot (>= 0.3.1)
|
|
239
|
-
polyglot (>= 0.3.1)
|
|
240
|
-
polyglot (>= 0.3.1)
|
|
241
|
-
polyglot (>= 0.3.1)
|
|
242
|
-
polyglot (>= 0.3.1)
|
|
243
|
-
polyglot (>= 0.3.1)
|
|
244
158
|
polyglot (>= 0.3.1)
|
|
245
159
|
tzinfo (0.3.41)
|
|
246
160
|
validates_email_format_of (1.6.1)
|
data/lib/rails_admin_settings.rb
CHANGED
|
@@ -52,13 +52,13 @@ module RailsAdminSettings
|
|
|
52
52
|
return false unless Settings.table_exists?
|
|
53
53
|
|
|
54
54
|
if mongoid?
|
|
55
|
-
if Mongoid.const_defined?('History')
|
|
55
|
+
if ::Mongoid.const_defined?('History')
|
|
56
56
|
RailsAdminSettings::Setting.send(:include, ::Mongoid::History::Trackable)
|
|
57
57
|
RailsAdminSettings::Setting.send(:track_history, {track_create: true, track_destroy: true})
|
|
58
58
|
else
|
|
59
59
|
puts "[rails_admin_settings] WARN unable to track_history: Mongoid::History not loaded!"
|
|
60
60
|
end
|
|
61
|
-
if Mongoid.const_defined?('Userstamp')
|
|
61
|
+
if ::Mongoid.const_defined?('Userstamp')
|
|
62
62
|
RailsAdminSettings::Setting.send(:include, ::Mongoid::Userstamp)
|
|
63
63
|
else
|
|
64
64
|
puts "[rails_admin_settings] WARN unable to track_history: Mongoid::Userstamp not loaded!"
|