rails_admin_settings 1.5.0 → 1.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +119 -106
- data/README.md +0 -1
- data/app/models/rails_admin_settings/setting.rb +0 -1
- data/app/views/rails_admin/main/_setting_value.html.haml +0 -1
- data/lib/rails_admin_settings/version.rb +1 -1
- data/rails_admin_settings.gemspec +1 -1
- data/spec/factories/setting.rb +1 -1
- data/spec/spec_helper.rb +0 -1
- metadata +4 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 252fba15948c22109d39fac9bcf01afc70ee01b200533d89c23ae53d562b8eb6
|
4
|
+
data.tar.gz: 38d7ed5cf17306baa0f6d2440405bcfbdc5f975639077067ef1d2935ed1d368b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1cce2abe1a0a361d1a5758b3108dcd2c8945cf27de29172e6314035763d97414bd5e7fc44ad8fabfbaac1e80b583f0f000cc9389e12d32106f61276315bc2c92
|
7
|
+
data.tar.gz: 03f3c25dc49ec84fd6371cb68c7063ce83b6df9b2f6dcc0f81ff8b7f9b8a4adbe74cbdde16fc1e6c960aecfa8eaab05fc3003da1546e57826c8aaee3574b3242
|
data/Gemfile.lock
CHANGED
@@ -1,183 +1,195 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rails_admin_settings (1.5.
|
4
|
+
rails_admin_settings (1.5.1)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
8
8
|
specs:
|
9
|
-
actioncable (5.2.
|
10
|
-
actionpack (= 5.2.
|
9
|
+
actioncable (5.2.3)
|
10
|
+
actionpack (= 5.2.3)
|
11
11
|
nio4r (~> 2.0)
|
12
12
|
websocket-driver (>= 0.6.1)
|
13
|
-
actionmailer (5.2.
|
14
|
-
actionpack (= 5.2.
|
15
|
-
actionview (= 5.2.
|
16
|
-
activejob (= 5.2.
|
13
|
+
actionmailer (5.2.3)
|
14
|
+
actionpack (= 5.2.3)
|
15
|
+
actionview (= 5.2.3)
|
16
|
+
activejob (= 5.2.3)
|
17
17
|
mail (~> 2.5, >= 2.5.4)
|
18
18
|
rails-dom-testing (~> 2.0)
|
19
|
-
actionpack (5.2.
|
20
|
-
actionview (= 5.2.
|
21
|
-
activesupport (= 5.2.
|
19
|
+
actionpack (5.2.3)
|
20
|
+
actionview (= 5.2.3)
|
21
|
+
activesupport (= 5.2.3)
|
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.2.
|
27
|
-
activesupport (= 5.2.
|
26
|
+
actionview (5.2.3)
|
27
|
+
activesupport (= 5.2.3)
|
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.2.
|
33
|
-
activesupport (= 5.2.
|
32
|
+
activejob (5.2.3)
|
33
|
+
activesupport (= 5.2.3)
|
34
34
|
globalid (>= 0.3.6)
|
35
|
-
activemodel (5.2.
|
36
|
-
activesupport (= 5.2.
|
37
|
-
activerecord (5.2.
|
38
|
-
activemodel (= 5.2.
|
39
|
-
activesupport (= 5.2.
|
35
|
+
activemodel (5.2.3)
|
36
|
+
activesupport (= 5.2.3)
|
37
|
+
activerecord (5.2.3)
|
38
|
+
activemodel (= 5.2.3)
|
39
|
+
activesupport (= 5.2.3)
|
40
40
|
arel (>= 9.0)
|
41
|
-
activestorage (5.2.
|
42
|
-
actionpack (= 5.2.
|
43
|
-
activerecord (= 5.2.
|
41
|
+
activestorage (5.2.3)
|
42
|
+
actionpack (= 5.2.3)
|
43
|
+
activerecord (= 5.2.3)
|
44
44
|
marcel (~> 0.3.1)
|
45
|
-
activesupport (5.2.
|
45
|
+
activesupport (5.2.3)
|
46
46
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
47
47
|
i18n (>= 0.7, < 2)
|
48
48
|
minitest (~> 5.1)
|
49
49
|
tzinfo (~> 1.1)
|
50
|
-
addressable (2.
|
50
|
+
addressable (2.6.0)
|
51
51
|
public_suffix (>= 2.0.2, < 4.0)
|
52
52
|
arel (9.0.0)
|
53
|
-
|
53
|
+
ast (2.4.0)
|
54
|
+
bson (4.5.0)
|
54
55
|
builder (3.2.3)
|
55
|
-
carrierwave (1.
|
56
|
+
carrierwave (1.3.1)
|
56
57
|
activemodel (>= 4.0.0)
|
57
58
|
activesupport (>= 4.0.0)
|
58
59
|
mime-types (>= 1.16)
|
59
|
-
carrierwave-mongoid (1.
|
60
|
-
carrierwave (>= 0.8, <
|
61
|
-
mongoid (>= 3.0, <
|
60
|
+
carrierwave-mongoid (1.3.0)
|
61
|
+
carrierwave (>= 0.8, < 3)
|
62
|
+
mongoid (>= 3.0, < 8.0)
|
62
63
|
mongoid-grid_fs (>= 1.3, < 3.0)
|
63
64
|
climate_control (0.2.0)
|
64
|
-
|
65
|
-
concurrent-ruby (1.0.5)
|
65
|
+
concurrent-ruby (1.1.5)
|
66
66
|
crass (1.0.4)
|
67
67
|
database_cleaner (1.7.0)
|
68
68
|
diff-lcs (1.3)
|
69
|
-
docile (1.3.
|
70
|
-
erubi (1.
|
71
|
-
factory_bot (
|
72
|
-
activesupport (>=
|
73
|
-
geocoder (1.
|
74
|
-
globalid (0.4.
|
69
|
+
docile (1.3.2)
|
70
|
+
erubi (1.8.0)
|
71
|
+
factory_bot (5.0.2)
|
72
|
+
activesupport (>= 4.2.0)
|
73
|
+
geocoder (1.5.1)
|
74
|
+
globalid (0.4.2)
|
75
75
|
activesupport (>= 4.2.0)
|
76
|
-
i18n (1.0
|
76
|
+
i18n (1.6.0)
|
77
77
|
concurrent-ruby (~> 1.0)
|
78
|
-
|
79
|
-
|
78
|
+
jaro_winkler (1.5.3)
|
79
|
+
json (2.2.0)
|
80
|
+
loofah (2.2.3)
|
80
81
|
crass (~> 1.0.2)
|
81
82
|
nokogiri (>= 1.5.9)
|
82
|
-
mail (2.7.
|
83
|
+
mail (2.7.1)
|
83
84
|
mini_mime (>= 0.1.1)
|
84
|
-
marcel (0.3.
|
85
|
+
marcel (0.3.3)
|
85
86
|
mimemagic (~> 0.3.2)
|
86
|
-
method_source (0.9.
|
87
|
-
mime-types (3.
|
87
|
+
method_source (0.9.2)
|
88
|
+
mime-types (3.2.2)
|
88
89
|
mime-types-data (~> 3.2015)
|
89
|
-
mime-types-data (3.
|
90
|
-
mimemagic (0.3.
|
91
|
-
mini_mime (1.0.
|
92
|
-
mini_portile2 (2.
|
90
|
+
mime-types-data (3.2019.0331)
|
91
|
+
mimemagic (0.3.3)
|
92
|
+
mini_mime (1.0.2)
|
93
|
+
mini_portile2 (2.4.0)
|
93
94
|
minitest (5.11.3)
|
94
|
-
mongo (2.
|
95
|
-
bson (>= 4.
|
96
|
-
mongoid (6.4.
|
95
|
+
mongo (2.9.0)
|
96
|
+
bson (>= 4.4.2, < 5.0.0)
|
97
|
+
mongoid (6.4.4)
|
97
98
|
activemodel (>= 5.1, < 6.0.0)
|
98
99
|
mongo (>= 2.5.1, < 3.0.0)
|
99
100
|
mongoid-compatibility (0.5.1)
|
100
101
|
activesupport
|
101
102
|
mongoid (>= 2.0)
|
102
|
-
mongoid-grid_fs (2.
|
103
|
+
mongoid-grid_fs (2.4.0)
|
103
104
|
mime-types (>= 1.0, < 4.0)
|
104
|
-
mongoid (>= 3.0, <
|
105
|
+
mongoid (>= 3.0, < 8.0)
|
105
106
|
mongoid-paperclip (0.0.11)
|
106
107
|
mongoid
|
107
108
|
paperclip (>= 2.3.6, != 4.3.0)
|
108
|
-
mongoid-rspec (4.0.
|
109
|
+
mongoid-rspec (4.0.1)
|
109
110
|
activesupport (>= 3.0.0)
|
110
|
-
mongoid (>=
|
111
|
-
mongoid-compatibility
|
111
|
+
mongoid (>= 3.1)
|
112
|
+
mongoid-compatibility (>= 0.5.1)
|
112
113
|
rspec (~> 3.3)
|
113
|
-
nio4r (2.
|
114
|
-
nokogiri (1.
|
115
|
-
mini_portile2 (~> 2.
|
116
|
-
nokogumbo (
|
117
|
-
nokogiri
|
118
|
-
paperclip (6.
|
114
|
+
nio4r (2.4.0)
|
115
|
+
nokogiri (1.10.3)
|
116
|
+
mini_portile2 (~> 2.4.0)
|
117
|
+
nokogumbo (2.0.1)
|
118
|
+
nokogiri (~> 1.8, >= 1.8.4)
|
119
|
+
paperclip (6.1.0)
|
119
120
|
activemodel (>= 4.2.0)
|
120
121
|
activesupport (>= 4.2.0)
|
121
122
|
mime-types
|
122
123
|
mimemagic (~> 0.3.0)
|
123
124
|
terrapin (~> 0.6.0)
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
public_suffix (3.
|
128
|
-
rack (2.0.
|
129
|
-
rack-test (1.
|
125
|
+
parallel (1.17.0)
|
126
|
+
parser (2.6.3.0)
|
127
|
+
ast (~> 2.4.0)
|
128
|
+
public_suffix (3.1.1)
|
129
|
+
rack (2.0.7)
|
130
|
+
rack-test (1.1.0)
|
130
131
|
rack (>= 1.0, < 3)
|
131
|
-
rails (5.2.
|
132
|
-
actioncable (= 5.2.
|
133
|
-
actionmailer (= 5.2.
|
134
|
-
actionpack (= 5.2.
|
135
|
-
actionview (= 5.2.
|
136
|
-
activejob (= 5.2.
|
137
|
-
activemodel (= 5.2.
|
138
|
-
activerecord (= 5.2.
|
139
|
-
activestorage (= 5.2.
|
140
|
-
activesupport (= 5.2.
|
132
|
+
rails (5.2.3)
|
133
|
+
actioncable (= 5.2.3)
|
134
|
+
actionmailer (= 5.2.3)
|
135
|
+
actionpack (= 5.2.3)
|
136
|
+
actionview (= 5.2.3)
|
137
|
+
activejob (= 5.2.3)
|
138
|
+
activemodel (= 5.2.3)
|
139
|
+
activerecord (= 5.2.3)
|
140
|
+
activestorage (= 5.2.3)
|
141
|
+
activesupport (= 5.2.3)
|
141
142
|
bundler (>= 1.3.0)
|
142
|
-
railties (= 5.2.
|
143
|
+
railties (= 5.2.3)
|
143
144
|
sprockets-rails (>= 2.0.0)
|
144
145
|
rails-dom-testing (2.0.3)
|
145
146
|
activesupport (>= 4.2.0)
|
146
147
|
nokogiri (>= 1.6)
|
147
148
|
rails-html-sanitizer (1.0.4)
|
148
149
|
loofah (~> 2.2, >= 2.2.2)
|
149
|
-
railties (5.2.
|
150
|
-
actionpack (= 5.2.
|
151
|
-
activesupport (= 5.2.
|
150
|
+
railties (5.2.3)
|
151
|
+
actionpack (= 5.2.3)
|
152
|
+
activesupport (= 5.2.3)
|
152
153
|
method_source
|
153
154
|
rake (>= 0.8.7)
|
154
|
-
thor (>= 0.
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
rspec-
|
159
|
-
rspec-
|
160
|
-
|
161
|
-
|
162
|
-
|
155
|
+
thor (>= 0.19.0, < 2.0)
|
156
|
+
rainbow (3.0.0)
|
157
|
+
rake (12.3.3)
|
158
|
+
rspec (3.8.0)
|
159
|
+
rspec-core (~> 3.8.0)
|
160
|
+
rspec-expectations (~> 3.8.0)
|
161
|
+
rspec-mocks (~> 3.8.0)
|
162
|
+
rspec-core (3.8.2)
|
163
|
+
rspec-support (~> 3.8.0)
|
164
|
+
rspec-expectations (3.8.4)
|
163
165
|
diff-lcs (>= 1.2.0, < 2.0)
|
164
|
-
rspec-support (~> 3.
|
165
|
-
rspec-mocks (3.
|
166
|
+
rspec-support (~> 3.8.0)
|
167
|
+
rspec-mocks (3.8.1)
|
166
168
|
diff-lcs (>= 1.2.0, < 2.0)
|
167
|
-
rspec-support (~> 3.
|
168
|
-
rspec-support (3.
|
169
|
+
rspec-support (~> 3.8.0)
|
170
|
+
rspec-support (3.8.2)
|
171
|
+
rubocop (0.74.0)
|
172
|
+
jaro_winkler (~> 1.5.1)
|
173
|
+
parallel (~> 1.10)
|
174
|
+
parser (>= 2.6)
|
175
|
+
rainbow (>= 2.2.2, < 4.0)
|
176
|
+
ruby-progressbar (~> 1.7)
|
177
|
+
unicode-display_width (>= 1.4.0, < 1.7)
|
178
|
+
rubocop-rspec (1.30.1)
|
179
|
+
rubocop (>= 0.60.0)
|
180
|
+
ruby-progressbar (1.10.1)
|
169
181
|
russian_phone (0.6.1)
|
170
|
-
safe_yaml (1.0.
|
171
|
-
sanitize (
|
182
|
+
safe_yaml (1.0.5)
|
183
|
+
sanitize (5.0.0)
|
172
184
|
crass (~> 1.0.2)
|
173
|
-
nokogiri (>= 1.
|
174
|
-
nokogumbo (~>
|
175
|
-
simplecov (0.
|
185
|
+
nokogiri (>= 1.8.0)
|
186
|
+
nokogumbo (~> 2.0)
|
187
|
+
simplecov (0.17.0)
|
176
188
|
docile (~> 1.1)
|
177
189
|
json (>= 1.8, < 3)
|
178
190
|
simplecov-html (~> 0.10.0)
|
179
191
|
simplecov-html (0.10.2)
|
180
|
-
sprockets (3.7.
|
192
|
+
sprockets (3.7.2)
|
181
193
|
concurrent-ruby (~> 1.0)
|
182
194
|
rack (> 1, < 3)
|
183
195
|
sprockets-rails (3.2.1)
|
@@ -186,15 +198,16 @@ GEM
|
|
186
198
|
sprockets (>= 3.0.0)
|
187
199
|
terrapin (0.6.0)
|
188
200
|
climate_control (>= 0.0.3, < 1.0)
|
189
|
-
thor (0.20.
|
201
|
+
thor (0.20.3)
|
190
202
|
thread_safe (0.3.6)
|
191
203
|
tzinfo (1.2.5)
|
192
204
|
thread_safe (~> 0.1)
|
205
|
+
unicode-display_width (1.6.0)
|
193
206
|
validates_email_format_of (1.6.3)
|
194
207
|
i18n
|
195
|
-
websocket-driver (0.7.
|
208
|
+
websocket-driver (0.7.1)
|
196
209
|
websocket-extensions (>= 0.1.0)
|
197
|
-
websocket-extensions (0.1.
|
210
|
+
websocket-extensions (0.1.4)
|
198
211
|
|
199
212
|
PLATFORMS
|
200
213
|
ruby
|
@@ -209,11 +222,11 @@ DEPENDENCIES
|
|
209
222
|
mongoid (~> 6.3)
|
210
223
|
mongoid-paperclip
|
211
224
|
mongoid-rspec
|
212
|
-
pry
|
213
225
|
rails
|
214
226
|
rails_admin_settings!
|
215
227
|
rake
|
216
228
|
rspec
|
229
|
+
rubocop-rspec
|
217
230
|
russian_phone
|
218
231
|
safe_yaml
|
219
232
|
sanitize
|
@@ -221,4 +234,4 @@ DEPENDENCIES
|
|
221
234
|
validates_email_format_of
|
222
235
|
|
223
236
|
BUNDLED WITH
|
224
|
-
1.
|
237
|
+
1.17.2
|
data/README.md
CHANGED
@@ -6,7 +6,6 @@ https://gitlab.com/rocket-science/rails_admin_settings
|
|
6
6
|
|
7
7
|
|
8
8
|
[![Build Status](https://secure.travis-ci.org/rs-pro/rails_admin_settings.png?branch=master)](http://travis-ci.org/rs-pro/rails_admin_settings)
|
9
|
-
[![Dependency Status](https://gemnasium.com/rs-pro/rails_admin_settings.svg)](https://gemnasium.com/rs-pro/rails_admin_settings)
|
10
9
|
[![Gem Version](https://badge.fury.io/rb/rails_admin_settings.svg)](https://badge.fury.io/rb/rails_admin_settings)
|
11
10
|
[![security](https://hakiri.io/github/rs-pro/rails_admin_settings/master.svg)](https://hakiri.io/github/rs-pro/rails_admin_settings/master)
|
12
11
|
[![Maintainability](https://api.codeclimate.com/v1/badges/de00cbec10559ebd2b4b/maintainability)](https://codeclimate.com/github/rs-pro/rails_admin_settings/maintainability)
|
@@ -8,7 +8,6 @@
|
|
8
8
|
= form.text_area :raw, :value => field.value, :rows => 10, :cols => 80
|
9
9
|
- elsif @object.type == 'code' || @object.type == 'sanitize_code'
|
10
10
|
:ruby
|
11
|
-
#binding.pry
|
12
11
|
js_data = {
|
13
12
|
csspath: asset_path('ckeditor/plugins/codemirror/css/codemirror.min.css'),
|
14
13
|
jspath: asset_path('ckeditor/plugins/codemirror/js/codemirror.min.js'),
|
@@ -36,5 +36,5 @@ Gem::Specification.new do |spec|
|
|
36
36
|
spec.add_development_dependency "addressable"
|
37
37
|
spec.add_development_dependency "carrierwave-mongoid"
|
38
38
|
spec.add_development_dependency "mongoid-paperclip"
|
39
|
-
spec.add_development_dependency "
|
39
|
+
spec.add_development_dependency "rubocop-rspec"
|
40
40
|
end
|
data/spec/factories/setting.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
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.5.
|
4
|
+
version: 1.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gleb Tv
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-08-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mongoid
|
@@ -249,7 +249,7 @@ dependencies:
|
|
249
249
|
- !ruby/object:Gem::Version
|
250
250
|
version: '0'
|
251
251
|
- !ruby/object:Gem::Dependency
|
252
|
-
name:
|
252
|
+
name: rubocop-rspec
|
253
253
|
requirement: !ruby/object:Gem::Requirement
|
254
254
|
requirements:
|
255
255
|
- - ">="
|
@@ -345,8 +345,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
345
345
|
- !ruby/object:Gem::Version
|
346
346
|
version: '0'
|
347
347
|
requirements: []
|
348
|
-
|
349
|
-
rubygems_version: 2.7.7
|
348
|
+
rubygems_version: 3.0.4
|
350
349
|
signing_key:
|
351
350
|
specification_version: 4
|
352
351
|
summary: ''
|