embulk-input-travis 0.4.0 → 0.5.0

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: b8a4e656db0b83ac806a1acc1112b803b578707dd65d9f58874f2e9568573c91
4
- data.tar.gz: b1e285985fe6b4c3947bf2023e11bcff84df566f78b054885919dd096e7168c7
3
+ metadata.gz: eff7ee681377fc095150a3684cc506ba5489cc0bc333f5a14aec184e928c1ad9
4
+ data.tar.gz: d60a64cd2870adb29a048194ec939da056a7b377a561dc5327ae54356170b3e3
5
5
  SHA512:
6
- metadata.gz: 4999912e3c2fedc6949e9343663f8be19f6f1070c76e39995a77456d14f7a0d82ca8981f48d09f7ea685742be40d5a022fe88d80b1f02f25024d3b89ffc4e434
7
- data.tar.gz: 5350e984b4d7af390ad40e6c3736f92d29ae9c582c3af9ca73262477db4b249fa45a6e6e28ecc0f45687052c90c60f9d13ab4b536cedc1e131b80ffc11f570a9
6
+ metadata.gz: 142796ad41bbd0cf0b6033da8d760166f1042a3fe962b64799ff9f7a373c176a814928b30e75f7ec4181a49f1c638bf1a4c8205872a2a42de0072b08f23be7ec
7
+ data.tar.gz: 1129b88bfa37863099fdf5b183cb4ea4d7cb33c256b3f3c2e29f23af3c7aef17dcf2bdf434f7a03622d0ac427ddb780c307297e79358195dd2453bcdb27334ae
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 0.5.0
2
+
3
+ - Clear cache on each job
4
+
1
5
  # 0.4.0
2
6
 
3
7
  - Change data and build_data type to string
@@ -1,7 +1,7 @@
1
1
 
2
2
  Gem::Specification.new do |spec|
3
3
  spec.name = "embulk-input-travis"
4
- spec.version = "0.4.0"
4
+ spec.version = "0.5.0"
5
5
  spec.authors = [""]
6
6
  spec.summary = "Travis input plugin for Embulk"
7
7
  spec.description = "Loads records from Travis."
@@ -66,8 +66,6 @@ module Embulk
66
66
  (build_num_from..build_num_to).each do |build_num|
67
67
  Embulk.logger.info { "embulk-input-travis: Start build_num:[#{build_num}]" }
68
68
 
69
- repo.session.clear_cache!
70
-
71
69
  build = with_retry { repo.build(build_num) }
72
70
  unless build&.finished?
73
71
  Embulk.logger.info { "embulk-input-travis: Skip build_num:[#{build_num}]" }
@@ -90,6 +88,8 @@ module Embulk
90
88
  build.number.to_i,
91
89
  build.to_h.to_json
92
90
  ])
91
+
92
+ repo.session.clear_cache!
93
93
  end
94
94
  end
95
95
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: embulk-input-travis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ''
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-03 00:00:00.000000000 Z
11
+ date: 2019-03-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: travis