ticketmaster-github 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.0
1
+ 0.5.1
@@ -25,7 +25,8 @@ module TicketMaster::Provider
25
25
  :position => object.position,
26
26
  :description => object.body,
27
27
  :body =>object.body,
28
- :project_id => project_id}
28
+ :project_id => project_id,
29
+ :requestor => object.user}
29
30
  else
30
31
  object.merge!(:project_id => project_id)
31
32
  hash = object
@@ -42,6 +43,10 @@ module TicketMaster::Provider
42
43
  self[:body]
43
44
  end
44
45
 
46
+ def requestor
47
+ self[:user]
48
+ end
49
+
45
50
  def self.find_by_id(project_id, number)
46
51
  self.new(project_id, TicketMaster::Provider::Github.api.issue(project_id, number))
47
52
  end
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{ticketmaster-github}
8
- s.version = "0.5.0"
8
+ s.version = "0.5.1"
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-18}
12
+ s.date = %q{2011-04-20}
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 = [
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: 11
4
+ hash: 9
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 0
10
- version: 0.5.0
9
+ - 1
10
+ version: 0.5.1
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 00:00:00 -04:00
18
+ date: 2011-04-20 00:00:00 -04:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency