embulk-input-travis 0.2.1 → 0.3.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: 71c06ba116b4bf7ee3547f6d0d98a977a01f67e357e8c0843f3d2594b58d3dab
4
- data.tar.gz: f2c932b5d9a5ab0a3ef184bffd8603416934a725a30f9da5aebe954034be70dc
3
+ metadata.gz: abe68d57cdfcde2833cfc22878d78b254782f49c1442bbd4d04e91382c2a8079
4
+ data.tar.gz: 54c0d37402545520be6743cc83a01a15791e248b29f928d4db5016bcb7501455
5
5
  SHA512:
6
- metadata.gz: c6c649ca881cba2d98c99f7e7100fe8c49ace16a26060fcf7964468015b6e8f12eb87a28bdcfbeb56c4beef2b789de38e58b1dbfc09548907195533900b9c119
7
- data.tar.gz: e70c93923e8955b919fc8488611d24efced3b6cd4b42cb42b769ca036ae5c3b4582824f0877ca7feaaadf3384927f7c14746f7cc8f417708292ca18b5167d31d
6
+ metadata.gz: '08c257b2749be9ca86c169a08c23101718758557e7e826e0d1e253f41deb7444f663a7e5f52d1bfc893f1ccef4f66656680360bc12a72cb83c852eb20b563ee3'
7
+ data.tar.gz: c2e623dfa52aaac8e69211967d9f3e0e275b488c6f1eed18fd6eef0bb7e40395097c4a8292e68a63288caede888726b12e49fee02ef9153e27a5b586299919d9
@@ -1,3 +1,8 @@
1
+ # 0.3.0
2
+
3
+ - Add started_at
4
+ - Change data and build_data type to json
5
+
1
6
  # 0.2.1
2
7
 
3
8
  - Fix job inserting twice
@@ -1,7 +1,7 @@
1
1
 
2
2
  Gem::Specification.new do |spec|
3
3
  spec.name = "embulk-input-travis"
4
- spec.version = "0.2.1"
4
+ spec.version = "0.3.0"
5
5
  spec.authors = [""]
6
6
  spec.summary = "Travis input plugin for Embulk"
7
7
  spec.description = "Loads records from Travis."
@@ -19,10 +19,11 @@ module Embulk
19
19
 
20
20
  columns = [
21
21
  Column.new(0, "id", :long),
22
- Column.new(1, "data", :string),
22
+ Column.new(1, "data", :json),
23
23
  Column.new(2, "log", :string),
24
- Column.new(3, "build_number", :long),
25
- Column.new(4, "build_data", :string)
24
+ Column.new(3, "started_at", :timestamp),
25
+ Column.new(4, "build_number", :long),
26
+ Column.new(5, "build_data", :json)
26
27
  ]
27
28
 
28
29
  resume(task, columns, 1, &control)
@@ -85,6 +86,7 @@ module Embulk
85
86
  job.id,
86
87
  job.to_h.to_json,
87
88
  job.log.body,
89
+ job.started_at,
88
90
  build.number.to_i,
89
91
  build.to_h.to_json
90
92
  ])
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.2.1
4
+ version: 0.3.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-02 00:00:00.000000000 Z
11
+ date: 2019-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: travis