rails_admin_settings 0.9.0.pre.6 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f5fb7d6467b1a7d45f0e9209bbefc48ac0966ab6
4
- data.tar.gz: be3a425227cc14f36efeada29c4e7336be92b2c6
3
+ metadata.gz: aa83b47d1ef17ea8e1be39c4c404b6e49acbe0cb
4
+ data.tar.gz: 53230a96ed135f093facbc06500e94be5a43352e
5
5
  SHA512:
6
- metadata.gz: 89ccaaf0cb3e47af0bca2b4e531d0c8c66ac4b750e23c005160daa73054fffc6ac9e91c8c22194a01a0f9fa54ea482211c1c24d1e4a4361d3b67a2a5bc163cf9
7
- data.tar.gz: 7df46db1841b87ff962d99a41cda85eaca16ca6ff10f5bbc98f5f9e8602ed85a7b6cb079914912526a5a77601b7e2d8489893da0c01a2de742dceae844334f96
6
+ metadata.gz: 5faf380f5530eda01f3074d4811a96665d415bb135969254b323b17fa95f2856940422dfecbf7669640babb0fc4fec2126c69ef6890d130e8df6fdd85e3deaa0
7
+ data.tar.gz: 47926c0c598dc0c764119524a191e57c4f98d0bbc7bd413c941b60038ca8048d40292d58865884e719d97d7705a98d9ce94a2c93d451a2ef89a9c125cb7fa0bc
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.1.3
1
+ 2.1.5
data/Gemfile.lock CHANGED
@@ -1,17 +1,17 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rails_admin_settings (0.9.0.pre.6)
4
+ rails_admin_settings (0.9.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
- actionmailer (3.2.19)
10
- actionpack (= 3.2.19)
9
+ actionmailer (3.2.21)
10
+ actionpack (= 3.2.21)
11
11
  mail (~> 2.5.4)
12
- actionpack (3.2.19)
13
- activemodel (= 3.2.19)
14
- activesupport (= 3.2.19)
12
+ actionpack (3.2.21)
13
+ activemodel (= 3.2.21)
14
+ activesupport (= 3.2.21)
15
15
  builder (~> 3.0.0)
16
16
  erubis (~> 2.7.0)
17
17
  journey (~> 1.0.4)
@@ -19,18 +19,18 @@ GEM
19
19
  rack-cache (~> 1.2)
20
20
  rack-test (~> 0.6.1)
21
21
  sprockets (~> 2.2.1)
22
- activemodel (3.2.19)
23
- activesupport (= 3.2.19)
22
+ activemodel (3.2.21)
23
+ activesupport (= 3.2.21)
24
24
  builder (~> 3.0.0)
25
- activerecord (3.2.19)
26
- activemodel (= 3.2.19)
27
- activesupport (= 3.2.19)
25
+ activerecord (3.2.21)
26
+ activemodel (= 3.2.21)
27
+ activesupport (= 3.2.21)
28
28
  arel (~> 3.0.2)
29
29
  tzinfo (~> 0.3.29)
30
- activeresource (3.2.19)
31
- activemodel (= 3.2.19)
32
- activesupport (= 3.2.19)
33
- activesupport (3.2.19)
30
+ activeresource (3.2.21)
31
+ activemodel (= 3.2.21)
32
+ activesupport (= 3.2.21)
33
+ activesupport (3.2.21)
34
34
  i18n (~> 0.6, >= 0.6.4)
35
35
  multi_json (~> 1.0)
36
36
  addressable (2.3.6)
@@ -51,9 +51,9 @@ GEM
51
51
  diff-lcs (1.2.5)
52
52
  docile (1.1.5)
53
53
  erubis (2.7.0)
54
- factory_girl (4.4.0)
54
+ factory_girl (4.5.0)
55
55
  activesupport (>= 3.0.0)
56
- geocoder (1.2.5)
56
+ geocoder (1.2.6)
57
57
  glebtv-carrierwave-mongoid (0.8.0)
58
58
  carrierwave (>= 0.8.0, < 0.11.0)
59
59
  mongoid (>= 3.0, < 5.0)
@@ -69,7 +69,7 @@ GEM
69
69
  treetop (~> 1.4.8)
70
70
  method_source (0.8.2)
71
71
  mime-types (1.25.1)
72
- mini_portile (0.6.0)
72
+ mini_portile (0.6.1)
73
73
  mongoid (3.1.6)
74
74
  activemodel (~> 3.2)
75
75
  moped (~> 1.4)
@@ -81,8 +81,8 @@ GEM
81
81
  rspec (>= 2.14)
82
82
  moped (1.5.2)
83
83
  multi_json (1.10.1)
84
- nokogiri (1.6.3.1)
85
- mini_portile (= 0.6.0)
84
+ nokogiri (1.6.5)
85
+ mini_portile (~> 0.6.0)
86
86
  nokogumbo (1.1.12)
87
87
  nokogiri
88
88
  origin (1.1.0)
@@ -103,40 +103,39 @@ GEM
103
103
  rack
104
104
  rack-test (0.6.2)
105
105
  rack (>= 1.0)
106
- rails (3.2.19)
107
- actionmailer (= 3.2.19)
108
- actionpack (= 3.2.19)
109
- activerecord (= 3.2.19)
110
- activeresource (= 3.2.19)
111
- activesupport (= 3.2.19)
106
+ rails (3.2.21)
107
+ actionmailer (= 3.2.21)
108
+ actionpack (= 3.2.21)
109
+ activerecord (= 3.2.21)
110
+ activeresource (= 3.2.21)
111
+ activesupport (= 3.2.21)
112
112
  bundler (~> 1.0)
113
- railties (= 3.2.19)
114
- railties (3.2.19)
115
- actionpack (= 3.2.19)
116
- activesupport (= 3.2.19)
113
+ railties (= 3.2.21)
114
+ railties (3.2.21)
115
+ actionpack (= 3.2.21)
116
+ activesupport (= 3.2.21)
117
117
  rack-ssl (~> 1.3.2)
118
118
  rake (>= 0.8.7)
119
119
  rdoc (~> 3.4)
120
120
  thor (>= 0.14.6, < 2.0)
121
- rake (10.3.2)
121
+ rake (10.4.0)
122
122
  rdoc (3.12.2)
123
123
  json (~> 1.4)
124
124
  rspec (3.1.0)
125
125
  rspec-core (~> 3.1.0)
126
126
  rspec-expectations (~> 3.1.0)
127
127
  rspec-mocks (~> 3.1.0)
128
- rspec-core (3.1.4)
128
+ rspec-core (3.1.7)
129
129
  rspec-support (~> 3.1.0)
130
130
  rspec-expectations (3.1.2)
131
131
  diff-lcs (>= 1.2.0, < 2.0)
132
132
  rspec-support (~> 3.1.0)
133
- rspec-mocks (3.1.2)
133
+ rspec-mocks (3.1.3)
134
134
  rspec-support (~> 3.1.0)
135
- rspec-support (3.1.1)
136
- russian_phone (0.4.1)
137
- mongoid (>= 3.0.0)
138
- safe_yaml (1.0.3)
139
- sanitize (3.0.2)
135
+ rspec-support (3.1.2)
136
+ russian_phone (0.5.2)
137
+ safe_yaml (1.0.4)
138
+ sanitize (3.0.3)
140
139
  crass (~> 0.2.0)
141
140
  nokogiri (>= 1.4.4)
142
141
  nokogumbo (= 1.1.12)
@@ -146,7 +145,7 @@ GEM
146
145
  simplecov-html (~> 0.8.0)
147
146
  simplecov-html (0.8.0)
148
147
  slop (3.6.0)
149
- sprockets (2.2.2)
148
+ sprockets (2.2.3)
150
149
  hike (~> 1.2)
151
150
  multi_json (~> 1.0)
152
151
  rack (~> 1.0)
@@ -155,8 +154,153 @@ GEM
155
154
  tilt (1.4.1)
156
155
  treetop (1.4.15)
157
156
  polyglot
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 (>= 0.3.1)
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
+ polyglot (>= 0.3.1)
245
+ polyglot (>= 0.3.1)
246
+ polyglot (>= 0.3.1)
247
+ polyglot (>= 0.3.1)
248
+ polyglot (>= 0.3.1)
249
+ polyglot (>= 0.3.1)
250
+ polyglot (>= 0.3.1)
251
+ polyglot (>= 0.3.1)
252
+ polyglot (>= 0.3.1)
253
+ polyglot (>= 0.3.1)
254
+ polyglot (>= 0.3.1)
255
+ polyglot (>= 0.3.1)
256
+ polyglot (>= 0.3.1)
257
+ polyglot (>= 0.3.1)
258
+ polyglot (>= 0.3.1)
259
+ polyglot (>= 0.3.1)
260
+ polyglot (>= 0.3.1)
261
+ polyglot (>= 0.3.1)
262
+ polyglot (>= 0.3.1)
263
+ polyglot (>= 0.3.1)
264
+ polyglot (>= 0.3.1)
265
+ polyglot (>= 0.3.1)
266
+ polyglot (>= 0.3.1)
267
+ polyglot (>= 0.3.1)
268
+ polyglot (>= 0.3.1)
269
+ polyglot (>= 0.3.1)
270
+ polyglot (>= 0.3.1)
271
+ polyglot (>= 0.3.1)
272
+ polyglot (>= 0.3.1)
273
+ polyglot (>= 0.3.1)
274
+ polyglot (>= 0.3.1)
275
+ polyglot (>= 0.3.1)
276
+ polyglot (>= 0.3.1)
277
+ polyglot (>= 0.3.1)
278
+ polyglot (>= 0.3.1)
279
+ polyglot (>= 0.3.1)
280
+ polyglot (>= 0.3.1)
281
+ polyglot (>= 0.3.1)
282
+ polyglot (>= 0.3.1)
283
+ polyglot (>= 0.3.1)
284
+ polyglot (>= 0.3.1)
285
+ polyglot (>= 0.3.1)
286
+ polyglot (>= 0.3.1)
287
+ polyglot (>= 0.3.1)
288
+ polyglot (>= 0.3.1)
289
+ polyglot (>= 0.3.1)
290
+ polyglot (>= 0.3.1)
291
+ polyglot (>= 0.3.1)
292
+ polyglot (>= 0.3.1)
293
+ polyglot (>= 0.3.1)
294
+ polyglot (>= 0.3.1)
295
+ polyglot (>= 0.3.1)
296
+ polyglot (>= 0.3.1)
297
+ polyglot (>= 0.3.1)
298
+ polyglot (>= 0.3.1)
299
+ polyglot (>= 0.3.1)
300
+ polyglot (>= 0.3.1)
301
+ polyglot (>= 0.3.1)
158
302
  polyglot (>= 0.3.1)
159
- tzinfo (0.3.41)
303
+ tzinfo (0.3.42)
160
304
  validates_email_format_of (1.6.1)
161
305
  i18n
162
306
 
@@ -21,6 +21,7 @@ en:
21
21
  key: Key
22
22
  raw: Value
23
23
  type: Type
24
+ kind: Type
24
25
  label: Label
25
26
  activerecord:
26
27
  <<: *mongoid
@@ -21,6 +21,7 @@ ru:
21
21
  key: Ключ
22
22
  raw: Значение
23
23
  type: Тип
24
+ kind: Тип
24
25
  label: Подпись
25
26
  activerecord:
26
27
  <<: *mongoid
@@ -188,7 +188,6 @@ module RailsAdminSettings
188
188
  @settings[key] = v
189
189
  else
190
190
  opts = options.dup
191
- #::Kernel.p options, key, @settings[key].value, @settings[key].value.blank?
192
191
  if options[:overwrite] == false && !@settings[key].value.blank?
193
192
  opts.delete(:raw)
194
193
  opts.delete(:value)
@@ -9,16 +9,16 @@ class Settings < BasicObject
9
9
  @@namespaces = {}
10
10
  @@mutex = ::Mutex.new
11
11
 
12
- cattr_accessor :ns_default, :ns_fallback
13
12
  @@ns_default = 'main'
14
13
  @@ns_fallback = nil
14
+ cattr_accessor :ns_default, :ns_fallback, :namespaces
15
15
 
16
16
  cattr_reader :mutex
17
17
 
18
18
  class << self
19
19
  def ns(name, options = {})
20
20
  options.symbolize_keys!
21
- if name.nil? || name == Settings.ns_default
21
+ if name.nil? || name == @@ns_default
22
22
  name = @@ns_default.to_s
23
23
  else
24
24
  name = name.to_s
@@ -1,4 +1,4 @@
1
1
  module RailsAdminSettings
2
- VERSION = "0.9.0.pre.6"
2
+ VERSION = "0.9.0"
3
3
  end
4
4
 
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: 0.9.0.pre.6
4
+ version: 0.9.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: 2014-09-28 00:00:00.000000000 Z
11
+ date: 2014-11-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mongoid
@@ -347,12 +347,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
347
347
  version: '0'
348
348
  required_rubygems_version: !ruby/object:Gem::Requirement
349
349
  requirements:
350
- - - ">"
350
+ - - ">="
351
351
  - !ruby/object:Gem::Version
352
- version: 1.3.1
352
+ version: '0'
353
353
  requirements: []
354
354
  rubyforge_project:
355
- rubygems_version: 2.2.2
355
+ rubygems_version: 2.4.4
356
356
  signing_key:
357
357
  specification_version: 4
358
358
  summary: ''