subroutine 4.8.0 → 4.9.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/lib/subroutine/op.rb +4 -4
- data/lib/subroutine/version.rb +1 -1
- data/subroutine.gemspec +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dd74b160f5deb45f665f80c7126dbd1ae02a1fb2d4dee26c357d58834cdc3c98
|
|
4
|
+
data.tar.gz: caa7105a600cea56cc593c79f0747467d35dde717ddf53cf03680e2150b82498
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3c48da4b4d107cba3a917f1a6c9127ee8d81efb9099d74f28a62f139b9636c2c668e74056a82011db7a06c55171a4c2134dc7545a6eaca3f6130502544669ce8
|
|
7
|
+
data.tar.gz: 9d5779c702b6aa780ce2ec7a1606fcbbf5650f7e778b0e989e330db5c87b236662fc0655817876085e464c47c608c46a1ff1807addee6ccba442dbdce0bbc655
|
data/lib/subroutine/op.rb
CHANGED
|
@@ -18,8 +18,8 @@ module Subroutine
|
|
|
18
18
|
self._failure_class = klass
|
|
19
19
|
end
|
|
20
20
|
|
|
21
|
-
def submit!(*args)
|
|
22
|
-
raise ArgumentError, "Blocks cannot be provided to `submit!`" if
|
|
21
|
+
def submit!(*args, &block)
|
|
22
|
+
raise ArgumentError, "Blocks cannot be provided to `submit!`" if block
|
|
23
23
|
|
|
24
24
|
op = new(*args)
|
|
25
25
|
op.submit!
|
|
@@ -27,8 +27,8 @@ module Subroutine
|
|
|
27
27
|
op
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
-
def submit(*args)
|
|
31
|
-
raise ArgumentError, "Blocks cannot be provided to `submit`." if
|
|
30
|
+
def submit(*args, &block)
|
|
31
|
+
raise ArgumentError, "Blocks cannot be provided to `submit`." if block
|
|
32
32
|
|
|
33
33
|
op = new(*args)
|
|
34
34
|
op.submit
|
data/lib/subroutine/version.rb
CHANGED
data/subroutine.gemspec
CHANGED
|
@@ -7,8 +7,8 @@ require "subroutine/version"
|
|
|
7
7
|
Gem::Specification.new do |spec|
|
|
8
8
|
spec.name = "subroutine"
|
|
9
9
|
spec.version = Subroutine::VERSION
|
|
10
|
-
spec.authors = ["
|
|
11
|
-
spec.email = ["
|
|
10
|
+
spec.authors = ["Gusto"]
|
|
11
|
+
spec.email = ["gusto-opensource-buildkite@gusto.com"]
|
|
12
12
|
spec.summary = "Feature-driven operation objects."
|
|
13
13
|
spec.description = "An interface for creating feature-driven operations."
|
|
14
14
|
spec.license = "MIT"
|
metadata
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: subroutine
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.
|
|
4
|
+
version: 4.9.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
-
|
|
7
|
+
- Gusto
|
|
8
8
|
bindir: bin
|
|
9
9
|
cert_chain: []
|
|
10
10
|
date: 1980-01-02 00:00:00.000000000 Z
|
|
@@ -193,7 +193,7 @@ dependencies:
|
|
|
193
193
|
version: '0'
|
|
194
194
|
description: An interface for creating feature-driven operations.
|
|
195
195
|
email:
|
|
196
|
-
-
|
|
196
|
+
- gusto-opensource-buildkite@gusto.com
|
|
197
197
|
executables: []
|
|
198
198
|
extensions: []
|
|
199
199
|
extra_rdoc_files: []
|
|
@@ -243,7 +243,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
243
243
|
- !ruby/object:Gem::Version
|
|
244
244
|
version: '0'
|
|
245
245
|
requirements: []
|
|
246
|
-
rubygems_version: 4.0.
|
|
246
|
+
rubygems_version: 4.0.20
|
|
247
247
|
specification_version: 4
|
|
248
248
|
summary: Feature-driven operation objects.
|
|
249
249
|
test_files: []
|