jirametrics 1.1 → 1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jirametrics/board.rb +7 -3
- data/lib/jirametrics/issue.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 764cb202d312568aa9677798e2ced203b1c8a27578c5dead600cda5401970693
|
4
|
+
data.tar.gz: 159da0c95a7377ba3fd0320efa89f685792e8b4da2e06396fe48737f9dc5ec6c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b315ccf74df5fc323fe82e09f581d055145540af51236cd22ca49bf8e77e3ec7394a0effe67f9a8ec83ed5ca87b2ad580234559f4fbfc18e23b5822af323d83
|
7
|
+
data.tar.gz: 4eedc85ec84f589f1a485d8e67f954c69d5c43b0e9bf457bf969107eff4a0a68466a30cad26bf7836bb5d2377503e3eb76fa9562a5466f3e923487c85173f389
|
data/lib/jirametrics/board.rb
CHANGED
@@ -39,11 +39,15 @@ class Board
|
|
39
39
|
end.compact
|
40
40
|
end
|
41
41
|
|
42
|
+
def server_url_prefix
|
43
|
+
raise "Cannot parse self: #{@raw['self'].inspect}" unless @raw['self'] =~ /^(https?:\/\/.+)\/rest\//
|
44
|
+
|
45
|
+
$1
|
46
|
+
end
|
47
|
+
|
42
48
|
def url
|
43
49
|
# Strangely, the URL isn't anywhere in the returned data so we have to fabricate it.
|
44
|
-
|
45
|
-
|
46
|
-
"#{$1}/secure/RapidBoard.jspa?rapidView=#{id}"
|
50
|
+
"#{server_url_prefix}/secure/RapidBoard.jspa?rapidView=#{id}"
|
47
51
|
end
|
48
52
|
|
49
53
|
def status_ids_from_column column
|
data/lib/jirametrics/issue.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jirametrics
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '1.
|
4
|
+
version: '1.2'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Bowler
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-09-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: random-word
|