datahen 1.0.1 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d90c6eca445a5ffc51a59c784e7a297801938864dfd4b9f22984ebb1917028de
4
- data.tar.gz: e2b68ac1b025f8c24efbed1ba01d8b0e87edbfe3630de2f01d01bffe258f0bf1
3
+ metadata.gz: 14cf0c4f60c5104527a963f2cb8ee0112db9f939cc2bb95ba8e9a1931f1781c0
4
+ data.tar.gz: ca0a1662af06f3ed3344524aa3f1ed2a8e7c32f7dc3d204ae344e4657ecc1b73
5
5
  SHA512:
6
- metadata.gz: 60c0c0013d454e3c805f67ae3450ee9229c0da00d0ce4e4fca4bb716ffd2b6a45da234024d12e04f5ce0952b553063e21f9d144e24c7b99875e623c0f5f924e7
7
- data.tar.gz: 9a30a97aaa2a6e5d07e45cc6616fdca80a9f99ab04c308d82d06c346654c28cfdf3e111a0d9ebcb74d7dacc0b3d8e1e2e403512887ec04bbfd123c906dbda868
6
+ metadata.gz: 4c94feb022e23fc300fa9b7ff90e262d3425f2433ac2cb0935ff6020f96cd75a11c1f04766c7584f94921b2ea0f999f84494cb12daf22c1fe79642918210772a
7
+ data.tar.gz: a3591cf025d044f0f28e479f8fa883b20a91c77ecf9bdf92bec944ec2a6b61b1a14941da3e9e7964070f7b32a097874a9f9da3702de488adc87d5def1e4b9769
@@ -9,7 +9,7 @@ module Datahen
9
9
 
10
10
  DEFAULT_RETRY_LIMIT = {
11
11
  seeder: nil,
12
- parser: 2,
12
+ parser: nil,
13
13
  finisher: nil
14
14
  }
15
15
 
@@ -12,10 +12,13 @@ module Datahen
12
12
 
13
13
  def self.exposed_methods
14
14
  [
15
+ :get_content,
16
+ :get_failed_content,
15
17
  :outputs,
16
18
  :save_outputs,
17
19
  :find_output,
18
- :find_outputs
20
+ :find_outputs,
21
+ :finish
19
22
  ].freeze
20
23
  end
21
24
 
@@ -14,7 +14,7 @@ module Datahen
14
14
  # @return [Boollean]
15
15
  attr_accessor :limbo_self
16
16
 
17
- FIND_OUTPUTS_RETRY_LIMIT = 2
17
+ FIND_OUTPUTS_RETRY_LIMIT = nil
18
18
 
19
19
  def initialize(options={})
20
20
  @filename = options.fetch(:filename) { raise "Filename is required"}
@@ -27,6 +27,8 @@ module Datahen
27
27
 
28
28
  def self.exposed_methods
29
29
  [
30
+ :get_content,
31
+ :get_failed_content,
30
32
  :content,
31
33
  :failed_content,
32
34
  :outputs,
@@ -38,7 +40,8 @@ module Datahen
38
40
  :find_outputs,
39
41
  :refetch,
40
42
  :reparse,
41
- :limbo
43
+ :limbo,
44
+ :finish
42
45
  ].freeze
43
46
  end
44
47
 
@@ -18,7 +18,8 @@ module Datahen
18
18
  :save_pages,
19
19
  :save_outputs,
20
20
  :find_output,
21
- :find_outputs
21
+ :find_outputs,
22
+ :finish
22
23
  ].freeze
23
24
  end
24
25
 
@@ -1,3 +1,3 @@
1
1
  module Datahen
2
- VERSION = "1.0.1"
2
+ VERSION = "1.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: datahen
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Parama Danoesubroto
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-07-29 00:00:00.000000000 Z
11
+ date: 2022-08-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor