ticketmaster 0.6.7 → 0.6.8

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -1,10 +1,10 @@
1
1
  source :rubygems
2
2
 
3
- gem 'activeresource'
4
- gem 'activesupport'
5
- gem 'jeweler'
6
- gem 'hashie'
3
+ gem 'activeresource', "~> 3.2.2"
4
+ gem 'activesupport', "~> 3.2.2"
5
+ gem 'hashie', "~> 1.2.0"
7
6
 
8
- group :test do
7
+ group :test, :development do
9
8
  gem 'rspec', '1.3.0'
9
+ gem 'jeweler', "~> 1.8.3"
10
10
  end
@@ -1,31 +1,37 @@
1
1
  GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
- activemodel (3.0.5)
5
- activesupport (= 3.0.5)
6
- builder (~> 2.1.2)
7
- i18n (~> 0.4)
8
- activeresource (3.0.5)
9
- activemodel (= 3.0.5)
10
- activesupport (= 3.0.5)
11
- activesupport (3.0.5)
12
- builder (2.1.2)
4
+ activemodel (3.2.2)
5
+ activesupport (= 3.2.2)
6
+ builder (~> 3.0.0)
7
+ activeresource (3.2.2)
8
+ activemodel (= 3.2.2)
9
+ activesupport (= 3.2.2)
10
+ activesupport (3.2.2)
11
+ i18n (~> 0.6)
12
+ multi_json (~> 1.0)
13
+ builder (3.0.0)
13
14
  git (1.2.5)
14
- hashie (1.0.0)
15
- i18n (0.5.0)
16
- jeweler (1.5.2)
17
- bundler (~> 1.0.0)
15
+ hashie (1.2.0)
16
+ i18n (0.6.0)
17
+ jeweler (1.8.3)
18
+ bundler (~> 1.0)
18
19
  git (>= 1.2.5)
19
20
  rake
20
- rake (0.8.7)
21
+ rdoc
22
+ json (1.6.5)
23
+ multi_json (1.1.0)
24
+ rake (0.9.2.2)
25
+ rdoc (3.12)
26
+ json (~> 1.4)
21
27
  rspec (1.3.0)
22
28
 
23
29
  PLATFORMS
24
30
  ruby
25
31
 
26
32
  DEPENDENCIES
27
- activeresource
28
- activesupport
29
- hashie
30
- jeweler
33
+ activeresource (~> 3.2.2)
34
+ activesupport (~> 3.2.2)
35
+ hashie (~> 1.2.0)
36
+ jeweler (~> 1.8.3)
31
37
  rspec (= 1.3.0)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.6.6
1
+ 0.6.8
@@ -5,16 +5,17 @@ require 'ticketmaster-lighthouse'
5
5
 
6
6
  # copy all tickets and comments from pivotal tracker to new lighthouse project (the hard way)
7
7
  pivotal = TicketMaster.new(:pivotal)
8
- pivotal_project = pivotal.project(97107)
9
8
  lighthouse = TicketMaster.new(:lighthouse)
10
9
 
11
- lighthouse_project = lighthouse.project!(:name => "Copy Test on #{Time.now}",
12
- :description => "A copy test")
10
+ from = pivotal.project(97107)
13
11
 
14
- pivotal_project.tickets.each do |pivotal_ticket|
15
- lighthouse_ticket = lighthouse_project.ticket!({:title => pivotal_ticket.title,
16
- :description => pivotal_ticket.description})
17
- pivotal_ticket.comments.each do |comment|
18
- lighthouse_ticket.comment!(:body => comment.body)
12
+ to = lighthouse.project!(:name => "Copy Test on #{Time.now}",
13
+ :description => "A copy test")
14
+
15
+ from.tickets.each do |from_ticket|
16
+ to_ticket = to.ticket!({:title => pivotal_ticket.title,
17
+ :description => pivotal_ticket.description})
18
+ from_ticket.comments.each do |comment|
19
+ to_ticket.comment!(:body => comment.body)
19
20
  end
20
21
  end
@@ -5,11 +5,13 @@ require 'ticketmaster-lighthouse'
5
5
 
6
6
  # copy all tickets and comments from pivotal tracker to new lighthouse project (the easy way)
7
7
  pivotal = TicketMaster.new(:pivotal)
8
- pivotal_project = pivotal.project(97107)
9
8
  lighthouse = TicketMaster.new(:lighthouse)
10
9
 
11
- lighthouse_project = lighthouse.project!(:name => "Copy Test on #{Time.now}",
12
- :description => "A copy test")
13
- lighthouse_project.copy(pivotal_project)
10
+ from = pivotal.project(97107)
11
+ to = lighthouse.project!(:name => "Copy Test on #{Time.now}",
12
+ :description => "A copy test")
13
+
14
+ to.copy(from)
15
+
14
16
  puts "Copy finished."
15
17
 
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "ticketmaster"
8
- s.version = "0.6.7"
8
+ s.version = "0.6.8"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["kiafaldorius", "Sirupsen", "deadprogrammer"]
12
- s.date = "2011-11-28"
12
+ s.date = "2012-03-15"
13
13
  s.description = "Ticketmaster provides a universal API to ticket tracking and project management systems."
14
14
  s.email = "info@hybridgroup.com"
15
15
  s.executables = ["tm"]
@@ -81,32 +81,38 @@ Gem::Specification.new do |s|
81
81
  ]
82
82
  s.homepage = "http://ticketrb.com"
83
83
  s.require_paths = ["lib"]
84
- s.rubygems_version = "1.8.10"
84
+ s.rubygems_version = "1.8.19"
85
85
  s.summary = "Ticketmaster provides a universal API to ticket tracking and project management systems."
86
86
 
87
87
  if s.respond_to? :specification_version then
88
88
  s.specification_version = 3
89
89
 
90
90
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
91
- s.add_runtime_dependency(%q<activeresource>, [">= 0"])
92
- s.add_runtime_dependency(%q<activesupport>, [">= 0"])
93
- s.add_runtime_dependency(%q<jeweler>, [">= 0"])
94
- s.add_runtime_dependency(%q<hashie>, ["= 1.2.0"])
91
+ s.add_runtime_dependency(%q<activeresource>, ["~> 3.2.2"])
92
+ s.add_runtime_dependency(%q<activesupport>, ["~> 3.2.2"])
93
+ s.add_runtime_dependency(%q<hashie>, ["~> 1.2.0"])
94
+ s.add_development_dependency(%q<rspec>, ["= 1.3.0"])
95
+ s.add_development_dependency(%q<jeweler>, ["~> 1.8.3"])
96
+ s.add_runtime_dependency(%q<hashie>, ["= 1.0.0"])
95
97
  s.add_runtime_dependency(%q<activesupport>, [">= 2.3.2"])
96
98
  s.add_runtime_dependency(%q<activeresource>, [">= 2.3.2"])
97
99
  else
98
- s.add_dependency(%q<activeresource>, [">= 0"])
99
- s.add_dependency(%q<activesupport>, [">= 0"])
100
- s.add_dependency(%q<jeweler>, [">= 0"])
101
- s.add_dependency(%q<hashie>, ["= 1.2.0"])
100
+ s.add_dependency(%q<activeresource>, ["~> 3.2.2"])
101
+ s.add_dependency(%q<activesupport>, ["~> 3.2.2"])
102
+ s.add_dependency(%q<hashie>, ["~> 1.2.0"])
103
+ s.add_dependency(%q<rspec>, ["= 1.3.0"])
104
+ s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
105
+ s.add_dependency(%q<hashie>, ["= 1.0.0"])
102
106
  s.add_dependency(%q<activesupport>, [">= 2.3.2"])
103
107
  s.add_dependency(%q<activeresource>, [">= 2.3.2"])
104
108
  end
105
109
  else
106
- s.add_dependency(%q<activeresource>, [">= 0"])
107
- s.add_dependency(%q<activesupport>, [">= 0"])
108
- s.add_dependency(%q<jeweler>, [">= 0"])
109
- s.add_dependency(%q<hashie>, ["= 1.2.0"])
110
+ s.add_dependency(%q<activeresource>, ["~> 3.2.2"])
111
+ s.add_dependency(%q<activesupport>, ["~> 3.2.2"])
112
+ s.add_dependency(%q<hashie>, ["~> 1.2.0"])
113
+ s.add_dependency(%q<rspec>, ["= 1.3.0"])
114
+ s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
115
+ s.add_dependency(%q<hashie>, ["= 1.0.0"])
110
116
  s.add_dependency(%q<activesupport>, [">= 2.3.2"])
111
117
  s.add_dependency(%q<activeresource>, [">= 2.3.2"])
112
118
  end
metadata CHANGED
@@ -1,95 +1,163 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: ticketmaster
3
- version: !ruby/object:Gem::Version
4
- version: 0.6.7
3
+ version: !ruby/object:Gem::Version
4
+ hash: 23
5
5
  prerelease:
6
+ segments:
7
+ - 0
8
+ - 6
9
+ - 8
10
+ version: 0.6.8
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - kiafaldorius
9
14
  - Sirupsen
10
15
  - deadprogrammer
11
16
  autorequire:
12
17
  bindir: bin
13
18
  cert_chain: []
14
- date: 2011-11-28 00:00:00.000000000Z
15
- dependencies:
16
- - !ruby/object:Gem::Dependency
17
- name: activeresource
18
- requirement: &86769180 !ruby/object:Gem::Requirement
19
- none: false
20
- requirements:
21
- - - ! '>='
22
- - !ruby/object:Gem::Version
23
- version: '0'
19
+
20
+ date: 2012-03-15 00:00:00 Z
21
+ dependencies:
22
+ - !ruby/object:Gem::Dependency
24
23
  type: :runtime
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ hash: 11
30
+ segments:
31
+ - 3
32
+ - 2
33
+ - 2
34
+ version: 3.2.2
35
+ version_requirements: *id001
36
+ name: activeresource
25
37
  prerelease: false
26
- version_requirements: *86769180
27
- - !ruby/object:Gem::Dependency
28
- name: activesupport
29
- requirement: &86768940 !ruby/object:Gem::Requirement
38
+ - !ruby/object:Gem::Dependency
39
+ type: :runtime
40
+ requirement: &id002 !ruby/object:Gem::Requirement
30
41
  none: false
31
- requirements:
32
- - - ! '>='
33
- - !ruby/object:Gem::Version
34
- version: '0'
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ hash: 11
46
+ segments:
47
+ - 3
48
+ - 2
49
+ - 2
50
+ version: 3.2.2
51
+ version_requirements: *id002
52
+ name: activesupport
53
+ prerelease: false
54
+ - !ruby/object:Gem::Dependency
35
55
  type: :runtime
56
+ requirement: &id003 !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ hash: 31
62
+ segments:
63
+ - 1
64
+ - 2
65
+ - 0
66
+ version: 1.2.0
67
+ version_requirements: *id003
68
+ name: hashie
36
69
  prerelease: false
37
- version_requirements: *86768940
38
- - !ruby/object:Gem::Dependency
39
- name: jeweler
40
- requirement: &86768700 !ruby/object:Gem::Requirement
70
+ - !ruby/object:Gem::Dependency
71
+ type: :development
72
+ requirement: &id004 !ruby/object:Gem::Requirement
41
73
  none: false
42
- requirements:
43
- - - ! '>='
44
- - !ruby/object:Gem::Version
45
- version: '0'
46
- type: :runtime
74
+ requirements:
75
+ - - "="
76
+ - !ruby/object:Gem::Version
77
+ hash: 27
78
+ segments:
79
+ - 1
80
+ - 3
81
+ - 0
82
+ version: 1.3.0
83
+ version_requirements: *id004
84
+ name: rspec
47
85
  prerelease: false
48
- version_requirements: *86768700
49
- - !ruby/object:Gem::Dependency
50
- name: hashie
51
- requirement: &86768460 !ruby/object:Gem::Requirement
86
+ - !ruby/object:Gem::Dependency
87
+ type: :development
88
+ requirement: &id005 !ruby/object:Gem::Requirement
52
89
  none: false
53
- requirements:
54
- - - =
55
- - !ruby/object:Gem::Version
56
- version: 1.2.0
90
+ requirements:
91
+ - - ~>
92
+ - !ruby/object:Gem::Version
93
+ hash: 49
94
+ segments:
95
+ - 1
96
+ - 8
97
+ - 3
98
+ version: 1.8.3
99
+ version_requirements: *id005
100
+ name: jeweler
101
+ prerelease: false
102
+ - !ruby/object:Gem::Dependency
57
103
  type: :runtime
104
+ requirement: &id006 !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - "="
108
+ - !ruby/object:Gem::Version
109
+ hash: 23
110
+ segments:
111
+ - 1
112
+ - 0
113
+ - 0
114
+ version: 1.0.0
115
+ version_requirements: *id006
116
+ name: hashie
58
117
  prerelease: false
59
- version_requirements: *86768460
60
- - !ruby/object:Gem::Dependency
61
- name: activesupport
62
- requirement: &86768200 !ruby/object:Gem::Requirement
118
+ - !ruby/object:Gem::Dependency
119
+ type: :runtime
120
+ requirement: &id007 !ruby/object:Gem::Requirement
63
121
  none: false
64
- requirements:
65
- - - ! '>='
66
- - !ruby/object:Gem::Version
122
+ requirements:
123
+ - - ">="
124
+ - !ruby/object:Gem::Version
125
+ hash: 7
126
+ segments:
127
+ - 2
128
+ - 3
129
+ - 2
67
130
  version: 2.3.2
68
- type: :runtime
131
+ version_requirements: *id007
132
+ name: activesupport
69
133
  prerelease: false
70
- version_requirements: *86768200
71
- - !ruby/object:Gem::Dependency
72
- name: activeresource
73
- requirement: &86767940 !ruby/object:Gem::Requirement
134
+ - !ruby/object:Gem::Dependency
135
+ type: :runtime
136
+ requirement: &id008 !ruby/object:Gem::Requirement
74
137
  none: false
75
- requirements:
76
- - - ! '>='
77
- - !ruby/object:Gem::Version
138
+ requirements:
139
+ - - ">="
140
+ - !ruby/object:Gem::Version
141
+ hash: 7
142
+ segments:
143
+ - 2
144
+ - 3
145
+ - 2
78
146
  version: 2.3.2
79
- type: :runtime
147
+ version_requirements: *id008
148
+ name: activeresource
80
149
  prerelease: false
81
- version_requirements: *86767940
82
- description: Ticketmaster provides a universal API to ticket tracking and project
83
- management systems.
150
+ description: Ticketmaster provides a universal API to ticket tracking and project management systems.
84
151
  email: info@hybridgroup.com
85
- executables:
152
+ executables:
86
153
  - tm
87
154
  extensions: []
88
- extra_rdoc_files:
155
+
156
+ extra_rdoc_files:
89
157
  - LICENSE
90
158
  - README.md
91
159
  - TODO
92
- files:
160
+ files:
93
161
  - .document
94
162
  - Gemfile
95
163
  - Gemfile.lock
@@ -151,27 +219,36 @@ files:
151
219
  - ticketmaster.gemspec
152
220
  homepage: http://ticketrb.com
153
221
  licenses: []
222
+
154
223
  post_install_message:
155
224
  rdoc_options: []
156
- require_paths:
225
+
226
+ require_paths:
157
227
  - lib
158
- required_ruby_version: !ruby/object:Gem::Requirement
228
+ required_ruby_version: !ruby/object:Gem::Requirement
159
229
  none: false
160
- requirements:
161
- - - ! '>='
162
- - !ruby/object:Gem::Version
163
- version: '0'
164
- required_rubygems_version: !ruby/object:Gem::Requirement
230
+ requirements:
231
+ - - ">="
232
+ - !ruby/object:Gem::Version
233
+ hash: 3
234
+ segments:
235
+ - 0
236
+ version: "0"
237
+ required_rubygems_version: !ruby/object:Gem::Requirement
165
238
  none: false
166
- requirements:
167
- - - ! '>='
168
- - !ruby/object:Gem::Version
169
- version: '0'
239
+ requirements:
240
+ - - ">="
241
+ - !ruby/object:Gem::Version
242
+ hash: 3
243
+ segments:
244
+ - 0
245
+ version: "0"
170
246
  requirements: []
247
+
171
248
  rubyforge_project:
172
- rubygems_version: 1.8.10
249
+ rubygems_version: 1.8.19
173
250
  signing_key:
174
251
  specification_version: 3
175
- summary: Ticketmaster provides a universal API to ticket tracking and project management
176
- systems.
252
+ summary: Ticketmaster provides a universal API to ticket tracking and project management systems.
177
253
  test_files: []
254
+