thecore_settings 2.0.8 → 2.0.9

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: d511db8bdf434de5142cc6b76936e2e8501b2f4f2df8979cabcb0ea8c361ef39
4
- data.tar.gz: 902cbd0e72258eaaa3b15ed0ff6444dd5a7426a9d2f29cabaef5b46c9f0f5ba1
3
+ metadata.gz: ef899b6832aeb53340d07237a131b0a66fa64eb1aa78e7225b70d96ec988167f
4
+ data.tar.gz: eeb05a43d3eb2cd8a7ae2f7e9f888b20358657b86af288a7864b44c455878396
5
5
  SHA512:
6
- metadata.gz: e971ddb2bca7f1975d2280ab8d5ead015619676646c40bac013f6eae42dda7773d3c3deaa1d2cf3fc74dd17387954d6ac00e657e88a45ac0822bc12e0fe10918
7
- data.tar.gz: b506208fb12ac63432f59e27e8324c4a93daeea3085c7ed7b6161cf2d92afa05497cb518bb58f7d3f59d2e5436c141950ee824b6af04e5bfea9e275ee1fc04c7
6
+ metadata.gz: 814e337029a365d05119f564f90d0fe96d090460846fb9726cdf7452bd015802f89662221e82b6eddd2db6aad08a962579c35274443753bb63d782a79aa058fe
7
+ data.tar.gz: a010081903eff6ea116c24e907f2a5561b86a515bb57352cee86fc05ae9e9c946a33e0a473b2104c502f8305d23d76e07123897ba5ee8c262b3926f80e7e5d0f
@@ -11,15 +11,15 @@ jobs:
11
11
  runs-on: ubuntu-latest
12
12
 
13
13
  steps:
14
- - uses: actions/checkout@v2
14
+ - uses: actions/checkout@v3
15
15
  - run: |
16
16
  git fetch --unshallow --tags
17
17
  echo $?
18
18
  git tag --list
19
- - name: Set up Ruby 2.6
20
- uses: actions/setup-ruby@v1
19
+ - uses: ruby/setup-ruby@v1
21
20
  with:
22
- ruby-version: 2.6.x
21
+ # ruby-version: '2.7' # Not needed with a .ruby-version file
22
+ bundler-cache: true # runs 'bundle install' and caches installed gems automatically
23
23
 
24
24
  - name: Publish to RubyGems
25
25
  run: |
@@ -31,4 +31,3 @@ jobs:
31
31
  gem push *.gem
32
32
  env:
33
33
  GEM_HOST_API_KEY: ${{secrets.RUBYGEMS_AUTH_TOKEN}}
34
-
data/.ruby-gemset ADDED
@@ -0,0 +1 @@
1
+ thecore_settings
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.7.2
1
+ 2.7.8
data/Gemfile CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  source 'https://rubygems.org'
2
4
 
3
5
  # Specify your gem's dependencies in thecore_settings.gemspec
data/Gemfile.lock CHANGED
@@ -1,59 +1,59 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- thecore_settings (2.0.6)
4
+ thecore_settings (2.0.9)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
- actioncable (5.2.6)
10
- actionpack (= 5.2.6)
9
+ actioncable (5.2.8.1)
10
+ actionpack (= 5.2.8.1)
11
11
  nio4r (~> 2.0)
12
12
  websocket-driver (>= 0.6.1)
13
- actionmailer (5.2.6)
14
- actionpack (= 5.2.6)
15
- actionview (= 5.2.6)
16
- activejob (= 5.2.6)
13
+ actionmailer (5.2.8.1)
14
+ actionpack (= 5.2.8.1)
15
+ actionview (= 5.2.8.1)
16
+ activejob (= 5.2.8.1)
17
17
  mail (~> 2.5, >= 2.5.4)
18
18
  rails-dom-testing (~> 2.0)
19
- actionpack (5.2.6)
20
- actionview (= 5.2.6)
21
- activesupport (= 5.2.6)
19
+ actionpack (5.2.8.1)
20
+ actionview (= 5.2.8.1)
21
+ activesupport (= 5.2.8.1)
22
22
  rack (~> 2.0, >= 2.0.8)
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.6)
27
- activesupport (= 5.2.6)
26
+ actionview (5.2.8.1)
27
+ activesupport (= 5.2.8.1)
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.6)
33
- activesupport (= 5.2.6)
32
+ activejob (5.2.8.1)
33
+ activesupport (= 5.2.8.1)
34
34
  globalid (>= 0.3.6)
35
- activemodel (5.2.6)
36
- activesupport (= 5.2.6)
37
- activerecord (5.2.6)
38
- activemodel (= 5.2.6)
39
- activesupport (= 5.2.6)
35
+ activemodel (5.2.8.1)
36
+ activesupport (= 5.2.8.1)
37
+ activerecord (5.2.8.1)
38
+ activemodel (= 5.2.8.1)
39
+ activesupport (= 5.2.8.1)
40
40
  arel (>= 9.0)
41
- activestorage (5.2.6)
42
- actionpack (= 5.2.6)
43
- activerecord (= 5.2.6)
41
+ activestorage (5.2.8.1)
42
+ actionpack (= 5.2.8.1)
43
+ activerecord (= 5.2.8.1)
44
44
  marcel (~> 1.0.0)
45
- activesupport (5.2.6)
45
+ activesupport (5.2.8.1)
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.8.0)
51
- public_suffix (>= 2.0.2, < 5.0)
50
+ addressable (2.8.1)
51
+ public_suffix (>= 2.0.2, < 6.0)
52
52
  arel (9.0.0)
53
53
  ast (2.4.2)
54
- bson (4.12.1)
54
+ bson (4.15.0)
55
55
  builder (3.2.4)
56
- carrierwave (2.2.2)
56
+ carrierwave (2.2.3)
57
57
  activemodel (>= 5.0.0)
58
58
  activesupport (>= 5.0.0)
59
59
  addressable (~> 2.6)
@@ -61,67 +61,75 @@ GEM
61
61
  marcel (~> 1.0.0)
62
62
  mini_mime (>= 0.1.3)
63
63
  ssrf_filter (~> 1.0)
64
- carrierwave-mongoid (1.3.0)
64
+ carrierwave-mongoid (1.4.0)
65
65
  carrierwave (>= 0.8, < 3)
66
- mongoid (>= 3.0, < 8.0)
66
+ mongoid (>= 3.0, < 9.0)
67
67
  mongoid-grid_fs (>= 1.3, < 3.0)
68
68
  climate_control (0.2.0)
69
- concurrent-ruby (1.1.9)
69
+ concurrent-ruby (1.2.2)
70
70
  content_disposition (1.0.0)
71
71
  crass (1.0.6)
72
- database_cleaner (2.0.1)
73
- database_cleaner-active_record (~> 2.0.0)
74
- database_cleaner-active_record (2.0.1)
72
+ database_cleaner (2.0.2)
73
+ database_cleaner-active_record (>= 2, < 3)
74
+ database_cleaner-active_record (2.1.0)
75
75
  activerecord (>= 5.a)
76
76
  database_cleaner-core (~> 2.0.0)
77
77
  database_cleaner-core (2.0.1)
78
- diff-lcs (1.4.4)
78
+ date (3.3.3)
79
+ diff-lcs (1.5.0)
79
80
  docile (1.4.0)
80
- down (5.2.4)
81
+ down (5.4.0)
81
82
  addressable (~> 2.8)
82
- erubi (1.10.0)
83
- factory_bot (6.2.0)
83
+ erubi (1.12.0)
84
+ factory_bot (6.2.1)
84
85
  activesupport (>= 5.0.0)
85
- ffi (1.15.4)
86
- geocoder (1.6.7)
87
- globalid (0.5.2)
86
+ ffi (1.15.5)
87
+ geocoder (1.8.1)
88
+ globalid (1.1.0)
88
89
  activesupport (>= 5.0)
89
- i18n (1.8.10)
90
+ i18n (1.12.0)
90
91
  concurrent-ruby (~> 1.0)
91
- image_processing (1.12.1)
92
+ image_processing (1.12.2)
92
93
  mini_magick (>= 4.9.5, < 5)
93
94
  ruby-vips (>= 2.0.17, < 3)
94
- loofah (2.12.0)
95
+ json (2.6.3)
96
+ kt-paperclip (7.1.1)
97
+ activemodel (>= 4.2.0)
98
+ activesupport (>= 4.2.0)
99
+ marcel (~> 1.0.1)
100
+ mime-types
101
+ terrapin (~> 0.6.0)
102
+ loofah (2.19.1)
95
103
  crass (~> 1.0.2)
96
104
  nokogiri (>= 1.5.9)
97
- mail (2.7.1)
105
+ mail (2.8.1)
98
106
  mini_mime (>= 0.1.1)
107
+ net-imap
108
+ net-pop
109
+ net-smtp
99
110
  marcel (1.0.2)
100
111
  method_source (1.0.0)
101
- mime-types (3.3.1)
112
+ mime-types (3.4.1)
102
113
  mime-types-data (~> 3.2015)
103
- mime-types-data (3.2021.0901)
104
- mimemagic (0.3.10)
105
- nokogiri (~> 1)
106
- rake
107
- mini_magick (4.11.0)
108
- mini_mime (1.1.1)
109
- mini_portile2 (2.6.1)
110
- minitest (5.14.4)
111
- mongo (2.15.1)
112
- bson (>= 4.8.2, < 5.0.0)
114
+ mime-types-data (3.2023.0218.1)
115
+ mini_magick (4.12.0)
116
+ mini_mime (1.1.2)
117
+ mini_portile2 (2.8.1)
118
+ minitest (5.18.0)
119
+ mongo (2.18.2)
120
+ bson (>= 4.14.1, < 5.0.0)
113
121
  mongoid (6.4.8)
114
122
  activemodel (>= 5.1, < 6.0.0)
115
123
  mongo (>= 2.5.1, < 3.0.0)
116
- mongoid-compatibility (0.5.1)
124
+ mongoid-compatibility (0.6.0)
117
125
  activesupport
118
126
  mongoid (>= 2.0)
119
- mongoid-grid_fs (2.4.0)
127
+ mongoid-grid_fs (2.5.0)
120
128
  mime-types (>= 1.0, < 4.0)
121
- mongoid (>= 3.0, < 8.0)
122
- mongoid-paperclip (0.0.11)
129
+ mongoid (>= 3.0, < 9.0)
130
+ mongoid-paperclip (0.1.0)
131
+ kt-paperclip
123
132
  mongoid
124
- paperclip (>= 2.3.6, != 4.3.0)
125
133
  mongoid-rspec (4.1.0)
126
134
  activesupport (>= 3.0.0)
127
135
  mongoid (>= 3.1)
@@ -129,84 +137,91 @@ GEM
129
137
  rspec-core (~> 3.3)
130
138
  rspec-expectations (~> 3.3)
131
139
  rspec-mocks (~> 3.3)
140
+ net-imap (0.3.4)
141
+ date
142
+ net-protocol
143
+ net-pop (0.1.2)
144
+ net-protocol
145
+ net-protocol (0.2.1)
146
+ timeout
147
+ net-smtp (0.3.3)
148
+ net-protocol
132
149
  nio4r (2.5.8)
133
- nokogiri (1.12.5)
134
- mini_portile2 (~> 2.6.1)
150
+ nokogiri (1.14.2)
151
+ mini_portile2 (~> 2.8.0)
135
152
  racc (~> 1.4)
136
- paperclip (6.1.0)
137
- activemodel (>= 4.2.0)
138
- activesupport (>= 4.2.0)
139
- mime-types
140
- mimemagic (~> 0.3.0)
141
- terrapin (~> 0.6.0)
142
- parallel (1.21.0)
143
- parser (3.0.2.0)
153
+ parallel (1.22.1)
154
+ parser (3.2.1.1)
144
155
  ast (~> 2.4.1)
145
- public_suffix (4.0.6)
146
- racc (1.5.2)
147
- rack (2.2.3)
148
- rack-test (1.1.0)
149
- rack (>= 1.0, < 3)
150
- rails (5.2.6)
151
- actioncable (= 5.2.6)
152
- actionmailer (= 5.2.6)
153
- actionpack (= 5.2.6)
154
- actionview (= 5.2.6)
155
- activejob (= 5.2.6)
156
- activemodel (= 5.2.6)
157
- activerecord (= 5.2.6)
158
- activestorage (= 5.2.6)
159
- activesupport (= 5.2.6)
156
+ public_suffix (5.0.1)
157
+ racc (1.6.2)
158
+ rack (2.2.6.4)
159
+ rack-test (2.1.0)
160
+ rack (>= 1.3)
161
+ rails (5.2.8.1)
162
+ actioncable (= 5.2.8.1)
163
+ actionmailer (= 5.2.8.1)
164
+ actionpack (= 5.2.8.1)
165
+ actionview (= 5.2.8.1)
166
+ activejob (= 5.2.8.1)
167
+ activemodel (= 5.2.8.1)
168
+ activerecord (= 5.2.8.1)
169
+ activestorage (= 5.2.8.1)
170
+ activesupport (= 5.2.8.1)
160
171
  bundler (>= 1.3.0)
161
- railties (= 5.2.6)
172
+ railties (= 5.2.8.1)
162
173
  sprockets-rails (>= 2.0.0)
163
174
  rails-dom-testing (2.0.3)
164
175
  activesupport (>= 4.2.0)
165
176
  nokogiri (>= 1.6)
166
- rails-html-sanitizer (1.4.2)
167
- loofah (~> 2.3)
168
- railties (5.2.6)
169
- actionpack (= 5.2.6)
170
- activesupport (= 5.2.6)
177
+ rails-html-sanitizer (1.5.0)
178
+ loofah (~> 2.19, >= 2.19.1)
179
+ railties (5.2.8.1)
180
+ actionpack (= 5.2.8.1)
181
+ activesupport (= 5.2.8.1)
171
182
  method_source
172
183
  rake (>= 0.8.7)
173
184
  thor (>= 0.19.0, < 2.0)
174
- rainbow (3.0.0)
185
+ rainbow (3.1.1)
175
186
  rake (13.0.6)
176
- regexp_parser (2.1.1)
187
+ regexp_parser (2.7.0)
177
188
  rexml (3.2.5)
178
- rspec (3.10.0)
179
- rspec-core (~> 3.10.0)
180
- rspec-expectations (~> 3.10.0)
181
- rspec-mocks (~> 3.10.0)
182
- rspec-core (3.10.1)
183
- rspec-support (~> 3.10.0)
184
- rspec-expectations (3.10.1)
189
+ rspec (3.12.0)
190
+ rspec-core (~> 3.12.0)
191
+ rspec-expectations (~> 3.12.0)
192
+ rspec-mocks (~> 3.12.0)
193
+ rspec-core (3.12.1)
194
+ rspec-support (~> 3.12.0)
195
+ rspec-expectations (3.12.2)
185
196
  diff-lcs (>= 1.2.0, < 2.0)
186
- rspec-support (~> 3.10.0)
187
- rspec-mocks (3.10.2)
197
+ rspec-support (~> 3.12.0)
198
+ rspec-mocks (3.12.4)
188
199
  diff-lcs (>= 1.2.0, < 2.0)
189
- rspec-support (~> 3.10.0)
190
- rspec-support (3.10.2)
191
- rubocop (1.21.0)
200
+ rspec-support (~> 3.12.0)
201
+ rspec-support (3.12.0)
202
+ rubocop (1.48.1)
203
+ json (~> 2.3)
192
204
  parallel (~> 1.10)
193
- parser (>= 3.0.0.0)
205
+ parser (>= 3.2.0.0)
194
206
  rainbow (>= 2.2.2, < 4.0)
195
207
  regexp_parser (>= 1.8, < 3.0)
196
- rexml
197
- rubocop-ast (>= 1.9.1, < 2.0)
208
+ rexml (>= 3.2.5, < 4.0)
209
+ rubocop-ast (>= 1.26.0, < 2.0)
198
210
  ruby-progressbar (~> 1.7)
199
- unicode-display_width (>= 1.4.0, < 3.0)
200
- rubocop-ast (1.12.0)
201
- parser (>= 3.0.1.1)
202
- rubocop-rspec (2.5.0)
203
- rubocop (~> 1.19)
204
- ruby-progressbar (1.11.0)
205
- ruby-vips (2.1.3)
211
+ unicode-display_width (>= 2.4.0, < 3.0)
212
+ rubocop-ast (1.28.0)
213
+ parser (>= 3.2.1.0)
214
+ rubocop-capybara (2.17.1)
215
+ rubocop (~> 1.41)
216
+ rubocop-rspec (2.19.0)
217
+ rubocop (~> 1.33)
218
+ rubocop-capybara (~> 2.17)
219
+ ruby-progressbar (1.13.0)
220
+ ruby-vips (2.1.4)
206
221
  ffi (~> 1.12)
207
222
  russian_phone (0.7.0)
208
223
  safe_yaml (1.0.5)
209
- sanitize (6.0.0)
224
+ sanitize (6.0.1)
210
225
  crass (~> 1.0.2)
211
226
  nokogiri (>= 1.12.0)
212
227
  shrine (3.4.0)
@@ -215,28 +230,29 @@ GEM
215
230
  shrine-mongoid (1.0.0)
216
231
  mongoid (>= 5.0)
217
232
  shrine (>= 3.0.0.beta3, < 4)
218
- simplecov (0.21.2)
233
+ simplecov (0.22.0)
219
234
  docile (~> 1.1)
220
235
  simplecov-html (~> 0.11)
221
236
  simplecov_json_formatter (~> 0.1)
222
237
  simplecov-html (0.12.3)
223
- simplecov_json_formatter (0.1.3)
224
- sprockets (4.0.2)
238
+ simplecov_json_formatter (0.1.4)
239
+ sprockets (4.2.0)
225
240
  concurrent-ruby (~> 1.0)
226
- rack (> 1, < 3)
227
- sprockets-rails (3.2.2)
228
- actionpack (>= 4.0)
229
- activesupport (>= 4.0)
241
+ rack (>= 2.2.4, < 4)
242
+ sprockets-rails (3.4.2)
243
+ actionpack (>= 5.2)
244
+ activesupport (>= 5.2)
230
245
  sprockets (>= 3.0.0)
231
- ssrf_filter (1.0.7)
246
+ ssrf_filter (1.1.1)
232
247
  terrapin (0.6.0)
233
248
  climate_control (>= 0.0.3, < 1.0)
234
- thor (1.1.0)
249
+ thor (1.2.1)
235
250
  thread_safe (0.3.6)
236
- tzinfo (1.2.9)
251
+ timeout (0.3.2)
252
+ tzinfo (1.2.11)
237
253
  thread_safe (~> 0.1)
238
- unicode-display_width (2.1.0)
239
- validates_email_format_of (1.6.3)
254
+ unicode-display_width (2.4.2)
255
+ validates_email_format_of (1.7.2)
240
256
  i18n
241
257
  websocket-driver (0.7.5)
242
258
  websocket-extensions (>= 0.1.0)
data/bin/rails CHANGED
@@ -2,12 +2,13 @@
2
2
  # This command will automatically be run when you run "rails" with Rails gems
3
3
  # installed from the root of your application.
4
4
 
5
- ENGINE_ROOT = File.expand_path('../..', __FILE__)
6
- ENGINE_PATH = File.expand_path('../../lib/thecore_settings/engine', __FILE__)
5
+ ENGINE_ROOT = File.expand_path('..', __dir__)
6
+ ENGINE_PATH = File.expand_path('../lib/thecore_settings/engine', __dir__)
7
+ APP_PATH = File.expand_path('../test/dummy/config/application', __dir__)
7
8
 
8
9
  # Set up gems listed in the Gemfile.
9
- ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
10
- require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE'])
10
+ ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
11
+ require "bundler/setup" if File.exist?(ENV["BUNDLE_GEMFILE"])
11
12
 
12
- require 'rails/all'
13
- require 'rails/engine/commands'
13
+ require "rails/all"
14
+ require "rails/engine/commands"
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module ThecoreSettings
2
- VERSION = "#{`git describe --tags $(git rev-list --tags --max-count=1)`.chomp}"
4
+ VERSION = '2.0.9'
3
5
  end
@@ -1,4 +1,5 @@
1
- # coding: utf-8
1
+ # frozen_string_literal: true
2
+
2
3
  lib = File.expand_path('../lib', __FILE__)
3
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
5
  require 'thecore_settings/version'
@@ -14,10 +15,10 @@ Gem::Specification.new do |spec|
14
15
  spec.license = "MIT"
15
16
 
16
17
  spec.files = `git ls-files`.split($/)
17
- spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ # spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
19
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
20
  spec.require_paths = ["lib"]
20
-
21
+ spec.required_ruby_version = '~> 2.7.7'
21
22
 
22
23
  spec.add_development_dependency "mongoid", '~> 6.3'
23
24
  spec.add_development_dependency "rails"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thecore_settings
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.8
4
+ version: 2.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriele Tassoni
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2022-10-04 00:00:00.000000000 Z
12
+ date: 2024-07-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mongoid
@@ -323,8 +323,7 @@ description: Mongoid / ActiveRecord + RailsAdmin App Settings management
323
323
  email:
324
324
  - gabriele.tassoni@gmail.com
325
325
  - glebtv@gmail.com
326
- executables:
327
- - rails
326
+ executables: []
328
327
  extensions: []
329
328
  extra_rdoc_files: []
330
329
  files:
@@ -334,6 +333,7 @@ files:
334
333
  - ".gitignore"
335
334
  - ".rakeTasks"
336
335
  - ".rspec"
336
+ - ".ruby-gemset"
337
337
  - ".ruby-version"
338
338
  - ".travis.yml"
339
339
  - CHANGELOG.md
@@ -408,16 +408,16 @@ require_paths:
408
408
  - lib
409
409
  required_ruby_version: !ruby/object:Gem::Requirement
410
410
  requirements:
411
- - - ">="
411
+ - - "~>"
412
412
  - !ruby/object:Gem::Version
413
- version: '0'
413
+ version: 2.7.7
414
414
  required_rubygems_version: !ruby/object:Gem::Requirement
415
415
  requirements:
416
416
  - - ">="
417
417
  - !ruby/object:Gem::Version
418
418
  version: '0'
419
419
  requirements: []
420
- rubygems_version: 3.0.3.1
420
+ rubygems_version: 3.1.6
421
421
  signing_key:
422
422
  specification_version: 4
423
423
  summary: ''