ticketmaster 0.3.9 → 0.3.10

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/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.9
1
+ 0.3.10
@@ -44,6 +44,10 @@ def project(options)
44
44
  options[:subcommand] = 'search'
45
45
  end
46
46
 
47
+ opts.on('-P', '--project [PROJECT_ID]', 'Set the project id') do |id|
48
+ options[:project] = id
49
+ end
50
+
47
51
  opts.separator ''
48
52
  opts.separator 'Other options:'
49
53
 
@@ -17,7 +17,8 @@ def ticket(options)
17
17
  options[:subcommand] = 'create'
18
18
  end
19
19
 
20
- opts.on('-R', '--read', 'Read out ticket and its attributes. Requires --ticket to be set') do
20
+ opts.on('-R', '--read [TICKET]', 'Read out ticket and its attributes. Requires --ticket to be set') do |id|
21
+ options[:ticket] = id if id
21
22
  options[:subcommand] = 'read'
22
23
  end
23
24
 
@@ -44,6 +45,10 @@ def ticket(options)
44
45
  options[:subcommand] = 'search'
45
46
  end
46
47
 
48
+ opts.on('-P', '--project [PROJECT_ID]', 'Set the project id') do |id|
49
+ options[:project] = id
50
+ end
51
+
47
52
  opts.separator ''
48
53
  opts.separator 'Other options:'
49
54
 
data/ticketmaster.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{ticketmaster}
8
- s.version = "0.3.9"
8
+ s.version = "0.3.10"
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 = %q{2010-07-13}
12
+ s.date = %q{2010-07-15}
13
13
  s.default_executable = %q{tm}
14
14
  s.description = %q{Ticketmaster provides a universal API to ticket tracking and project management systems.}
15
15
  s.email = %q{info@hybridgroup.com}
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ticketmaster
3
3
  version: !ruby/object:Gem::Version
4
- hash: 1
4
+ hash: 7
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 9
10
- version: 0.3.9
9
+ - 10
10
+ version: 0.3.10
11
11
  platform: ruby
12
12
  authors:
13
13
  - kiafaldorius
@@ -17,7 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2010-07-13 00:00:00 -07:00
20
+ date: 2010-07-15 00:00:00 -07:00
21
21
  default_executable: tm
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency