embulk-input-buildkite 0.6.0 → 0.7.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: fdd42840809661e27680a21956d6cdde7fba0aff15f518c53ebfa73371003528
4
- data.tar.gz: 741085e729d891c3cb0d44e86ebaa1bb82a24637f7b37c36f2bd616d895c39d5
3
+ metadata.gz: 952f93919fd437894c049c2d7d53720aef862e5ec8033868914dda4219a2083e
4
+ data.tar.gz: 8fcee808e10b01ddcf46ab31dc7cf1adf89af47d9caad51e40a623fd33787b7a
5
5
  SHA512:
6
- metadata.gz: 80abfbf1d7a385157b6df4c96e83e9741d0a8e3647dfbda70414d6e36fff0a5383a01d67522ca32914874c4ef32e27ca29a640e7aac0b239476c3e35e36aa607
7
- data.tar.gz: e06397ba9ceadc041468eb1d91e20eb29a866918abf2f5c30ac024b4f4e24f2bf14792e7de54cc008ef3159efdc16bf4d2c40687818adf042b6ae73837e710fb
6
+ metadata.gz: bd1c32ee884194a660dfc956f68c556ad6a7c87ab4497d895b1cc8d9508c2ca215c9d0fba8e8642f9dca25aa20da2aa9546b84bca8a029c80e69c0ec28e34740
7
+ data.tar.gz: fdf53935c0af067093515c965c41df8e746a1a99d93ab96902dbe2285c08a012a7014abcd91ad06e820aeda2651ffabc434a37df11e53e04da3598c3aacb200c
@@ -1,3 +1,7 @@
1
+ # 0.7.0
2
+
3
+ - Replace invalid and undef byte
4
+
1
5
  # 0.6.0
2
6
 
3
7
  - Disable log for buildkite client
@@ -7,8 +7,9 @@ services:
7
7
  - home:/home/app
8
8
  - vendor:/vendor
9
9
  - $HOME/.gitconfig:/home/app/.gitconfig:ro
10
- - $HOME/.ssh:/home/app/.ssh:ro
10
+ - $HOME/.netrc:/home/app/.netrc:ro
11
11
  - $HOME/.gem:/home/app/.gem
12
+ - $HOME/.gem/credentials:/home/app/.gem/credentials:ro
12
13
  environment:
13
14
  BUNDLE_PATH: /vendor/bundle
14
15
  env_file: app.env
@@ -1,7 +1,7 @@
1
1
 
2
2
  Gem::Specification.new do |spec|
3
3
  spec.name = "embulk-input-buildkite"
4
- spec.version = "0.6.0"
4
+ spec.version = "0.7.0"
5
5
  spec.authors = ["Fumiaki MATSUSHIMA"]
6
6
  spec.summary = "Buildkite input plugin for Embulk"
7
7
  spec.description = "Loads records from Buildkite."
@@ -81,7 +81,9 @@ module Embulk
81
81
  Thread.new do
82
82
  begin
83
83
  while artifact = queue.pop(true)
84
- artifact[:body] = with_retry { client.fetch_artifact(build_number: job[:build_number], job_id: job[:id], artifact_id: artifact[:id]) }
84
+ artifact[:body] = with_retry {
85
+ client.fetch_artifact(build_number: job[:build_number], job_id: job[:id], artifact_id: artifact[:id]).encode("utf-8", invalid: :replace, undef: :replace)
86
+ }
85
87
  end
86
88
  rescue ThreadError
87
89
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: embulk-input-buildkite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fumiaki MATSUSHIMA
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-12 00:00:00.000000000 Z
11
+ date: 2019-06-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: unofficial_buildkite_client