rails_admin_settings 1.5.0 → 1.5.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1f0216fdfa5010a28eaade776ffc755f2f161b01fdc39c75de1486d8ffa37fcf
4
- data.tar.gz: f9982da8b4e0418541728ffa56d9ee64f713e6749e81e0f890784d33102433ab
3
+ metadata.gz: 252fba15948c22109d39fac9bcf01afc70ee01b200533d89c23ae53d562b8eb6
4
+ data.tar.gz: 38d7ed5cf17306baa0f6d2440405bcfbdc5f975639077067ef1d2935ed1d368b
5
5
  SHA512:
6
- metadata.gz: 0d1f2caa066ed8a582e5d2f08b2953418bb3d7439fe3e8269edccf8037dc77e660b0afde4245306c3e7fb82f887877b79ff7185120ea0f3b6998509024f36b41
7
- data.tar.gz: 178029e94d0a928a7498b6d345d56423f85ad5ad9a96f2c1c00ac01f4747da9088dea03bdff8e070b5c97ca5ab6eb81864c3ebd81a695cbf3c9bd4b7fb58162b
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.0)
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.0)
10
- actionpack (= 5.2.0)
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.0)
14
- actionpack (= 5.2.0)
15
- actionview (= 5.2.0)
16
- activejob (= 5.2.0)
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.0)
20
- actionview (= 5.2.0)
21
- activesupport (= 5.2.0)
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.0)
27
- activesupport (= 5.2.0)
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.0)
33
- activesupport (= 5.2.0)
32
+ activejob (5.2.3)
33
+ activesupport (= 5.2.3)
34
34
  globalid (>= 0.3.6)
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)
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.0)
42
- actionpack (= 5.2.0)
43
- activerecord (= 5.2.0)
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.0)
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.5.2)
50
+ addressable (2.6.0)
51
51
  public_suffix (>= 2.0.2, < 4.0)
52
52
  arel (9.0.0)
53
- bson (4.3.0)
53
+ ast (2.4.0)
54
+ bson (4.5.0)
54
55
  builder (3.2.3)
55
- carrierwave (1.2.2)
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.0.0)
60
- carrierwave (>= 0.8, < 1.3)
61
- mongoid (>= 3.0, < 7.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
- coderay (1.1.2)
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.1)
70
- erubi (1.7.1)
71
- factory_bot (4.10.0)
72
- activesupport (>= 3.0.0)
73
- geocoder (1.4.9)
74
- globalid (0.4.1)
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.1)
76
+ i18n (1.6.0)
77
77
  concurrent-ruby (~> 1.0)
78
- json (2.1.0)
79
- loofah (2.2.2)
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.0)
83
+ mail (2.7.1)
83
84
  mini_mime (>= 0.1.1)
84
- marcel (0.3.2)
85
+ marcel (0.3.3)
85
86
  mimemagic (~> 0.3.2)
86
- method_source (0.9.0)
87
- mime-types (3.1)
87
+ method_source (0.9.2)
88
+ mime-types (3.2.2)
88
89
  mime-types-data (~> 3.2015)
89
- mime-types-data (3.2016.0521)
90
- mimemagic (0.3.2)
91
- mini_mime (1.0.0)
92
- mini_portile2 (2.3.0)
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.5.3)
95
- bson (>= 4.3.0, < 5.0.0)
96
- mongoid (6.4.1)
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.3.0)
103
+ mongoid-grid_fs (2.4.0)
103
104
  mime-types (>= 1.0, < 4.0)
104
- mongoid (>= 3.0, < 7.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.0)
109
+ mongoid-rspec (4.0.1)
109
110
  activesupport (>= 3.0.0)
110
- mongoid (>= 2.0)
111
- mongoid-compatibility
111
+ mongoid (>= 3.1)
112
+ mongoid-compatibility (>= 0.5.1)
112
113
  rspec (~> 3.3)
113
- nio4r (2.3.1)
114
- nokogiri (1.8.2)
115
- mini_portile2 (~> 2.3.0)
116
- nokogumbo (1.5.0)
117
- nokogiri
118
- paperclip (6.0.0)
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
- pry (0.11.3)
125
- coderay (~> 1.1.0)
126
- method_source (~> 0.9.0)
127
- public_suffix (3.0.2)
128
- rack (2.0.5)
129
- rack-test (1.0.0)
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.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)
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.0)
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.0)
150
- actionpack (= 5.2.0)
151
- activesupport (= 5.2.0)
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.18.1, < 2.0)
155
- rake (12.3.1)
156
- rspec (3.7.0)
157
- rspec-core (~> 3.7.0)
158
- rspec-expectations (~> 3.7.0)
159
- rspec-mocks (~> 3.7.0)
160
- rspec-core (3.7.1)
161
- rspec-support (~> 3.7.0)
162
- rspec-expectations (3.7.0)
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.7.0)
165
- rspec-mocks (3.7.0)
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.7.0)
168
- rspec-support (3.7.1)
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.4)
171
- sanitize (4.6.5)
182
+ safe_yaml (1.0.5)
183
+ sanitize (5.0.0)
172
184
  crass (~> 1.0.2)
173
- nokogiri (>= 1.4.4)
174
- nokogumbo (~> 1.4)
175
- simplecov (0.16.1)
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.1)
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.0)
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.0)
208
+ websocket-driver (0.7.1)
196
209
  websocket-extensions (>= 0.1.0)
197
- websocket-extensions (0.1.3)
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.16.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)
@@ -7,7 +7,6 @@ end
7
7
 
8
8
  module RailsAdminSettings
9
9
  class Setting
10
- #binding.pry
11
10
  if RailsAdminSettings.mongoid?
12
11
  include RailsAdminSettings::Mongoid
13
12
  end
@@ -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'),
@@ -1,3 +1,3 @@
1
1
  module RailsAdminSettings
2
- VERSION = "1.5.0"
2
+ VERSION = "1.5.1"
3
3
  end
@@ -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 "pry"
39
+ spec.add_development_dependency "rubocop-rspec"
40
40
  end
@@ -3,6 +3,6 @@
3
3
  FactoryBot.define do
4
4
  factory :setting, class: RailsAdminSettings::Setting do
5
5
  sequence(:key){|n| "setting_#{n}" }
6
- raw "Контент 1"
6
+ raw { "Контент 1" }
7
7
  end
8
8
  end
data/spec/spec_helper.rb CHANGED
@@ -5,7 +5,6 @@ require 'rubygems'
5
5
  require 'simplecov'
6
6
  SimpleCov.start
7
7
 
8
- require 'pry'
9
8
  require 'bundler/setup'
10
9
  require 'active_support'
11
10
  require 'active_support/core_ext'
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.0
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: 2018-06-09 00:00:00.000000000 Z
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: pry
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
- rubyforge_project:
349
- rubygems_version: 2.7.7
348
+ rubygems_version: 3.0.4
350
349
  signing_key:
351
350
  specification_version: 4
352
351
  summary: ''