unified_settings 0.1.2 → 0.2.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: 597e3217c2958d077da18c870c58d575fef381dbc7cea33543b91ed8eb1acb12
4
- data.tar.gz: 2e724e7b2f9e0d91dac7096c9b7b4ec470b0e843da9721b3239b2c279abef6db
3
+ metadata.gz: 4aadb20f7ae9d5b03d0df3b78ce532cc9e7deb4193471097c0835e7509b6eec4
4
+ data.tar.gz: ea98f51bb20b3169505161702b044d3271d5f60829dba57ce64c57b4b908976f
5
5
  SHA512:
6
- metadata.gz: 406732e761a985303996246a2e5eac68fe54c0f732914fc5bcaea8ab2dfb4c0f6f3b726ef989c7c014d6f68856d56d955a7b22ccceb2af349cd5030699e85227
7
- data.tar.gz: fee4bb0449050da1cb17975dc75d2e9b825131280148e5fa6e6627da35f1861228754eb61e3c5fa0c13f29e9eefad9679e6840aabb0bb5ac70be12c4ffad1fc5
6
+ metadata.gz: b52847cae5fe4a75d8b78902663b1f8f045c8eb89e8a239d0f9e4f8fd185959793c9b5d7b76f8b878744efd3678347196f7647d1db259b9ebdafae8b4e756e58
7
+ data.tar.gz: 4cb168caf88aebda8c2613475b4e66a418ee274cf3d22c8bc805cba0c02f65697d95f242a547b17339ad874ac8d8341b91300cb2d0a54077ad585691fac0a1ce
data/.rubocop.yml CHANGED
@@ -1,8 +1,8 @@
1
- require:
2
- - 'rubocop-performance'
3
- - 'rubocop-rails'
4
- - 'rubocop-minitest'
5
- - 'rubocop-rake'
1
+ plugins:
2
+ - rubocop-performance
3
+ - rubocop-rails
4
+ - rubocop-minitest
5
+ - rubocop-rake
6
6
 
7
7
  AllCops:
8
8
  NewCops: enable
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- ruby-3.2.2
1
+ ruby-3.4.8
data/Gemfile CHANGED
@@ -5,7 +5,7 @@ source 'https://rubygems.org'
5
5
  # Specify your gem's dependencies in unified_settings.gemspec
6
6
  gemspec
7
7
 
8
- gem 'bundler', '~> 2.3'
8
+ gem 'bundler', '~> 2.6'
9
9
  gem 'bundler-audit', '>= 0'
10
10
  gem 'minitest', '~> 5.0'
11
11
  gem 'rake', '~> 13.0'
@@ -21,15 +21,15 @@ gem 'ruby_audit', '>= 0'
21
21
  ##
22
22
 
23
23
  # Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main"
24
- gem 'rails', '~> 7.0.7', '>= 7.0.7.2'
24
+ gem 'rails', '~> 8.0.0'
25
25
 
26
- # The original asset pipeline for Rails
27
- # [https://github.com/rails/sprockets-rails]
28
- gem 'sprockets-rails'
26
+ # The modern asset pipeline for Rails
27
+ # https://github.com/rails/propshaft
28
+ gem 'propshaft'
29
29
 
30
30
  # Use the Puma web server
31
31
  # [https://github.com/puma/puma]
32
- gem 'puma', '~> 5.0'
32
+ gem 'puma', '~> 6.0'
33
33
 
34
34
  # Build JSON APIs with ease
35
35
  # [https://github.com/rails/jbuilder]
@@ -49,6 +49,10 @@ gem 'tzinfo-data', platforms: %i[mingw mswin x64_mingw jruby]
49
49
  # Reduces boot times through caching; required in config/boot.rb
50
50
  gem 'bootsnap', require: false
51
51
 
52
+ # Bundle and process CSS
53
+ # https://github.com/rails/cssbundling-rails
54
+ gem 'cssbundling-rails'
55
+
52
56
  # Use Sass to process CSS
53
57
  # gem "sassc-rails"
54
58
 
data/Gemfile.lock CHANGED
@@ -1,297 +1,328 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- unified_settings (0.1.2)
4
+ unified_settings (0.2.1)
5
5
  activerecord (> 4.2.0)
6
6
  activesupport (> 4.2.0)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- actioncable (7.0.8)
12
- actionpack (= 7.0.8)
13
- activesupport (= 7.0.8)
11
+ actioncable (8.0.4)
12
+ actionpack (= 8.0.4)
13
+ activesupport (= 8.0.4)
14
14
  nio4r (~> 2.0)
15
15
  websocket-driver (>= 0.6.1)
16
- actionmailbox (7.0.8)
17
- actionpack (= 7.0.8)
18
- activejob (= 7.0.8)
19
- activerecord (= 7.0.8)
20
- activestorage (= 7.0.8)
21
- activesupport (= 7.0.8)
22
- mail (>= 2.7.1)
23
- net-imap
24
- net-pop
25
- net-smtp
26
- actionmailer (7.0.8)
27
- actionpack (= 7.0.8)
28
- actionview (= 7.0.8)
29
- activejob (= 7.0.8)
30
- activesupport (= 7.0.8)
31
- mail (~> 2.5, >= 2.5.4)
32
- net-imap
33
- net-pop
34
- net-smtp
35
- rails-dom-testing (~> 2.0)
36
- actionpack (7.0.8)
37
- actionview (= 7.0.8)
38
- activesupport (= 7.0.8)
39
- rack (~> 2.0, >= 2.2.4)
16
+ zeitwerk (~> 2.6)
17
+ actionmailbox (8.0.4)
18
+ actionpack (= 8.0.4)
19
+ activejob (= 8.0.4)
20
+ activerecord (= 8.0.4)
21
+ activestorage (= 8.0.4)
22
+ activesupport (= 8.0.4)
23
+ mail (>= 2.8.0)
24
+ actionmailer (8.0.4)
25
+ actionpack (= 8.0.4)
26
+ actionview (= 8.0.4)
27
+ activejob (= 8.0.4)
28
+ activesupport (= 8.0.4)
29
+ mail (>= 2.8.0)
30
+ rails-dom-testing (~> 2.2)
31
+ actionpack (8.0.4)
32
+ actionview (= 8.0.4)
33
+ activesupport (= 8.0.4)
34
+ nokogiri (>= 1.8.5)
35
+ rack (>= 2.2.4)
36
+ rack-session (>= 1.0.1)
40
37
  rack-test (>= 0.6.3)
41
- rails-dom-testing (~> 2.0)
42
- rails-html-sanitizer (~> 1.0, >= 1.2.0)
43
- actiontext (7.0.8)
44
- actionpack (= 7.0.8)
45
- activerecord (= 7.0.8)
46
- activestorage (= 7.0.8)
47
- activesupport (= 7.0.8)
38
+ rails-dom-testing (~> 2.2)
39
+ rails-html-sanitizer (~> 1.6)
40
+ useragent (~> 0.16)
41
+ actiontext (8.0.4)
42
+ actionpack (= 8.0.4)
43
+ activerecord (= 8.0.4)
44
+ activestorage (= 8.0.4)
45
+ activesupport (= 8.0.4)
48
46
  globalid (>= 0.6.0)
49
47
  nokogiri (>= 1.8.5)
50
- actionview (7.0.8)
51
- activesupport (= 7.0.8)
48
+ actionview (8.0.4)
49
+ activesupport (= 8.0.4)
52
50
  builder (~> 3.1)
53
- erubi (~> 1.4)
54
- rails-dom-testing (~> 2.0)
55
- rails-html-sanitizer (~> 1.1, >= 1.2.0)
56
- activejob (7.0.8)
57
- activesupport (= 7.0.8)
51
+ erubi (~> 1.11)
52
+ rails-dom-testing (~> 2.2)
53
+ rails-html-sanitizer (~> 1.6)
54
+ activejob (8.0.4)
55
+ activesupport (= 8.0.4)
58
56
  globalid (>= 0.3.6)
59
- activemodel (7.0.8)
60
- activesupport (= 7.0.8)
61
- activerecord (7.0.8)
62
- activemodel (= 7.0.8)
63
- activesupport (= 7.0.8)
64
- activestorage (7.0.8)
65
- actionpack (= 7.0.8)
66
- activejob (= 7.0.8)
67
- activerecord (= 7.0.8)
68
- activesupport (= 7.0.8)
57
+ activemodel (8.0.4)
58
+ activesupport (= 8.0.4)
59
+ activerecord (8.0.4)
60
+ activemodel (= 8.0.4)
61
+ activesupport (= 8.0.4)
62
+ timeout (>= 0.4.0)
63
+ activestorage (8.0.4)
64
+ actionpack (= 8.0.4)
65
+ activejob (= 8.0.4)
66
+ activerecord (= 8.0.4)
67
+ activesupport (= 8.0.4)
69
68
  marcel (~> 1.0)
70
- mini_mime (>= 1.1.0)
71
- activesupport (7.0.8)
72
- concurrent-ruby (~> 1.0, >= 1.0.2)
69
+ activesupport (8.0.4)
70
+ base64
71
+ benchmark (>= 0.3)
72
+ bigdecimal
73
+ concurrent-ruby (~> 1.0, >= 1.3.1)
74
+ connection_pool (>= 2.2.5)
75
+ drb
73
76
  i18n (>= 1.6, < 2)
77
+ logger (>= 1.4.2)
74
78
  minitest (>= 5.1)
75
- tzinfo (~> 2.0)
76
- addressable (2.8.5)
77
- public_suffix (>= 2.0.2, < 6.0)
78
- ast (2.4.2)
79
- bootsnap (1.17.0)
79
+ securerandom (>= 0.3)
80
+ tzinfo (~> 2.0, >= 2.0.5)
81
+ uri (>= 0.13.1)
82
+ addressable (2.8.8)
83
+ public_suffix (>= 2.0.2, < 8.0)
84
+ ast (2.4.3)
85
+ base64 (0.3.0)
86
+ benchmark (0.5.0)
87
+ bigdecimal (4.0.1)
88
+ bootsnap (1.21.1)
80
89
  msgpack (~> 1.2)
81
- builder (3.2.4)
82
- bundler-audit (0.9.1)
83
- bundler (>= 1.2.0, < 3)
90
+ builder (3.3.0)
91
+ bundler-audit (0.9.3)
92
+ bundler (>= 1.2.0)
84
93
  thor (~> 1.0)
85
- capybara (3.39.2)
94
+ capybara (3.40.0)
86
95
  addressable
87
96
  matrix
88
97
  mini_mime (>= 0.1.3)
89
- nokogiri (~> 1.8)
98
+ nokogiri (~> 1.11)
90
99
  rack (>= 1.6.0)
91
100
  rack-test (>= 0.6.3)
92
101
  regexp_parser (>= 1.5, < 3.0)
93
102
  xpath (~> 3.2)
94
- concurrent-ruby (1.2.2)
95
- config (5.0.0)
103
+ childprocess (4.1.0)
104
+ concurrent-ruby (1.3.6)
105
+ config (5.6.1)
96
106
  deep_merge (~> 1.2, >= 1.2.1)
97
- dry-validation (~> 1.0, >= 1.0.0)
107
+ ostruct
108
+ connection_pool (3.0.2)
98
109
  crass (1.0.6)
99
- date (3.3.3)
100
- debug (1.8.0)
101
- irb (>= 1.5.0)
102
- reline (>= 0.3.1)
110
+ cssbundling-rails (1.4.3)
111
+ railties (>= 6.0.0)
112
+ date (3.5.1)
113
+ debug (1.11.1)
114
+ irb (~> 1.10)
115
+ reline (>= 0.3.8)
103
116
  deep_merge (1.2.2)
104
- dry-configurable (1.1.0)
105
- dry-core (~> 1.0, < 2)
106
- zeitwerk (~> 2.6)
107
- dry-core (1.0.1)
108
- concurrent-ruby (~> 1.0)
109
- zeitwerk (~> 2.6)
110
- dry-inflector (1.0.0)
111
- dry-initializer (3.1.1)
112
- dry-logic (1.5.0)
113
- concurrent-ruby (~> 1.0)
114
- dry-core (~> 1.0, < 2)
115
- zeitwerk (~> 2.6)
116
- dry-schema (1.13.3)
117
- concurrent-ruby (~> 1.0)
118
- dry-configurable (~> 1.0, >= 1.0.1)
119
- dry-core (~> 1.0, < 2)
120
- dry-initializer (~> 3.0)
121
- dry-logic (>= 1.4, < 2)
122
- dry-types (>= 1.7, < 2)
123
- zeitwerk (~> 2.6)
124
- dry-types (1.7.1)
125
- concurrent-ruby (~> 1.0)
126
- dry-core (~> 1.0)
127
- dry-inflector (~> 1.0)
128
- dry-logic (~> 1.4)
129
- zeitwerk (~> 2.6)
130
- dry-validation (1.10.0)
131
- concurrent-ruby (~> 1.0)
132
- dry-core (~> 1.0, < 2)
133
- dry-initializer (~> 3.0)
134
- dry-schema (>= 1.12, < 2)
135
- zeitwerk (~> 2.6)
136
- erubi (1.12.0)
137
- globalid (1.2.1)
117
+ drb (2.2.3)
118
+ erb (6.0.1)
119
+ erubi (1.13.1)
120
+ globalid (1.3.0)
138
121
  activesupport (>= 6.1)
139
- i18n (1.14.1)
122
+ i18n (1.14.8)
140
123
  concurrent-ruby (~> 1.0)
141
- io-console (0.6.0)
142
- irb (1.8.3)
143
- rdoc
144
- reline (>= 0.3.8)
145
- json (2.6.3)
146
- language_server-protocol (3.17.0.3)
147
- loofah (2.21.4)
124
+ io-console (0.8.2)
125
+ irb (1.16.0)
126
+ pp (>= 0.6.0)
127
+ rdoc (>= 4.0.0)
128
+ reline (>= 0.4.2)
129
+ json (2.18.0)
130
+ language_server-protocol (3.17.0.5)
131
+ lint_roller (1.1.0)
132
+ logger (1.7.0)
133
+ loofah (2.25.0)
148
134
  crass (~> 1.0.2)
149
135
  nokogiri (>= 1.12.0)
150
- mail (2.8.1)
136
+ mail (2.9.0)
137
+ logger
151
138
  mini_mime (>= 0.1.1)
152
139
  net-imap
153
140
  net-pop
154
141
  net-smtp
155
- marcel (1.0.2)
156
- matrix (0.4.2)
157
- method_source (1.0.0)
142
+ marcel (1.1.0)
143
+ matrix (0.4.3)
158
144
  mini_mime (1.1.5)
159
- minitest (5.20.0)
160
- msgpack (1.7.2)
161
- net-imap (0.4.3)
145
+ minitest (5.27.0)
146
+ msgpack (1.8.0)
147
+ net-imap (0.6.2)
162
148
  date
163
149
  net-protocol
164
150
  net-pop (0.1.2)
165
151
  net-protocol
166
- net-protocol (0.2.1)
152
+ net-protocol (0.2.2)
167
153
  timeout
168
- net-smtp (0.4.0)
154
+ net-smtp (0.5.1)
169
155
  net-protocol
170
- nio4r (2.5.9)
171
- nokogiri (1.15.4-x86_64-darwin)
156
+ nio4r (2.7.5)
157
+ nokogiri (1.19.0-aarch64-linux-gnu)
158
+ racc (~> 1.4)
159
+ nokogiri (1.19.0-aarch64-linux-musl)
160
+ racc (~> 1.4)
161
+ nokogiri (1.19.0-arm-linux-gnu)
172
162
  racc (~> 1.4)
173
- nokogiri (1.15.4-x86_64-linux)
163
+ nokogiri (1.19.0-arm-linux-musl)
174
164
  racc (~> 1.4)
175
- parallel (1.23.0)
176
- parser (3.2.2.4)
165
+ nokogiri (1.19.0-arm64-darwin)
166
+ racc (~> 1.4)
167
+ nokogiri (1.19.0-x86_64-darwin)
168
+ racc (~> 1.4)
169
+ nokogiri (1.19.0-x86_64-linux-gnu)
170
+ racc (~> 1.4)
171
+ nokogiri (1.19.0-x86_64-linux-musl)
172
+ racc (~> 1.4)
173
+ ostruct (0.6.3)
174
+ parallel (1.27.0)
175
+ parser (3.3.10.1)
177
176
  ast (~> 2.4.1)
178
177
  racc
179
- psych (5.1.1.1)
178
+ pp (0.6.3)
179
+ prettyprint
180
+ prettyprint (0.2.0)
181
+ prism (1.8.0)
182
+ propshaft (1.3.1)
183
+ actionpack (>= 7.0.0)
184
+ activesupport (>= 7.0.0)
185
+ rack
186
+ psych (5.3.1)
187
+ date
180
188
  stringio
181
- public_suffix (5.0.3)
182
- puma (5.6.7)
189
+ public_suffix (7.0.2)
190
+ puma (6.6.1)
183
191
  nio4r (~> 2.0)
184
- racc (1.7.1)
185
- rack (2.2.8)
186
- rack-test (2.1.0)
192
+ racc (1.8.1)
193
+ rack (3.2.4)
194
+ rack-session (2.1.1)
195
+ base64 (>= 0.1.0)
196
+ rack (>= 3.0.0)
197
+ rack-test (2.2.0)
187
198
  rack (>= 1.3)
188
- rails (7.0.8)
189
- actioncable (= 7.0.8)
190
- actionmailbox (= 7.0.8)
191
- actionmailer (= 7.0.8)
192
- actionpack (= 7.0.8)
193
- actiontext (= 7.0.8)
194
- actionview (= 7.0.8)
195
- activejob (= 7.0.8)
196
- activemodel (= 7.0.8)
197
- activerecord (= 7.0.8)
198
- activestorage (= 7.0.8)
199
- activesupport (= 7.0.8)
199
+ rackup (2.3.1)
200
+ rack (>= 3)
201
+ rails (8.0.4)
202
+ actioncable (= 8.0.4)
203
+ actionmailbox (= 8.0.4)
204
+ actionmailer (= 8.0.4)
205
+ actionpack (= 8.0.4)
206
+ actiontext (= 8.0.4)
207
+ actionview (= 8.0.4)
208
+ activejob (= 8.0.4)
209
+ activemodel (= 8.0.4)
210
+ activerecord (= 8.0.4)
211
+ activestorage (= 8.0.4)
212
+ activesupport (= 8.0.4)
200
213
  bundler (>= 1.15.0)
201
- railties (= 7.0.8)
202
- rails-dom-testing (2.2.0)
214
+ railties (= 8.0.4)
215
+ rails-dom-testing (2.3.0)
203
216
  activesupport (>= 5.0.0)
204
217
  minitest
205
218
  nokogiri (>= 1.6)
206
- rails-html-sanitizer (1.6.0)
219
+ rails-html-sanitizer (1.6.2)
207
220
  loofah (~> 2.21)
208
- nokogiri (~> 1.14)
209
- railties (7.0.8)
210
- actionpack (= 7.0.8)
211
- activesupport (= 7.0.8)
212
- method_source
221
+ nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
222
+ railties (8.0.4)
223
+ actionpack (= 8.0.4)
224
+ activesupport (= 8.0.4)
225
+ irb (~> 1.13)
226
+ rackup (>= 1.0.0)
213
227
  rake (>= 12.2)
214
- thor (~> 1.0)
215
- zeitwerk (~> 2.5)
228
+ thor (~> 1.0, >= 1.2.2)
229
+ tsort (>= 0.2)
230
+ zeitwerk (~> 2.6)
216
231
  rainbow (3.1.1)
217
- rake (13.1.0)
218
- rdoc (6.5.0)
232
+ rake (13.3.1)
233
+ rdoc (7.1.0)
234
+ erb
219
235
  psych (>= 4.0.0)
220
- regexp_parser (2.8.2)
221
- reline (0.3.9)
236
+ tsort
237
+ regexp_parser (2.11.3)
238
+ reline (0.6.3)
222
239
  io-console (~> 0.5)
223
- rexml (3.2.6)
224
- rubocop (1.57.2)
240
+ rexml (3.4.4)
241
+ rubocop (1.82.1)
225
242
  json (~> 2.3)
226
- language_server-protocol (>= 3.17.0)
243
+ language_server-protocol (~> 3.17.0.2)
244
+ lint_roller (~> 1.1.0)
227
245
  parallel (~> 1.10)
228
- parser (>= 3.2.2.4)
246
+ parser (>= 3.3.0.2)
229
247
  rainbow (>= 2.2.2, < 4.0)
230
- regexp_parser (>= 1.8, < 3.0)
231
- rexml (>= 3.2.5, < 4.0)
232
- rubocop-ast (>= 1.28.1, < 2.0)
248
+ regexp_parser (>= 2.9.3, < 3.0)
249
+ rubocop-ast (>= 1.48.0, < 2.0)
233
250
  ruby-progressbar (~> 1.7)
234
- unicode-display_width (>= 2.4.0, < 3.0)
235
- rubocop-ast (1.30.0)
236
- parser (>= 3.2.1.0)
237
- rubocop-minitest (0.33.0)
238
- rubocop (>= 1.39, < 2.0)
239
- rubocop-performance (1.19.1)
240
- rubocop (>= 1.7.0, < 2.0)
241
- rubocop-ast (>= 0.4.0)
242
- rubocop-rails (2.22.1)
251
+ unicode-display_width (>= 2.4.0, < 4.0)
252
+ rubocop-ast (1.49.0)
253
+ parser (>= 3.3.7.2)
254
+ prism (~> 1.7)
255
+ rubocop-minitest (0.38.2)
256
+ lint_roller (~> 1.1)
257
+ rubocop (>= 1.75.0, < 2.0)
258
+ rubocop-ast (>= 1.38.0, < 2.0)
259
+ rubocop-performance (1.26.1)
260
+ lint_roller (~> 1.1)
261
+ rubocop (>= 1.75.0, < 2.0)
262
+ rubocop-ast (>= 1.47.1, < 2.0)
263
+ rubocop-rails (2.34.3)
243
264
  activesupport (>= 4.2.0)
265
+ lint_roller (~> 1.1)
244
266
  rack (>= 1.1)
245
- rubocop (>= 1.33.0, < 2.0)
246
- rubocop-rake (0.6.0)
247
- rubocop (~> 1.0)
267
+ rubocop (>= 1.75.0, < 2.0)
268
+ rubocop-ast (>= 1.44.0, < 2.0)
269
+ rubocop-rake (0.7.1)
270
+ lint_roller (~> 1.1)
271
+ rubocop (>= 1.72.1)
248
272
  ruby-progressbar (1.13.0)
249
- ruby_audit (2.2.0)
273
+ ruby_audit (3.1.0)
250
274
  bundler-audit (~> 0.9.0)
251
- rubyzip (2.3.2)
252
- selenium-webdriver (4.10.0)
275
+ rubyzip (3.2.2)
276
+ securerandom (0.4.1)
277
+ selenium-webdriver (4.1.0)
278
+ childprocess (>= 0.5, < 5.0)
253
279
  rexml (~> 3.2, >= 3.2.5)
254
- rubyzip (>= 1.2.2, < 3.0)
255
- websocket (~> 1.0)
256
- sprockets (4.2.1)
257
- concurrent-ruby (~> 1.0)
258
- rack (>= 2.2.4, < 4)
259
- sprockets-rails (3.4.2)
260
- actionpack (>= 5.2)
261
- activesupport (>= 5.2)
262
- sprockets (>= 3.0.0)
263
- stringio (3.0.8)
264
- thor (1.3.0)
265
- timeout (0.4.0)
280
+ rubyzip (>= 1.2.2)
281
+ stringio (3.2.0)
282
+ thor (1.5.0)
283
+ timeout (0.6.0)
284
+ tsort (0.2.0)
266
285
  tzinfo (2.0.6)
267
286
  concurrent-ruby (~> 1.0)
268
- unicode-display_width (2.5.0)
287
+ unicode-display_width (3.2.0)
288
+ unicode-emoji (~> 4.1)
289
+ unicode-emoji (4.2.0)
290
+ uri (1.1.1)
291
+ useragent (0.16.11)
269
292
  webdrivers (5.3.1)
270
293
  nokogiri (~> 1.6)
271
294
  rubyzip (>= 1.3.0)
272
295
  selenium-webdriver (~> 4.0, < 4.11)
273
- websocket (1.2.10)
274
- websocket-driver (0.7.6)
296
+ websocket-driver (0.8.0)
297
+ base64
275
298
  websocket-extensions (>= 0.1.0)
276
299
  websocket-extensions (0.1.5)
277
300
  xpath (3.2.0)
278
301
  nokogiri (~> 1.8)
279
- zeitwerk (2.6.12)
302
+ zeitwerk (2.7.4)
280
303
 
281
304
  PLATFORMS
282
- x86_64-darwin-22
283
- x86_64-linux
305
+ aarch64-linux-gnu
306
+ aarch64-linux-musl
307
+ arm-linux-gnu
308
+ arm-linux-musl
309
+ arm64-darwin
310
+ x86_64-darwin
311
+ x86_64-linux-gnu
312
+ x86_64-linux-musl
284
313
 
285
314
  DEPENDENCIES
286
315
  bootsnap
287
- bundler (~> 2.3)
316
+ bundler (~> 2.6)
288
317
  bundler-audit
289
318
  capybara
290
319
  config (>= 3.0)
320
+ cssbundling-rails
291
321
  debug
292
322
  minitest (~> 5.0)
293
- puma (~> 5.0)
294
- rails (~> 7.0.7, >= 7.0.7.2)
323
+ propshaft
324
+ puma (~> 6.0)
325
+ rails (~> 8.0.0)
295
326
  rake (~> 13.0)
296
327
  rubocop (~> 1.21)
297
328
  rubocop-minitest
@@ -300,10 +331,9 @@ DEPENDENCIES
300
331
  rubocop-rake
301
332
  ruby_audit
302
333
  selenium-webdriver
303
- sprockets-rails
304
334
  tzinfo-data
305
335
  unified_settings!
306
336
  webdrivers
307
337
 
308
338
  BUNDLED WITH
309
- 2.4.10
339
+ 2.6.9
data/Rakefile CHANGED
@@ -14,7 +14,7 @@ Rake::TestTask.new(:test) do |t|
14
14
  # to the dummy Rails app so that we can test the Rails specific handlers
15
15
  # in the context of a Rails app. See the `generate_dummy_rails_app` for
16
16
  # more details
17
- t.test_files = \
17
+ t.test_files =
18
18
  FileList['test/**/*_test.rb'].exclude('test/rails/**/*_test.rb')
19
19
  end
20
20
 
@@ -44,7 +44,10 @@ task :generate_dummy_rails_app do
44
44
  # Install/Setup the dependencies
45
45
  #
46
46
 
47
+ system('cp -f test/rails/config/credentials.yml.enc test/dummy/config/.')
48
+ system('cp -f test/rails/config/master.key test/dummy/config/.')
47
49
  system('cp -f test/rails/Gemfile test/dummy/.')
50
+ system('cp -f test/rails/.ruby-* test/dummy/.')
48
51
 
49
52
  # Setup the Config gem
50
53
  system('cd test/dummy; rails g config:install')
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module UnifiedSettings
4
- VERSION = '0.1.2'
4
+ VERSION = '0.2.1'
5
5
  end
@@ -13,7 +13,15 @@ directories.each do |directory|
13
13
  end
14
14
  end
15
15
 
16
- ActiveRecord::Base.instance_eval { include UnifiedSettings }
16
+ begin
17
+ require 'active_record'
18
+ ActiveRecord::Base.instance_eval { include UnifiedSettings }
19
+ rescue LoadError => e
20
+ # rubocop:disable Rails/Output
21
+ puts "ERROR: Could not load active_record: #{e.message}"
22
+ # rubocop:enable Rails/Output
23
+ end
24
+
17
25
  if defined?(Rails) && Rails.version.to_i < 4
18
26
  raise 'This version of unified_settings requires Rails 4 or higher'
19
27
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unified_settings
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patrick R. Schmid
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2023-10-31 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: activerecord
@@ -63,7 +62,6 @@ files:
63
62
  - lib/unified_settings/settings.rb
64
63
  - lib/unified_settings/unified_settings.rb
65
64
  - lib/unified_settings/version.rb
66
- - unified_settings.gemspec
67
65
  homepage: https://github.com/prschmid/unified_settings
68
66
  licenses:
69
67
  - MIT
@@ -72,7 +70,6 @@ metadata:
72
70
  source_code_uri: https://github.com/prschmid/unified_settings
73
71
  changelog_uri: https://github.com/prschmid/unified_settings
74
72
  rubygems_mfa_required: 'true'
75
- post_install_message:
76
73
  rdoc_options: []
77
74
  require_paths:
78
75
  - lib
@@ -80,15 +77,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
80
77
  requirements:
81
78
  - - ">="
82
79
  - !ruby/object:Gem::Version
83
- version: '3.2'
80
+ version: '3.4'
84
81
  required_rubygems_version: !ruby/object:Gem::Requirement
85
82
  requirements:
86
83
  - - ">="
87
84
  - !ruby/object:Gem::Version
88
85
  version: '0'
89
86
  requirements: []
90
- rubygems_version: 3.4.10
91
- signing_key:
87
+ rubygems_version: 3.6.9
92
88
  specification_version: 4
93
89
  summary: A unified way to get settings from different sources.
94
90
  test_files: []
@@ -1,46 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- lib = File.expand_path('lib', __dir__)
4
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
- require 'unified_settings/version'
6
-
7
- Gem::Specification.new do |spec|
8
- spec.name = 'unified_settings'
9
- spec.version = UnifiedSettings::VERSION
10
- spec.authors = ['Patrick R. Schmid']
11
- spec.email = ['prschmid@gmail.com']
12
-
13
- spec.summary = 'A unified way to get settings from different sources.'
14
- spec.description = 'A unified way to get settings from different sources.'
15
- spec.homepage = 'https://github.com/prschmid/unified_settings'
16
- spec.license = 'MIT'
17
-
18
- # Prevent pushing this gem to RubyGems.org. To allow pushes either set the
19
- # 'allowed_push_host' to allow pushing to a single host or delete this
20
- # section to allow pushing to any host.
21
- if spec.respond_to?(:metadata)
22
- spec.metadata['homepage_uri'] = spec.homepage
23
- spec.metadata['source_code_uri'] = 'https://github.com/prschmid/unified_settings'
24
- spec.metadata['changelog_uri'] = 'https://github.com/prschmid/unified_settings'
25
- else
26
- raise 'RubyGems 2.0 or newer is required to protect against ' \
27
- 'public gem pushes.'
28
- end
29
-
30
- # Specify which files should be added to the gem when it is released.
31
- # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
32
- spec.files = Dir.chdir(__dir__) do
33
- `git ls-files -z`.split("\x0").reject do |f|
34
- (f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
35
- end
36
- end
37
- spec.bindir = 'exe'
38
- spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
39
- spec.require_paths = ['lib']
40
-
41
- spec.required_ruby_version = '>= 3.2'
42
-
43
- spec.add_runtime_dependency('activerecord', '> 4.2.0')
44
- spec.add_runtime_dependency('activesupport', '> 4.2.0')
45
- spec.metadata['rubygems_mfa_required'] = 'true'
46
- end