ticketmaster-trac 0.2.6 → 0.2.7

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.6
1
+ 0.2.7
@@ -6,6 +6,7 @@ module TicketMaster::Provider
6
6
  class Project < TicketMaster::Provider::Base::Project
7
7
  # declare needed overloaded methods here
8
8
 
9
+ attr_reader :created_at, :updated_at
9
10
  def initialize(*object)
10
11
  if object.first
11
12
  object = object.first
@@ -14,7 +15,6 @@ module TicketMaster::Provider
14
15
  hash = {:repository => object.url,
15
16
  :user => object.username,
16
17
  :name => object.name}
17
-
18
18
  else
19
19
  hash = object
20
20
  end
@@ -41,6 +41,10 @@ module TicketMaster::Provider
41
41
  end
42
42
  end
43
43
 
44
+ def id
45
+ 1
46
+ end
47
+
44
48
  def ticket(*options)
45
49
  unless options.empty?
46
50
  options = options.first
@@ -20,6 +20,7 @@ describe "Ticketmaster::Provider::Trac::Project" do
20
20
  @projects = @ticketmaster.projects([@project_id])
21
21
  @projects.should be_an_instance_of(Array)
22
22
  @projects.first.should be_an_instance_of(@klass)
23
+ @projects.first.id.should == 1
23
24
  end
24
25
 
25
26
  it "should be able to load all projects from attributes" do
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{ticketmaster-trac}
8
- s.version = "0.2.6"
8
+ s.version = "0.2.7"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Rafael George"]
12
- s.date = %q{2011-02-09}
12
+ s.date = %q{2011-02-10}
13
13
  s.description = %q{Allows ticketmaster to interact with Your System.}
14
14
  s.email = %q{rafael@hybridgroup.com}
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ticketmaster-trac
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 6
10
- version: 0.2.6
9
+ - 7
10
+ version: 0.2.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Rafael George
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-02-09 00:00:00 -04:00
18
+ date: 2011-02-10 00:00:00 -04:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency