rails_admin_settings 1.4.1 → 1.4.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
  SHA256:
3
- metadata.gz: 29fd0a6b9da6e78369f829515f98217818eee87ca05f4dfc6223265f8f1f177d
4
- data.tar.gz: bd6b04c0cdc0ba33004138e24d7ab082e020cffaa61b2efa4f28c1168ee8cd6b
3
+ metadata.gz: 7db230b6a4b80bd678989685aad32c79b1244349e7d443d1182697b97d986f9a
4
+ data.tar.gz: 44e67607c57e54cbec2dfa03f31870bac02d81215564839a01209d25b898d73f
5
5
  SHA512:
6
- metadata.gz: a46ecf577c6f31320bf286d48a280717ae2a199e71fbd379edd11b18eda0a364b806e247485d26660e54836254c46f4b22a44f59722d46c5fac8cdc26129f6dc
7
- data.tar.gz: 1fc1c269cbfea981a88305204ed5b12ec9d00bd631b9687e1b42c516cddc5c5de63e91e9149bfe5c909b5965689cad12c05e5873a1206f6c7d41f17e7785bb18
6
+ metadata.gz: ecaf2246f2badf0669f0c4e207a3f1c9ac525563ab204f8990c0443d8bd2abaea42df5e6bde43afaa43470aac6390b68fe171c0b6eb51f0bc1c74beb4347059a
7
+ data.tar.gz: d7dd09c6b125b70084f6d43b9d215b462f3fa0be3bb1c36fc659f46bdca48207f026d7b359fb13a6771c90ce13a05be67c51b4443371c78adf69b746e210be21
data/Gemfile.lock CHANGED
@@ -1,51 +1,55 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rails_admin_settings (1.4.1)
4
+ rails_admin_settings (1.4.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
- actioncable (5.1.5)
10
- actionpack (= 5.1.5)
9
+ actioncable (5.2.0)
10
+ actionpack (= 5.2.0)
11
11
  nio4r (~> 2.0)
12
- websocket-driver (~> 0.6.1)
13
- actionmailer (5.1.5)
14
- actionpack (= 5.1.5)
15
- actionview (= 5.1.5)
16
- activejob (= 5.1.5)
12
+ websocket-driver (>= 0.6.1)
13
+ actionmailer (5.2.0)
14
+ actionpack (= 5.2.0)
15
+ actionview (= 5.2.0)
16
+ activejob (= 5.2.0)
17
17
  mail (~> 2.5, >= 2.5.4)
18
18
  rails-dom-testing (~> 2.0)
19
- actionpack (5.1.5)
20
- actionview (= 5.1.5)
21
- activesupport (= 5.1.5)
19
+ actionpack (5.2.0)
20
+ actionview (= 5.2.0)
21
+ activesupport (= 5.2.0)
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.1.5)
27
- activesupport (= 5.1.5)
26
+ actionview (5.2.0)
27
+ activesupport (= 5.2.0)
28
28
  builder (~> 3.1)
29
29
  erubi (~> 1.4)
30
30
  rails-dom-testing (~> 2.0)
31
31
  rails-html-sanitizer (~> 1.0, >= 1.0.3)
32
- activejob (5.1.5)
33
- activesupport (= 5.1.5)
32
+ activejob (5.2.0)
33
+ activesupport (= 5.2.0)
34
34
  globalid (>= 0.3.6)
35
- activemodel (5.1.5)
36
- activesupport (= 5.1.5)
37
- activerecord (5.1.5)
38
- activemodel (= 5.1.5)
39
- activesupport (= 5.1.5)
40
- arel (~> 8.0)
41
- activesupport (5.1.5)
35
+ activemodel (5.2.0)
36
+ activesupport (= 5.2.0)
37
+ activerecord (5.2.0)
38
+ activemodel (= 5.2.0)
39
+ activesupport (= 5.2.0)
40
+ arel (>= 9.0)
41
+ activestorage (5.2.0)
42
+ actionpack (= 5.2.0)
43
+ activerecord (= 5.2.0)
44
+ marcel (~> 0.3.1)
45
+ activesupport (5.2.0)
42
46
  concurrent-ruby (~> 1.0, >= 1.0.2)
43
- i18n (~> 0.7)
47
+ i18n (>= 0.7, < 2)
44
48
  minitest (~> 5.1)
45
49
  tzinfo (~> 1.1)
46
50
  addressable (2.5.2)
47
51
  public_suffix (>= 2.0.2, < 4.0)
48
- arel (8.0.0)
52
+ arel (9.0.0)
49
53
  bson (4.3.0)
50
54
  builder (3.2.3)
51
55
  carrierwave (1.2.2)
@@ -57,28 +61,28 @@ GEM
57
61
  mongoid (>= 3.0, < 7.0)
58
62
  mongoid-grid_fs (>= 1.3, < 3.0)
59
63
  climate_control (0.2.0)
60
- cocaine (0.5.8)
61
- climate_control (>= 0.0.3, < 1.0)
62
64
  coderay (1.1.2)
63
65
  concurrent-ruby (1.0.5)
64
- crass (1.0.3)
65
- database_cleaner (1.6.2)
66
+ crass (1.0.4)
67
+ database_cleaner (1.7.0)
66
68
  diff-lcs (1.3)
67
- docile (1.1.5)
69
+ docile (1.3.0)
68
70
  erubi (1.7.1)
69
71
  factory_bot (4.8.2)
70
72
  activesupport (>= 3.0.0)
71
- geocoder (1.4.6)
73
+ geocoder (1.4.7)
72
74
  globalid (0.4.1)
73
75
  activesupport (>= 4.2.0)
74
- i18n (0.9.5)
76
+ i18n (1.0.1)
75
77
  concurrent-ruby (~> 1.0)
76
78
  json (2.1.0)
77
- loofah (2.2.0)
79
+ loofah (2.2.2)
78
80
  crass (~> 1.0.2)
79
81
  nokogiri (>= 1.5.9)
80
82
  mail (2.7.0)
81
83
  mini_mime (>= 0.1.1)
84
+ marcel (0.3.2)
85
+ mimemagic (~> 0.3.2)
82
86
  method_source (0.9.0)
83
87
  mime-types (3.1)
84
88
  mime-types-data (~> 3.2015)
@@ -87,11 +91,11 @@ GEM
87
91
  mini_mime (1.0.0)
88
92
  mini_portile2 (2.3.0)
89
93
  minitest (5.11.3)
90
- mongo (2.5.1)
94
+ mongo (2.5.3)
91
95
  bson (>= 4.3.0, < 5.0.0)
92
- mongoid (6.3.0)
93
- activemodel (~> 5.1)
94
- mongo (>= 2.5.0, < 3.0.0)
96
+ mongoid (6.4.1)
97
+ activemodel (>= 5.1, < 6.0.0)
98
+ mongo (>= 2.5.1, < 3.0.0)
95
99
  mongoid-compatibility (0.5.1)
96
100
  activesupport
97
101
  mongoid (>= 2.0)
@@ -106,48 +110,49 @@ GEM
106
110
  mongoid (>= 2.0)
107
111
  mongoid-compatibility
108
112
  rspec (~> 3.3)
109
- nio4r (2.2.0)
113
+ nio4r (2.3.1)
110
114
  nokogiri (1.8.2)
111
115
  mini_portile2 (~> 2.3.0)
112
116
  nokogumbo (1.5.0)
113
117
  nokogiri
114
- paperclip (5.2.1)
118
+ paperclip (6.0.0)
115
119
  activemodel (>= 4.2.0)
116
120
  activesupport (>= 4.2.0)
117
- cocaine (~> 0.5.5)
118
121
  mime-types
119
122
  mimemagic (~> 0.3.0)
123
+ terrapin (~> 0.6.0)
120
124
  pry (0.11.3)
121
125
  coderay (~> 1.1.0)
122
126
  method_source (~> 0.9.0)
123
127
  public_suffix (3.0.2)
124
- rack (2.0.4)
125
- rack-test (0.8.3)
128
+ rack (2.0.5)
129
+ rack-test (1.0.0)
126
130
  rack (>= 1.0, < 3)
127
- rails (5.1.5)
128
- actioncable (= 5.1.5)
129
- actionmailer (= 5.1.5)
130
- actionpack (= 5.1.5)
131
- actionview (= 5.1.5)
132
- activejob (= 5.1.5)
133
- activemodel (= 5.1.5)
134
- activerecord (= 5.1.5)
135
- activesupport (= 5.1.5)
131
+ rails (5.2.0)
132
+ actioncable (= 5.2.0)
133
+ actionmailer (= 5.2.0)
134
+ actionpack (= 5.2.0)
135
+ actionview (= 5.2.0)
136
+ activejob (= 5.2.0)
137
+ activemodel (= 5.2.0)
138
+ activerecord (= 5.2.0)
139
+ activestorage (= 5.2.0)
140
+ activesupport (= 5.2.0)
136
141
  bundler (>= 1.3.0)
137
- railties (= 5.1.5)
142
+ railties (= 5.2.0)
138
143
  sprockets-rails (>= 2.0.0)
139
144
  rails-dom-testing (2.0.3)
140
145
  activesupport (>= 4.2.0)
141
146
  nokogiri (>= 1.6)
142
- rails-html-sanitizer (1.0.3)
143
- loofah (~> 2.0)
144
- railties (5.1.5)
145
- actionpack (= 5.1.5)
146
- activesupport (= 5.1.5)
147
+ rails-html-sanitizer (1.0.4)
148
+ loofah (~> 2.2, >= 2.2.2)
149
+ railties (5.2.0)
150
+ actionpack (= 5.2.0)
151
+ activesupport (= 5.2.0)
147
152
  method_source
148
153
  rake (>= 0.8.7)
149
154
  thor (>= 0.18.1, < 2.0)
150
- rake (12.3.0)
155
+ rake (12.3.1)
151
156
  rspec (3.7.0)
152
157
  rspec-core (~> 3.7.0)
153
158
  rspec-expectations (~> 3.7.0)
@@ -163,12 +168,12 @@ GEM
163
168
  rspec-support (3.7.1)
164
169
  russian_phone (0.6.0)
165
170
  safe_yaml (1.0.4)
166
- sanitize (4.6.0)
171
+ sanitize (4.6.4)
167
172
  crass (~> 1.0.2)
168
173
  nokogiri (>= 1.4.4)
169
174
  nokogumbo (~> 1.4)
170
- simplecov (0.15.1)
171
- docile (~> 1.1.0)
175
+ simplecov (0.16.1)
176
+ docile (~> 1.1)
172
177
  json (>= 1.8, < 3)
173
178
  simplecov-html (~> 0.10.0)
174
179
  simplecov-html (0.10.2)
@@ -179,13 +184,15 @@ GEM
179
184
  actionpack (>= 4.0)
180
185
  activesupport (>= 4.0)
181
186
  sprockets (>= 3.0.0)
187
+ terrapin (0.6.0)
188
+ climate_control (>= 0.0.3, < 1.0)
182
189
  thor (0.20.0)
183
190
  thread_safe (0.3.6)
184
191
  tzinfo (1.2.5)
185
192
  thread_safe (~> 0.1)
186
193
  validates_email_format_of (1.6.3)
187
194
  i18n
188
- websocket-driver (0.6.5)
195
+ websocket-driver (0.7.0)
189
196
  websocket-extensions (>= 0.1.0)
190
197
  websocket-extensions (0.1.3)
191
198
 
@@ -39,6 +39,8 @@ class Settings < BasicObject
39
39
 
40
40
  def table_exists?
41
41
  RailsAdminSettings.mongoid? || RailsAdminSettings::Setting.table_exists?
42
+ rescue ActiveRecord::NoDatabaseError
43
+ false
42
44
  end
43
45
 
44
46
  def unload!
@@ -1,3 +1,3 @@
1
1
  module RailsAdminSettings
2
- VERSION = "1.4.1"
2
+ VERSION = "1.4.2"
3
3
  end
data/spec/spec_helper.rb CHANGED
@@ -18,7 +18,6 @@ require 'database_cleaner'
18
18
  require 'factory_bot'
19
19
  require 'mongoid-rspec'
20
20
 
21
- p ENV["UPLOADS"]
22
21
  if ENV['UPLOADS'] == 'paperclip'
23
22
  require "mongoid-paperclip"
24
23
  end
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.4.1
4
+ version: 1.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gleb Tv
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-07 00:00:00.000000000 Z
11
+ date: 2018-05-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mongoid