ticketmaster-pivotal 0.3.7 → 0.3.8

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/.gitignore CHANGED
@@ -19,3 +19,4 @@ rdoc
19
19
  pkg
20
20
 
21
21
  ## PROJECT::SPECIFIC
22
+ .rvmrc
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.7
1
+ 0.3.8
@@ -56,32 +56,18 @@ module TicketMaster::Provider
56
56
  # self.prefix_options = note.prefix_options
57
57
  end
58
58
  #raise @system_data[:note].inspect
59
- super(@system_data[:note].attributes)
60
- end
61
-
62
- def body
63
- self.text
59
+ data = @system_data[:note].attributes
60
+ data[:body] = data[:text]
61
+ data[:created_at] = data[:noted_at]
62
+ data[:updated_at] = data[:noted_at]
63
+ data[:project_id] = @system_data[:note].prefix_options[:project_id]
64
+ data[:ticket_id] = @system_data[:note].prefix_options[:story_id]
65
+ super(data) if data
64
66
  end
65
67
 
66
68
  def body=(bod)
67
69
  self.text = bod
68
70
  end
69
-
70
- def created_at
71
- self.noted_at
72
- end
73
-
74
- def updated_at
75
- self.noted_at
76
- end
77
-
78
- def project_id
79
- self.project_id || @system_data[:client].prefix_options[:project_id]
80
- end
81
-
82
- def ticket_id
83
- self.ticket_id || @system_data[:client].prefix_options[:story_id]
84
- end
85
71
  end
86
72
  end
87
73
  end
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{ticketmaster-pivotal}
8
- s.version = "0.3.7"
8
+ s.version = "0.3.8"
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{2010-07-23}
12
+ s.date = %q{2010-11-30}
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 = [
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: 29
4
+ hash: 3
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 7
10
- version: 0.3.7
9
+ - 8
10
+ version: 0.3.8
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: 2010-07-23 00:00:00 -07:00
18
+ date: 2010-11-30 00:00:00 -08:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency