sequins 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/lib/sequins/sequence.rb +5 -0
- data/lib/sequins/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 26a80653dfdd9799d6f6fed0602b4284f2efaccf
|
4
|
+
data.tar.gz: 53c6df79e9f3711741d126d0e41c13ead63f3b9a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c05077845a1f61e35723845e2a360a31f7d1560c001efe5e3f1ff0d2e6b83c6e38a2f076207c92ff54688c4c172aef64525430a58a1b4242597af268367bfed
|
7
|
+
data.tar.gz: 6496d6e35bc2c9548c93e846ffbad735beb98472d9e86fc0c216ee5532786f4fee13c802230a4c1b14422bf39a59fb650d2839a0c8115c86c7bbdb9f9c3eb292
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
sequins (0.1.
|
4
|
+
sequins (0.1.3)
|
5
5
|
autoloaded (~> 2)
|
6
6
|
docile
|
7
7
|
rails (>= 5.0)
|
@@ -68,7 +68,7 @@ GEM
|
|
68
68
|
nokogiri (>= 1.5.9)
|
69
69
|
mail (2.7.0)
|
70
70
|
mini_mime (>= 0.1.1)
|
71
|
-
marcel (0.3.
|
71
|
+
marcel (0.3.3)
|
72
72
|
mimemagic (~> 0.3.2)
|
73
73
|
method_source (0.9.0)
|
74
74
|
mimemagic (0.3.2)
|
data/lib/sequins/sequence.rb
CHANGED
@@ -19,6 +19,11 @@ module Sequins
|
|
19
19
|
@hooks[stage] << StepProxy.new({}, block)
|
20
20
|
end
|
21
21
|
|
22
|
+
def prepend_hook(stage, &block)
|
23
|
+
@hooks[stage] ||= []
|
24
|
+
@hooks[stage].unshift StepProxy.new({}, block)
|
25
|
+
end
|
26
|
+
|
22
27
|
def run_step_for_target(step_name, target, *args)
|
23
28
|
proxy = @steps[step_name]
|
24
29
|
raise UnknownStepError.new(step_name) if proxy.nil?
|
data/lib/sequins/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sequins
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pete Keen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-10-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: docile
|