ticketmaster-bugherd 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/provider/ticket.rb +1 -1
- data/spec/comments_spec.rb +2 -0
- data/spec/fixtures/comments/9760.xml +2 -1
- data/spec/fixtures/projects/1458.xml +4 -8
- data/spec/fixtures/tasks/4950.xml +3 -9
- data/spec/projects_spec.rb +2 -0
- data/spec/tickets_spec.rb +3 -3
- data/ticketmaster-bugherd.gemspec +2 -2
- metadata +4 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.3
|
data/lib/provider/ticket.rb
CHANGED
data/spec/comments_spec.rb
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
2
|
<comment>
|
3
3
|
<id type="integer">9760</id>
|
4
|
-
<created-at type="datetime">2011-08-18T19:57:56Z</created-at>
|
5
4
|
<text>I'm working on this already</text>
|
6
5
|
<user-id type="integer">1798</user-id>
|
6
|
+
<created-at type="datetime">2011-08-18T19:57:56Z</created-at>
|
7
|
+
<updated-at type="datetime">2011-08-18T19:57:56Z</updated-at>
|
7
8
|
</comment>
|
@@ -3,12 +3,8 @@
|
|
3
3
|
<id type="integer">1458</id>
|
4
4
|
<name>clutchapptest</name>
|
5
5
|
<devurl>http://clutchapptest.ticketmaster.com</devurl>
|
6
|
-
<
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
<name>Rafael</name>
|
11
|
-
<surname>George</surname>
|
12
|
-
</user>
|
13
|
-
</users>
|
6
|
+
<api-key>6f416a76-7ce1-463e-92d7-5f21f9b77dd9</api-key>
|
7
|
+
<created-at type="datetime">2011-08-17T20:07:07Z</created-at>
|
8
|
+
<updated-at type="datetime">2011-08-18T19:56:58Z</updated-at>
|
9
|
+
<is-active type="boolean">true</is-active>
|
14
10
|
</project>
|
@@ -3,14 +3,8 @@
|
|
3
3
|
<id type="integer">4950</id>
|
4
4
|
<description>Now this one should be green not red</description>
|
5
5
|
<status-id type="integer">2</status-id>
|
6
|
-
<priority-id type="integer" nil="true"
|
6
|
+
<priority-id type="integer" nil="true"></priority-id>
|
7
7
|
<assigned-to-id type="integer">1798</assigned-to-id>
|
8
|
-
<
|
9
|
-
|
10
|
-
<id type="integer">9760</id>
|
11
|
-
<created-at type="datetime">2011-08-18T19:57:56Z</created-at>
|
12
|
-
<text>I'm working on this already</text>
|
13
|
-
<user-id type="integer">1798</user-id>
|
14
|
-
</comment>
|
15
|
-
</comments>
|
8
|
+
<created-at type="datetime">2011-08-18T19:57:35Z</created-at>
|
9
|
+
<updated-at type="datetime">2011-08-18T19:57:40Z</updated-at>
|
16
10
|
</task>
|
data/spec/projects_spec.rb
CHANGED
data/spec/tickets_spec.rb
CHANGED
@@ -53,11 +53,11 @@ describe "TicketMaster::Provider::Bugherd::Ticket" do
|
|
53
53
|
ticket = @project.ticket(4950)
|
54
54
|
ticket.id.should == 4950
|
55
55
|
ticket.status.should == 'active'
|
56
|
-
ticket.priority.should == '
|
56
|
+
ticket.priority.should == ''
|
57
57
|
ticket.title.should be_nil
|
58
58
|
ticket.resolution.should be_nil
|
59
|
-
ticket.created_at.
|
60
|
-
ticket.updated_at.
|
59
|
+
ticket.created_at.should_not be_nil
|
60
|
+
ticket.updated_at.should_not be_nil
|
61
61
|
ticket.description.should == 'Now this one should be green not red'
|
62
62
|
ticket.assignee.should == 'Rafael George'
|
63
63
|
ticket.requestor.should be_nil
|
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{ticketmaster-bugherd}
|
8
|
-
s.version = "0.0.
|
8
|
+
s.version = "0.0.3"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Rafael George"]
|
12
|
-
s.date = %q{2011-08-
|
12
|
+
s.date = %q{2011-08-30}
|
13
13
|
s.description = %q{Ticketmaster provider for Bugherd}
|
14
14
|
s.email = %q{george.rafael@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ticketmaster-bugherd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 3
|
10
|
+
version: 0.0.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Rafael George
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-08-
|
18
|
+
date: 2011-08-30 00:00:00 -04:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|