ack_rails_admin_settings 1.2.0.1 → 1.2.0.2

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: 09bb3fe9edf0872d0d56881a50a7a7a6f18b4a0b
4
- data.tar.gz: 99c870b54f86b4101334d659092f1b43381abab3
3
+ metadata.gz: b6705578c23f34d659394620c115f747ae0b8e74
4
+ data.tar.gz: 071fd7c85126b176c83906b10c11778757c98b62
5
5
  SHA512:
6
- metadata.gz: 03bf3e5b6c51ee5de9a840320ef22621e4132624114e3ba0e804b0e4da084defbf33a83e30b004ad0e504918be3f0bb6635a0870186a550cf3521f65df7b665f
7
- data.tar.gz: b4452f40f596c265688475bdb877e768e02cedbacb165af2dee63c119a8b0e516fe913c91fe2650d3e14671086a64c199b38083164acac3af3bdd6c0a8ca461f
6
+ metadata.gz: bc9011421f9c392f93d72ab587c557ff020dae1d31a02891495baae6a8cb6d2f78a7810b89d6ae53c4c737fa255f86c193a7a2078cc05540837a481891b05bb0
7
+ data.tar.gz: 1d12f036229c966a43ebf4fa78b4ed8dbef7a72cb8f180edb65e113c0e8c1e2d5321028b9d032020ad357ce57d5e009e7c58e9707321a030bae0f1af5dfc6e61
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ack_rails_admin_settings (1.2.0.1)
4
+ ack_rails_admin_settings (1.2.0.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -33,7 +33,8 @@ GEM
33
33
  activesupport (3.2.22.5)
34
34
  i18n (~> 0.6, >= 0.6.4)
35
35
  multi_json (~> 1.0)
36
- addressable (2.4.0)
36
+ addressable (2.5.0)
37
+ public_suffix (~> 2.0, >= 2.0.2)
37
38
  arel (3.0.3)
38
39
  builder (3.0.4)
39
40
  carrierwave (0.10.0)
@@ -84,7 +85,7 @@ GEM
84
85
  multi_json (1.12.1)
85
86
  nokogiri (1.6.8.1)
86
87
  mini_portile2 (~> 2.1.0)
87
- nokogumbo (1.4.9)
88
+ nokogumbo (1.4.10)
88
89
  nokogiri
89
90
  origin (1.1.0)
90
91
  paperclip (4.3.7)
@@ -98,6 +99,7 @@ GEM
98
99
  coderay (~> 1.1.0)
99
100
  method_source (~> 0.8.1)
100
101
  slop (~> 3.4)
102
+ public_suffix (2.0.4)
101
103
  rack (1.4.7)
102
104
  rack-cache (1.6.1)
103
105
  rack (>= 0.4)
@@ -158,7 +160,7 @@ GEM
158
160
  treetop (1.4.15)
159
161
  polyglot
160
162
  polyglot (>= 0.3.1)
161
- tzinfo (0.3.51)
163
+ tzinfo (0.3.52)
162
164
  validates_email_format_of (1.6.3)
163
165
  i18n
164
166
 
@@ -74,13 +74,12 @@ module RailsAdminSettings
74
74
  load! unless @locked
75
75
  key = key.to_s
76
76
  options.symbolize_keys!
77
- if options[:cache].present?
77
+ if options.key?(:cache)
78
78
  _cache = options.delete(:cache)
79
79
  else
80
80
  _cache = (name != ::Settings.ns_default)
81
81
  end
82
82
 
83
-
84
83
  if !options[:type].nil? && options[:type] == 'yaml' && !value.nil?
85
84
  if value.class.name != 'String'
86
85
  value = value.to_yaml
@@ -26,7 +26,7 @@ module RailsAdminSettings
26
26
 
27
27
  def value
28
28
  if upload_kind?
29
- if file?
29
+ if file_kind?
30
30
  file.url
31
31
  else
32
32
  nil
@@ -1,3 +1,3 @@
1
1
  module RailsAdminSettings
2
- VERSION = "1.2.0.1".freeze
2
+ VERSION = "1.2.0.2".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ack_rails_admin_settings
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0.1
4
+ version: 1.2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Kiseliev
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-10-14 00:00:00.000000000 Z
12
+ date: 2016-11-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mongoid