shreddies 0.10.0 → 1.0.0
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 +13 -2
- data/.ruby-version +1 -0
- data/Appraisals +13 -0
- data/Gemfile +8 -3
- data/Gemfile.lock +152 -58
- data/Rakefile +8 -6
- data/config.ru +2 -2
- data/gemfiles/rails_7.1.gemfile +19 -0
- data/gemfiles/rails_7.1.gemfile.lock +297 -0
- data/gemfiles/rails_7.2.gemfile +19 -0
- data/gemfiles/rails_7.2.gemfile.lock +291 -0
- data/gemfiles/rails_8.gemfile +19 -0
- data/gemfiles/rails_8.gemfile.lock +292 -0
- data/lib/shreddies/as_json.rb +8 -6
- data/lib/shreddies/json.rb +6 -6
- data/lib/shreddies/version.rb +3 -1
- data/shreddies.gemspec +4 -4
- metadata +29 -13
- 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: d2c0f5a6fce88453ecf170aca46cf73415b3d4436cf916f86c1a60c31dbdbaa0
|
4
|
+
data.tar.gz: b98724756faebb9d5e64db1320e4b4a826ebafea30cac40859344171e1e9eff5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec0ba49826f61dcfdcbb35f4799226b88e7572a6ac52adcebd5ffc9100e32e9b5cbdfbd6ff8b82614a571f9f18d767f6db7320233ade005b6b01702760527366
|
7
|
+
data.tar.gz: d5d9179105c3619c5e91ef0fb0ea2d55c4921f79313fa97b58bdd5d46ae1f65c84d86154628e37818bf11ce3c69f94fb11a4fca9265b814b4913f5d87f5877d5
|
@@ -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,8 +1,19 @@
|
|
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
|
+
|
5
15
|
Layout/LineLength:
|
6
16
|
Max: 100
|
7
|
-
|
8
|
-
|
17
|
+
|
18
|
+
Metrics:
|
19
|
+
Enabled: false
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
3.4.2
|
data/Appraisals
ADDED
data/Gemfile
CHANGED
@@ -5,10 +5,15 @@ source 'https://rubygems.org'
|
|
5
5
|
# Specify your gem's dependencies in shreddies.gemspec
|
6
6
|
gemspec
|
7
7
|
|
8
|
-
gem '
|
9
|
-
gem 'minitest', '~> 5.0'
|
8
|
+
gem 'appraisal'
|
10
9
|
gem 'autotest-suffix'
|
10
|
+
gem 'combustion'
|
11
|
+
gem 'debug'
|
12
|
+
gem 'minitest'
|
11
13
|
gem 'minitest-autotest'
|
12
14
|
gem 'minitest-focus'
|
13
|
-
gem '
|
15
|
+
gem 'rake'
|
16
|
+
gem 'rubocop'
|
17
|
+
gem 'rubocop-minitest'
|
18
|
+
gem 'rubocop-rake'
|
14
19
|
gem 'sqlite3'
|
data/Gemfile.lock
CHANGED
@@ -1,97 +1,191 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
shreddies (0.
|
5
|
-
activerecord (>=
|
6
|
-
railties (>=
|
4
|
+
shreddies (1.0.0)
|
5
|
+
activerecord (>= 7.0, < 9.0)
|
6
|
+
railties (>= 7.0, < 9.0)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
actionpack (
|
12
|
-
actionview (=
|
13
|
-
activesupport (=
|
14
|
-
|
11
|
+
actionpack (8.0.1)
|
12
|
+
actionview (= 8.0.1)
|
13
|
+
activesupport (= 8.0.1)
|
14
|
+
nokogiri (>= 1.8.5)
|
15
|
+
rack (>= 2.2.4)
|
16
|
+
rack-session (>= 1.0.1)
|
15
17
|
rack-test (>= 0.6.3)
|
16
|
-
rails-dom-testing (~> 2.
|
17
|
-
rails-html-sanitizer (~> 1.
|
18
|
-
|
19
|
-
|
18
|
+
rails-dom-testing (~> 2.2)
|
19
|
+
rails-html-sanitizer (~> 1.6)
|
20
|
+
useragent (~> 0.16)
|
21
|
+
actionview (8.0.1)
|
22
|
+
activesupport (= 8.0.1)
|
20
23
|
builder (~> 3.1)
|
21
|
-
erubi (~> 1.
|
22
|
-
rails-dom-testing (~> 2.
|
23
|
-
rails-html-sanitizer (~> 1.
|
24
|
-
activemodel (
|
25
|
-
activesupport (=
|
26
|
-
activerecord (
|
27
|
-
activemodel (=
|
28
|
-
activesupport (=
|
29
|
-
|
30
|
-
|
24
|
+
erubi (~> 1.11)
|
25
|
+
rails-dom-testing (~> 2.2)
|
26
|
+
rails-html-sanitizer (~> 1.6)
|
27
|
+
activemodel (8.0.1)
|
28
|
+
activesupport (= 8.0.1)
|
29
|
+
activerecord (8.0.1)
|
30
|
+
activemodel (= 8.0.1)
|
31
|
+
activesupport (= 8.0.1)
|
32
|
+
timeout (>= 0.4.0)
|
33
|
+
activesupport (8.0.1)
|
34
|
+
base64
|
35
|
+
benchmark (>= 0.3)
|
36
|
+
bigdecimal
|
37
|
+
concurrent-ruby (~> 1.0, >= 1.3.1)
|
38
|
+
connection_pool (>= 2.2.5)
|
39
|
+
drb
|
31
40
|
i18n (>= 1.6, < 2)
|
41
|
+
logger (>= 1.4.2)
|
32
42
|
minitest (>= 5.1)
|
33
|
-
|
43
|
+
securerandom (>= 0.3)
|
44
|
+
tzinfo (~> 2.0, >= 2.0.5)
|
45
|
+
uri (>= 0.13.1)
|
46
|
+
appraisal (2.5.0)
|
47
|
+
bundler
|
48
|
+
rake
|
49
|
+
thor (>= 0.14.0)
|
50
|
+
ast (2.4.2)
|
34
51
|
autotest-suffix (1.1.0)
|
35
|
-
|
36
|
-
|
52
|
+
base64 (0.2.0)
|
53
|
+
benchmark (0.4.0)
|
54
|
+
bigdecimal (3.1.9)
|
55
|
+
builder (3.3.0)
|
56
|
+
combustion (1.5.0)
|
37
57
|
activesupport (>= 3.0.0)
|
38
58
|
railties (>= 3.0.0)
|
39
59
|
thor (>= 0.14.6)
|
40
|
-
concurrent-ruby (1.
|
60
|
+
concurrent-ruby (1.3.5)
|
61
|
+
connection_pool (2.5.0)
|
41
62
|
crass (1.0.6)
|
42
|
-
|
43
|
-
|
63
|
+
date (3.4.1)
|
64
|
+
debug (1.10.0)
|
65
|
+
irb (~> 1.10)
|
66
|
+
reline (>= 0.3.8)
|
67
|
+
drb (2.2.1)
|
68
|
+
erubi (1.13.1)
|
69
|
+
i18n (1.14.7)
|
44
70
|
concurrent-ruby (~> 1.0)
|
45
|
-
|
71
|
+
io-console (0.8.0)
|
72
|
+
irb (1.15.1)
|
73
|
+
pp (>= 0.6.0)
|
74
|
+
rdoc (>= 4.0.0)
|
75
|
+
reline (>= 0.4.2)
|
76
|
+
json (2.10.1)
|
77
|
+
language_server-protocol (3.17.0.4)
|
78
|
+
lint_roller (1.1.0)
|
79
|
+
logger (1.6.6)
|
80
|
+
loofah (2.24.0)
|
46
81
|
crass (~> 1.0.2)
|
47
|
-
nokogiri (>= 1.
|
48
|
-
|
49
|
-
|
50
|
-
minitest (5.16.2)
|
82
|
+
nokogiri (>= 1.12.0)
|
83
|
+
mini_portile2 (2.8.8)
|
84
|
+
minitest (5.25.4)
|
51
85
|
minitest-autotest (1.1.1)
|
52
86
|
minitest-server (~> 1.0)
|
53
87
|
path_expander (~> 1.0)
|
54
|
-
minitest-focus (1.
|
88
|
+
minitest-focus (1.4.0)
|
55
89
|
minitest (>= 4, < 6)
|
56
|
-
minitest-server (1.0.
|
57
|
-
|
58
|
-
|
59
|
-
|
90
|
+
minitest-server (1.0.8)
|
91
|
+
drb (~> 2.0)
|
92
|
+
minitest (~> 5.16)
|
93
|
+
nokogiri (1.18.3)
|
94
|
+
mini_portile2 (~> 2.8.2)
|
60
95
|
racc (~> 1.4)
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
96
|
+
parallel (1.26.3)
|
97
|
+
parser (3.3.7.1)
|
98
|
+
ast (~> 2.4.1)
|
99
|
+
racc
|
100
|
+
path_expander (1.1.3)
|
101
|
+
pp (0.6.2)
|
102
|
+
prettyprint
|
103
|
+
prettyprint (0.2.0)
|
104
|
+
psych (5.2.3)
|
105
|
+
date
|
106
|
+
stringio
|
107
|
+
racc (1.8.1)
|
108
|
+
rack (3.1.12)
|
109
|
+
rack-session (2.1.0)
|
110
|
+
base64 (>= 0.1.0)
|
111
|
+
rack (>= 3.0.0)
|
112
|
+
rack-test (2.2.0)
|
65
113
|
rack (>= 1.3)
|
66
|
-
|
67
|
-
|
114
|
+
rackup (2.2.1)
|
115
|
+
rack (>= 3)
|
116
|
+
rails-dom-testing (2.2.0)
|
117
|
+
activesupport (>= 5.0.0)
|
118
|
+
minitest
|
68
119
|
nokogiri (>= 1.6)
|
69
|
-
rails-html-sanitizer (1.
|
70
|
-
loofah (~> 2.
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
120
|
+
rails-html-sanitizer (1.6.2)
|
121
|
+
loofah (~> 2.21)
|
122
|
+
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)
|
123
|
+
railties (8.0.1)
|
124
|
+
actionpack (= 8.0.1)
|
125
|
+
activesupport (= 8.0.1)
|
126
|
+
irb (~> 1.13)
|
127
|
+
rackup (>= 1.0.0)
|
75
128
|
rake (>= 12.2)
|
76
|
-
thor (~> 1.0)
|
77
|
-
zeitwerk (~> 2.
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
129
|
+
thor (~> 1.0, >= 1.2.2)
|
130
|
+
zeitwerk (~> 2.6)
|
131
|
+
rainbow (3.1.1)
|
132
|
+
rake (13.2.1)
|
133
|
+
rdoc (6.12.0)
|
134
|
+
psych (>= 4.0.0)
|
135
|
+
regexp_parser (2.10.0)
|
136
|
+
reline (0.6.0)
|
137
|
+
io-console (~> 0.5)
|
138
|
+
rubocop (1.73.2)
|
139
|
+
json (~> 2.3)
|
140
|
+
language_server-protocol (~> 3.17.0.2)
|
141
|
+
lint_roller (~> 1.1.0)
|
142
|
+
parallel (~> 1.10)
|
143
|
+
parser (>= 3.3.0.2)
|
144
|
+
rainbow (>= 2.2.2, < 4.0)
|
145
|
+
regexp_parser (>= 2.9.3, < 3.0)
|
146
|
+
rubocop-ast (>= 1.38.0, < 2.0)
|
147
|
+
ruby-progressbar (~> 1.7)
|
148
|
+
unicode-display_width (>= 2.4.0, < 4.0)
|
149
|
+
rubocop-ast (1.38.1)
|
150
|
+
parser (>= 3.3.1.0)
|
151
|
+
rubocop-minitest (0.37.1)
|
152
|
+
lint_roller (~> 1.1)
|
153
|
+
rubocop (>= 1.72.1, < 2.0)
|
154
|
+
rubocop-ast (>= 1.38.0, < 2.0)
|
155
|
+
rubocop-rake (0.7.1)
|
156
|
+
lint_roller (~> 1.1)
|
157
|
+
rubocop (>= 1.72.1)
|
158
|
+
ruby-progressbar (1.13.0)
|
159
|
+
securerandom (0.4.1)
|
160
|
+
sqlite3 (2.6.0)
|
161
|
+
mini_portile2 (~> 2.8.0)
|
162
|
+
stringio (3.1.5)
|
163
|
+
thor (1.3.2)
|
164
|
+
timeout (0.4.3)
|
165
|
+
tzinfo (2.0.6)
|
82
166
|
concurrent-ruby (~> 1.0)
|
83
|
-
|
167
|
+
unicode-display_width (3.1.4)
|
168
|
+
unicode-emoji (~> 4.0, >= 4.0.4)
|
169
|
+
unicode-emoji (4.0.4)
|
170
|
+
uri (1.0.3)
|
171
|
+
useragent (0.16.11)
|
172
|
+
zeitwerk (2.7.2)
|
84
173
|
|
85
174
|
PLATFORMS
|
86
175
|
ruby
|
87
176
|
|
88
177
|
DEPENDENCIES
|
178
|
+
appraisal
|
89
179
|
autotest-suffix
|
90
180
|
combustion
|
91
|
-
|
181
|
+
debug
|
182
|
+
minitest
|
92
183
|
minitest-autotest
|
93
184
|
minitest-focus
|
94
|
-
rake
|
185
|
+
rake
|
186
|
+
rubocop
|
187
|
+
rubocop-minitest
|
188
|
+
rubocop-rake
|
95
189
|
shreddies!
|
96
190
|
sqlite3
|
97
191
|
|
data/Rakefile
CHANGED
@@ -1,10 +1,12 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'bundler/gem_tasks'
|
4
|
+
require 'rake/testtask'
|
3
5
|
|
4
6
|
Rake::TestTask.new(:test) do |t|
|
5
|
-
t.libs <<
|
6
|
-
t.libs <<
|
7
|
-
t.test_files = FileList[
|
7
|
+
t.libs << 'test'
|
8
|
+
t.libs << 'lib'
|
9
|
+
t.test_files = FileList['test/**/*_test.rb']
|
8
10
|
end
|
9
11
|
|
10
|
-
task :
|
12
|
+
task default: :test
|
data/config.ru
CHANGED
@@ -0,0 +1,19 @@
|
|
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 "rake"
|
13
|
+
gem "rubocop"
|
14
|
+
gem "rubocop-minitest"
|
15
|
+
gem "rubocop-rake"
|
16
|
+
gem "sqlite3"
|
17
|
+
gem "rails", "~> 7.1.0"
|
18
|
+
|
19
|
+
gemspec path: "../"
|