ticketmaster-github 0.6.3 → 0.6.4
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +2 -1
- data/VERSION +1 -1
- data/lib/provider/github.rb +3 -3
- data/spec/ticket_spec.rb +2 -1
- data/ticketmaster-github.gemspec +8 -5
- metadata +25 -7
data/Rakefile
CHANGED
@@ -11,7 +11,8 @@ begin
|
|
11
11
|
gem.homepage = "http://github.com/kiafaldorius/ticketmaster-github"
|
12
12
|
gem.authors = ["HybridGroup"]
|
13
13
|
gem.add_development_dependency "rspec", ">= 1.2.9"
|
14
|
-
gem.add_dependency "
|
14
|
+
gem.add_dependency "ticketmaster", ">= 0.6.0"
|
15
|
+
gem.add_dependency "octokit", ">= 0.6.4"
|
15
16
|
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
16
17
|
end
|
17
18
|
Jeweler::GemcutterTasks.new
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.6.
|
1
|
+
0.6.4
|
data/lib/provider/github.rb
CHANGED
@@ -22,15 +22,15 @@ module TicketMaster::Provider
|
|
22
22
|
elsif auth.token
|
23
23
|
TicketMaster::Provider::Github.login = login
|
24
24
|
TicketMaster::Provider::Github.user_token = auth.token
|
25
|
-
TicketMaster::Provider::Github.api = Octokit.
|
25
|
+
TicketMaster::Provider::Github.api = Octokit::Client.new(:login => login, :token => auth.token)
|
26
26
|
elsif auth.password
|
27
27
|
TicketMaster::Provider::Github.login = login
|
28
28
|
TicketMaster::Provider::Github.user_token = auth.token
|
29
|
-
TicketMaster::Provider::Github.api = Octokit.
|
29
|
+
TicketMaster::Provider::Github.api = Octokit::Client.new(:login => login, :password => auth.password)
|
30
30
|
else
|
31
31
|
TicketMaster::Provider::Github.login = login
|
32
32
|
TicketMaster::Provider::Github.user_token = nil
|
33
|
-
TicketMaster::Provider::Github.api = Octokit.
|
33
|
+
TicketMaster::Provider::Github.api = Octokit::Client.new(:login => login)
|
34
34
|
end
|
35
35
|
end
|
36
36
|
|
data/spec/ticket_spec.rb
CHANGED
@@ -22,7 +22,8 @@ describe "Ticketmaster::Provider::Github::Ticket" do
|
|
22
22
|
end
|
23
23
|
|
24
24
|
it "should be able to find tickets based on attributes" do
|
25
|
-
|
25
|
+
pending
|
26
|
+
tickets = @project.tickets(:id => @ticket_id)
|
26
27
|
tickets.should be_an_instance_of(Array)
|
27
28
|
tickets.first.should be_an_instance_of(@klass)
|
28
29
|
end
|
data/ticketmaster-github.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{ticketmaster-github}
|
8
|
-
s.version = "0.6.
|
8
|
+
s.version = "0.6.4"
|
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{2011-
|
12
|
+
s.date = %q{2011-07-05}
|
13
13
|
s.description = %q{This provides an interface with github through the ticketmaster gem.}
|
14
14
|
s.email = %q{hong.quach@abigfisch.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -58,14 +58,17 @@ Gem::Specification.new do |s|
|
|
58
58
|
|
59
59
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
60
60
|
s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
|
61
|
-
s.add_runtime_dependency(%q<
|
61
|
+
s.add_runtime_dependency(%q<ticketmaster>, [">= 0.6.0"])
|
62
|
+
s.add_runtime_dependency(%q<octokit>, [">= 0.6.4"])
|
62
63
|
else
|
63
64
|
s.add_dependency(%q<rspec>, [">= 1.2.9"])
|
64
|
-
s.add_dependency(%q<
|
65
|
+
s.add_dependency(%q<ticketmaster>, [">= 0.6.0"])
|
66
|
+
s.add_dependency(%q<octokit>, [">= 0.6.4"])
|
65
67
|
end
|
66
68
|
else
|
67
69
|
s.add_dependency(%q<rspec>, [">= 1.2.9"])
|
68
|
-
s.add_dependency(%q<
|
70
|
+
s.add_dependency(%q<ticketmaster>, [">= 0.6.0"])
|
71
|
+
s.add_dependency(%q<octokit>, [">= 0.6.4"])
|
69
72
|
end
|
70
73
|
end
|
71
74
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ticketmaster-github
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 15
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 6
|
9
|
-
-
|
10
|
-
version: 0.6.
|
9
|
+
- 4
|
10
|
+
version: 0.6.4
|
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: 2011-
|
18
|
+
date: 2011-07-05 00:00:00 -04:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -35,19 +35,37 @@ dependencies:
|
|
35
35
|
type: :development
|
36
36
|
version_requirements: *id001
|
37
37
|
- !ruby/object:Gem::Dependency
|
38
|
-
name:
|
38
|
+
name: ticketmaster
|
39
39
|
prerelease: false
|
40
40
|
requirement: &id002 !ruby/object:Gem::Requirement
|
41
41
|
none: false
|
42
42
|
requirements:
|
43
43
|
- - ">="
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
hash:
|
45
|
+
hash: 7
|
46
46
|
segments:
|
47
47
|
- 0
|
48
|
-
|
48
|
+
- 6
|
49
|
+
- 0
|
50
|
+
version: 0.6.0
|
49
51
|
type: :runtime
|
50
52
|
version_requirements: *id002
|
53
|
+
- !ruby/object:Gem::Dependency
|
54
|
+
name: octokit
|
55
|
+
prerelease: false
|
56
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
hash: 15
|
62
|
+
segments:
|
63
|
+
- 0
|
64
|
+
- 6
|
65
|
+
- 4
|
66
|
+
version: 0.6.4
|
67
|
+
type: :runtime
|
68
|
+
version_requirements: *id003
|
51
69
|
description: This provides an interface with github through the ticketmaster gem.
|
52
70
|
email: hong.quach@abigfisch.com
|
53
71
|
executables: []
|