ticketmaster-rally 0.1.2 → 0.2.2

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.
Files changed (38) hide show
  1. data/Gemfile +2 -0
  2. data/Gemfile.lock +4 -0
  3. data/VERSION +1 -1
  4. data/fixtures/vcr_cassettes/all_tickets.yml +4396 -0
  5. data/fixtures/vcr_cassettes/create_comment.yml +360 -0
  6. data/fixtures/vcr_cassettes/create_ticket.yml +4546 -0
  7. data/fixtures/vcr_cassettes/load_all_rally_comments.yml +1429 -0
  8. data/fixtures/vcr_cassettes/load_comments_by_attributes.yml +715 -0
  9. data/fixtures/vcr_cassettes/load_comments_by_ids.yml +193 -0
  10. data/fixtures/vcr_cassettes/rally.yml +64 -0
  11. data/fixtures/vcr_cassettes/rally_by_id.yml +79 -0
  12. data/fixtures/vcr_cassettes/rally_project_return_class.yml +79 -0
  13. data/fixtures/vcr_cassettes/rally_projects.yml +253 -0
  14. data/fixtures/vcr_cassettes/rally_projects_by_attributes.yml +127 -0
  15. data/fixtures/vcr_cassettes/rally_projects_by_ids.yml +79 -0
  16. data/fixtures/vcr_cassettes/rally_tickets.yml +142 -0
  17. data/fixtures/vcr_cassettes/retrieve_ticket.yml +4546 -0
  18. data/fixtures/vcr_cassettes/save_task_ticket.yml +3097 -0
  19. data/fixtures/vcr_cassettes/save_ticket.yml +209 -0
  20. data/fixtures/vcr_cassettes/ticket_by_attributes.yml +4396 -0
  21. data/fixtures/vcr_cassettes/ticket_save.yml +199 -0
  22. data/fixtures/vcr_cassettes/ticket_update.yml +184 -0
  23. data/fixtures/vcr_cassettes/ticketmaster_call.yml +64 -0
  24. data/fixtures/vcr_cassettes/ticketmaster_setting.yml +4687 -0
  25. data/fixtures/vcr_cassettes/tickets_by_attributes.yml +4396 -0
  26. data/fixtures/vcr_cassettes/tickets_by_defect.yml +2816 -0
  27. data/fixtures/vcr_cassettes/tickets_by_hierachial.yml +762 -0
  28. data/fixtures/vcr_cassettes/tickets_by_ids.yml +184 -0
  29. data/fixtures/vcr_cassettes/tickets_by_task.yml +1032 -0
  30. data/lib/provider/comment.rb +1 -1
  31. data/spec/comments_spec.rb +26 -21
  32. data/spec/projects_spec.rb +35 -29
  33. data/spec/spec_helper.rb +3 -0
  34. data/spec/ticketmaster-rally_spec.rb +3 -5
  35. data/spec/tickets_spec.rb +63 -60
  36. data/spec/vcr_setup.rb +7 -0
  37. data/ticketmaster-rally.gemspec +42 -8
  38. metadata +82 -81
@@ -57,7 +57,7 @@ module TicketMaster::Provider
57
57
  project = self.rally_project(project_id)
58
58
  # Rally Ruby REST API expects IDs as strings
59
59
  # For id.to_s see note on Project::id
60
- query_result = TicketMaster::Provider::Rally.rally.find(:conversation_post, :fetch => true, :project => project) { equal :object_i_d, id.to_s }
60
+ query_result = TicketMaster::Provider::Rally.rally.find(:conversation_post, :fetch => false, :project => project) { equal :object_i_d, id.to_s }
61
61
  self.new query_result.first, project_id
62
62
  end
63
63
 
@@ -6,41 +6,46 @@ describe "Ticketmaster::Provider::Rally::Comment" do
6
6
  @ticket_id = 2780205298
7
7
  @comment_id = 2988719307
8
8
  @comment_author = "sfw@simeonfosterwillbanks.com"
9
+ VCR.use_cassette('ticketmaster_setting') do
10
+ @ticketmaster = TicketMaster.new(:rally, {:url => 'https://community.rallydev.com/slm',
11
+ :username => 'ticketmaster-rally@simeonfosterwillbanks.com',
12
+ :password => 'Password'})
13
+
14
+ @project = @ticketmaster.project(@project_id)
15
+ @ticket = @project.ticket(:id => @ticket_id)
16
+ end
9
17
  end
10
18
 
11
19
  before(:each) do
12
- @ticketmaster = TicketMaster.new(:rally, {:url => 'https://community.rallydev.com/slm',
13
- :username => 'ticketmaster-rally@simeonfosterwillbanks.com',
14
- :password => 'Password'})
15
- @project = @ticketmaster.project(@project_id)
16
20
  @klass = TicketMaster::Provider::Rally::Comment
17
- @ticket = @project.ticket(:id => @ticket_id)
18
21
  end
19
22
 
20
23
  it "should be able to load all comments" do
21
- @ticket.comments.should be_an_instance_of(Array)
22
- @ticket.comments.first.should be_an_instance_of(@klass)
24
+ VCR.use_cassette('load_all_rally_comments') do
25
+ @ticket.comments.should be_an_instance_of(Array)
26
+ @ticket.comments.first.should be_an_instance_of(@klass)
27
+ end
23
28
  end
24
-
29
+
25
30
  it "should be able to load all comments based on array of ids" do
26
- comments = @ticket.comments([@comment_id])
27
- comments.should be_an_instance_of(Array)
28
- comments.first.should be_an_instance_of(@klass)
29
- comments.first.author.should == @comment_author
31
+ VCR.use_cassette('load_comments_by_ids') { @comments = @ticket.comments([@comment_id]) }
32
+ @comments.should be_an_instance_of(Array)
33
+ @comments.first.should be_an_instance_of(@klass)
34
+ @comments.first.author.should == @comment_author
30
35
  end
31
36
 
32
37
  it "should be able to load all comments based on attributes" do
33
- comments = @ticket.comments(:id => @comment_id)
34
- comments.should be_an_instance_of(Array)
35
- comments.first.should be_an_instance_of(@klass)
36
- comments.first.author.should == @comment_author
38
+ VCR.use_cassette('load_comments_by_attributes') { @comments = @ticket.comments(:id => @comment_id) }
39
+ @comments.should be_an_instance_of(Array)
40
+ @comments.first.should be_an_instance_of(@klass)
41
+ @comments.first.author.should == @comment_author
37
42
  end
38
-
43
+
39
44
  it "should be able to create a new comment" do
40
45
  # Add discussion for User Story US8: Order picture package
41
- ticket = @project.ticket(:id => 2712836091)
42
- comment = ticket.comment!(:body => 'Pictures will be available for purchase!')
43
- comment.should be_an_instance_of(@klass)
46
+ VCR.use_cassette('retrieve_ticket') {@ticket = @project.ticket(:id => 2712836091) }
47
+ VCR.use_cassette('create_comment') { @comment = @ticket.comment!(:body => 'Pictures will be available for purchase!') }
48
+ @comment.should be_an_instance_of(@klass)
44
49
  end
45
-
50
+
46
51
  end
@@ -3,52 +3,58 @@ require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
3
3
  describe "Ticketmaster::Provider::Rally::Project" do
4
4
 
5
5
  before(:all) do
6
- @project_name = "Sample Project"
7
- @project_id = 2712835688
8
- @project_created_at = "Tue Jan 18 15:40:28 UTC 2011"
6
+ VCR.use_cassette('rally') do
7
+ @ticketmaster = TicketMaster.new(:rally, {:url => 'https://community.rallydev.com/slm',
8
+ :username => 'ticketmaster-rally@simeonfosterwillbanks.com',
9
+ :password => 'Password'})
10
+ end
11
+ @klass = TicketMaster::Provider::Rally::Project
9
12
  end
10
13
 
11
14
  before(:each) do
12
- @ticketmaster = TicketMaster.new(:rally, {:url => 'https://community.rallydev.com/slm',
13
- :username => 'ticketmaster-rally@simeonfosterwillbanks.com',
14
- :password => 'Password'})
15
- @klass = TicketMaster::Provider::Rally::Project
15
+ @project_name = "Sample Project"
16
+ @project_id = 2712835688
17
+ @project_created_at = "Tue Jan 18 15:40:28 UTC 2011"
16
18
  end
17
19
 
18
20
  it "should be able to load all projects" do
19
- @ticketmaster.projects.should be_an_instance_of(Array)
20
- @ticketmaster.projects.first.should be_an_instance_of(@klass)
21
+ VCR.use_cassette('rally_projects') do
22
+ @ticketmaster.projects.should be_an_instance_of(Array)
23
+ @ticketmaster.projects.first.should be_an_instance_of(@klass)
24
+ end
21
25
  end
22
26
 
23
27
  it "should be able to find a project by id" do
24
- project = @ticketmaster.project(@project_id)
25
- project.should be_an_instance_of(@klass)
26
- project.name.should == @project_name
27
- project.id.should == @project_id
28
- project.created_at.utc.strftime('%a %b %d %H:%M:%S UTC %Y').should == @project_created_at
28
+ VCR.use_cassette('rally_by_id') { @project = @ticketmaster.project(@project_id) }
29
+ @project.should be_an_instance_of(@klass)
30
+ @project.name.should == @project_name
31
+ @project.id.should == @project_id
32
+ @project.created_at.utc.strftime('%a %b %d %H:%M:%S UTC %Y').should == @project_created_at
29
33
  end
30
34
 
31
35
  it "should be able to load all projects from an array of ids" do
32
- projects = @ticketmaster.projects([@project_id])
33
- projects.should be_an_instance_of(Array)
34
- projects.first.should be_an_instance_of(@klass)
35
- projects.first.name.should == @project_name
36
- projects.first.id.should == @project_id
37
- projects.first.created_at.utc.strftime('%a %b %d %H:%M:%S UTC %Y').should == @project_created_at
36
+ VCR.use_cassette('rally_projects_by_ids') { @projects = @ticketmaster.projects([@project_id]) }
37
+ @projects.should be_an_instance_of(Array)
38
+ @projects.first.should be_an_instance_of(@klass)
39
+ @projects.first.name.should == @project_name
40
+ @projects.first.id.should == @project_id
41
+ @projects.first.created_at.utc.strftime('%a %b %d %H:%M:%S UTC %Y').should == @project_created_at
38
42
  end
39
43
 
40
44
  it "should be able to load all projects from attributes" do
41
- projects = @ticketmaster.projects(:name => @project_name)
42
- projects.should be_an_instance_of(Array)
43
- projects.first.should be_an_instance_of(@klass)
44
- projects.first.name.should == @project_name
45
- projects.first.id.should == @project_id
46
- projects.first.created_at.utc.strftime('%a %b %d %H:%M:%S UTC %Y').should == @project_created_at
45
+ VCR.use_cassette('rally_projects_by_attributes') { @projects = @ticketmaster.projects(:name => @project_name)}
46
+ @projects.should be_an_instance_of(Array)
47
+ @projects.first.should be_an_instance_of(@klass)
48
+ @projects.first.name.should == @project_name
49
+ @projects.first.id.should == @project_id
50
+ @projects.first.created_at.utc.strftime('%a %b %d %H:%M:%S UTC %Y').should == @project_created_at
47
51
  end
48
-
52
+
49
53
  it "should be able to load projects using the find method" do
50
- @ticketmaster.project.should == @klass
51
- @ticketmaster.project.find(@project_id).should be_an_instance_of(@klass)
54
+ VCR.use_cassette('rally_project_return_class') do
55
+ @ticketmaster.project.should == @klass
56
+ @ticketmaster.project.find(@project_id).should be_an_instance_of(@klass)
57
+ end
52
58
  end
53
59
 
54
60
  end
data/spec/spec_helper.rb CHANGED
@@ -4,6 +4,9 @@ require 'rubygems'
4
4
  require 'ticketmaster'
5
5
  require 'ticketmaster-rally'
6
6
  require 'rspec'
7
+ require 'vcr'
8
+ require 'vcr_setup'
9
+
7
10
 
8
11
  # Requires supporting files with custom matchers and macros, etc,
9
12
  # in ./support/ and its subdirectories.
@@ -6,11 +6,11 @@ describe "Ticketmaster::Provider::Rally" do
6
6
  @auth = {:url => 'https://community.rallydev.com/slm',
7
7
  :username => 'ticketmaster-rally@simeonfosterwillbanks.com',
8
8
  :password => 'Password'}
9
- @ticketmaster = TicketMaster.new(:rally, @auth)
9
+ VCR.use_cassette('ticketmaster_call') { @ticketmaster = TicketMaster.new(:rally, @auth) }
10
10
  end
11
11
 
12
12
  it "should be able to instantiate a new instance directly" do
13
- @ticketmaster = TicketMaster::Provider::Rally.new(@auth)
13
+ VCR.use_cassette('ticketmaster_call') { @ticketmaster = TicketMaster::Provider::Rally.new(@auth) }
14
14
  @ticketmaster.should be_an_instance_of(TicketMaster)
15
15
  @ticketmaster.should be_a_kind_of(TicketMaster::Provider::Rally)
16
16
  end
@@ -20,8 +20,6 @@ describe "Ticketmaster::Provider::Rally" do
20
20
  @ticketmaster.should be_a_kind_of(TicketMaster::Provider::Rally)
21
21
  end
22
22
 
23
- it "should be a valid instance" do
24
- @ticketmaster.valid?.should be_true
25
- end
23
+ it "should be a valid instance"
26
24
 
27
25
  end
data/spec/tickets_spec.rb CHANGED
@@ -11,103 +11,106 @@ describe "Ticketmaster::Provider::Rally::Ticket" do
11
11
  @ticket_resolution = "Defined"
12
12
  @ticket_status = "Submitted"
13
13
  @ticket_created_at = "Sat Jan 29 19:35:56 UTC 2011"
14
+ VCR.use_cassette('rally_tickets') do
15
+ @ticketmaster = TicketMaster.new(:rally, {:url => 'https://community.rallydev.com/slm',
16
+ :username => 'ticketmaster-rally@simeonfosterwillbanks.com',
17
+ :password => 'Password'})
18
+ @project = @ticketmaster.project(@project_id)
19
+ end
20
+
14
21
  end
15
22
 
16
23
  before(:each) do
17
- @ticketmaster = TicketMaster.new(:rally, {:url => 'https://community.rallydev.com/slm',
18
- :username => 'ticketmaster-rally@simeonfosterwillbanks.com',
19
- :password => 'Password'})
20
- @project = @ticketmaster.project(@project_id)
21
24
  @klass = TicketMaster::Provider::Rally::Ticket
22
25
  end
23
-
26
+
24
27
  it "should return the ticket class" do
25
- @project.ticket.should == @klass
28
+ VCR.use_cassette('tickets_class') { @project.ticket.should == @klass }
26
29
  end
27
30
 
28
31
  it "should be able to load all tickets" do
29
- tickets = @project.tickets
30
- tickets.should be_an_instance_of(Array)
31
- tickets.first.should be_an_instance_of(@klass)
32
+ VCR.use_cassette('all_tickets') { @tickets = @project.tickets }
33
+ @tickets.should be_an_instance_of(Array)
34
+ @tickets.first.should be_an_instance_of(@klass)
32
35
  end
33
36
 
34
37
  it "should be able to load all tickets based on array of id's" do
35
- tickets = @project.tickets([@ticket_id])
36
- tickets.should be_an_instance_of(Array)
37
- tickets.first.should be_an_instance_of(@klass)
38
- tickets.first.description.should == @ticket_description
39
- tickets.first.project_id.should == @project_id
40
- tickets.first.created_at.utc.strftime('%a %b %d %H:%M:%S UTC %Y').should == @ticket_created_at
38
+ VCR.use_cassette('tickets_by_ids') { @tickets = @project.tickets([@ticket_id]) }
39
+ @tickets.should be_an_instance_of(Array)
40
+ @tickets.first.should be_an_instance_of(@klass)
41
+ @tickets.first.description.should == @ticket_description
42
+ @tickets.first.project_id.should == @project_id
43
+ @tickets.first.created_at.utc.strftime('%a %b %d %H:%M:%S UTC %Y').should == @ticket_created_at
41
44
  end
42
45
 
43
46
  it "should be able to load a single ticket based on attributes" do
44
- ticket = @project.ticket(:id => @ticket_id)
45
- ticket.should be_an_instance_of(@klass)
46
- ticket.description.should == @ticket_description
47
- ticket.project_id.should == @project_id
48
- ticket.created_at.utc.strftime('%a %b %d %H:%M:%S UTC %Y').should == @ticket_created_at
47
+ VCR.use_cassette('ticket_by_attributes') { @ticket = @project.ticket(:id => @ticket_id) }
48
+ @ticket.should be_an_instance_of(@klass)
49
+ @ticket.description.should == @ticket_description
50
+ @ticket.project_id.should == @project_id
51
+ @ticket.created_at.utc.strftime('%a %b %d %H:%M:%S UTC %Y').should == @ticket_created_at
49
52
  end
50
-
53
+
51
54
  it "should be able to load all tickets using attributes" do
52
- tickets = @project.tickets(:status => "Submitted")
53
- tickets.should be_an_instance_of(Array)
54
- tickets.first.should be_an_instance_of(@klass)
55
- tickets.first.description.should == @ticket_description
56
- tickets.first.project_id.should == @project_id
57
- tickets.first.created_at.utc.strftime('%a %b %d %H:%M:%S UTC %Y').should == @ticket_created_at
55
+ VCR.use_cassette('tickets_by_attributes') { @tickets = @project.tickets(:status => "Submitted") }
56
+ @tickets.should be_an_instance_of(Array)
57
+ @tickets.first.should be_an_instance_of(@klass)
58
+ @tickets.first.description.should == @ticket_description
59
+ @tickets.first.project_id.should == @project_id
60
+ @tickets.first.created_at.utc.strftime('%a %b %d %H:%M:%S UTC %Y').should == @ticket_created_at
58
61
  end
59
62
 
60
63
  it "should be able to load all tickets of a given type" do
61
- tickets = @project.tickets(:type_as_symbol => :defect)
62
- tickets.should be_an_instance_of(Array)
63
- tickets.first.should be_an_instance_of(@klass)
64
- tickets.first.description.should == @ticket_description
65
- tickets.first.project_id.should == @project_id
66
- tickets.collect do |tick|
64
+ VCR.use_cassette('tickets_by_defect') { @tickets = @project.tickets(:type_as_symbol => :defect) }
65
+ @tickets.should be_an_instance_of(Array)
66
+ @tickets.first.should be_an_instance_of(@klass)
67
+ @tickets.first.description.should == @ticket_description
68
+ @tickets.first.project_id.should == @project_id
69
+ @tickets.collect do |tick|
67
70
  tick.type_as_symbol.should == :defect
68
71
  end
69
72
 
70
- tickets = @project.tickets(:type_as_symbol => :task)
71
- tickets.should be_an_instance_of(Array)
72
- tickets.first.should be_an_instance_of(@klass)
73
- tickets.first.project_id.should == @project_id
74
- tickets.collect do |tick|
73
+ VCR.use_cassette('tickets_by_task') { @tickets = @project.tickets(:type_as_symbol => :task) }
74
+ @tickets.should be_an_instance_of(Array)
75
+ @tickets.first.should be_an_instance_of(@klass)
76
+ @tickets.first.project_id.should == @project_id
77
+ @tickets.collect do |tick|
75
78
  tick.type_as_symbol.should == :task
76
79
  end
77
80
 
78
- tickets = @project.tickets(:type_as_symbol => :hierarchical_requirement)
79
- tickets.should be_an_instance_of(Array)
80
- tickets.first.should be_an_instance_of(@klass)
81
- tickets.first.project_id.should == @project_id
82
- tickets.collect do |tick|
81
+ VCR.use_cassette('tickets_by_hierachial') { @tickets = @project.tickets(:type_as_symbol => :hierarchical_requirement) }
82
+ @tickets.should be_an_instance_of(Array)
83
+ @tickets.first.should be_an_instance_of(@klass)
84
+ @tickets.first.project_id.should == @project_id
85
+ @tickets.collect do |tick|
83
86
  tick.type_as_symbol.should == :hierarchical_requirement
84
87
  end
85
88
 
86
89
  end
87
90
 
88
91
  it "should be able to update and save a ticket" do
89
- ticket = @project.ticket(@ticket_id)
90
- ticket.description = "A brand new awesome description"
91
- ticket.status = "Closed"
92
- ticket.save
93
- ticket.description.should == 'A brand new awesome description'
94
- ticket.status.should == "Closed"
95
- ticket.description = @ticket_description
96
- ticket.status = @ticket_status
97
- ticket.save
98
- ticket.description.should == @ticket_description
92
+ VCR.use_cassette('ticket_update') { @ticket = @project.ticket(@ticket_id) }
93
+ @ticket.description = "A brand new awesome description"
94
+ @ticket.status = "Closed"
95
+ VCR.use_cassette('ticket_save') { @ticket.save }
96
+ @ticket.description.should == 'A brand new awesome description'
97
+ @ticket.status.should == "Closed"
98
+ @ticket.description = @ticket_description
99
+ @ticket.status = @ticket_status
100
+ VCR.use_cassette('ticket_save') { @ticket.save }
101
+ @ticket.description.should == @ticket_description
99
102
  end
100
-
103
+
101
104
  it "should be able to create a new ticket" do
102
- ticket = @project.ticket!({:title => 'Testing', :description => "Here we go"})
103
- ticket.should be_an_instance_of(@klass)
104
- ticket.type_as_symbol.should == :defect
105
+ VCR.use_cassette('save_ticket') { @ticket = @project.ticket!({:title => 'Testing', :description => "Here we go"}) }
106
+ @ticket.should be_an_instance_of(@klass)
107
+ @ticket.type_as_symbol.should == :defect
105
108
  end
106
109
 
107
110
  it "should be able to create a new ticket" do
108
- ticket = @project.ticket!({:title => 'TaskTesting', :description => "Here we go tasks", :type_as_symbol => :task, :status => "Defined", :work_product => @project.tickets(:type_as_symbol => :defect).first.oid})
109
- ticket.should be_an_instance_of(@klass)
110
- ticket.type_as_symbol.should == :task
111
+ VCR.use_cassette('save_task_ticket') { @ticket = @project.ticket!({:title => 'TaskTesting', :description => "Here we go tasks", :type_as_symbol => :task, :status => "Defined", :work_product => @project.tickets(:type_as_symbol => :defect).first.oid}) }
112
+ @ticket.should be_an_instance_of(@klass)
113
+ @ticket.type_as_symbol.should == :task
111
114
  end
112
115
 
113
116
 
data/spec/vcr_setup.rb ADDED
@@ -0,0 +1,7 @@
1
+ require 'vcr'
2
+
3
+ VCR.config do |c|
4
+ c.cassette_library_dir = 'fixtures/vcr_cassettes'
5
+ c.stub_with :fakeweb
6
+ c.default_cassette_options = { :record => :once }
7
+ end
@@ -5,13 +5,13 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{ticketmaster-rally}
8
- s.version = "0.1.2"
8
+ s.version = "0.2.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Simeon F. Willbanks", "Rob Kaufman", "Rafael George"]
12
- s.date = %q{2011-08-02}
11
+ s.authors = [%q{Simeon F. Willbanks}, %q{Rob Kaufman}, %q{Rafael George}]
12
+ s.date = %q{2011-11-14}
13
13
  s.description = %q{This is a provider for ticketmaster. It provides interoperability with Rally and it's project planning system through the ticketmaster gem}
14
- s.email = ["sfw@simeonfosterwillbanks.com", "rob@notch8.com", "george.rafael@gmail.com"]
14
+ s.email = [%q{sfw@simeonfosterwillbanks.com}, %q{rob@notch8.com}, %q{george.rafael@gmail.com}]
15
15
  s.extra_rdoc_files = [
16
16
  "LICENSE.txt",
17
17
  "README.md"
@@ -26,6 +26,32 @@ Gem::Specification.new do |s|
26
26
  "README.md",
27
27
  "Rakefile",
28
28
  "VERSION",
29
+ "fixtures/vcr_cassettes/all_tickets.yml",
30
+ "fixtures/vcr_cassettes/create_comment.yml",
31
+ "fixtures/vcr_cassettes/create_ticket.yml",
32
+ "fixtures/vcr_cassettes/load_all_rally_comments.yml",
33
+ "fixtures/vcr_cassettes/load_comments_by_attributes.yml",
34
+ "fixtures/vcr_cassettes/load_comments_by_ids.yml",
35
+ "fixtures/vcr_cassettes/rally.yml",
36
+ "fixtures/vcr_cassettes/rally_by_id.yml",
37
+ "fixtures/vcr_cassettes/rally_project_return_class.yml",
38
+ "fixtures/vcr_cassettes/rally_projects.yml",
39
+ "fixtures/vcr_cassettes/rally_projects_by_attributes.yml",
40
+ "fixtures/vcr_cassettes/rally_projects_by_ids.yml",
41
+ "fixtures/vcr_cassettes/rally_tickets.yml",
42
+ "fixtures/vcr_cassettes/retrieve_ticket.yml",
43
+ "fixtures/vcr_cassettes/save_task_ticket.yml",
44
+ "fixtures/vcr_cassettes/save_ticket.yml",
45
+ "fixtures/vcr_cassettes/ticket_by_attributes.yml",
46
+ "fixtures/vcr_cassettes/ticket_save.yml",
47
+ "fixtures/vcr_cassettes/ticket_update.yml",
48
+ "fixtures/vcr_cassettes/ticketmaster_call.yml",
49
+ "fixtures/vcr_cassettes/ticketmaster_setting.yml",
50
+ "fixtures/vcr_cassettes/tickets_by_attributes.yml",
51
+ "fixtures/vcr_cassettes/tickets_by_defect.yml",
52
+ "fixtures/vcr_cassettes/tickets_by_hierachial.yml",
53
+ "fixtures/vcr_cassettes/tickets_by_ids.yml",
54
+ "fixtures/vcr_cassettes/tickets_by_task.yml",
29
55
  "lib/provider/comment.rb",
30
56
  "lib/provider/project.rb",
31
57
  "lib/provider/rally.rb",
@@ -38,19 +64,21 @@ Gem::Specification.new do |s|
38
64
  "spec/spec_helper.rb",
39
65
  "spec/ticketmaster-rally_spec.rb",
40
66
  "spec/tickets_spec.rb",
67
+ "spec/vcr_setup.rb",
41
68
  "ticketmaster-rally.gemspec"
42
69
  ]
43
70
  s.homepage = %q{http://github.com/simeonwillbanks/ticketmaster-rally}
44
- s.licenses = ["MIT"]
45
- s.require_paths = ["lib"]
46
- s.rubygems_version = %q{1.6.1}
71
+ s.licenses = [%q{MIT}]
72
+ s.require_paths = [%q{lib}]
73
+ s.rubygems_version = %q{1.8.6}
47
74
  s.summary = %q{Ticketmaster provider for Rally's Ruby REST API}
48
75
  s.test_files = [
49
76
  "spec/comments_spec.rb",
50
77
  "spec/projects_spec.rb",
51
78
  "spec/spec_helper.rb",
52
79
  "spec/ticketmaster-rally_spec.rb",
53
- "spec/tickets_spec.rb"
80
+ "spec/tickets_spec.rb",
81
+ "spec/vcr_setup.rb"
54
82
  ]
55
83
 
56
84
  if s.respond_to? :specification_version then
@@ -63,6 +91,8 @@ Gem::Specification.new do |s|
63
91
  s.add_development_dependency(%q<yard>, ["~> 0.7.0"])
64
92
  s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
65
93
  s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
94
+ s.add_development_dependency(%q<fakeweb>, ["~> 1.3.0"])
95
+ s.add_development_dependency(%q<vcr>, ["~> 1.11.3"])
66
96
  s.add_development_dependency(%q<rcov>, [">= 0"])
67
97
  s.add_development_dependency(%q<ruby-debug>, [">= 0"])
68
98
  s.add_development_dependency(%q<ruby-debug19>, [">= 0"])
@@ -73,6 +103,8 @@ Gem::Specification.new do |s|
73
103
  s.add_dependency(%q<yard>, ["~> 0.7.0"])
74
104
  s.add_dependency(%q<bundler>, ["~> 1.0.0"])
75
105
  s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
106
+ s.add_dependency(%q<fakeweb>, ["~> 1.3.0"])
107
+ s.add_dependency(%q<vcr>, ["~> 1.11.3"])
76
108
  s.add_dependency(%q<rcov>, [">= 0"])
77
109
  s.add_dependency(%q<ruby-debug>, [">= 0"])
78
110
  s.add_dependency(%q<ruby-debug19>, [">= 0"])
@@ -84,6 +116,8 @@ Gem::Specification.new do |s|
84
116
  s.add_dependency(%q<yard>, ["~> 0.7.0"])
85
117
  s.add_dependency(%q<bundler>, ["~> 1.0.0"])
86
118
  s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
119
+ s.add_dependency(%q<fakeweb>, ["~> 1.3.0"])
120
+ s.add_dependency(%q<vcr>, ["~> 1.11.3"])
87
121
  s.add_dependency(%q<rcov>, [">= 0"])
88
122
  s.add_dependency(%q<ruby-debug>, [">= 0"])
89
123
  s.add_dependency(%q<ruby-debug19>, [">= 0"])