jira-ruby-dmg 0.1.26 → 0.1.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 093e577719204dddf2b89bfd9e75df335dcfb282
4
- data.tar.gz: 76cfd005c7ffe78cdf80492266fa86d21d9c6324
3
+ metadata.gz: b4fcd9e86d96849dbe4ed64091a5bfd0cdd28927
4
+ data.tar.gz: 99fd83a39b33ee135c0ffaa31bc4840a2943e038
5
5
  SHA512:
6
- metadata.gz: 7821ce9579dff2a9928a186d7db087b13ef9997fc83a5d598d80f4f687bd7deffe7fbcf0b43cb7defc3532b35d0a1213f1d95af42c3d269fc33ee158fb8cc9eb
7
- data.tar.gz: d643dc5fb77ca544d731673e0d33e17b088f5d4763fe166620b73f5ce464896abeb877a7132d99133e4169b39fd638a22547aad6338547772fcf54a61f55b9b7
6
+ metadata.gz: e03deba82e44a342cbe5978a9840c223d9577ba2bb030b2026fd7d3ed12097676eefdc99948e2f1d99cbe951da18b2d981d53add4762ad615d6d689cab24958f
7
+ data.tar.gz: e38c7071b3be90df4bda681c120908af9db468a3951f334c5e4d7ffdb97f9234666077c1eb74888c93280b509a367260c6a9dd6b77051603308808fb72e0dc7a
@@ -39,6 +39,7 @@ 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
42
43
 
43
44
  json['sprints'].map do |sprint|
44
45
  client.Sprint.build(sprint)
@@ -14,6 +14,10 @@ module JIRA
14
14
 
15
15
  # get rapid view id
16
16
  def agileboard_id
17
+ if @attrs['agile_board_id']
18
+ return @attrs['agile_board_id']
19
+ end
20
+
17
21
  search_url = client.options[:site] + "/secure/GHGoToBoard.jspa?sprintId=" + id.to_s
18
22
 
19
23
  begin
@@ -25,7 +29,7 @@ module JIRA
25
29
 
26
30
  rapid_view_match = /rapidView=(\d+)&/.match(error.response['location'])
27
31
  if rapid_view_match != nil
28
- return rapid_view_match[1]
32
+ @attrs['agileboard_id'] = rapid_view_match[1]
29
33
  end
30
34
  end
31
35
  end
data/lib/jira/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module JIRA
2
- VERSION = "0.1.26"
2
+ VERSION = "0.1.27"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jira-ruby-dmg
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.26
4
+ version: 0.1.27
5
5
  platform: ruby
6
6
  authors:
7
7
  - ThisIs! DMG
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-28 00:00:00.000000000 Z
11
+ date: 2014-05-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties