scripter 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/scripter/base.rb +1 -2
- data/lib/scripter/cache_store.rb +0 -1
- data/lib/scripter/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: 3c66bf719d7e14053871e12fbc8c827863094f1b
|
4
|
+
data.tar.gz: a5754f961a63a731ac262c8f6af29b1c9b0c48da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf09a1d44d70d1871f209f58b38ba12fba38a30da1eefe983f346df966e2d2093a24b26ecd69c8478aee21c63f7fa34ef383ef4510340489c3f0eb13b0c620cc
|
7
|
+
data.tar.gz: 9f161a11fc0033c6b93295a8804f6c5823a04739b6a5db4f6e3e27526447078cee7066ec6273aca5cbab05083d22bbc72246e5abf7ae5e9f8ddd7f57eeb3416e
|
data/lib/scripter/base.rb
CHANGED
@@ -27,7 +27,6 @@ module Scripter
|
|
27
27
|
trap("SIGINT") { exit! }
|
28
28
|
|
29
29
|
scripter_instance.with_fault_monitoring do
|
30
|
-
scripter_instance.instance_variable_set :@iteration_idx, 0
|
31
30
|
scripter_instance.public_send(iteration_function_name)
|
32
31
|
end
|
33
32
|
|
@@ -48,7 +47,7 @@ module Scripter
|
|
48
47
|
end
|
49
48
|
|
50
49
|
def perform_iteration(iteration_id, iteration_meta={}, verbose=true)
|
51
|
-
@iteration_idx
|
50
|
+
@iteration_idx = (@iteration_idx || 0) + 1
|
52
51
|
begin
|
53
52
|
unless iteration_processed?(iteration_id)
|
54
53
|
yield
|
data/lib/scripter/cache_store.rb
CHANGED
data/lib/scripter/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scripter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Artūrs Mekšs
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-10-
|
11
|
+
date: 2014-10-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|