ticketmaster-pivotal 0.3.9 → 0.4.9
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.
- data/VERSION +1 -1
- data/lib/provider/pivotal.rb +9 -0
- data/spec/ticketmaster-pivotal_spec.rb +12 -1
- data/ticketmaster-pivotal.gemspec +32 -35
- metadata +8 -9
- data/.gitignore +0 -22
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.4.9
|
data/lib/provider/pivotal.rb
CHANGED
@@ -2,9 +2,20 @@ require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
|
|
2
2
|
|
3
3
|
describe "TicketmasterPivotal" do
|
4
4
|
|
5
|
-
|
5
|
+
before(:each) do
|
6
|
+
headers = {'X-TrackerToken' => '000000'}
|
7
|
+
ActiveResource::HttpMock.respond_to do |mock|
|
8
|
+
mock.get '/services/v3/projects.xml', headers, fixture_for('projects'), 200
|
9
|
+
end
|
6
10
|
@ticketmaster = TicketMaster.new(:pivotal, {:token => '000000'})
|
11
|
+
end
|
12
|
+
|
13
|
+
it "should be able to instantiate a new instance" do
|
7
14
|
@ticketmaster.should be_an_instance_of(TicketMaster)
|
8
15
|
@ticketmaster.should be_a_kind_of(TicketMaster::Provider::Pivotal)
|
9
16
|
end
|
17
|
+
|
18
|
+
it "should return true with valid authentication" do
|
19
|
+
@ticketmaster.valid?.should be_true
|
20
|
+
end
|
10
21
|
end
|
@@ -1,63 +1,60 @@
|
|
1
1
|
# Generated by jeweler
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{ticketmaster-pivotal}
|
8
|
-
s.version = "0.
|
8
|
+
s.version = "0.4.9"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["HybridGroup"]
|
12
|
-
s.date = %q{
|
12
|
+
s.date = %q{2011-06-06}
|
13
13
|
s.description = %q{This is a ticketmaster provider for interacting with Pivotal Tracker .}
|
14
14
|
s.email = %q{hong.quach@abigfisch.com}
|
15
15
|
s.extra_rdoc_files = [
|
16
16
|
"LICENSE",
|
17
|
-
|
17
|
+
"README.markdown"
|
18
18
|
]
|
19
19
|
s.files = [
|
20
20
|
".document",
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
"ticketmaster-pivotal.gemspec"
|
21
|
+
"LICENSE",
|
22
|
+
"README.markdown",
|
23
|
+
"Rakefile",
|
24
|
+
"VERSION",
|
25
|
+
"lib/pivotal/pivotal-api.rb",
|
26
|
+
"lib/provider/comment.rb",
|
27
|
+
"lib/provider/pivotal.rb",
|
28
|
+
"lib/provider/project.rb",
|
29
|
+
"lib/provider/ticket.rb",
|
30
|
+
"lib/ticketmaster-pivotal.rb",
|
31
|
+
"spec/comments_spec.rb",
|
32
|
+
"spec/fixtures/notes.xml",
|
33
|
+
"spec/fixtures/notes/1946635.xml",
|
34
|
+
"spec/fixtures/projects.xml",
|
35
|
+
"spec/fixtures/projects/93790.xml",
|
36
|
+
"spec/fixtures/stories.xml",
|
37
|
+
"spec/fixtures/stories/4056827.xml",
|
38
|
+
"spec/projects_spec.rb",
|
39
|
+
"spec/spec.opts",
|
40
|
+
"spec/spec_helper.rb",
|
41
|
+
"spec/ticketmaster-pivotal_spec.rb",
|
42
|
+
"spec/tickets_spec.rb",
|
43
|
+
"ticketmaster-pivotal.gemspec"
|
45
44
|
]
|
46
45
|
s.homepage = %q{http://ticket.rb}
|
47
|
-
s.rdoc_options = ["--charset=UTF-8"]
|
48
46
|
s.require_paths = ["lib"]
|
49
|
-
s.rubygems_version = %q{1.
|
47
|
+
s.rubygems_version = %q{1.6.1}
|
50
48
|
s.summary = %q{This is a ticketmaster provider for interacting with Pivotal Tracker}
|
51
49
|
s.test_files = [
|
52
50
|
"spec/comments_spec.rb",
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
51
|
+
"spec/projects_spec.rb",
|
52
|
+
"spec/spec_helper.rb",
|
53
|
+
"spec/ticketmaster-pivotal_spec.rb",
|
54
|
+
"spec/tickets_spec.rb"
|
57
55
|
]
|
58
56
|
|
59
57
|
if s.respond_to? :specification_version then
|
60
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
61
58
|
s.specification_version = 3
|
62
59
|
|
63
60
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ticketmaster-pivotal
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 29
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
8
|
+
- 4
|
9
9
|
- 9
|
10
|
-
version: 0.
|
10
|
+
version: 0.4.9
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- HybridGroup
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
18
|
+
date: 2011-06-06 00:00:00 -04:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -93,7 +93,6 @@ extra_rdoc_files:
|
|
93
93
|
- README.markdown
|
94
94
|
files:
|
95
95
|
- .document
|
96
|
-
- .gitignore
|
97
96
|
- LICENSE
|
98
97
|
- README.markdown
|
99
98
|
- Rakefile
|
@@ -122,8 +121,8 @@ homepage: http://ticket.rb
|
|
122
121
|
licenses: []
|
123
122
|
|
124
123
|
post_install_message:
|
125
|
-
rdoc_options:
|
126
|
-
|
124
|
+
rdoc_options: []
|
125
|
+
|
127
126
|
require_paths:
|
128
127
|
- lib
|
129
128
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -147,7 +146,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
147
146
|
requirements: []
|
148
147
|
|
149
148
|
rubyforge_project:
|
150
|
-
rubygems_version: 1.
|
149
|
+
rubygems_version: 1.6.1
|
151
150
|
signing_key:
|
152
151
|
specification_version: 3
|
153
152
|
summary: This is a ticketmaster provider for interacting with Pivotal Tracker
|