rails_ops 1.4.8 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +8 -4
- data/CHANGELOG.md +16 -0
- data/Gemfile.lock +114 -82
- data/README.md +2 -1
- data/Rakefile +2 -1
- data/VERSION +1 -1
- data/gemfiles/rails_7.1.gemfile +7 -0
- data/lib/rails_ops/log_subscriber.rb +13 -0
- data/lib/rails_ops/model_mixins/virtual_attributes.rb +2 -2
- data/rails_ops.gemspec +42 -21
- data/test/unit/rails_ops/hookup_test.rb +2 -0
- metadata +14 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b1b63abe12e8b5aac56b029d69284ebca8a453a317f4d4551a451cb6c0a8cf0f
|
4
|
+
data.tar.gz: 88c6bdeee781b4db041b3e525021f2a1cd20d9dd87506c774271d130023103a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 381a04ce7065824cefb0c6920efd0fcf8b57806f46e2d141fe06f41b256bd12c618c27b653919c56cf998986e554ef8d1794bc0ebc152009c57c746418cfac78
|
7
|
+
data.tar.gz: e13d29ccabcdff238d26f52736cffecef4c42cbe4fef4a7fd5f29804023f4da6045e5b121325b276402fcad47b03df826a849a2a51d78352ed698983ef2e9f18
|
data/.github/workflows/ruby.yml
CHANGED
@@ -13,12 +13,8 @@ jobs:
|
|
13
13
|
fail-fast: false
|
14
14
|
matrix:
|
15
15
|
include:
|
16
|
-
- rails-version: '6.0'
|
17
|
-
ruby-version: '2.6.2'
|
18
16
|
- rails-version: '6.0'
|
19
17
|
ruby-version: '2.7.1'
|
20
|
-
- rails-version: '6.1'
|
21
|
-
ruby-version: '2.6.2'
|
22
18
|
- rails-version: '6.1'
|
23
19
|
ruby-version: '2.7.1'
|
24
20
|
- rails-version: '6.1'
|
@@ -31,6 +27,14 @@ jobs:
|
|
31
27
|
ruby-version: '3.1.0'
|
32
28
|
- rails-version: '7.0'
|
33
29
|
ruby-version: '3.2.0'
|
30
|
+
- rails-version: '7.1'
|
31
|
+
ruby-version: '2.7.1'
|
32
|
+
- rails-version: '7.1'
|
33
|
+
ruby-version: '3.0.1'
|
34
|
+
- rails-version: '7.1'
|
35
|
+
ruby-version: '3.1.0'
|
36
|
+
- rails-version: '7.1'
|
37
|
+
ruby-version: '3.2.0'
|
34
38
|
name: Test against Ruby ${{ matrix.ruby-version }} / Rails ${{ matrix.rails-version }}
|
35
39
|
env:
|
36
40
|
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/rails_${{ matrix.rails-version }}.gemfile
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 1.5.0 (2023-10-30)
|
4
|
+
|
5
|
+
* Fix deprecation warnings for rails `>= 7.1`
|
6
|
+
|
7
|
+
* Add Rails `7.1` to CI
|
8
|
+
|
9
|
+
* Remove Ruby `2.6.2` from CI
|
10
|
+
|
11
|
+
* Update `schemacop` dependency to `>= 3.0.0`
|
12
|
+
|
13
|
+
### Upgrading
|
14
|
+
|
15
|
+
[Schemacop](https://github.com/sitrox/schemacop) `3.0` still features
|
16
|
+
the same functionality as version 2 for backwards-compatibility, and as
|
17
|
+
such you can keep your schemacop 2 schemas as they are.
|
18
|
+
|
3
19
|
## 1.4.8 (2023-10-12)
|
4
20
|
|
5
21
|
* Keep original validation error message when
|
data/Gemfile.lock
CHANGED
@@ -6,98 +6,115 @@ PATH
|
|
6
6
|
minitest
|
7
7
|
rails
|
8
8
|
request_store
|
9
|
-
schemacop (>=
|
9
|
+
schemacop (>= 3.0.0, <= 3.1)
|
10
10
|
|
11
11
|
GEM
|
12
12
|
remote: https://rubygems.org/
|
13
13
|
specs:
|
14
|
-
actioncable (7.
|
15
|
-
actionpack (= 7.
|
16
|
-
activesupport (= 7.
|
14
|
+
actioncable (7.1.1)
|
15
|
+
actionpack (= 7.1.1)
|
16
|
+
activesupport (= 7.1.1)
|
17
17
|
nio4r (~> 2.0)
|
18
18
|
websocket-driver (>= 0.6.1)
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
19
|
+
zeitwerk (~> 2.6)
|
20
|
+
actionmailbox (7.1.1)
|
21
|
+
actionpack (= 7.1.1)
|
22
|
+
activejob (= 7.1.1)
|
23
|
+
activerecord (= 7.1.1)
|
24
|
+
activestorage (= 7.1.1)
|
25
|
+
activesupport (= 7.1.1)
|
25
26
|
mail (>= 2.7.1)
|
26
27
|
net-imap
|
27
28
|
net-pop
|
28
29
|
net-smtp
|
29
|
-
actionmailer (7.
|
30
|
-
actionpack (= 7.
|
31
|
-
actionview (= 7.
|
32
|
-
activejob (= 7.
|
33
|
-
activesupport (= 7.
|
30
|
+
actionmailer (7.1.1)
|
31
|
+
actionpack (= 7.1.1)
|
32
|
+
actionview (= 7.1.1)
|
33
|
+
activejob (= 7.1.1)
|
34
|
+
activesupport (= 7.1.1)
|
34
35
|
mail (~> 2.5, >= 2.5.4)
|
35
36
|
net-imap
|
36
37
|
net-pop
|
37
38
|
net-smtp
|
38
|
-
rails-dom-testing (~> 2.
|
39
|
-
actionpack (7.
|
40
|
-
actionview (= 7.
|
41
|
-
activesupport (= 7.
|
42
|
-
|
39
|
+
rails-dom-testing (~> 2.2)
|
40
|
+
actionpack (7.1.1)
|
41
|
+
actionview (= 7.1.1)
|
42
|
+
activesupport (= 7.1.1)
|
43
|
+
nokogiri (>= 1.8.5)
|
44
|
+
rack (>= 2.2.4)
|
45
|
+
rack-session (>= 1.0.1)
|
43
46
|
rack-test (>= 0.6.3)
|
44
|
-
rails-dom-testing (~> 2.
|
45
|
-
rails-html-sanitizer (~> 1.
|
46
|
-
actiontext (7.
|
47
|
-
actionpack (= 7.
|
48
|
-
activerecord (= 7.
|
49
|
-
activestorage (= 7.
|
50
|
-
activesupport (= 7.
|
47
|
+
rails-dom-testing (~> 2.2)
|
48
|
+
rails-html-sanitizer (~> 1.6)
|
49
|
+
actiontext (7.1.1)
|
50
|
+
actionpack (= 7.1.1)
|
51
|
+
activerecord (= 7.1.1)
|
52
|
+
activestorage (= 7.1.1)
|
53
|
+
activesupport (= 7.1.1)
|
51
54
|
globalid (>= 0.6.0)
|
52
55
|
nokogiri (>= 1.8.5)
|
53
|
-
actionview (7.
|
54
|
-
activesupport (= 7.
|
56
|
+
actionview (7.1.1)
|
57
|
+
activesupport (= 7.1.1)
|
55
58
|
builder (~> 3.1)
|
56
|
-
erubi (~> 1.
|
57
|
-
rails-dom-testing (~> 2.
|
58
|
-
rails-html-sanitizer (~> 1.
|
59
|
+
erubi (~> 1.11)
|
60
|
+
rails-dom-testing (~> 2.2)
|
61
|
+
rails-html-sanitizer (~> 1.6)
|
59
62
|
active_type (2.3.3)
|
60
63
|
activerecord (>= 3.2)
|
61
|
-
activejob (7.
|
62
|
-
activesupport (= 7.
|
64
|
+
activejob (7.1.1)
|
65
|
+
activesupport (= 7.1.1)
|
63
66
|
globalid (>= 0.3.6)
|
64
|
-
activemodel (7.
|
65
|
-
activesupport (= 7.
|
66
|
-
activerecord (7.
|
67
|
-
activemodel (= 7.
|
68
|
-
activesupport (= 7.
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
67
|
+
activemodel (7.1.1)
|
68
|
+
activesupport (= 7.1.1)
|
69
|
+
activerecord (7.1.1)
|
70
|
+
activemodel (= 7.1.1)
|
71
|
+
activesupport (= 7.1.1)
|
72
|
+
timeout (>= 0.4.0)
|
73
|
+
activestorage (7.1.1)
|
74
|
+
actionpack (= 7.1.1)
|
75
|
+
activejob (= 7.1.1)
|
76
|
+
activerecord (= 7.1.1)
|
77
|
+
activesupport (= 7.1.1)
|
74
78
|
marcel (~> 1.0)
|
75
|
-
|
76
|
-
|
79
|
+
activesupport (7.1.1)
|
80
|
+
base64
|
81
|
+
bigdecimal
|
77
82
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
83
|
+
connection_pool (>= 2.2.5)
|
84
|
+
drb
|
78
85
|
i18n (>= 1.6, < 2)
|
79
86
|
minitest (>= 5.1)
|
87
|
+
mutex_m
|
80
88
|
tzinfo (~> 2.0)
|
81
89
|
appraisal (2.4.1)
|
82
90
|
bundler
|
83
91
|
rake
|
84
92
|
thor (>= 0.14.0)
|
85
93
|
ast (2.4.2)
|
94
|
+
base64 (0.1.1)
|
95
|
+
bigdecimal (3.1.4)
|
86
96
|
builder (3.2.4)
|
87
97
|
cancancan (3.5.0)
|
88
98
|
coderay (1.1.3)
|
89
99
|
colorize (0.8.1)
|
90
100
|
concurrent-ruby (1.2.2)
|
101
|
+
connection_pool (2.4.1)
|
91
102
|
crass (1.0.6)
|
92
103
|
date (3.3.3)
|
93
104
|
docile (1.4.0)
|
105
|
+
drb (2.1.1)
|
106
|
+
ruby2_keywords
|
94
107
|
erubi (1.12.0)
|
95
|
-
globalid (1.1
|
96
|
-
activesupport (>=
|
108
|
+
globalid (1.2.1)
|
109
|
+
activesupport (>= 6.1)
|
97
110
|
i18n (1.14.1)
|
98
111
|
concurrent-ruby (~> 1.0)
|
112
|
+
io-console (0.6.0)
|
113
|
+
irb (1.8.3)
|
114
|
+
rdoc
|
115
|
+
reline (>= 0.3.8)
|
99
116
|
json (2.6.3)
|
100
|
-
loofah (2.21.
|
117
|
+
loofah (2.21.4)
|
101
118
|
crass (~> 1.0.2)
|
102
119
|
nokogiri (>= 1.12.0)
|
103
120
|
mail (2.8.1)
|
@@ -107,21 +124,22 @@ GEM
|
|
107
124
|
net-smtp
|
108
125
|
marcel (1.0.2)
|
109
126
|
method_source (1.0.0)
|
110
|
-
mini_mime (1.1.
|
111
|
-
minitest (5.
|
112
|
-
|
127
|
+
mini_mime (1.1.5)
|
128
|
+
minitest (5.20.0)
|
129
|
+
mutex_m (0.1.2)
|
130
|
+
net-imap (0.4.2)
|
113
131
|
date
|
114
132
|
net-protocol
|
115
133
|
net-pop (0.1.2)
|
116
134
|
net-protocol
|
117
135
|
net-protocol (0.2.1)
|
118
136
|
timeout
|
119
|
-
net-smtp (0.
|
137
|
+
net-smtp (0.4.0)
|
120
138
|
net-protocol
|
121
|
-
nio4r (2.5.
|
122
|
-
nokogiri (1.15.
|
139
|
+
nio4r (2.5.9)
|
140
|
+
nokogiri (1.15.4-x86_64-darwin)
|
123
141
|
racc (~> 1.4)
|
124
|
-
nokogiri (1.15.
|
142
|
+
nokogiri (1.15.4-x86_64-linux)
|
125
143
|
racc (~> 1.4)
|
126
144
|
parallel (1.22.1)
|
127
145
|
parser (3.2.1.1)
|
@@ -129,41 +147,53 @@ GEM
|
|
129
147
|
pry (0.14.2)
|
130
148
|
coderay (~> 1.1)
|
131
149
|
method_source (~> 1.0)
|
150
|
+
psych (5.1.1.1)
|
151
|
+
stringio
|
132
152
|
racc (1.7.1)
|
133
|
-
rack (
|
153
|
+
rack (3.0.8)
|
154
|
+
rack-session (2.0.0)
|
155
|
+
rack (>= 3.0.0)
|
134
156
|
rack-test (2.1.0)
|
135
157
|
rack (>= 1.3)
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
158
|
+
rackup (2.1.0)
|
159
|
+
rack (>= 3)
|
160
|
+
webrick (~> 1.8)
|
161
|
+
rails (7.1.1)
|
162
|
+
actioncable (= 7.1.1)
|
163
|
+
actionmailbox (= 7.1.1)
|
164
|
+
actionmailer (= 7.1.1)
|
165
|
+
actionpack (= 7.1.1)
|
166
|
+
actiontext (= 7.1.1)
|
167
|
+
actionview (= 7.1.1)
|
168
|
+
activejob (= 7.1.1)
|
169
|
+
activemodel (= 7.1.1)
|
170
|
+
activerecord (= 7.1.1)
|
171
|
+
activestorage (= 7.1.1)
|
172
|
+
activesupport (= 7.1.1)
|
148
173
|
bundler (>= 1.15.0)
|
149
|
-
railties (= 7.
|
150
|
-
rails-dom-testing (2.
|
174
|
+
railties (= 7.1.1)
|
175
|
+
rails-dom-testing (2.2.0)
|
151
176
|
activesupport (>= 5.0.0)
|
152
177
|
minitest
|
153
178
|
nokogiri (>= 1.6)
|
154
179
|
rails-html-sanitizer (1.6.0)
|
155
180
|
loofah (~> 2.21)
|
156
181
|
nokogiri (~> 1.14)
|
157
|
-
railties (7.
|
158
|
-
actionpack (= 7.
|
159
|
-
activesupport (= 7.
|
160
|
-
|
182
|
+
railties (7.1.1)
|
183
|
+
actionpack (= 7.1.1)
|
184
|
+
activesupport (= 7.1.1)
|
185
|
+
irb
|
186
|
+
rackup (>= 1.0.0)
|
161
187
|
rake (>= 12.2)
|
162
|
-
thor (~> 1.0)
|
163
|
-
zeitwerk (~> 2.
|
188
|
+
thor (~> 1.0, >= 1.2.2)
|
189
|
+
zeitwerk (~> 2.6)
|
164
190
|
rainbow (3.1.1)
|
165
|
-
rake (13.0
|
191
|
+
rake (13.1.0)
|
192
|
+
rdoc (6.5.0)
|
193
|
+
psych (>= 4.0.0)
|
166
194
|
regexp_parser (2.7.0)
|
195
|
+
reline (0.3.9)
|
196
|
+
io-console (~> 0.5)
|
167
197
|
request_store (1.5.1)
|
168
198
|
rack (>= 1.4)
|
169
199
|
rexml (3.2.5)
|
@@ -199,15 +229,17 @@ GEM
|
|
199
229
|
sprockets (>= 3.0.0)
|
200
230
|
sqlite3 (1.6.2-x86_64-darwin)
|
201
231
|
sqlite3 (1.6.2-x86_64-linux)
|
202
|
-
|
203
|
-
|
232
|
+
stringio (3.0.8)
|
233
|
+
thor (1.3.0)
|
234
|
+
timeout (0.4.0)
|
204
235
|
tzinfo (2.0.6)
|
205
236
|
concurrent-ruby (~> 1.0)
|
206
237
|
unicode-display_width (2.4.2)
|
207
|
-
|
238
|
+
webrick (1.8.1)
|
239
|
+
websocket-driver (0.7.6)
|
208
240
|
websocket-extensions (>= 0.1.0)
|
209
241
|
websocket-extensions (0.1.5)
|
210
|
-
zeitwerk (2.6.
|
242
|
+
zeitwerk (2.6.12)
|
211
243
|
|
212
244
|
PLATFORMS
|
213
245
|
x86_64-darwin-20
|
data/README.md
CHANGED
@@ -27,11 +27,12 @@ Requirements & Installation
|
|
27
27
|
* Rails 6.0.x
|
28
28
|
* Rails 6.1.x
|
29
29
|
* Rails 7.0.x
|
30
|
+
* Rails 7.1.x
|
30
31
|
- Additionally, the following Ruby versions are covered by our unit tests:
|
31
|
-
* 2.6.2
|
32
32
|
* 2.7.1
|
33
33
|
* 3.0.1
|
34
34
|
* 3.1.0
|
35
|
+
* 3.2.0
|
35
36
|
- Please see the [unit test workflow](https://github.com/sitrox/rails_ops/actions/workflows/ruby.yml) for the combinations of the Rails & Ruby versions, as only compatible versions are tested with each other.
|
36
37
|
- Prior Rails and Ruby versions may be supported but they are not tested in the CI.
|
37
38
|
- Rails Ops' model operations require ActiveRecord but are database / adapter
|
data/Rakefile
CHANGED
@@ -14,6 +14,7 @@ task :gemspec do
|
|
14
14
|
spec.executables = []
|
15
15
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
16
16
|
spec.require_paths = ['lib']
|
17
|
+
spec.licenses = ['MIT']
|
17
18
|
|
18
19
|
spec.add_development_dependency 'appraisal'
|
19
20
|
spec.add_development_dependency 'bundler'
|
@@ -29,7 +30,7 @@ task :gemspec do
|
|
29
30
|
spec.add_dependency 'minitest'
|
30
31
|
spec.add_dependency 'rails'
|
31
32
|
spec.add_dependency 'request_store'
|
32
|
-
spec.add_dependency 'schemacop', '>=
|
33
|
+
spec.add_dependency 'schemacop', '>= 3.0.0', '<= 3.1'
|
33
34
|
end
|
34
35
|
|
35
36
|
File.write('rails_ops.gemspec', gemspec.to_ruby.strip)
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.5.0
|
@@ -23,5 +23,18 @@ module RailsOps
|
|
23
23
|
|
24
24
|
debug " #{message}"
|
25
25
|
end
|
26
|
+
|
27
|
+
private
|
28
|
+
|
29
|
+
def color(message, color, bold = false)
|
30
|
+
# Passing the value for bold is deprecated in Rails 7.1 and will
|
31
|
+
# be removed in Rails 7.2. As RailsOps is currently also supporting
|
32
|
+
# Rails 6.x, we need to use the correct method.
|
33
|
+
if Rails.gem_version >= Gem::Version.new('7.1')
|
34
|
+
super(message, color, bold: bold)
|
35
|
+
else
|
36
|
+
super(message, color, bold)
|
37
|
+
end
|
38
|
+
end
|
26
39
|
end
|
27
40
|
end
|
@@ -5,13 +5,13 @@ module RailsOps::ModelMixins::VirtualAttributes
|
|
5
5
|
include ActiveType::VirtualAttributes
|
6
6
|
end
|
7
7
|
|
8
|
-
# rubocop: disable
|
8
|
+
# rubocop: disable Naming/PredicateName
|
9
9
|
# TODO: Document this. Why is this necessary and not part of ActiveType?
|
10
10
|
def has_attribute?(name)
|
11
11
|
return true if self.class._has_virtual_column?(name)
|
12
12
|
return super
|
13
13
|
end
|
14
|
-
# rubocop: enable
|
14
|
+
# rubocop: enable Naming/PredicateName
|
15
15
|
|
16
16
|
# TODO: Document this. Why is this necessary and not part of ActiveType?
|
17
17
|
def column_for_attribute(name)
|
data/rails_ops.gemspec
CHANGED
@@ -1,34 +1,55 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
# stub: rails_ops 1.
|
2
|
+
# stub: rails_ops 1.5.0 ruby lib
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = "rails_ops".freeze
|
6
|
-
s.version = "1.
|
6
|
+
s.version = "1.5.0"
|
7
7
|
|
8
8
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
9
9
|
s.require_paths = ["lib".freeze]
|
10
10
|
s.authors = ["Sitrox".freeze]
|
11
|
-
s.date = "2023-10-
|
12
|
-
s.files = [".github/workflows/rubocop.yml".freeze, ".github/workflows/ruby.yml".freeze, ".gitignore".freeze, ".releaser_config".freeze, ".rubocop.yml".freeze, "Appraisals".freeze, "CHANGELOG.md".freeze, "Gemfile".freeze, "Gemfile.lock".freeze, "LICENSE".freeze, "README.md".freeze, "Rakefile".freeze, "VERSION".freeze, "gemfiles/rails_6.0.gemfile".freeze, "gemfiles/rails_6.1.gemfile".freeze, "gemfiles/rails_7.0.gemfile".freeze, "lib/generators/operation/USAGE".freeze, "lib/generators/operation/operation_generator.rb".freeze, "lib/generators/operation/templates/controller.erb".freeze, "lib/generators/operation/templates/controller_wrapper.erb".freeze, "lib/generators/operation/templates/create.erb".freeze, "lib/generators/operation/templates/destroy.erb".freeze, "lib/generators/operation/templates/load.erb".freeze, "lib/generators/operation/templates/update.erb".freeze, "lib/generators/operation/templates/view.erb".freeze, "lib/rails_ops.rb".freeze, "lib/rails_ops/authorization_backend/abstract.rb".freeze, "lib/rails_ops/authorization_backend/can_can_can.rb".freeze, "lib/rails_ops/configuration.rb".freeze, "lib/rails_ops/context.rb".freeze, "lib/rails_ops/controller_mixin.rb".freeze, "lib/rails_ops/exceptions.rb".freeze, "lib/rails_ops/hooked_job.rb".freeze, "lib/rails_ops/hookup.rb".freeze, "lib/rails_ops/hookup/dsl.rb".freeze, "lib/rails_ops/hookup/dsl_validator.rb".freeze, "lib/rails_ops/hookup/hook.rb".freeze, "lib/rails_ops/log_subscriber.rb".freeze, "lib/rails_ops/mixins.rb".freeze, "lib/rails_ops/mixins/authorization.rb".freeze, "lib/rails_ops/mixins/log_settings.rb".freeze, "lib/rails_ops/mixins/model.rb".freeze, "lib/rails_ops/mixins/model/authorization.rb".freeze, "lib/rails_ops/mixins/model/nesting.rb".freeze, "lib/rails_ops/mixins/param_authorization.rb".freeze, "lib/rails_ops/mixins/policies.rb".freeze, "lib/rails_ops/mixins/require_context.rb".freeze, "lib/rails_ops/mixins/routes.rb".freeze, "lib/rails_ops/mixins/schema_validation.rb".freeze, "lib/rails_ops/mixins/sub_ops.rb".freeze, "lib/rails_ops/model_mixins.rb".freeze, "lib/rails_ops/model_mixins/ar_extension.rb".freeze, "lib/rails_ops/model_mixins/marshalling.rb".freeze, "lib/rails_ops/model_mixins/parent_op.rb".freeze, "lib/rails_ops/model_mixins/sti_fixes.rb".freeze, "lib/rails_ops/model_mixins/virtual_attributes.rb".freeze, "lib/rails_ops/model_mixins/virtual_attributes/virtual_column_wrapper.rb".freeze, "lib/rails_ops/model_mixins/virtual_has_one.rb".freeze, "lib/rails_ops/model_mixins/virtual_model_name.rb".freeze, "lib/rails_ops/operation.rb".freeze, "lib/rails_ops/operation/model.rb".freeze, "lib/rails_ops/operation/model/create.rb".freeze, "lib/rails_ops/operation/model/destroy.rb".freeze, "lib/rails_ops/operation/model/load.rb".freeze, "lib/rails_ops/operation/model/update.rb".freeze, "lib/rails_ops/profiler.rb".freeze, "lib/rails_ops/profiler/node.rb".freeze, "lib/rails_ops/railtie.rb".freeze, "lib/rails_ops/scoped_env.rb".freeze, "lib/rails_ops/virtual_model.rb".freeze, "rails_ops.gemspec".freeze, "test/db/models.rb".freeze, "test/db/schema.rb".freeze, "test/dummy/Rakefile".freeze, "test/dummy/app/assets/config/manifest.js".freeze, "test/dummy/app/assets/images/.keep".freeze, "test/dummy/app/assets/javascripts/application.js".freeze, "test/dummy/app/assets/javascripts/cable.js".freeze, "test/dummy/app/assets/javascripts/channels/.keep".freeze, "test/dummy/app/assets/stylesheets/application.css".freeze, "test/dummy/app/channels/application_cable/channel.rb".freeze, "test/dummy/app/channels/application_cable/connection.rb".freeze, "test/dummy/app/controllers/application_controller.rb".freeze, "test/dummy/app/controllers/concerns/.keep".freeze, "test/dummy/app/controllers/group_controller.rb".freeze, "test/dummy/app/helpers/application_helper.rb".freeze, "test/dummy/app/jobs/application_job.rb".freeze, "test/dummy/app/mailers/application_mailer.rb".freeze, "test/dummy/app/models/ability.rb".freeze, "test/dummy/app/models/animal.rb".freeze, "test/dummy/app/models/application_record.rb".freeze, "test/dummy/app/models/bird.rb".freeze, "test/dummy/app/models/cat.rb".freeze, "test/dummy/app/models/computer.rb".freeze, "test/dummy/app/models/concerns/.keep".freeze, "test/dummy/app/models/cpu.rb".freeze, "test/dummy/app/models/dog.rb".freeze, "test/dummy/app/models/flower.rb".freeze, "test/dummy/app/models/group.rb".freeze, "test/dummy/app/models/mainboard.rb".freeze, "test/dummy/app/models/nightingale.rb".freeze, "test/dummy/app/models/phoenix.rb".freeze, "test/dummy/app/models/user.rb".freeze, "test/dummy/app/views/layouts/application.html.erb".freeze, "test/dummy/app/views/layouts/mailer.html.erb".freeze, "test/dummy/app/views/layouts/mailer.text.erb".freeze, "test/dummy/bin/bundle".freeze, "test/dummy/bin/rails".freeze, "test/dummy/bin/rake".freeze, "test/dummy/bin/setup".freeze, "test/dummy/bin/update".freeze, "test/dummy/bin/yarn".freeze, "test/dummy/config.ru".freeze, "test/dummy/config/application.rb".freeze, "test/dummy/config/boot.rb".freeze, "test/dummy/config/cable.yml".freeze, "test/dummy/config/database.yml".freeze, "test/dummy/config/environment.rb".freeze, "test/dummy/config/environments/development.rb".freeze, "test/dummy/config/environments/production.rb".freeze, "test/dummy/config/environments/test.rb".freeze, "test/dummy/config/hookup.rb".freeze, "test/dummy/config/initializers/application_controller_renderer.rb".freeze, "test/dummy/config/initializers/assets.rb".freeze, "test/dummy/config/initializers/backtrace_silencers.rb".freeze, "test/dummy/config/initializers/cookies_serializer.rb".freeze, "test/dummy/config/initializers/filter_parameter_logging.rb".freeze, "test/dummy/config/initializers/inflections.rb".freeze, "test/dummy/config/initializers/mime_types.rb".freeze, "test/dummy/config/initializers/rails_ops.rb".freeze, "test/dummy/config/initializers/wrap_parameters.rb".freeze, "test/dummy/config/locales/en.yml".freeze, "test/dummy/config/puma.rb".freeze, "test/dummy/config/routes.rb".freeze, "test/dummy/config/secrets.yml".freeze, "test/dummy/config/spring.rb".freeze, "test/dummy/db/schema.rb".freeze, "test/dummy/lib/assets/.keep".freeze, "test/dummy/log/.keep".freeze, "test/dummy/package.json".freeze, "test/dummy/public/404.html".freeze, "test/dummy/public/422.html".freeze, "test/dummy/public/500.html".freeze, "test/dummy/public/apple-touch-icon-precomposed.png".freeze, "test/dummy/public/apple-touch-icon.png".freeze, "test/dummy/public/favicon.ico".freeze, "test/dummy/tmp/.keep".freeze, "test/test_helper.rb".freeze, "test/unit/rails_ops/generators/operation_generator_test.rb".freeze, "test/unit/rails_ops/hookup_test.rb".freeze, "test/unit/rails_ops/mixins/controller_test.rb".freeze, "test/unit/rails_ops/mixins/model/deep_nesting_test.rb".freeze, "test/unit/rails_ops/mixins/model/marshalling_test.rb".freeze, "test/unit/rails_ops/mixins/param_authorization_test.rb".freeze, "test/unit/rails_ops/mixins/policies_test.rb".freeze, "test/unit/rails_ops/operation/auth_test.rb".freeze, "test/unit/rails_ops/operation/model/create_test.rb".freeze, "test/unit/rails_ops/operation/model/destroy_test.rb".freeze, "test/unit/rails_ops/operation/model/load_test.rb".freeze, "test/unit/rails_ops/operation/model/sti_test.rb".freeze, "test/unit/rails_ops/operation/model/update_test.rb".freeze, "test/unit/rails_ops/operation/model_test.rb".freeze, "test/unit/rails_ops/operation/update_lazy_auth_test.rb".freeze, "test/unit/rails_ops/operation_test.rb".freeze, "test/unit/rails_ops/profiler_test.rb".freeze]
|
13
|
-
s.
|
11
|
+
s.date = "2023-10-30"
|
12
|
+
s.files = [".github/workflows/rubocop.yml".freeze, ".github/workflows/ruby.yml".freeze, ".gitignore".freeze, ".releaser_config".freeze, ".rubocop.yml".freeze, "Appraisals".freeze, "CHANGELOG.md".freeze, "Gemfile".freeze, "Gemfile.lock".freeze, "LICENSE".freeze, "README.md".freeze, "Rakefile".freeze, "VERSION".freeze, "gemfiles/rails_6.0.gemfile".freeze, "gemfiles/rails_6.1.gemfile".freeze, "gemfiles/rails_7.0.gemfile".freeze, "gemfiles/rails_7.1.gemfile".freeze, "lib/generators/operation/USAGE".freeze, "lib/generators/operation/operation_generator.rb".freeze, "lib/generators/operation/templates/controller.erb".freeze, "lib/generators/operation/templates/controller_wrapper.erb".freeze, "lib/generators/operation/templates/create.erb".freeze, "lib/generators/operation/templates/destroy.erb".freeze, "lib/generators/operation/templates/load.erb".freeze, "lib/generators/operation/templates/update.erb".freeze, "lib/generators/operation/templates/view.erb".freeze, "lib/rails_ops.rb".freeze, "lib/rails_ops/authorization_backend/abstract.rb".freeze, "lib/rails_ops/authorization_backend/can_can_can.rb".freeze, "lib/rails_ops/configuration.rb".freeze, "lib/rails_ops/context.rb".freeze, "lib/rails_ops/controller_mixin.rb".freeze, "lib/rails_ops/exceptions.rb".freeze, "lib/rails_ops/hooked_job.rb".freeze, "lib/rails_ops/hookup.rb".freeze, "lib/rails_ops/hookup/dsl.rb".freeze, "lib/rails_ops/hookup/dsl_validator.rb".freeze, "lib/rails_ops/hookup/hook.rb".freeze, "lib/rails_ops/log_subscriber.rb".freeze, "lib/rails_ops/mixins.rb".freeze, "lib/rails_ops/mixins/authorization.rb".freeze, "lib/rails_ops/mixins/log_settings.rb".freeze, "lib/rails_ops/mixins/model.rb".freeze, "lib/rails_ops/mixins/model/authorization.rb".freeze, "lib/rails_ops/mixins/model/nesting.rb".freeze, "lib/rails_ops/mixins/param_authorization.rb".freeze, "lib/rails_ops/mixins/policies.rb".freeze, "lib/rails_ops/mixins/require_context.rb".freeze, "lib/rails_ops/mixins/routes.rb".freeze, "lib/rails_ops/mixins/schema_validation.rb".freeze, "lib/rails_ops/mixins/sub_ops.rb".freeze, "lib/rails_ops/model_mixins.rb".freeze, "lib/rails_ops/model_mixins/ar_extension.rb".freeze, "lib/rails_ops/model_mixins/marshalling.rb".freeze, "lib/rails_ops/model_mixins/parent_op.rb".freeze, "lib/rails_ops/model_mixins/sti_fixes.rb".freeze, "lib/rails_ops/model_mixins/virtual_attributes.rb".freeze, "lib/rails_ops/model_mixins/virtual_attributes/virtual_column_wrapper.rb".freeze, "lib/rails_ops/model_mixins/virtual_has_one.rb".freeze, "lib/rails_ops/model_mixins/virtual_model_name.rb".freeze, "lib/rails_ops/operation.rb".freeze, "lib/rails_ops/operation/model.rb".freeze, "lib/rails_ops/operation/model/create.rb".freeze, "lib/rails_ops/operation/model/destroy.rb".freeze, "lib/rails_ops/operation/model/load.rb".freeze, "lib/rails_ops/operation/model/update.rb".freeze, "lib/rails_ops/profiler.rb".freeze, "lib/rails_ops/profiler/node.rb".freeze, "lib/rails_ops/railtie.rb".freeze, "lib/rails_ops/scoped_env.rb".freeze, "lib/rails_ops/virtual_model.rb".freeze, "rails_ops.gemspec".freeze, "test/db/models.rb".freeze, "test/db/schema.rb".freeze, "test/dummy/Rakefile".freeze, "test/dummy/app/assets/config/manifest.js".freeze, "test/dummy/app/assets/images/.keep".freeze, "test/dummy/app/assets/javascripts/application.js".freeze, "test/dummy/app/assets/javascripts/cable.js".freeze, "test/dummy/app/assets/javascripts/channels/.keep".freeze, "test/dummy/app/assets/stylesheets/application.css".freeze, "test/dummy/app/channels/application_cable/channel.rb".freeze, "test/dummy/app/channels/application_cable/connection.rb".freeze, "test/dummy/app/controllers/application_controller.rb".freeze, "test/dummy/app/controllers/concerns/.keep".freeze, "test/dummy/app/controllers/group_controller.rb".freeze, "test/dummy/app/helpers/application_helper.rb".freeze, "test/dummy/app/jobs/application_job.rb".freeze, "test/dummy/app/mailers/application_mailer.rb".freeze, "test/dummy/app/models/ability.rb".freeze, "test/dummy/app/models/animal.rb".freeze, "test/dummy/app/models/application_record.rb".freeze, "test/dummy/app/models/bird.rb".freeze, "test/dummy/app/models/cat.rb".freeze, "test/dummy/app/models/computer.rb".freeze, "test/dummy/app/models/concerns/.keep".freeze, "test/dummy/app/models/cpu.rb".freeze, "test/dummy/app/models/dog.rb".freeze, "test/dummy/app/models/flower.rb".freeze, "test/dummy/app/models/group.rb".freeze, "test/dummy/app/models/mainboard.rb".freeze, "test/dummy/app/models/nightingale.rb".freeze, "test/dummy/app/models/phoenix.rb".freeze, "test/dummy/app/models/user.rb".freeze, "test/dummy/app/views/layouts/application.html.erb".freeze, "test/dummy/app/views/layouts/mailer.html.erb".freeze, "test/dummy/app/views/layouts/mailer.text.erb".freeze, "test/dummy/bin/bundle".freeze, "test/dummy/bin/rails".freeze, "test/dummy/bin/rake".freeze, "test/dummy/bin/setup".freeze, "test/dummy/bin/update".freeze, "test/dummy/bin/yarn".freeze, "test/dummy/config.ru".freeze, "test/dummy/config/application.rb".freeze, "test/dummy/config/boot.rb".freeze, "test/dummy/config/cable.yml".freeze, "test/dummy/config/database.yml".freeze, "test/dummy/config/environment.rb".freeze, "test/dummy/config/environments/development.rb".freeze, "test/dummy/config/environments/production.rb".freeze, "test/dummy/config/environments/test.rb".freeze, "test/dummy/config/hookup.rb".freeze, "test/dummy/config/initializers/application_controller_renderer.rb".freeze, "test/dummy/config/initializers/assets.rb".freeze, "test/dummy/config/initializers/backtrace_silencers.rb".freeze, "test/dummy/config/initializers/cookies_serializer.rb".freeze, "test/dummy/config/initializers/filter_parameter_logging.rb".freeze, "test/dummy/config/initializers/inflections.rb".freeze, "test/dummy/config/initializers/mime_types.rb".freeze, "test/dummy/config/initializers/rails_ops.rb".freeze, "test/dummy/config/initializers/wrap_parameters.rb".freeze, "test/dummy/config/locales/en.yml".freeze, "test/dummy/config/puma.rb".freeze, "test/dummy/config/routes.rb".freeze, "test/dummy/config/secrets.yml".freeze, "test/dummy/config/spring.rb".freeze, "test/dummy/db/schema.rb".freeze, "test/dummy/lib/assets/.keep".freeze, "test/dummy/log/.keep".freeze, "test/dummy/package.json".freeze, "test/dummy/public/404.html".freeze, "test/dummy/public/422.html".freeze, "test/dummy/public/500.html".freeze, "test/dummy/public/apple-touch-icon-precomposed.png".freeze, "test/dummy/public/apple-touch-icon.png".freeze, "test/dummy/public/favicon.ico".freeze, "test/dummy/tmp/.keep".freeze, "test/test_helper.rb".freeze, "test/unit/rails_ops/generators/operation_generator_test.rb".freeze, "test/unit/rails_ops/hookup_test.rb".freeze, "test/unit/rails_ops/mixins/controller_test.rb".freeze, "test/unit/rails_ops/mixins/model/deep_nesting_test.rb".freeze, "test/unit/rails_ops/mixins/model/marshalling_test.rb".freeze, "test/unit/rails_ops/mixins/param_authorization_test.rb".freeze, "test/unit/rails_ops/mixins/policies_test.rb".freeze, "test/unit/rails_ops/operation/auth_test.rb".freeze, "test/unit/rails_ops/operation/model/create_test.rb".freeze, "test/unit/rails_ops/operation/model/destroy_test.rb".freeze, "test/unit/rails_ops/operation/model/load_test.rb".freeze, "test/unit/rails_ops/operation/model/sti_test.rb".freeze, "test/unit/rails_ops/operation/model/update_test.rb".freeze, "test/unit/rails_ops/operation/model_test.rb".freeze, "test/unit/rails_ops/operation/update_lazy_auth_test.rb".freeze, "test/unit/rails_ops/operation_test.rb".freeze, "test/unit/rails_ops/profiler_test.rb".freeze]
|
13
|
+
s.licenses = ["MIT".freeze]
|
14
|
+
s.rubygems_version = "3.2.15".freeze
|
14
15
|
s.summary = "An operations service layer for rails projects.".freeze
|
15
16
|
s.test_files = ["test/db/models.rb".freeze, "test/db/schema.rb".freeze, "test/dummy/Rakefile".freeze, "test/dummy/app/assets/config/manifest.js".freeze, "test/dummy/app/assets/images/.keep".freeze, "test/dummy/app/assets/javascripts/application.js".freeze, "test/dummy/app/assets/javascripts/cable.js".freeze, "test/dummy/app/assets/javascripts/channels/.keep".freeze, "test/dummy/app/assets/stylesheets/application.css".freeze, "test/dummy/app/channels/application_cable/channel.rb".freeze, "test/dummy/app/channels/application_cable/connection.rb".freeze, "test/dummy/app/controllers/application_controller.rb".freeze, "test/dummy/app/controllers/concerns/.keep".freeze, "test/dummy/app/controllers/group_controller.rb".freeze, "test/dummy/app/helpers/application_helper.rb".freeze, "test/dummy/app/jobs/application_job.rb".freeze, "test/dummy/app/mailers/application_mailer.rb".freeze, "test/dummy/app/models/ability.rb".freeze, "test/dummy/app/models/animal.rb".freeze, "test/dummy/app/models/application_record.rb".freeze, "test/dummy/app/models/bird.rb".freeze, "test/dummy/app/models/cat.rb".freeze, "test/dummy/app/models/computer.rb".freeze, "test/dummy/app/models/concerns/.keep".freeze, "test/dummy/app/models/cpu.rb".freeze, "test/dummy/app/models/dog.rb".freeze, "test/dummy/app/models/flower.rb".freeze, "test/dummy/app/models/group.rb".freeze, "test/dummy/app/models/mainboard.rb".freeze, "test/dummy/app/models/nightingale.rb".freeze, "test/dummy/app/models/phoenix.rb".freeze, "test/dummy/app/models/user.rb".freeze, "test/dummy/app/views/layouts/application.html.erb".freeze, "test/dummy/app/views/layouts/mailer.html.erb".freeze, "test/dummy/app/views/layouts/mailer.text.erb".freeze, "test/dummy/bin/bundle".freeze, "test/dummy/bin/rails".freeze, "test/dummy/bin/rake".freeze, "test/dummy/bin/setup".freeze, "test/dummy/bin/update".freeze, "test/dummy/bin/yarn".freeze, "test/dummy/config.ru".freeze, "test/dummy/config/application.rb".freeze, "test/dummy/config/boot.rb".freeze, "test/dummy/config/cable.yml".freeze, "test/dummy/config/database.yml".freeze, "test/dummy/config/environment.rb".freeze, "test/dummy/config/environments/development.rb".freeze, "test/dummy/config/environments/production.rb".freeze, "test/dummy/config/environments/test.rb".freeze, "test/dummy/config/hookup.rb".freeze, "test/dummy/config/initializers/application_controller_renderer.rb".freeze, "test/dummy/config/initializers/assets.rb".freeze, "test/dummy/config/initializers/backtrace_silencers.rb".freeze, "test/dummy/config/initializers/cookies_serializer.rb".freeze, "test/dummy/config/initializers/filter_parameter_logging.rb".freeze, "test/dummy/config/initializers/inflections.rb".freeze, "test/dummy/config/initializers/mime_types.rb".freeze, "test/dummy/config/initializers/rails_ops.rb".freeze, "test/dummy/config/initializers/wrap_parameters.rb".freeze, "test/dummy/config/locales/en.yml".freeze, "test/dummy/config/puma.rb".freeze, "test/dummy/config/routes.rb".freeze, "test/dummy/config/secrets.yml".freeze, "test/dummy/config/spring.rb".freeze, "test/dummy/db/schema.rb".freeze, "test/dummy/lib/assets/.keep".freeze, "test/dummy/log/.keep".freeze, "test/dummy/package.json".freeze, "test/dummy/public/404.html".freeze, "test/dummy/public/422.html".freeze, "test/dummy/public/500.html".freeze, "test/dummy/public/apple-touch-icon-precomposed.png".freeze, "test/dummy/public/apple-touch-icon.png".freeze, "test/dummy/public/favicon.ico".freeze, "test/dummy/tmp/.keep".freeze, "test/test_helper.rb".freeze, "test/unit/rails_ops/generators/operation_generator_test.rb".freeze, "test/unit/rails_ops/hookup_test.rb".freeze, "test/unit/rails_ops/mixins/controller_test.rb".freeze, "test/unit/rails_ops/mixins/model/deep_nesting_test.rb".freeze, "test/unit/rails_ops/mixins/model/marshalling_test.rb".freeze, "test/unit/rails_ops/mixins/param_authorization_test.rb".freeze, "test/unit/rails_ops/mixins/policies_test.rb".freeze, "test/unit/rails_ops/operation/auth_test.rb".freeze, "test/unit/rails_ops/operation/model/create_test.rb".freeze, "test/unit/rails_ops/operation/model/destroy_test.rb".freeze, "test/unit/rails_ops/operation/model/load_test.rb".freeze, "test/unit/rails_ops/operation/model/sti_test.rb".freeze, "test/unit/rails_ops/operation/model/update_test.rb".freeze, "test/unit/rails_ops/operation/model_test.rb".freeze, "test/unit/rails_ops/operation/update_lazy_auth_test.rb".freeze, "test/unit/rails_ops/operation_test.rb".freeze, "test/unit/rails_ops/profiler_test.rb".freeze]
|
16
17
|
|
17
|
-
s.specification_version
|
18
|
+
if s.respond_to? :specification_version then
|
19
|
+
s.specification_version = 4
|
20
|
+
end
|
18
21
|
|
19
|
-
s.
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
22
|
+
if s.respond_to? :add_runtime_dependency then
|
23
|
+
s.add_development_dependency(%q<appraisal>.freeze, [">= 0"])
|
24
|
+
s.add_development_dependency(%q<bundler>.freeze, [">= 0"])
|
25
|
+
s.add_development_dependency(%q<rake>.freeze, [">= 0"])
|
26
|
+
s.add_development_dependency(%q<sqlite3>.freeze, [">= 0"])
|
27
|
+
s.add_development_dependency(%q<cancancan>.freeze, [">= 0"])
|
28
|
+
s.add_development_dependency(%q<pry>.freeze, [">= 0"])
|
29
|
+
s.add_development_dependency(%q<colorize>.freeze, [">= 0"])
|
30
|
+
s.add_development_dependency(%q<rubocop>.freeze, ["= 1.45.1"])
|
31
|
+
s.add_development_dependency(%q<sprockets-rails>.freeze, [">= 0"])
|
32
|
+
s.add_development_dependency(%q<simplecov>.freeze, [">= 0"])
|
33
|
+
s.add_runtime_dependency(%q<active_type>.freeze, [">= 1.3.0"])
|
34
|
+
s.add_runtime_dependency(%q<minitest>.freeze, [">= 0"])
|
35
|
+
s.add_runtime_dependency(%q<rails>.freeze, [">= 0"])
|
36
|
+
s.add_runtime_dependency(%q<request_store>.freeze, [">= 0"])
|
37
|
+
s.add_runtime_dependency(%q<schemacop>.freeze, [">= 3.0.0", "<= 3.1"])
|
38
|
+
else
|
39
|
+
s.add_dependency(%q<appraisal>.freeze, [">= 0"])
|
40
|
+
s.add_dependency(%q<bundler>.freeze, [">= 0"])
|
41
|
+
s.add_dependency(%q<rake>.freeze, [">= 0"])
|
42
|
+
s.add_dependency(%q<sqlite3>.freeze, [">= 0"])
|
43
|
+
s.add_dependency(%q<cancancan>.freeze, [">= 0"])
|
44
|
+
s.add_dependency(%q<pry>.freeze, [">= 0"])
|
45
|
+
s.add_dependency(%q<colorize>.freeze, [">= 0"])
|
46
|
+
s.add_dependency(%q<rubocop>.freeze, ["= 1.45.1"])
|
47
|
+
s.add_dependency(%q<sprockets-rails>.freeze, [">= 0"])
|
48
|
+
s.add_dependency(%q<simplecov>.freeze, [">= 0"])
|
49
|
+
s.add_dependency(%q<active_type>.freeze, [">= 1.3.0"])
|
50
|
+
s.add_dependency(%q<minitest>.freeze, [">= 0"])
|
51
|
+
s.add_dependency(%q<rails>.freeze, [">= 0"])
|
52
|
+
s.add_dependency(%q<request_store>.freeze, [">= 0"])
|
53
|
+
s.add_dependency(%q<schemacop>.freeze, [">= 3.0.0", "<= 3.1"])
|
54
|
+
end
|
34
55
|
end
|
@@ -67,6 +67,7 @@ class RailsOps::HookupTest < ActiveSupport::TestCase
|
|
67
67
|
|
68
68
|
def test_missing_config_file
|
69
69
|
orig_path = RailsOps::Hookup::CONFIG_PATH
|
70
|
+
RailsOps::Hookup.send(:remove_const, :CONFIG_PATH)
|
70
71
|
RailsOps::Hookup.const_set(:CONFIG_PATH, '/def/doesnt/exist')
|
71
72
|
RailsOps.hookup.instance_variable_set(:@drawn, false)
|
72
73
|
RailsOps.hookup.instance_variable_set(:@config_loaded, false)
|
@@ -75,6 +76,7 @@ class RailsOps::HookupTest < ActiveSupport::TestCase
|
|
75
76
|
end
|
76
77
|
assert_equal({}, RailsOps.hookup.hooks)
|
77
78
|
|
79
|
+
RailsOps::Hookup.send(:remove_const, :CONFIG_PATH)
|
78
80
|
RailsOps::Hookup.const_set(:CONFIG_PATH, orig_path)
|
79
81
|
RailsOps.hookup.instance_variable_set(:@drawn, false)
|
80
82
|
RailsOps.hookup.instance_variable_set(:@config_loaded, false)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_ops
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sitrox
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-10-
|
11
|
+
date: 2023-10-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: appraisal
|
@@ -212,7 +212,7 @@ dependencies:
|
|
212
212
|
requirements:
|
213
213
|
- - ">="
|
214
214
|
- !ruby/object:Gem::Version
|
215
|
-
version:
|
215
|
+
version: 3.0.0
|
216
216
|
- - "<="
|
217
217
|
- !ruby/object:Gem::Version
|
218
218
|
version: '3.1'
|
@@ -222,12 +222,12 @@ dependencies:
|
|
222
222
|
requirements:
|
223
223
|
- - ">="
|
224
224
|
- !ruby/object:Gem::Version
|
225
|
-
version:
|
225
|
+
version: 3.0.0
|
226
226
|
- - "<="
|
227
227
|
- !ruby/object:Gem::Version
|
228
228
|
version: '3.1'
|
229
|
-
description:
|
230
|
-
email:
|
229
|
+
description:
|
230
|
+
email:
|
231
231
|
executables: []
|
232
232
|
extensions: []
|
233
233
|
extra_rdoc_files: []
|
@@ -248,6 +248,7 @@ files:
|
|
248
248
|
- gemfiles/rails_6.0.gemfile
|
249
249
|
- gemfiles/rails_6.1.gemfile
|
250
250
|
- gemfiles/rails_7.0.gemfile
|
251
|
+
- gemfiles/rails_7.1.gemfile
|
251
252
|
- lib/generators/operation/USAGE
|
252
253
|
- lib/generators/operation/operation_generator.rb
|
253
254
|
- lib/generators/operation/templates/controller.erb
|
@@ -397,10 +398,11 @@ files:
|
|
397
398
|
- test/unit/rails_ops/operation/update_lazy_auth_test.rb
|
398
399
|
- test/unit/rails_ops/operation_test.rb
|
399
400
|
- test/unit/rails_ops/profiler_test.rb
|
400
|
-
homepage:
|
401
|
-
licenses:
|
401
|
+
homepage:
|
402
|
+
licenses:
|
403
|
+
- MIT
|
402
404
|
metadata: {}
|
403
|
-
post_install_message:
|
405
|
+
post_install_message:
|
404
406
|
rdoc_options: []
|
405
407
|
require_paths:
|
406
408
|
- lib
|
@@ -415,8 +417,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
415
417
|
- !ruby/object:Gem::Version
|
416
418
|
version: '0'
|
417
419
|
requirements: []
|
418
|
-
rubygems_version: 3.
|
419
|
-
signing_key:
|
420
|
+
rubygems_version: 3.2.15
|
421
|
+
signing_key:
|
420
422
|
specification_version: 4
|
421
423
|
summary: An operations service layer for rails projects.
|
422
424
|
test_files:
|