jirasync 0.3 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/jirasync.gemspec +6 -1
- data/lib/jirasync/jira_client.rb +3 -3
- data/lib/jirasync/version.rb +1 -1
- metadata +1 -2
- data/jira-sync.gemspec +0 -19
data/jirasync.gemspec
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'jirasync/version'
|
5
|
+
|
1
6
|
Gem::Specification.new do |s|
|
2
7
|
s.name = 'jirasync'
|
3
8
|
s.summary = 'jirasync synchronises jira projects to the local file system'
|
@@ -6,7 +11,7 @@ Gem::Specification.new do |s|
|
|
6
11
|
an incremental update.
|
7
12
|
|
8
13
|
Each ticket is stored in a simple, pretty printed JSON file.'
|
9
|
-
s.version =
|
14
|
+
s.version = JiraSync::VERSION
|
10
15
|
s.platform = Gem::Platform::RUBY
|
11
16
|
|
12
17
|
s.files = ['bin/jira-sync']
|
data/lib/jirasync/jira_client.rb
CHANGED
@@ -29,7 +29,7 @@ module JiraSync
|
|
29
29
|
if response.code == 200
|
30
30
|
response.parsed_response
|
31
31
|
else
|
32
|
-
raise FetchError(response.code, "error retrieving #{jira_id}. response code was #{response.code}, url was #{url}")
|
32
|
+
raise FetchError.new(response.code, "error retrieving #{jira_id}. response code was #{response.code}, url was #{url}")
|
33
33
|
end
|
34
34
|
end
|
35
35
|
|
@@ -41,7 +41,7 @@ module JiraSync
|
|
41
41
|
if response.code == 200
|
42
42
|
response.parsed_response
|
43
43
|
else
|
44
|
-
raise FetchError(response.status, "no issue found for #{project_id}. response code was #{response.code}, url was #{url}")
|
44
|
+
raise FetchError.new(response.status, "no issue found for #{project_id}. response code was #{response.code}, url was #{url}")
|
45
45
|
end
|
46
46
|
end
|
47
47
|
|
@@ -54,7 +54,7 @@ module JiraSync
|
|
54
54
|
if response.code == 200
|
55
55
|
response.parsed_response
|
56
56
|
else
|
57
|
-
raise FetchError(response.status, "no issue found for #{project_id}. response code was #{response.code}, url was #{url}")
|
57
|
+
raise FetchError.new(response.status, "no issue found for #{project_id}. response code was #{response.code}, url was #{url}")
|
58
58
|
end
|
59
59
|
end
|
60
60
|
|
data/lib/jirasync/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jirasync
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 0.4.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -77,7 +77,6 @@ files:
|
|
77
77
|
- Rakefile
|
78
78
|
- bin/jira-format-issues
|
79
79
|
- bin/jira-sync
|
80
|
-
- jira-sync.gemspec
|
81
80
|
- jirasync.gemspec
|
82
81
|
- lib/jirasync.rb
|
83
82
|
- lib/jirasync/jira_client.rb
|
data/jira-sync.gemspec
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
2
|
-
lib = File.expand_path('../lib', __FILE__)
|
3
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require 'jira-sync/version'
|
5
|
-
|
6
|
-
Gem::Specification.new do |gem|
|
7
|
-
gem.name = "jira-sync"
|
8
|
-
gem.version = Jira::Sync::VERSION
|
9
|
-
gem.authors = ["Felix Leipold"]
|
10
|
-
gem.email = ["felix.leipold@gmail.com"]
|
11
|
-
gem.description = %q{TODO: Write a gem description}
|
12
|
-
gem.summary = %q{TODO: Write a gem summary}
|
13
|
-
gem.homepage = ""
|
14
|
-
|
15
|
-
gem.files = `git ls-files`.split($/)
|
16
|
-
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
17
|
-
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
18
|
-
gem.require_paths = ["lib"]
|
19
|
-
end
|