ticketmaster-jira 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/jira/version.rb +1 -1
- data/lib/provider/jira.rb +3 -0
- data/lib/provider/ticket.rb +4 -0
- metadata +4 -4
data/lib/jira/version.rb
CHANGED
data/lib/provider/jira.rb
CHANGED
@@ -22,6 +22,9 @@ module TicketMaster::Provider
|
|
22
22
|
# declare needed overloaded methods here
|
23
23
|
|
24
24
|
def project(*options)
|
25
|
+
if options.first.is_a? String
|
26
|
+
options[0] = options[0].to_i
|
27
|
+
end
|
25
28
|
if options.first.is_a? Fixnum
|
26
29
|
Project.find_by_id(options.first)
|
27
30
|
elsif options.first.is_a? Hash
|
data/lib/provider/ticket.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ticketmaster-jira
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 15
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 8
|
10
|
+
version: 0.0.8
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Charles Lowell
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2011-05-
|
19
|
+
date: 2011-05-27 00:00:00 -04:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|