embulk-input-jira 0.1.2 → 0.2.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
  SHA1:
3
- metadata.gz: 441278ed326462319e899a2eba3b5efe30ff058f
4
- data.tar.gz: ec83de64e07a2242fd3a86999a85b32e388a3ee1
3
+ metadata.gz: 872b8270d7250ff40e24e1491202fef465084ddb
4
+ data.tar.gz: 451f8c9d3b7ad30be10558f0ee47af795e6b5250
5
5
  SHA512:
6
- metadata.gz: 7fcac9dae0446d2d1edeb69d0159ef434888133b3ccb3077d1a8fe940738a43847ceb8a4638c1e98f2cef4cd3974593d4ad8212d20e101557854d20f40da794c
7
- data.tar.gz: d10a82d30fab2ac8aae723be5b438bb8dca614d808463148a4dd51ebe859887ec4f12c6daf658038899b0b4fa684c712f78536ad946e8886757f137bf18eeb4f
6
+ metadata.gz: 8f8ee9cdf16fc5706b5e18bc45dcf8cb4c4550bf602893b9470905beb5e4a25c3b762a952497b7658e8f65afddf8e6a5cd706ea7705abcd476001ffadc973893
7
+ data.tar.gz: b2ecfb499d5b18b965682009c9f8c2e049b9f1dd47911786e2a6ffdf7da97d00daaa1ff328f32fbfecbcc34c653d4267e3239db43e3473f928f86c88c3ec9ace
data/.travis.yml CHANGED
@@ -6,86 +6,35 @@ env:
6
6
  global:
7
7
  secure: "NCkU3f60cn5Gmzq+NwDmKdQSq+ApF/rPqSHPirk1+ZPW9n+H9912meUuJr9qyn03MPdc6wAQinsl3skdPNh1Qz02TI/WZGMiCQTLh3nKIMzaaxx6I+OZ1TV7A4MoJMQ7oYQdXdbvRYXpOVRnfVDxpUC+BDk2T8xmjfm9cht+PGTzM6RxpmSL842hiudkcyxHxgEf66EGpi6h2G2PqYNfQrksqiVMWlLiTO5a2ee+iw9qTMhgKrhEKLCb+dFB56gtKIOpd3MxieLwf3PDcsjM+TSaWo6Bp+mjdA3zGJNz5wbWRVSdrIvKvxmf3eRqAGssBhBDO/LUN3LnI+/T/7J9XZZd7WXNudo/t6HQXhJkUIvOucCxSg8/uRsxrMAmF2zkJOnYGSvN3HNqdzyz86TK4/Xckl+gX51b0uYncHfZYSojn4py1RWPYpX/L2RHbzMn1MJ7B3/VZ21vY97aHhDgNyyAMxPnTAuR1IZicEgA8y8AmZkkK9tWq5wvAOKI91V+W8iBEaO2dZIib+KdJSUUj/Q3TM3i4wX9O/AU7tknsnCApvxQeveELJ4SxfFd/Z2imqmQWM0wIgp1u7Vjguf8kSaxcuQHonZNdwvvYOkbYxHvUqltzlmE1qFC/kQe6o9fS3NuiugHCYVeFs+LXVVW+nl0pWztFYMicUmQq7T781w="
8
8
 
9
- notifications:
10
- slack:
11
- secure: QouVFiuH4dTRpjUExfu4NqOYCmt53rmchedTbXqsDXOuLoUbGCMHJgoaYnxJn4Gltqydp8dHXJTE+1hBHZTCGqvO4gng5Z66N7r2DaUk15+mCJPcRl15aMX6J5bXvMp5M7xZYd4AhmB4b3RsdsF4qyH1rf2k9IhakQX09xj1C1OjO3SvMDT/PSQ3cV4mVs4zltYBmNeln9J5rZNexHBg/Mbwz1IqPnR0In5vEUhwBwRc3eo7JoxjBR5/3ffVJcLG1uf9askuW3YacR4XVMYXzFlUErS9QHyugSNTac03YpJmfg8YtY2H1o5ScicwMda3T0nKixHff/Ftkwh7DNsji0edW1WVk+Zt+0P/8ULj/k5gS4uhCERaXNFqRovwqI7is2I1rQFs3TQAQynmXyT0y/jHF0YspTStvuUjSFvuX4P0yaeX39Flih8ZM/js+TkKWjunFsBueqLzcDIjaJ2DFRPi1xDkmwayBhZEpECUE5R19170QsOyIbiG4NFXWWbDIUIapFZKoiohIp46J+NqWYu0Hp/TN6wcqPW7bXVamMma28koM1BLVajW/Ikknqg3Yzf7pzKkRxmoda/fkdfMkr4pqH056YIVKeHKRbrHnfEBArG++HW/T+L8GBW8wH+9fJVeu0G1VsSFH57YARIyO3WF0eqpHB6HHySn2p+DM3Y=
12
-
13
9
  before_install:
14
10
  - |
15
- # Currently, Travis can't treat jruby 9.0.1.0
16
- if [[ ${TRAVIS_RUBY_VERSION} = "jruby-9.0.0.0" ]];then
17
- rvm get head
18
- rvm use jruby-9.0.1.0 --install
19
- ruby -v
20
- gem i bundler
21
- fi
11
+ ruby -v
12
+ # Currently, Travis can't treat jruby 9.0.5.0
13
+ rvm get head
14
+ rvm use jruby-9.0.5.0 --install
15
+ ruby -v
16
+ - gem i bundler
22
17
 
23
- rvm:
24
- - jruby-19mode
25
- - jruby-9.0.0.0
18
+ rvm: jruby-9.0.5.0
26
19
 
27
20
  gemfile:
28
- - gemfiles/embulk-0.6.0-latest
29
- - gemfiles/embulk-0.6.13
30
- - gemfiles/embulk-0.6.14
31
- - gemfiles/embulk-0.6.15
32
- - gemfiles/embulk-0.6.16
33
- - gemfiles/embulk-0.6.17
34
- - gemfiles/embulk-0.6.18
35
- - gemfiles/embulk-0.6.19
36
- - gemfiles/embulk-0.6.20
37
- - gemfiles/embulk-0.6.21
38
- - gemfiles/embulk-0.6.22
39
- - gemfiles/embulk-0.6.23
40
- - gemfiles/embulk-0.6.24
41
- - gemfiles/embulk-0.6.25
42
- - gemfiles/embulk-0.6.26
43
- - gemfiles/embulk-0.6.27
44
- - gemfiles/embulk-0.7.0
45
- - gemfiles/embulk-0.7.0-latest
46
- - gemfiles/embulk-0.7.1
47
- - gemfiles/embulk-0.7.2
48
- - gemfiles/embulk-0.7.3
49
- - gemfiles/embulk-0.7.4
50
- - gemfiles/embulk-0.7.5
21
+ - gemfiles/embulk-0.8.0-latest
22
+ - gemfiles/embulk-0.8.7
23
+ - gemfiles/embulk-0.8.8
51
24
  - gemfiles/embulk-latest
52
25
 
53
26
  matrix:
54
27
  exclude:
55
28
  - jdk: oraclejdk8 # Ignore all matrix at first, use `include` to allow build
56
29
  include:
57
- - {rvm: jruby-19mode, gemfile: gemfiles/embulk-0.6.0-latest}
58
- - {rvm: jruby-19mode, gemfile: gemfiles/embulk-0.6.13}
59
- - {rvm: jruby-19mode, gemfile: gemfiles/embulk-0.6.14}
60
- - {rvm: jruby-19mode, gemfile: gemfiles/embulk-0.6.15}
61
- - {rvm: jruby-19mode, gemfile: gemfiles/embulk-0.6.16}
62
- - {rvm: jruby-19mode, gemfile: gemfiles/embulk-0.6.17}
63
- - {rvm: jruby-19mode, gemfile: gemfiles/embulk-0.6.18}
64
- - {rvm: jruby-19mode, gemfile: gemfiles/embulk-0.6.19}
65
- - {rvm: jruby-19mode, gemfile: gemfiles/embulk-0.6.20}
66
- - {rvm: jruby-19mode, gemfile: gemfiles/embulk-0.6.21}
67
- - {rvm: jruby-19mode, gemfile: gemfiles/embulk-0.6.22}
68
- - {rvm: jruby-19mode, gemfile: gemfiles/embulk-0.6.23}
69
- - {rvm: jruby-19mode, gemfile: gemfiles/embulk-0.6.24}
70
- - {rvm: jruby-19mode, gemfile: gemfiles/embulk-0.6.25}
71
- - {rvm: jruby-19mode, gemfile: gemfiles/embulk-0.6.26}
72
- - {rvm: jruby-19mode, gemfile: gemfiles/embulk-0.6.27}
73
- - {rvm: jruby-9.0.0.0, gemfile: gemfiles/embulk-0.7.0}
74
- - {rvm: jruby-9.0.0.0, gemfile: gemfiles/embulk-0.7.0-latest}
75
- - {rvm: jruby-9.0.0.0, gemfile: gemfiles/embulk-0.7.1}
76
- - {rvm: jruby-9.0.0.0, gemfile: gemfiles/embulk-0.7.2}
77
- - {rvm: jruby-9.0.0.0, gemfile: gemfiles/embulk-0.7.3}
78
- - {rvm: jruby-9.0.0.0, gemfile: gemfiles/embulk-0.7.4}
79
- - {rvm: jruby-9.0.0.0, gemfile: gemfiles/embulk-0.7.5}
30
+ - {rvm: jruby-9.0.0.0, gemfile: gemfiles/embulk-0.8.0-latest}
31
+ - {rvm: jruby-9.0.0.0, gemfile: gemfiles/embulk-0.8.7}
32
+ - {rvm: jruby-9.0.0.0, gemfile: gemfiles/embulk-0.8.8}
80
33
  - {rvm: jruby-9.0.0.0, gemfile: gemfiles/embulk-latest}
81
34
 
82
35
 
83
36
  allow_failures:
84
- - gemfile: gemfiles/embulk-0.6.22
85
- - gemfile: gemfiles/embulk-0.7.0
86
- - gemfile: gemfiles/embulk-0.7.1
87
37
  # Ignore failure for *-latest
88
- - gemfile: embulk-0.6.0-latest
89
- - gemfile: embulk-0.7.0-latest
38
+ - gemfile: embulk-0.8.0-latest
90
39
  - gemfile: embulk-latest
91
40
 
data/.travis.yml.erb CHANGED
@@ -6,23 +6,16 @@ env:
6
6
  global:
7
7
  secure: "NCkU3f60cn5Gmzq+NwDmKdQSq+ApF/rPqSHPirk1+ZPW9n+H9912meUuJr9qyn03MPdc6wAQinsl3skdPNh1Qz02TI/WZGMiCQTLh3nKIMzaaxx6I+OZ1TV7A4MoJMQ7oYQdXdbvRYXpOVRnfVDxpUC+BDk2T8xmjfm9cht+PGTzM6RxpmSL842hiudkcyxHxgEf66EGpi6h2G2PqYNfQrksqiVMWlLiTO5a2ee+iw9qTMhgKrhEKLCb+dFB56gtKIOpd3MxieLwf3PDcsjM+TSaWo6Bp+mjdA3zGJNz5wbWRVSdrIvKvxmf3eRqAGssBhBDO/LUN3LnI+/T/7J9XZZd7WXNudo/t6HQXhJkUIvOucCxSg8/uRsxrMAmF2zkJOnYGSvN3HNqdzyz86TK4/Xckl+gX51b0uYncHfZYSojn4py1RWPYpX/L2RHbzMn1MJ7B3/VZ21vY97aHhDgNyyAMxPnTAuR1IZicEgA8y8AmZkkK9tWq5wvAOKI91V+W8iBEaO2dZIib+KdJSUUj/Q3TM3i4wX9O/AU7tknsnCApvxQeveELJ4SxfFd/Z2imqmQWM0wIgp1u7Vjguf8kSaxcuQHonZNdwvvYOkbYxHvUqltzlmE1qFC/kQe6o9fS3NuiugHCYVeFs+LXVVW+nl0pWztFYMicUmQq7T781w="
8
8
 
9
- notifications:
10
- slack:
11
- secure: QouVFiuH4dTRpjUExfu4NqOYCmt53rmchedTbXqsDXOuLoUbGCMHJgoaYnxJn4Gltqydp8dHXJTE+1hBHZTCGqvO4gng5Z66N7r2DaUk15+mCJPcRl15aMX6J5bXvMp5M7xZYd4AhmB4b3RsdsF4qyH1rf2k9IhakQX09xj1C1OjO3SvMDT/PSQ3cV4mVs4zltYBmNeln9J5rZNexHBg/Mbwz1IqPnR0In5vEUhwBwRc3eo7JoxjBR5/3ffVJcLG1uf9askuW3YacR4XVMYXzFlUErS9QHyugSNTac03YpJmfg8YtY2H1o5ScicwMda3T0nKixHff/Ftkwh7DNsji0edW1WVk+Zt+0P/8ULj/k5gS4uhCERaXNFqRovwqI7is2I1rQFs3TQAQynmXyT0y/jHF0YspTStvuUjSFvuX4P0yaeX39Flih8ZM/js+TkKWjunFsBueqLzcDIjaJ2DFRPi1xDkmwayBhZEpECUE5R19170QsOyIbiG4NFXWWbDIUIapFZKoiohIp46J+NqWYu0Hp/TN6wcqPW7bXVamMma28koM1BLVajW/Ikknqg3Yzf7pzKkRxmoda/fkdfMkr4pqH056YIVKeHKRbrHnfEBArG++HW/T+L8GBW8wH+9fJVeu0G1VsSFH57YARIyO3WF0eqpHB6HHySn2p+DM3Y=
12
-
13
9
  before_install:
14
10
  - |
15
- # Currently, Travis can't treat jruby 9.0.1.0
16
- if [[ ${TRAVIS_RUBY_VERSION} = "jruby-9.0.0.0" ]];then
17
- rvm get head
18
- rvm use jruby-9.0.1.0 --install
19
- ruby -v
20
- gem i bundler
21
- fi
11
+ ruby -v
12
+ # Currently, Travis can't treat jruby 9.0.5.0
13
+ rvm get head
14
+ rvm use jruby-9.0.5.0 --install
15
+ ruby -v
16
+ - gem i bundler
22
17
 
23
- rvm:
24
- - jruby-19mode
25
- - jruby-9.0.0.0
18
+ rvm: jruby-9.0.5.0
26
19
 
27
20
  gemfile:
28
21
  <% versions.each do |file| -%>
@@ -38,9 +31,6 @@ matrix:
38
31
  <% end %>
39
32
 
40
33
  allow_failures:
41
- - gemfile: gemfiles/embulk-0.6.22
42
- - gemfile: gemfiles/embulk-0.7.0
43
- - gemfile: gemfiles/embulk-0.7.1
44
34
  # Ignore failure for *-latest
45
35
  <% versions.find_all{|file| file.to_s.match(/-latest/)}.each do |file| -%>
46
36
  - gemfile: <%= file %>
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 0.2.0 - 2016-03-28
2
+
3
+ **Embulk 0.8.7+ is required since this version**
4
+
5
+ * [enhancement] Catch various config error [#44](https://github.com/treasure-data/embulk-input-jira/pull/44)
6
+
1
7
  ## 0.1.2 - 2016-03-25
2
8
  * [enhancement] Retry on guess [#42](https://github.com/treasure-data/embulk-input-jira/pull/42)
3
9
 
data/README.md CHANGED
@@ -9,7 +9,7 @@ embulk-input-jira is the Embulk input plugin for [JIRA](https://www.atlassian.co
9
9
 
10
10
  ## Overview
11
11
 
12
- Required Embulk version >= 0.6.12
12
+ Required Embulk version >= 0.8.7
13
13
 
14
14
  * **Plugin type**: input
15
15
  * **Resume supported**: no
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "embulk-input-jira"
3
- spec.version = "0.1.2"
3
+ spec.version = "0.2.0"
4
4
  spec.authors = ["uu59", "yoshihara"]
5
5
  spec.summary = "Jira input plugin for Embulk"
6
6
  spec.description = "Loads records from Jira."
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
  spec.add_development_dependency 'bundler', ['~> 1.0']
19
19
  spec.add_development_dependency 'rake', ['>= 10.0']
20
20
  spec.add_development_dependency 'rspec', "~> 3.2.0"
21
- spec.add_development_dependency 'embulk', [">= 0.6.12", "!= 0.6.22", "< 1.0"]
21
+ spec.add_development_dependency 'embulk', ["~> 0.8.7"]
22
22
  spec.add_development_dependency 'simplecov'
23
23
  spec.add_development_dependency 'pry'
24
24
  spec.add_development_dependency 'codeclimate-test-reporter'
@@ -1,4 +1,4 @@
1
1
  source 'https://rubygems.org/'
2
2
  gemspec :path => '../'
3
3
 
4
- gem "embulk", "~> 0.6.0"
4
+ gem "embulk", "~> 0.8.0"
@@ -1,4 +1,4 @@
1
1
  source 'https://rubygems.org/'
2
2
  gemspec :path => '../'
3
3
 
4
- gem "embulk", "0.7.0"
4
+ gem "embulk", "0.8.7"
@@ -1,4 +1,4 @@
1
1
  source 'https://rubygems.org/'
2
2
  gemspec :path => '../'
3
3
 
4
- gem "embulk", "0.7.1"
4
+ gem "embulk", "0.8.8"
@@ -1,4 +1,4 @@
1
1
  source 'https://rubygems.org/'
2
2
  gemspec :path => '../'
3
3
 
4
- gem "embulk", "> 0.6.13"
4
+ gem "embulk", "> 0.8.7"
@@ -123,7 +123,7 @@ module Embulk
123
123
  PerfectRetry.new do |config|
124
124
  config.limit = limit
125
125
  config.sleep = proc{|n| initial_wait + (2 ** n)}
126
- config.dont_rescues = [Embulk::ConfigError]
126
+ config.dont_rescues = [Embulk::ConfigError, Embulk::DataError]
127
127
  config.logger = Embulk.logger
128
128
  config.log_level = nil
129
129
  end
@@ -20,6 +20,8 @@ module Embulk
20
20
  def search_issues(jql, options={})
21
21
  timeout_and_retry(SEARCH_ISSUES_TIMEOUT_SECONDS) do
22
22
  issues_raw = search(jql, options).issues_raw
23
+
24
+ # TODO: below code has race-conditon.
23
25
  Parallel.map(issues_raw, in_threads: PARALLEL_THREAD_COUNT) do |issue_raw|
24
26
  # https://github.com/dorack/jiralicious/blob/v0.4.0/lib/jiralicious/search_result.rb#L32-34
25
27
  issue = Jiralicious::Issue.find(issue_raw["key"])
@@ -46,6 +48,26 @@ module Embulk
46
48
  Timeout.timeout(wait) do
47
49
  yield
48
50
  end
51
+ rescue Jiralicious::JqlError, Jiralicious::AuthenticationError, Jiralicious::NotLoggedIn, Jiralicious::InvalidLogin => e
52
+ raise Embulk::ConfigError.new(e.message)
53
+ rescue ::SocketError => e
54
+ # wrong `uri` option given
55
+ raise Embulk::ConfigError.new(e.message)
56
+ rescue MultiJson::ParseError => e
57
+ # same as this Mailchimp plugin issue: https://github.com/treasure-data/embulk-output-mailchimp/issues/10
58
+ # (a) JIRA returns error as HTML, but HTTParty try to parse it as JSON.
59
+ # And (b) `search_issues` method has race-condition bug. If it occurred, MultiJson::ParseError raised too.
60
+ html = e.message
61
+ title = html[%r|<title>(.*?)</title>|, 1] #=> e.g. "Unauthorized (401)"
62
+ if title
63
+ # (a)
64
+ Embulk.logger.warn "JIRA returns HTML: #{html}"
65
+ raise Embulk::ConfigError.new("JIRA returns error: #{title}")
66
+ else
67
+ # (b)
68
+ count += 1
69
+ retry
70
+ end
49
71
  rescue Timeout::Error => e
50
72
  count += 1
51
73
  sleep count # retry after some seconds for JIRA API perhaps under the overload
data/spec/spec_helper.rb CHANGED
@@ -1,10 +1,12 @@
1
1
  require "rubygems"
2
2
  require "bundler/setup"
3
3
 
4
- require File.expand_path("../support/prepare_embulk.rb", __FILE__)
5
- # Bundler.require should call after above line
6
4
  Bundler.require(:runtime, :development)
7
5
 
6
+ require "embulk/command/embulk_run"
7
+ require "embulk"
8
+ Embulk.setup
9
+
8
10
  Dir["./spec/support/**/*.rb"].each{|file| require file }
9
11
 
10
12
  require "codeclimate-test-reporter"
@@ -20,5 +22,4 @@ require "embulk/input/jira"
20
22
 
21
23
  RSpec.configure do |config|
22
24
  config.include StdoutAndErrCapture
23
- config.include PrepareEmbulk
24
25
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: embulk-input-jira
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - uu59
@@ -9,12 +9,12 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-03-25 00:00:00.000000000 Z
12
+ date: 2016-03-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: 0.5.0
20
20
  name: jiralicious
@@ -22,13 +22,13 @@ dependencies:
22
22
  type: :runtime
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - ~>
25
+ - - "~>"
26
26
  - !ruby/object:Gem::Version
27
27
  version: 0.5.0
28
28
  - !ruby/object:Gem::Dependency
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: 1.6.0
34
34
  name: parallel
@@ -36,13 +36,13 @@ dependencies:
36
36
  type: :runtime
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - ~>
39
+ - - "~>"
40
40
  - !ruby/object:Gem::Version
41
41
  version: 1.6.0
42
42
  - !ruby/object:Gem::Dependency
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0.3'
48
48
  name: perfect_retry
@@ -50,13 +50,13 @@ dependencies:
50
50
  type: :runtime
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - ~>
53
+ - - "~>"
54
54
  - !ruby/object:Gem::Version
55
55
  version: '0.3'
56
56
  - !ruby/object:Gem::Dependency
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ~>
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
61
  version: '1.0'
62
62
  name: bundler
@@ -64,13 +64,13 @@ dependencies:
64
64
  type: :development
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - ~>
67
+ - - "~>"
68
68
  - !ruby/object:Gem::Version
69
69
  version: '1.0'
70
70
  - !ruby/object:Gem::Dependency
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '>='
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '10.0'
76
76
  name: rake
@@ -78,13 +78,13 @@ dependencies:
78
78
  type: :development
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
- - - '>='
81
+ - - ">="
82
82
  - !ruby/object:Gem::Version
83
83
  version: '10.0'
84
84
  - !ruby/object:Gem::Dependency
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ~>
87
+ - - "~>"
88
88
  - !ruby/object:Gem::Version
89
89
  version: 3.2.0
90
90
  name: rspec
@@ -92,39 +92,27 @@ dependencies:
92
92
  type: :development
93
93
  version_requirements: !ruby/object:Gem::Requirement
94
94
  requirements:
95
- - - ~>
95
+ - - "~>"
96
96
  - !ruby/object:Gem::Version
97
97
  version: 3.2.0
98
98
  - !ruby/object:Gem::Dependency
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - '>='
101
+ - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 0.6.12
104
- - - '!='
105
- - !ruby/object:Gem::Version
106
- version: 0.6.22
107
- - - <
108
- - !ruby/object:Gem::Version
109
- version: '1.0'
103
+ version: 0.8.7
110
104
  name: embulk
111
105
  prerelease: false
112
106
  type: :development
113
107
  version_requirements: !ruby/object:Gem::Requirement
114
108
  requirements:
115
- - - '>='
109
+ - - "~>"
116
110
  - !ruby/object:Gem::Version
117
- version: 0.6.12
118
- - - '!='
119
- - !ruby/object:Gem::Version
120
- version: 0.6.22
121
- - - <
122
- - !ruby/object:Gem::Version
123
- version: '1.0'
111
+ version: 0.8.7
124
112
  - !ruby/object:Gem::Dependency
125
113
  requirement: !ruby/object:Gem::Requirement
126
114
  requirements:
127
- - - '>='
115
+ - - ">="
128
116
  - !ruby/object:Gem::Version
129
117
  version: '0'
130
118
  name: simplecov
@@ -132,13 +120,13 @@ dependencies:
132
120
  type: :development
133
121
  version_requirements: !ruby/object:Gem::Requirement
134
122
  requirements:
135
- - - '>='
123
+ - - ">="
136
124
  - !ruby/object:Gem::Version
137
125
  version: '0'
138
126
  - !ruby/object:Gem::Dependency
139
127
  requirement: !ruby/object:Gem::Requirement
140
128
  requirements:
141
- - - '>='
129
+ - - ">="
142
130
  - !ruby/object:Gem::Version
143
131
  version: '0'
144
132
  name: pry
@@ -146,13 +134,13 @@ dependencies:
146
134
  type: :development
147
135
  version_requirements: !ruby/object:Gem::Requirement
148
136
  requirements:
149
- - - '>='
137
+ - - ">="
150
138
  - !ruby/object:Gem::Version
151
139
  version: '0'
152
140
  - !ruby/object:Gem::Dependency
153
141
  requirement: !ruby/object:Gem::Requirement
154
142
  requirements:
155
- - - '>='
143
+ - - ">="
156
144
  - !ruby/object:Gem::Version
157
145
  version: '0'
158
146
  name: codeclimate-test-reporter
@@ -160,13 +148,13 @@ dependencies:
160
148
  type: :development
161
149
  version_requirements: !ruby/object:Gem::Requirement
162
150
  requirements:
163
- - - '>='
151
+ - - ">="
164
152
  - !ruby/object:Gem::Version
165
153
  version: '0'
166
154
  - !ruby/object:Gem::Dependency
167
155
  requirement: !ruby/object:Gem::Requirement
168
156
  requirements:
169
- - - '>='
157
+ - - ">="
170
158
  - !ruby/object:Gem::Version
171
159
  version: '0'
172
160
  name: everyleaf-embulk_helper
@@ -174,7 +162,7 @@ dependencies:
174
162
  type: :development
175
163
  version_requirements: !ruby/object:Gem::Requirement
176
164
  requirements:
177
- - - '>='
165
+ - - ">="
178
166
  - !ruby/object:Gem::Version
179
167
  version: '0'
180
168
  description: Loads records from Jira.
@@ -185,38 +173,18 @@ executables: []
185
173
  extensions: []
186
174
  extra_rdoc_files: []
187
175
  files:
188
- - .gitignore
189
- - .travis.yml
190
- - .travis.yml.erb
176
+ - ".gitignore"
177
+ - ".travis.yml"
178
+ - ".travis.yml.erb"
191
179
  - CHANGELOG.md
192
180
  - Gemfile
193
181
  - LICENSE
194
182
  - README.md
195
183
  - Rakefile
196
184
  - embulk-input-jira.gemspec
197
- - gemfiles/embulk-0.6.0-latest
198
- - gemfiles/embulk-0.6.13
199
- - gemfiles/embulk-0.6.14
200
- - gemfiles/embulk-0.6.15
201
- - gemfiles/embulk-0.6.16
202
- - gemfiles/embulk-0.6.17
203
- - gemfiles/embulk-0.6.18
204
- - gemfiles/embulk-0.6.19
205
- - gemfiles/embulk-0.6.20
206
- - gemfiles/embulk-0.6.21
207
- - gemfiles/embulk-0.6.22
208
- - gemfiles/embulk-0.6.23
209
- - gemfiles/embulk-0.6.24
210
- - gemfiles/embulk-0.6.25
211
- - gemfiles/embulk-0.6.26
212
- - gemfiles/embulk-0.6.27
213
- - gemfiles/embulk-0.7.0
214
- - gemfiles/embulk-0.7.0-latest
215
- - gemfiles/embulk-0.7.1
216
- - gemfiles/embulk-0.7.2
217
- - gemfiles/embulk-0.7.3
218
- - gemfiles/embulk-0.7.4
219
- - gemfiles/embulk-0.7.5
185
+ - gemfiles/embulk-0.8.0-latest
186
+ - gemfiles/embulk-0.8.7
187
+ - gemfiles/embulk-0.8.8
220
188
  - gemfiles/embulk-latest
221
189
  - gemfiles/template.erb
222
190
  - lib/embulk/input/jira.rb
@@ -230,7 +198,6 @@ files:
230
198
  - spec/embulk/input/jira_spec.rb
231
199
  - spec/embulk_spec.rb
232
200
  - spec/spec_helper.rb
233
- - spec/support/prepare_embulk.rb
234
201
  - spec/support/stdout_and_err_capture.rb
235
202
  homepage: https://github.com/treasure-data/embulk-input-jira
236
203
  licenses:
@@ -242,17 +209,17 @@ require_paths:
242
209
  - lib
243
210
  required_ruby_version: !ruby/object:Gem::Requirement
244
211
  requirements:
245
- - - '>='
212
+ - - ">="
246
213
  - !ruby/object:Gem::Version
247
214
  version: '0'
248
215
  required_rubygems_version: !ruby/object:Gem::Requirement
249
216
  requirements:
250
- - - '>='
217
+ - - ">="
251
218
  - !ruby/object:Gem::Version
252
219
  version: '0'
253
220
  requirements: []
254
221
  rubyforge_project:
255
- rubygems_version: 2.4.6
222
+ rubygems_version: 2.4.8
256
223
  signing_key:
257
224
  specification_version: 4
258
225
  summary: Jira input plugin for Embulk
@@ -263,5 +230,4 @@ test_files:
263
230
  - spec/embulk/input/jira_spec.rb
264
231
  - spec/embulk_spec.rb
265
232
  - spec/spec_helper.rb
266
- - spec/support/prepare_embulk.rb
267
233
  - spec/support/stdout_and_err_capture.rb
@@ -1,4 +0,0 @@
1
- source 'https://rubygems.org/'
2
- gemspec :path => '../'
3
-
4
- gem "embulk", "0.6.13"
@@ -1,4 +0,0 @@
1
- source 'https://rubygems.org/'
2
- gemspec :path => '../'
3
-
4
- gem "embulk", "0.6.14"
@@ -1,4 +0,0 @@
1
- source 'https://rubygems.org/'
2
- gemspec :path => '../'
3
-
4
- gem "embulk", "0.6.15"
@@ -1,4 +0,0 @@
1
- source 'https://rubygems.org/'
2
- gemspec :path => '../'
3
-
4
- gem "embulk", "0.6.16"
@@ -1,4 +0,0 @@
1
- source 'https://rubygems.org/'
2
- gemspec :path => '../'
3
-
4
- gem "embulk", "0.6.17"
@@ -1,4 +0,0 @@
1
- source 'https://rubygems.org/'
2
- gemspec :path => '../'
3
-
4
- gem "embulk", "0.6.18"
@@ -1,4 +0,0 @@
1
- source 'https://rubygems.org/'
2
- gemspec :path => '../'
3
-
4
- gem "embulk", "0.6.19"
@@ -1,4 +0,0 @@
1
- source 'https://rubygems.org/'
2
- gemspec :path => '../'
3
-
4
- gem "embulk", "0.6.20"
@@ -1,4 +0,0 @@
1
- source 'https://rubygems.org/'
2
- gemspec :path => '../'
3
-
4
- gem "embulk", "0.6.21"
@@ -1,4 +0,0 @@
1
- source 'https://rubygems.org/'
2
- gemspec :path => '../'
3
-
4
- gem "embulk", "0.6.22"
@@ -1,4 +0,0 @@
1
- source 'https://rubygems.org/'
2
- gemspec :path => '../'
3
-
4
- gem "embulk", "0.6.23"
@@ -1,4 +0,0 @@
1
- source 'https://rubygems.org/'
2
- gemspec :path => '../'
3
-
4
- gem "embulk", "0.6.24"
@@ -1,4 +0,0 @@
1
- source 'https://rubygems.org/'
2
- gemspec :path => '../'
3
-
4
- gem "embulk", "0.6.25"
@@ -1,4 +0,0 @@
1
- source 'https://rubygems.org/'
2
- gemspec :path => '../'
3
-
4
- gem "embulk", "0.6.26"
@@ -1,4 +0,0 @@
1
- source 'https://rubygems.org/'
2
- gemspec :path => '../'
3
-
4
- gem "embulk", "0.6.27"
@@ -1,4 +0,0 @@
1
- source 'https://rubygems.org/'
2
- gemspec :path => '../'
3
-
4
- gem "embulk", "~> 0.7.0"
@@ -1,4 +0,0 @@
1
- source 'https://rubygems.org/'
2
- gemspec :path => '../'
3
-
4
- gem "embulk", "0.7.2"
@@ -1,4 +0,0 @@
1
- source 'https://rubygems.org/'
2
- gemspec :path => '../'
3
-
4
- gem "embulk", "0.7.3"
@@ -1,4 +0,0 @@
1
- source 'https://rubygems.org/'
2
- gemspec :path => '../'
3
-
4
- gem "embulk", "0.7.4"
@@ -1,4 +0,0 @@
1
- source 'https://rubygems.org/'
2
- gemspec :path => '../'
3
-
4
- gem "embulk", "0.7.5"
@@ -1,17 +0,0 @@
1
- module PrepareEmbulk
2
- require "embulk/command/embulk_run"
3
-
4
- if Embulk.respond_to?(:home)
5
- # keep compatibility for Embulk 0.6.x
6
- classpath_dir = Embulk.home("classpath")
7
- jars = Dir.entries(classpath_dir).select{|f| f =~ /\.jar$/ }.sort
8
- jars.each do |jar|
9
- require File.join(classpath_dir, jar)
10
- end
11
- require "embulk/java/bootstrap"
12
- require "embulk"
13
- else
14
- require "embulk"
15
- Embulk.setup
16
- end
17
- end