jira-ruby-dmg 0.1.27 → 0.1.28

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: b4fcd9e86d96849dbe4ed64091a5bfd0cdd28927
4
- data.tar.gz: 99fd83a39b33ee135c0ffaa31bc4840a2943e038
3
+ metadata.gz: 1abf8e9fb13111093b545be7aba94345c63f1246
4
+ data.tar.gz: 7dfdcc8562209b438ee07a54e23da8427c0da98d
5
5
  SHA512:
6
- metadata.gz: e03deba82e44a342cbe5978a9840c223d9577ba2bb030b2026fd7d3ed12097676eefdc99948e2f1d99cbe951da18b2d981d53add4762ad615d6d689cab24958f
7
- data.tar.gz: e38c7071b3be90df4bda681c120908af9db468a3951f334c5e4d7ffdb97f9234666077c1eb74888c93280b509a367260c6a9dd6b77051603308808fb72e0dc7a
6
+ metadata.gz: cd31e5c43443e76986eb0590a625a974488e7b6fc8231da9fc2ceb32aa19ba4513e657e3213d18a6661936888273df171e77e82238e97a1e50b5f41abd5a39b7
7
+ data.tar.gz: 10f5cbb6f20f59b0740bb2fd82d08225cd9d8d2dbcdd2830d8f3044787467d6395917592f0c2be1ade9ea13fc37bb4222c811861366971596d6af3e892783efe
@@ -39,9 +39,9 @@ module JIRA
39
39
  search_url = client.options[:site] + '/rest/greenhopper/1.0/sprintquery/' + attrs['id'].to_s
40
40
  response = client.get(search_url)
41
41
  json = self.class.parse_json(response.body)
42
- json["agile_board_id"] = id
43
42
 
44
43
  json['sprints'].map do |sprint|
44
+ sprint["agile_board_id"] = id
45
45
  client.Sprint.build(sprint)
46
46
  end
47
47
  end
@@ -11,7 +11,6 @@ module JIRA
11
11
  jql = "sprint = " + id
12
12
  Issue.jql(client, jql)
13
13
  end
14
-
15
14
  # get rapid view id
16
15
  def agileboard_id
17
16
  if @attrs['agile_board_id']
@@ -42,7 +41,12 @@ module JIRA
42
41
  search_url = client.options[:site] + "/rest/greenhopper/1.0/rapid/charts/sprintreport?rapidViewId=" +
43
42
  agileboard_id.to_s + "&sprintId=" + id.to_s
44
43
 
45
- response = client.get(search_url)
44
+ begin
45
+ response = client.get(search_url)
46
+ rescue
47
+ return nil
48
+ end
49
+
46
50
  json = self.class.parse_json(response.body)
47
51
 
48
52
  client.SprintReport.build(json['contents'])
data/lib/jira/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module JIRA
2
- VERSION = "0.1.27"
2
+ VERSION = "0.1.28"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jira-ruby-dmg
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.27
4
+ version: 0.1.28
5
5
  platform: ruby
6
6
  authors:
7
7
  - ThisIs! DMG