shinq 1.1.0 → 1.3.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/test.yml +26 -1
- data/.gitignore +1 -0
- data/Appraisals +31 -0
- data/gemfiles/rails_5.gemfile +8 -0
- data/gemfiles/rails_6.0.gemfile +8 -0
- data/gemfiles/rails_6.1.gemfile +8 -0
- data/gemfiles/rails_7.0.gemfile +8 -0
- data/shinq.gemspec +11 -8
- data/spec/integration_spec.rb +1 -0
- data/spec/spec_helper.rb +2 -0
- metadata +50 -33
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8fd1bc82b388612cc992bfb8267ee886afdc7091332096db46a37fec80076b3e
|
4
|
+
data.tar.gz: 60fe77e967d3677fcb65fa90abfbbb53163a29d0b144ca462c83a07a85945e00
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bed9610b4081ef7d0bc8c1f29e91ed2224d473ea430c03879e0ca222c334b6f98b4c2ca9ac4c247ba7440914a21f2b73dbd08efef2942a33a83526423d003164
|
7
|
+
data.tar.gz: e9e80b230cec75d0f88afc25c7f36e902d13c40c4733e80c6afb64964d8b57e5b8ee257a5f2338e9934d8189d8fc4c064ae15a6b519923d0b3281d704607ceea
|
data/.github/workflows/test.yml
CHANGED
@@ -25,7 +25,32 @@ jobs:
|
|
25
25
|
max-parallel: 4
|
26
26
|
fail-fast: true
|
27
27
|
matrix:
|
28
|
-
|
28
|
+
# In order to effectively specify Rails and Ruby versions simultaneously,
|
29
|
+
# we specify every tuple of versions in `include` section
|
30
|
+
# except for the tuples with a particular Rails version.
|
31
|
+
#
|
32
|
+
# The objective of the exception is to satisfy the
|
33
|
+
# constraint that a matrix cannot be empty.
|
34
|
+
#
|
35
|
+
# We test only the oldest and latest Ruby versions for each Rails version.
|
36
|
+
gemfile: [gemfiles/rails_5.gemfile]
|
37
|
+
ruby: ['2.3', '2.6']
|
38
|
+
include:
|
39
|
+
- gemfile: gemfiles/rails_6.0.gemfile
|
40
|
+
ruby: '2.5'
|
41
|
+
- gemfile: gemfiles/rails_6.0.gemfile
|
42
|
+
ruby: '2.7'
|
43
|
+
- gemfile: gemfiles/rails_6.1.gemfile
|
44
|
+
ruby: '2.5'
|
45
|
+
- gemfile: gemfiles/rails_6.1.gemfile
|
46
|
+
ruby: '3.2'
|
47
|
+
- gemfile: gemfiles/rails_7.0.gemfile
|
48
|
+
ruby: '2.7'
|
49
|
+
- gemfile: gemfiles/rails_7.0.gemfile
|
50
|
+
ruby: '3.2'
|
51
|
+
|
52
|
+
env:
|
53
|
+
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
|
29
54
|
services:
|
30
55
|
mysql:
|
31
56
|
image: iwata/centos6-mysql56-q4m-hs
|
data/.gitignore
CHANGED
data/Appraisals
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
# Every Minor Version for the Current and Last Major Releases
|
2
|
+
# Latest Minor Version for the Older Releases.
|
3
|
+
# https://guides.rubyonrails.org/maintenance_policy.html
|
4
|
+
#
|
5
|
+
# When you update this, do not forget to update CI settings for matrix testing.
|
6
|
+
|
7
|
+
# # Since bundler v1 and Appraisals are not well interacted,
|
8
|
+
# # we do not test the rails-4 here.
|
9
|
+
# appraise "rails-4" do
|
10
|
+
# gem "rails", "~> 4.0"
|
11
|
+
# end
|
12
|
+
|
13
|
+
appraise "rails-5" do
|
14
|
+
gem "activesupport", "~> 5.0"
|
15
|
+
gem "activejob", "~> 5.0"
|
16
|
+
end
|
17
|
+
|
18
|
+
appraise "rails-6.0" do
|
19
|
+
gem "activesupport", "~> 6.0.0"
|
20
|
+
gem "activejob", "~> 6.0.0"
|
21
|
+
end
|
22
|
+
|
23
|
+
appraise "rails-6.1" do
|
24
|
+
gem "activesupport", "~> 6.1.0"
|
25
|
+
gem "activejob", "~> 6.1.0"
|
26
|
+
end
|
27
|
+
|
28
|
+
appraise "rails-7.0" do
|
29
|
+
gem "activesupport", "~> 7.0.0"
|
30
|
+
gem "activejob", "~> 7.0.0"
|
31
|
+
end
|
data/shinq.gemspec
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "shinq"
|
7
|
-
spec.version = '1.
|
7
|
+
spec.version = '1.3.0'
|
8
8
|
spec.authors = ["Ryoichi SEKIGUCHI"]
|
9
9
|
spec.email = ["ryopeko@gmail.com"]
|
10
10
|
spec.summary = %q{Worker and enqueuer for Q4M using the interface of ActiveJob.}
|
@@ -16,18 +16,21 @@ Gem::Specification.new do |spec|
|
|
16
16
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
17
17
|
spec.require_paths = ["lib"]
|
18
18
|
|
19
|
-
spec.
|
20
|
-
|
19
|
+
spec.required_ruby_version = ">= 2.3"
|
20
|
+
|
21
|
+
spec.add_development_dependency "rake"
|
21
22
|
spec.add_development_dependency "pry"
|
22
23
|
spec.add_development_dependency "tapp"
|
23
24
|
spec.add_development_dependency "rspec"
|
24
25
|
spec.add_development_dependency "rspec-mocks"
|
25
26
|
spec.add_development_dependency "simplecov"
|
26
27
|
spec.add_development_dependency "timecop"
|
28
|
+
spec.add_development_dependency "appraisal"
|
29
|
+
|
30
|
+
spec.add_dependency "mysql2", ">= 0.3.16", "< 1"
|
31
|
+
spec.add_dependency "sql-maker", ">= 0.0.4", "< 2"
|
32
|
+
spec.add_dependency 'serverengine', ">= 1.5.9", "< 3"
|
27
33
|
|
28
|
-
spec.add_dependency "
|
29
|
-
spec.add_dependency "
|
30
|
-
spec.add_dependency "activesupport", ">= 4.2.0", "< 6"
|
31
|
-
spec.add_dependency "activejob", ">= 4.2.0", "< 6"
|
32
|
-
spec.add_dependency 'serverengine', '~> 1.5.9'
|
34
|
+
spec.add_dependency "activesupport", ">= 4.2.0", "< 7.1"
|
35
|
+
spec.add_dependency "activejob", ">= 4.2.0", "< 7.1"
|
33
36
|
end
|
data/spec/integration_spec.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shinq
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryoichi SEKIGUCHI
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-02-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: rake
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
@@ -25,21 +25,21 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: pry
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: tapp
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - ">="
|
@@ -53,7 +53,7 @@ dependencies:
|
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: rspec
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - ">="
|
@@ -67,7 +67,7 @@ dependencies:
|
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name: rspec
|
70
|
+
name: rspec-mocks
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - ">="
|
@@ -81,7 +81,7 @@ dependencies:
|
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
84
|
+
name: simplecov
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - ">="
|
@@ -95,7 +95,7 @@ dependencies:
|
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
98
|
+
name: timecop
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - ">="
|
@@ -109,7 +109,7 @@ dependencies:
|
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
112
|
+
name: appraisal
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
115
|
- - ">="
|
@@ -131,7 +131,7 @@ dependencies:
|
|
131
131
|
version: 0.3.16
|
132
132
|
- - "<"
|
133
133
|
- !ruby/object:Gem::Version
|
134
|
-
version: '
|
134
|
+
version: '1'
|
135
135
|
type: :runtime
|
136
136
|
prerelease: false
|
137
137
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -141,43 +141,49 @@ dependencies:
|
|
141
141
|
version: 0.3.16
|
142
142
|
- - "<"
|
143
143
|
- !ruby/object:Gem::Version
|
144
|
-
version: '
|
144
|
+
version: '1'
|
145
145
|
- !ruby/object:Gem::Dependency
|
146
146
|
name: sql-maker
|
147
147
|
requirement: !ruby/object:Gem::Requirement
|
148
148
|
requirements:
|
149
|
-
- - "
|
149
|
+
- - ">="
|
150
150
|
- !ruby/object:Gem::Version
|
151
151
|
version: 0.0.4
|
152
|
+
- - "<"
|
153
|
+
- !ruby/object:Gem::Version
|
154
|
+
version: '2'
|
152
155
|
type: :runtime
|
153
156
|
prerelease: false
|
154
157
|
version_requirements: !ruby/object:Gem::Requirement
|
155
158
|
requirements:
|
156
|
-
- - "
|
159
|
+
- - ">="
|
157
160
|
- !ruby/object:Gem::Version
|
158
161
|
version: 0.0.4
|
162
|
+
- - "<"
|
163
|
+
- !ruby/object:Gem::Version
|
164
|
+
version: '2'
|
159
165
|
- !ruby/object:Gem::Dependency
|
160
|
-
name:
|
166
|
+
name: serverengine
|
161
167
|
requirement: !ruby/object:Gem::Requirement
|
162
168
|
requirements:
|
163
169
|
- - ">="
|
164
170
|
- !ruby/object:Gem::Version
|
165
|
-
version:
|
171
|
+
version: 1.5.9
|
166
172
|
- - "<"
|
167
173
|
- !ruby/object:Gem::Version
|
168
|
-
version: '
|
174
|
+
version: '3'
|
169
175
|
type: :runtime
|
170
176
|
prerelease: false
|
171
177
|
version_requirements: !ruby/object:Gem::Requirement
|
172
178
|
requirements:
|
173
179
|
- - ">="
|
174
180
|
- !ruby/object:Gem::Version
|
175
|
-
version:
|
181
|
+
version: 1.5.9
|
176
182
|
- - "<"
|
177
183
|
- !ruby/object:Gem::Version
|
178
|
-
version: '
|
184
|
+
version: '3'
|
179
185
|
- !ruby/object:Gem::Dependency
|
180
|
-
name:
|
186
|
+
name: activesupport
|
181
187
|
requirement: !ruby/object:Gem::Requirement
|
182
188
|
requirements:
|
183
189
|
- - ">="
|
@@ -185,7 +191,7 @@ dependencies:
|
|
185
191
|
version: 4.2.0
|
186
192
|
- - "<"
|
187
193
|
- !ruby/object:Gem::Version
|
188
|
-
version: '
|
194
|
+
version: '7.1'
|
189
195
|
type: :runtime
|
190
196
|
prerelease: false
|
191
197
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -195,21 +201,27 @@ dependencies:
|
|
195
201
|
version: 4.2.0
|
196
202
|
- - "<"
|
197
203
|
- !ruby/object:Gem::Version
|
198
|
-
version: '
|
204
|
+
version: '7.1'
|
199
205
|
- !ruby/object:Gem::Dependency
|
200
|
-
name:
|
206
|
+
name: activejob
|
201
207
|
requirement: !ruby/object:Gem::Requirement
|
202
208
|
requirements:
|
203
|
-
- - "
|
209
|
+
- - ">="
|
204
210
|
- !ruby/object:Gem::Version
|
205
|
-
version:
|
211
|
+
version: 4.2.0
|
212
|
+
- - "<"
|
213
|
+
- !ruby/object:Gem::Version
|
214
|
+
version: '7.1'
|
206
215
|
type: :runtime
|
207
216
|
prerelease: false
|
208
217
|
version_requirements: !ruby/object:Gem::Requirement
|
209
218
|
requirements:
|
210
|
-
- - "
|
219
|
+
- - ">="
|
211
220
|
- !ruby/object:Gem::Version
|
212
|
-
version:
|
221
|
+
version: 4.2.0
|
222
|
+
- - "<"
|
223
|
+
- !ruby/object:Gem::Version
|
224
|
+
version: '7.1'
|
213
225
|
description:
|
214
226
|
email:
|
215
227
|
- ryopeko@gmail.com
|
@@ -221,11 +233,16 @@ files:
|
|
221
233
|
- ".github/workflows/test.yml"
|
222
234
|
- ".gitignore"
|
223
235
|
- ".rspec"
|
236
|
+
- Appraisals
|
224
237
|
- Gemfile
|
225
238
|
- LICENSE.txt
|
226
239
|
- README.md
|
227
240
|
- Rakefile
|
228
241
|
- bin/shinq
|
242
|
+
- gemfiles/rails_5.gemfile
|
243
|
+
- gemfiles/rails_6.0.gemfile
|
244
|
+
- gemfiles/rails_6.1.gemfile
|
245
|
+
- gemfiles/rails_7.0.gemfile
|
229
246
|
- lib/generators/shinq/worker/templates/create_table_migration.erb
|
230
247
|
- lib/generators/shinq/worker/templates/worker.erb
|
231
248
|
- lib/generators/shinq/worker/worker_generator.rb
|
@@ -260,14 +277,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
260
277
|
requirements:
|
261
278
|
- - ">="
|
262
279
|
- !ruby/object:Gem::Version
|
263
|
-
version: '
|
280
|
+
version: '2.3'
|
264
281
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
265
282
|
requirements:
|
266
283
|
- - ">="
|
267
284
|
- !ruby/object:Gem::Version
|
268
285
|
version: '0'
|
269
286
|
requirements: []
|
270
|
-
rubygems_version: 3.
|
287
|
+
rubygems_version: 3.3.21
|
271
288
|
signing_key:
|
272
289
|
specification_version: 4
|
273
290
|
summary: Worker and enqueuer for Q4M using the interface of ActiveJob.
|