stance 0.8.3 → 0.9.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 +4 -4
- data/.github/workflows/main.yml +35 -0
- data/.rubocop.yml +17 -3
- data/.ruby-version +1 -0
- data/Appraisals +17 -0
- data/Gemfile +1 -0
- data/Gemfile.lock +169 -146
- data/app/models/stance/event_record.rb +2 -4
- data/gemfiles/rails_7.1.gemfile +20 -0
- data/gemfiles/rails_7.1.gemfile.lock +300 -0
- data/gemfiles/rails_7.2.gemfile +20 -0
- data/gemfiles/rails_7.2.gemfile.lock +294 -0
- data/gemfiles/rails_8.1.gemfile +20 -0
- data/gemfiles/rails_8.1.gemfile.lock +413 -0
- data/gemfiles/rails_8.gemfile +20 -0
- data/gemfiles/rails_8.gemfile.lock +295 -0
- data/lib/generators/stance/install_generator.rb +1 -1
- data/lib/stance/event.rb +10 -8
- data/lib/stance/events.rb +4 -4
- data/lib/stance/version.rb +1 -1
- data/stance.gemspec +2 -3
- metadata +17 -25
- data/.travis.yml +0 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 54c91d9ba5b439c34226f31436b808d028f438287f97cc60d391c9ce1b4156dd
|
|
4
|
+
data.tar.gz: 20c6ed6b356e19c06e367c96440e8b9bfe65c755c842449de6f9a7351db1cdc3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9b38eb0898b22e8f1e121afcc01d9b7694721da79ea6e0811a081f109275680a5b7517c96db2b5463de42d2a9d9ac3abe2031d26318dd91820aa987d8ad11312
|
|
7
|
+
data.tar.gz: 0036d5f1343b59e954252dddbaf9beb5ff36eddedf7e3f253a86822789128ff9ee01151f154bf988e253620cdb574d0dbde0221c5f7f2a24e3b3097028804a34
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
name: main
|
|
2
|
+
on: [push]
|
|
3
|
+
|
|
4
|
+
jobs:
|
|
5
|
+
test:
|
|
6
|
+
strategy:
|
|
7
|
+
fail-fast: false
|
|
8
|
+
matrix:
|
|
9
|
+
os: ["ubuntu-latest", "macos-latest"]
|
|
10
|
+
ruby-version: ["3.2", "3.3", "3.4"]
|
|
11
|
+
runs-on: ${{ matrix.os }}
|
|
12
|
+
|
|
13
|
+
env:
|
|
14
|
+
RAILS_ENV: test
|
|
15
|
+
|
|
16
|
+
steps:
|
|
17
|
+
- uses: actions/checkout@v4
|
|
18
|
+
|
|
19
|
+
- uses: ruby/setup-ruby@v1
|
|
20
|
+
with:
|
|
21
|
+
ruby-version: ${{ matrix.ruby-version }}
|
|
22
|
+
bundler-cache: true
|
|
23
|
+
rubygems: latest
|
|
24
|
+
- run: bundle exec appraisal install --jobs 4
|
|
25
|
+
- run: bundle exec appraisal rake
|
|
26
|
+
|
|
27
|
+
rubocop:
|
|
28
|
+
runs-on: "ubuntu-latest"
|
|
29
|
+
steps:
|
|
30
|
+
- uses: actions/checkout@v4
|
|
31
|
+
- uses: ruby/setup-ruby@v1
|
|
32
|
+
with:
|
|
33
|
+
bundler-cache: true
|
|
34
|
+
cache-version: 1
|
|
35
|
+
- run: bundle exec rubocop -P --fail-level C
|
data/.rubocop.yml
CHANGED
|
@@ -1,12 +1,26 @@
|
|
|
1
|
+
plugins:
|
|
2
|
+
- rubocop-minitest
|
|
3
|
+
- rubocop-rake
|
|
4
|
+
|
|
1
5
|
AllCops:
|
|
6
|
+
TargetRubyVersion: 3.2.0
|
|
2
7
|
NewCops: enable
|
|
8
|
+
Exclude:
|
|
9
|
+
- gemfiles/*
|
|
10
|
+
- vendor/**/*
|
|
11
|
+
|
|
3
12
|
Style/Documentation:
|
|
4
13
|
Enabled: false
|
|
14
|
+
Style/ClassVars:
|
|
15
|
+
Enabled: false
|
|
16
|
+
|
|
5
17
|
Layout/LineLength:
|
|
6
18
|
Max: 100
|
|
19
|
+
|
|
7
20
|
Metrics/MethodLength:
|
|
8
21
|
Max: 15
|
|
9
|
-
Style/ClassVars:
|
|
10
|
-
Enabled: false
|
|
11
22
|
Metrics/AbcSize:
|
|
12
|
-
Max: 20
|
|
23
|
+
Max: 20
|
|
24
|
+
|
|
25
|
+
Minitest/MultipleAssertions:
|
|
26
|
+
Enabled: false
|
data/.ruby-version
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3.4.8
|
data/Appraisals
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
appraise 'rails-7.1' do
|
|
4
|
+
gem 'rails', '~> 7.1.0'
|
|
5
|
+
end
|
|
6
|
+
|
|
7
|
+
appraise 'rails-7.2' do
|
|
8
|
+
gem 'rails', '~> 7.2.0'
|
|
9
|
+
end
|
|
10
|
+
|
|
11
|
+
appraise 'rails-8' do
|
|
12
|
+
gem 'rails', '~> 8.0.1'
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
appraise 'rails-8.1' do
|
|
16
|
+
gem 'rails', '~> 8.1.0'
|
|
17
|
+
end
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,243 +1,266 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
stance (0.
|
|
5
|
-
|
|
6
|
-
rails (>= 7.0, < 8.0)
|
|
4
|
+
stance (0.9.1)
|
|
5
|
+
rails (>= 7.0, < 9.0)
|
|
7
6
|
|
|
8
7
|
GEM
|
|
9
8
|
remote: https://rubygems.org/
|
|
10
9
|
specs:
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
action_text-trix (2.1.16)
|
|
11
|
+
railties
|
|
12
|
+
actioncable (8.1.1)
|
|
13
|
+
actionpack (= 8.1.1)
|
|
14
|
+
activesupport (= 8.1.1)
|
|
14
15
|
nio4r (~> 2.0)
|
|
15
16
|
websocket-driver (>= 0.6.1)
|
|
16
17
|
zeitwerk (~> 2.6)
|
|
17
|
-
actionmailbox (
|
|
18
|
-
actionpack (=
|
|
19
|
-
activejob (=
|
|
20
|
-
activerecord (=
|
|
21
|
-
activestorage (=
|
|
22
|
-
activesupport (=
|
|
23
|
-
mail (>= 2.
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
activejob (= 7.1.2)
|
|
31
|
-
activesupport (= 7.1.2)
|
|
32
|
-
mail (~> 2.5, >= 2.5.4)
|
|
33
|
-
net-imap
|
|
34
|
-
net-pop
|
|
35
|
-
net-smtp
|
|
18
|
+
actionmailbox (8.1.1)
|
|
19
|
+
actionpack (= 8.1.1)
|
|
20
|
+
activejob (= 8.1.1)
|
|
21
|
+
activerecord (= 8.1.1)
|
|
22
|
+
activestorage (= 8.1.1)
|
|
23
|
+
activesupport (= 8.1.1)
|
|
24
|
+
mail (>= 2.8.0)
|
|
25
|
+
actionmailer (8.1.1)
|
|
26
|
+
actionpack (= 8.1.1)
|
|
27
|
+
actionview (= 8.1.1)
|
|
28
|
+
activejob (= 8.1.1)
|
|
29
|
+
activesupport (= 8.1.1)
|
|
30
|
+
mail (>= 2.8.0)
|
|
36
31
|
rails-dom-testing (~> 2.2)
|
|
37
|
-
actionpack (
|
|
38
|
-
actionview (=
|
|
39
|
-
activesupport (=
|
|
32
|
+
actionpack (8.1.1)
|
|
33
|
+
actionview (= 8.1.1)
|
|
34
|
+
activesupport (= 8.1.1)
|
|
40
35
|
nokogiri (>= 1.8.5)
|
|
41
|
-
racc
|
|
42
36
|
rack (>= 2.2.4)
|
|
43
37
|
rack-session (>= 1.0.1)
|
|
44
38
|
rack-test (>= 0.6.3)
|
|
45
39
|
rails-dom-testing (~> 2.2)
|
|
46
40
|
rails-html-sanitizer (~> 1.6)
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
41
|
+
useragent (~> 0.16)
|
|
42
|
+
actiontext (8.1.1)
|
|
43
|
+
action_text-trix (~> 2.1.15)
|
|
44
|
+
actionpack (= 8.1.1)
|
|
45
|
+
activerecord (= 8.1.1)
|
|
46
|
+
activestorage (= 8.1.1)
|
|
47
|
+
activesupport (= 8.1.1)
|
|
52
48
|
globalid (>= 0.6.0)
|
|
53
49
|
nokogiri (>= 1.8.5)
|
|
54
|
-
actionview (
|
|
55
|
-
activesupport (=
|
|
50
|
+
actionview (8.1.1)
|
|
51
|
+
activesupport (= 8.1.1)
|
|
56
52
|
builder (~> 3.1)
|
|
57
53
|
erubi (~> 1.11)
|
|
58
54
|
rails-dom-testing (~> 2.2)
|
|
59
55
|
rails-html-sanitizer (~> 1.6)
|
|
60
|
-
activejob (
|
|
61
|
-
activesupport (=
|
|
56
|
+
activejob (8.1.1)
|
|
57
|
+
activesupport (= 8.1.1)
|
|
62
58
|
globalid (>= 0.3.6)
|
|
63
|
-
activemodel (
|
|
64
|
-
activesupport (=
|
|
65
|
-
activerecord (
|
|
66
|
-
activemodel (=
|
|
67
|
-
activesupport (=
|
|
59
|
+
activemodel (8.1.1)
|
|
60
|
+
activesupport (= 8.1.1)
|
|
61
|
+
activerecord (8.1.1)
|
|
62
|
+
activemodel (= 8.1.1)
|
|
63
|
+
activesupport (= 8.1.1)
|
|
68
64
|
timeout (>= 0.4.0)
|
|
69
|
-
activestorage (
|
|
70
|
-
actionpack (=
|
|
71
|
-
activejob (=
|
|
72
|
-
activerecord (=
|
|
73
|
-
activesupport (=
|
|
65
|
+
activestorage (8.1.1)
|
|
66
|
+
actionpack (= 8.1.1)
|
|
67
|
+
activejob (= 8.1.1)
|
|
68
|
+
activerecord (= 8.1.1)
|
|
69
|
+
activesupport (= 8.1.1)
|
|
74
70
|
marcel (~> 1.0)
|
|
75
|
-
activesupport (
|
|
71
|
+
activesupport (8.1.1)
|
|
76
72
|
base64
|
|
77
73
|
bigdecimal
|
|
78
|
-
concurrent-ruby (~> 1.0, >= 1.
|
|
74
|
+
concurrent-ruby (~> 1.0, >= 1.3.1)
|
|
79
75
|
connection_pool (>= 2.2.5)
|
|
80
76
|
drb
|
|
81
77
|
i18n (>= 1.6, < 2)
|
|
78
|
+
json
|
|
79
|
+
logger (>= 1.4.2)
|
|
82
80
|
minitest (>= 5.1)
|
|
83
|
-
|
|
84
|
-
tzinfo (~> 2.0)
|
|
85
|
-
|
|
81
|
+
securerandom (>= 0.3)
|
|
82
|
+
tzinfo (~> 2.0, >= 2.0.5)
|
|
83
|
+
uri (>= 0.13.1)
|
|
84
|
+
appraisal (2.5.0)
|
|
85
|
+
bundler
|
|
86
|
+
rake
|
|
87
|
+
thor (>= 0.14.0)
|
|
88
|
+
ast (2.4.3)
|
|
86
89
|
autotest-suffix (1.1.0)
|
|
87
|
-
base64 (0.
|
|
88
|
-
bigdecimal (
|
|
89
|
-
builder (3.
|
|
90
|
-
combustion (1.
|
|
90
|
+
base64 (0.3.0)
|
|
91
|
+
bigdecimal (4.0.1)
|
|
92
|
+
builder (3.3.0)
|
|
93
|
+
combustion (1.5.0)
|
|
91
94
|
activesupport (>= 3.0.0)
|
|
92
95
|
railties (>= 3.0.0)
|
|
93
96
|
thor (>= 0.14.6)
|
|
94
|
-
concurrent-ruby (1.
|
|
95
|
-
connection_pool (
|
|
97
|
+
concurrent-ruby (1.3.6)
|
|
98
|
+
connection_pool (3.0.2)
|
|
96
99
|
crass (1.0.6)
|
|
97
|
-
date (3.
|
|
98
|
-
debug (1.
|
|
100
|
+
date (3.5.1)
|
|
101
|
+
debug (1.11.1)
|
|
99
102
|
irb (~> 1.10)
|
|
100
103
|
reline (>= 0.3.8)
|
|
101
|
-
drb (2.2.
|
|
102
|
-
|
|
103
|
-
erubi (1.
|
|
104
|
-
globalid (1.
|
|
104
|
+
drb (2.2.3)
|
|
105
|
+
erb (6.0.1)
|
|
106
|
+
erubi (1.13.1)
|
|
107
|
+
globalid (1.3.0)
|
|
105
108
|
activesupport (>= 6.1)
|
|
106
|
-
i18n (1.14.
|
|
109
|
+
i18n (1.14.8)
|
|
107
110
|
concurrent-ruby (~> 1.0)
|
|
108
|
-
io-console (0.
|
|
109
|
-
irb (1.
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
111
|
+
io-console (0.8.2)
|
|
112
|
+
irb (1.16.0)
|
|
113
|
+
pp (>= 0.6.0)
|
|
114
|
+
rdoc (>= 4.0.0)
|
|
115
|
+
reline (>= 0.4.2)
|
|
116
|
+
json (2.18.0)
|
|
117
|
+
language_server-protocol (3.17.0.5)
|
|
118
|
+
lint_roller (1.1.0)
|
|
119
|
+
logger (1.7.0)
|
|
120
|
+
loofah (2.25.0)
|
|
115
121
|
crass (~> 1.0.2)
|
|
116
122
|
nokogiri (>= 1.12.0)
|
|
117
|
-
mail (2.
|
|
123
|
+
mail (2.9.0)
|
|
124
|
+
logger
|
|
118
125
|
mini_mime (>= 0.1.1)
|
|
119
126
|
net-imap
|
|
120
127
|
net-pop
|
|
121
128
|
net-smtp
|
|
122
|
-
marcel (1.0
|
|
129
|
+
marcel (1.1.0)
|
|
123
130
|
mini_mime (1.1.5)
|
|
124
|
-
mini_portile2 (2.8.
|
|
125
|
-
minitest (5.
|
|
126
|
-
minitest-autotest (1.
|
|
131
|
+
mini_portile2 (2.8.9)
|
|
132
|
+
minitest (5.27.0)
|
|
133
|
+
minitest-autotest (1.2.0)
|
|
127
134
|
minitest-server (~> 1.0)
|
|
128
|
-
path_expander (~>
|
|
135
|
+
path_expander (~> 2.0)
|
|
129
136
|
minitest-focus (1.4.0)
|
|
130
137
|
minitest (>= 4, < 6)
|
|
131
|
-
minitest-server (1.0.
|
|
132
|
-
|
|
133
|
-
|
|
138
|
+
minitest-server (1.0.9)
|
|
139
|
+
drb (~> 2.0)
|
|
140
|
+
minitest (> 5.16)
|
|
141
|
+
mocha (3.0.1)
|
|
134
142
|
ruby2_keywords (>= 0.0.5)
|
|
135
|
-
|
|
136
|
-
mutex_m (0.2.0)
|
|
137
|
-
net-imap (0.4.9.1)
|
|
143
|
+
net-imap (0.6.2)
|
|
138
144
|
date
|
|
139
145
|
net-protocol
|
|
140
146
|
net-pop (0.1.2)
|
|
141
147
|
net-protocol
|
|
142
148
|
net-protocol (0.2.2)
|
|
143
149
|
timeout
|
|
144
|
-
net-smtp (0.
|
|
150
|
+
net-smtp (0.5.1)
|
|
145
151
|
net-protocol
|
|
146
|
-
nio4r (2.7.
|
|
147
|
-
nokogiri (1.
|
|
152
|
+
nio4r (2.7.5)
|
|
153
|
+
nokogiri (1.19.0)
|
|
148
154
|
mini_portile2 (~> 2.8.2)
|
|
149
155
|
racc (~> 1.4)
|
|
150
|
-
parallel (1.
|
|
151
|
-
parser (3.3.0
|
|
156
|
+
parallel (1.27.0)
|
|
157
|
+
parser (3.3.10.0)
|
|
152
158
|
ast (~> 2.4.1)
|
|
153
159
|
racc
|
|
154
|
-
path_expander (
|
|
155
|
-
|
|
160
|
+
path_expander (2.0.0)
|
|
161
|
+
pp (0.6.3)
|
|
162
|
+
prettyprint
|
|
163
|
+
prettyprint (0.2.0)
|
|
164
|
+
prism (1.7.0)
|
|
165
|
+
psych (5.3.1)
|
|
166
|
+
date
|
|
156
167
|
stringio
|
|
157
|
-
racc (1.
|
|
158
|
-
rack (3.
|
|
159
|
-
rack-session (2.
|
|
168
|
+
racc (1.8.1)
|
|
169
|
+
rack (3.2.4)
|
|
170
|
+
rack-session (2.1.1)
|
|
171
|
+
base64 (>= 0.1.0)
|
|
160
172
|
rack (>= 3.0.0)
|
|
161
|
-
rack-test (2.
|
|
173
|
+
rack-test (2.2.0)
|
|
162
174
|
rack (>= 1.3)
|
|
163
|
-
rackup (2.1
|
|
175
|
+
rackup (2.3.1)
|
|
164
176
|
rack (>= 3)
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
activesupport (= 7.1.2)
|
|
177
|
+
rails (8.1.1)
|
|
178
|
+
actioncable (= 8.1.1)
|
|
179
|
+
actionmailbox (= 8.1.1)
|
|
180
|
+
actionmailer (= 8.1.1)
|
|
181
|
+
actionpack (= 8.1.1)
|
|
182
|
+
actiontext (= 8.1.1)
|
|
183
|
+
actionview (= 8.1.1)
|
|
184
|
+
activejob (= 8.1.1)
|
|
185
|
+
activemodel (= 8.1.1)
|
|
186
|
+
activerecord (= 8.1.1)
|
|
187
|
+
activestorage (= 8.1.1)
|
|
188
|
+
activesupport (= 8.1.1)
|
|
178
189
|
bundler (>= 1.15.0)
|
|
179
|
-
railties (=
|
|
180
|
-
rails-dom-testing (2.
|
|
190
|
+
railties (= 8.1.1)
|
|
191
|
+
rails-dom-testing (2.3.0)
|
|
181
192
|
activesupport (>= 5.0.0)
|
|
182
193
|
minitest
|
|
183
194
|
nokogiri (>= 1.6)
|
|
184
|
-
rails-html-sanitizer (1.6.
|
|
195
|
+
rails-html-sanitizer (1.6.2)
|
|
185
196
|
loofah (~> 2.21)
|
|
186
|
-
nokogiri (
|
|
187
|
-
railties (
|
|
188
|
-
actionpack (=
|
|
189
|
-
activesupport (=
|
|
190
|
-
irb
|
|
197
|
+
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)
|
|
198
|
+
railties (8.1.1)
|
|
199
|
+
actionpack (= 8.1.1)
|
|
200
|
+
activesupport (= 8.1.1)
|
|
201
|
+
irb (~> 1.13)
|
|
191
202
|
rackup (>= 1.0.0)
|
|
192
203
|
rake (>= 12.2)
|
|
193
204
|
thor (~> 1.0, >= 1.2.2)
|
|
205
|
+
tsort (>= 0.2)
|
|
194
206
|
zeitwerk (~> 2.6)
|
|
195
207
|
rainbow (3.1.1)
|
|
196
|
-
rake (13.1
|
|
197
|
-
rdoc (
|
|
208
|
+
rake (13.3.1)
|
|
209
|
+
rdoc (7.0.3)
|
|
210
|
+
erb
|
|
198
211
|
psych (>= 4.0.0)
|
|
199
|
-
|
|
200
|
-
|
|
212
|
+
tsort
|
|
213
|
+
regexp_parser (2.11.3)
|
|
214
|
+
reline (0.6.3)
|
|
201
215
|
io-console (~> 0.5)
|
|
202
|
-
|
|
203
|
-
rubocop (1.59.0)
|
|
216
|
+
rubocop (1.82.1)
|
|
204
217
|
json (~> 2.3)
|
|
205
|
-
language_server-protocol (
|
|
218
|
+
language_server-protocol (~> 3.17.0.2)
|
|
219
|
+
lint_roller (~> 1.1.0)
|
|
206
220
|
parallel (~> 1.10)
|
|
207
|
-
parser (>= 3.
|
|
221
|
+
parser (>= 3.3.0.2)
|
|
208
222
|
rainbow (>= 2.2.2, < 4.0)
|
|
209
|
-
regexp_parser (>=
|
|
210
|
-
|
|
211
|
-
rubocop-ast (>= 1.30.0, < 2.0)
|
|
223
|
+
regexp_parser (>= 2.9.3, < 3.0)
|
|
224
|
+
rubocop-ast (>= 1.48.0, < 2.0)
|
|
212
225
|
ruby-progressbar (~> 1.7)
|
|
213
|
-
unicode-display_width (>= 2.4.0, <
|
|
214
|
-
rubocop-ast (1.
|
|
215
|
-
parser (>= 3.
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
rubocop (
|
|
226
|
+
unicode-display_width (>= 2.4.0, < 4.0)
|
|
227
|
+
rubocop-ast (1.49.0)
|
|
228
|
+
parser (>= 3.3.7.2)
|
|
229
|
+
prism (~> 1.7)
|
|
230
|
+
rubocop-minitest (0.38.2)
|
|
231
|
+
lint_roller (~> 1.1)
|
|
232
|
+
rubocop (>= 1.75.0, < 2.0)
|
|
233
|
+
rubocop-ast (>= 1.38.0, < 2.0)
|
|
234
|
+
rubocop-rake (0.7.1)
|
|
235
|
+
lint_roller (~> 1.1)
|
|
236
|
+
rubocop (>= 1.72.1)
|
|
221
237
|
ruby-progressbar (1.13.0)
|
|
222
238
|
ruby2_keywords (0.0.5)
|
|
223
|
-
|
|
239
|
+
securerandom (0.4.1)
|
|
240
|
+
sqlite3 (2.9.0)
|
|
224
241
|
mini_portile2 (~> 2.8.0)
|
|
225
|
-
stringio (3.
|
|
226
|
-
thor (1.
|
|
227
|
-
timeout (0.
|
|
242
|
+
stringio (3.2.0)
|
|
243
|
+
thor (1.4.0)
|
|
244
|
+
timeout (0.6.0)
|
|
245
|
+
tsort (0.2.0)
|
|
228
246
|
tzinfo (2.0.6)
|
|
229
247
|
concurrent-ruby (~> 1.0)
|
|
230
|
-
unicode-display_width (2.
|
|
231
|
-
|
|
232
|
-
|
|
248
|
+
unicode-display_width (3.2.0)
|
|
249
|
+
unicode-emoji (~> 4.1)
|
|
250
|
+
unicode-emoji (4.2.0)
|
|
251
|
+
uri (1.1.1)
|
|
252
|
+
useragent (0.16.11)
|
|
253
|
+
websocket-driver (0.8.0)
|
|
254
|
+
base64
|
|
233
255
|
websocket-extensions (>= 0.1.0)
|
|
234
256
|
websocket-extensions (0.1.5)
|
|
235
|
-
zeitwerk (2.
|
|
257
|
+
zeitwerk (2.7.4)
|
|
236
258
|
|
|
237
259
|
PLATFORMS
|
|
238
260
|
ruby
|
|
239
261
|
|
|
240
262
|
DEPENDENCIES
|
|
263
|
+
appraisal
|
|
241
264
|
autotest-suffix
|
|
242
265
|
combustion
|
|
243
266
|
debug
|
|
@@ -253,4 +276,4 @@ DEPENDENCIES
|
|
|
253
276
|
stance!
|
|
254
277
|
|
|
255
278
|
BUNDLED WITH
|
|
256
|
-
|
|
279
|
+
4.0.3
|
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
require 'multi_json'
|
|
4
|
-
|
|
5
3
|
class JSONWithIndifferentAccess
|
|
6
4
|
def self.load(str)
|
|
7
5
|
return str unless str
|
|
8
6
|
|
|
9
|
-
obj = HashWithIndifferentAccess.new(
|
|
7
|
+
obj = HashWithIndifferentAccess.new(JSON.parse(str))
|
|
10
8
|
obj.freeze
|
|
11
9
|
obj
|
|
12
10
|
end
|
|
13
11
|
|
|
14
12
|
def self.dump(obj)
|
|
15
|
-
|
|
13
|
+
JSON.dump(obj)
|
|
16
14
|
end
|
|
17
15
|
end
|
|
18
16
|
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# This file was generated by Appraisal
|
|
2
|
+
|
|
3
|
+
source "https://rubygems.org"
|
|
4
|
+
|
|
5
|
+
gem "appraisal"
|
|
6
|
+
gem "autotest-suffix"
|
|
7
|
+
gem "combustion"
|
|
8
|
+
gem "debug"
|
|
9
|
+
gem "minitest"
|
|
10
|
+
gem "minitest-autotest"
|
|
11
|
+
gem "minitest-focus"
|
|
12
|
+
gem "mocha"
|
|
13
|
+
gem "rake", "~> 13.0"
|
|
14
|
+
gem "rubocop"
|
|
15
|
+
gem "rubocop-minitest"
|
|
16
|
+
gem "rubocop-rake"
|
|
17
|
+
gem "sqlite3"
|
|
18
|
+
gem "rails", "~> 7.1.0"
|
|
19
|
+
|
|
20
|
+
gemspec path: "../"
|