job-iteration 1.1.2 → 1.1.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ed3c36b4baee211958c860af1d81af1868c66a3b8b012854c50ff3cb6b5b812d
4
- data.tar.gz: 05ae48eecde73a903af39391f9ae93398827d5d3f15df67f839994b7ec0ff5a4
3
+ metadata.gz: 3321e73fd83420a90163ec8963f381897cd1bd6e06717ce3c1e5db645e3aa823
4
+ data.tar.gz: bae3d1af0d3d803423c42c0085d3b5c9487c804e7362a9a70fe845e6d1abc406
5
5
  SHA512:
6
- metadata.gz: 68af8108e06f96cf7a0c42fbbfbae0b9126315fe952745e153aab2d9bf8b41ece207306e112f9477ca4a9b99be6592846bc0594025dc5eec4e774a914a6ed25a
7
- data.tar.gz: 85933112beafa4451ac0b93dcce3d033043a3bd3a173e4ac0ddb768f656670a867f7d517e83ff715e1720cce8d4cf706e342f32b11794614032f7402325d9d00
6
+ metadata.gz: f78e4bbc18af7343762de3dbfbb4fc958512b7e62806a8adb372f5d94d3fa37b2e16fa0228f343e37679516ddb477099b8d9c3f4517493eb9fb9594ffba86e9e
7
+ data.tar.gz: d1593c8350cf85a78754375f808fd467421a9b04349fb776b3e7471a4ab12d3df14e104021c17ffc80f9595248b2e99659a6747954296dd0d15afefa244bc4ec
data/CHANGELOG.md CHANGED
@@ -4,6 +4,16 @@
4
4
 
5
5
  #### Bug fix
6
6
 
7
+ ### v1.1.3 (August 20, 2019)
8
+
9
+ - [36](https://github.com/shopify/job-iteration/pull/39) - Check method validation at job initialization step
10
+
11
+ ### v1.1.2 (July 24, 2019)
12
+
13
+ #### Bug fix
14
+
15
+ - [36](https://github.com/shopify/job-iteration/pull/38) - Fix CsvEnumerator for Ruby 2.6.3
16
+
7
17
  ### v1.1.1 (July 22, 2019)
8
18
 
9
19
  #### Bug fix
@@ -47,6 +47,7 @@ module JobIteration
47
47
  super
48
48
  self.times_interrupted = 0
49
49
  self.total_time = 0.0
50
+ assert_implements_methods!
50
51
  end
51
52
 
52
53
  def serialize # @private
@@ -80,8 +81,6 @@ module JobIteration
80
81
  end
81
82
 
82
83
  def interruptible_perform(*arguments)
83
- assert_implements_methods!
84
-
85
84
  self.start_time = Time.now.utc
86
85
 
87
86
  enumerator = nil
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module JobIteration
4
- VERSION = "1.1.2"
4
+ VERSION = "1.1.3"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: job-iteration
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shopify
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-07-24 00:00:00.000000000 Z
11
+ date: 2019-08-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -94,8 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
94
94
  - !ruby/object:Gem::Version
95
95
  version: '0'
96
96
  requirements: []
97
- rubyforge_project:
98
- rubygems_version: 2.7.6
97
+ rubygems_version: 3.0.3
99
98
  signing_key:
100
99
  specification_version: 4
101
100
  summary: Makes your background jobs interruptible and resumable.