ticketmaster-github 0.4.4 → 0.4.5
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/lib/provider/project.rb +7 -2
- data/spec/spec_helper.rb +1 -0
- data/ticketmaster-github.gemspec +4 -4
- metadata +6 -6
data/Rakefile
CHANGED
@@ -11,7 +11,7 @@ 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 "octokit"
|
14
|
+
gem.add_dependency "hybridgroup-octokit"
|
15
15
|
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
16
16
|
end
|
17
17
|
Jeweler::GemcutterTasks.new
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.5
|
data/lib/provider/project.rb
CHANGED
@@ -60,12 +60,17 @@ module TicketMaster::Provider
|
|
60
60
|
end
|
61
61
|
|
62
62
|
def self.find_by_id(id)
|
63
|
-
|
63
|
+
id = "#{TicketMaster::Provider::Github.login}/#{id}" unless id.include?("/")
|
64
|
+
self.new TicketMaster::Provider::Github.api.repository(id)
|
64
65
|
end
|
65
66
|
|
66
67
|
def self.find_all(*options)
|
67
|
-
|
68
|
+
repos = []
|
69
|
+
user_repos = TicketMaster::Provider::Github.api.repositories(TicketMaster::Provider::Github.login).collect { |repository|
|
68
70
|
self.new repository }
|
71
|
+
org_repos = TicketMaster::Provider::Github.api.organization_repositories(TicketMaster::Provider::Github.login).collect { |repository|
|
72
|
+
self.new repository }
|
73
|
+
repos = repos + user_repos + org_repos
|
69
74
|
end
|
70
75
|
|
71
76
|
def tickets(*options)
|
data/spec/spec_helper.rb
CHANGED
data/ticketmaster-github.gemspec
CHANGED
@@ -5,13 +5,13 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{ticketmaster-github}
|
8
|
-
s.version = "0.4.
|
8
|
+
s.version = "0.4.5"
|
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-04-
|
13
|
-
s.description = %q{
|
14
|
-
s.email = %q{hong
|
12
|
+
s.date = %q{2011-04-09}
|
13
|
+
s.description = %q{Ticketmaster provider for Github Issues tracking.}
|
14
|
+
s.email = %q{hong@hybridgroup.com}
|
15
15
|
s.extra_rdoc_files = [
|
16
16
|
"LICENSE",
|
17
17
|
"README.md"
|
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: 5
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 4
|
9
|
-
-
|
10
|
-
version: 0.4.
|
9
|
+
- 5
|
10
|
+
version: 0.4.5
|
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-04-
|
18
|
+
date: 2011-04-09 00:00:00 -07:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -48,8 +48,8 @@ dependencies:
|
|
48
48
|
version: "0"
|
49
49
|
type: :runtime
|
50
50
|
version_requirements: *id002
|
51
|
-
description:
|
52
|
-
email: hong
|
51
|
+
description: Ticketmaster provider for Github Issues tracking.
|
52
|
+
email: hong@hybridgroup.com
|
53
53
|
executables: []
|
54
54
|
|
55
55
|
extensions: []
|