sucker_punch 2.1.1 → 2.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/sucker_punch/job.rb +1 -1
- data/lib/sucker_punch/testing.rb +1 -1
- data/lib/sucker_punch/version.rb +1 -1
- data/sucker_punch.gemspec +6 -0
- metadata +7 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b584388415071f977d554aa3d9e8128521c08a3b4299492e349bfbc5dc865f5
|
4
|
+
data.tar.gz: c77e1a8b773e712f2ec67c311e3f00bfe16fbcd8c79afc028c44b879d93c943d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 67bb1e1d9b05432f8e868451cfbd846ea29871887ee807fc398067e10e9db2305abdf891c44e9453e822063f7599bb2f7f45535b3440287ecbdf0e7e8e688b9a
|
7
|
+
data.tar.gz: e6e86dccf04e992c61369369e78e6ff7a7ab1239e9713800c7fcda1f62ed7996e451ed0053bfe1b595e6d1dd268c7853cf6aa5da8efcd8e852e2319e4a36c57c
|
data/README.md
CHANGED
@@ -147,7 +147,7 @@ class DataJob
|
|
147
147
|
end
|
148
148
|
|
149
149
|
DataJob.perform_async("asdf") # immediately perform asynchronously
|
150
|
-
DataJob.perform_in(60, "asdf") # `perform` will be
|
150
|
+
DataJob.perform_in(60, "asdf") # `perform` will be executed 60 sec. later
|
151
151
|
```
|
152
152
|
|
153
153
|
#### `ActiveRecord` Connection Pool Connections
|
data/lib/sucker_punch/job.rb
CHANGED
@@ -14,7 +14,7 @@ module SuckerPunch
|
|
14
14
|
# To trigger asynchronous job:
|
15
15
|
#
|
16
16
|
# LogJob.perform_async(1, 2, 3)
|
17
|
-
# LogJob.perform_in(60, 1, 2, 3) # `perform` will be
|
17
|
+
# LogJob.perform_in(60, 1, 2, 3) # `perform` will be executed 60 sec. later
|
18
18
|
#
|
19
19
|
# Note that perform_async is a class method, perform is an instance method.
|
20
20
|
module Job
|
data/lib/sucker_punch/testing.rb
CHANGED
data/lib/sucker_punch/version.rb
CHANGED
data/sucker_punch.gemspec
CHANGED
@@ -25,4 +25,10 @@ Gem::Specification.new do |gem|
|
|
25
25
|
gem.add_development_dependency "pry"
|
26
26
|
|
27
27
|
gem.add_dependency "concurrent-ruby", "~> 1.0"
|
28
|
+
|
29
|
+
if gem.respond_to?(:metadata)
|
30
|
+
gem.metadata['changelog_uri'] = 'https://github.com/brandonhilkert/sucker_punch/blob/master/CHANGES.md'
|
31
|
+
gem.metadata['source_code_uri'] = 'https://github.com/brandonhilkert/sucker_punch'
|
32
|
+
gem.metadata['bug_tracker_uri'] = 'https://github.com/brandonhilkert/sucker_punch/issues'
|
33
|
+
end
|
28
34
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sucker_punch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brandon Hilkert
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-05-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -102,7 +102,10 @@ files:
|
|
102
102
|
homepage: https://github.com/brandonhilkert/sucker_punch
|
103
103
|
licenses:
|
104
104
|
- MIT
|
105
|
-
metadata:
|
105
|
+
metadata:
|
106
|
+
changelog_uri: https://github.com/brandonhilkert/sucker_punch/blob/master/CHANGES.md
|
107
|
+
source_code_uri: https://github.com/brandonhilkert/sucker_punch
|
108
|
+
bug_tracker_uri: https://github.com/brandonhilkert/sucker_punch/issues
|
106
109
|
post_install_message: |-
|
107
110
|
Sucker Punch v2.0 introduces backwards-incompatible changes.
|
108
111
|
Please see https://github.com/brandonhilkert/sucker_punch/blob/master/CHANGES.md#200 for details.
|
@@ -120,8 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
120
123
|
- !ruby/object:Gem::Version
|
121
124
|
version: '0'
|
122
125
|
requirements: []
|
123
|
-
|
124
|
-
rubygems_version: 2.7.6
|
126
|
+
rubygems_version: 3.0.3
|
125
127
|
signing_key:
|
126
128
|
specification_version: 4
|
127
129
|
summary: Sucker Punch is a Ruby asynchronous processing using concurrent-ruby, heavily
|