ticketmaster 0.4.2 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.2
1
+ 0.4.3
@@ -44,7 +44,7 @@ def generate(options)
44
44
  puts "Error: An option was called that requires an argument, but was not given one"
45
45
  puts exception.message
46
46
  rescue OptionParser::InvalidOption => exception
47
- options[:jeweler] = ARGV
47
+ options[:jeweler] = exception.recover(ARGV)
48
48
  options[:mkdir] = false
49
49
  end
50
50
  options[:lib] ||= options[:provider_dir] + '/lib/'
@@ -69,8 +69,12 @@ end
69
69
  # Create the directories so copy_skeleton can do its job
70
70
  def create_directories(options)
71
71
  if options[:jeweler]
72
- puts "Running jeweler #{options[:jeweler].join(' ')} #{options[:provider_dir]}"
73
- puts `jeweler #{options[:jeweler].join(' ')} #{options[:provider_dir]}`
72
+ jeweler_options = options[:jeweler].inject('') do |mem, j|
73
+ j="'#{j}'" if j.include?(' ')
74
+ mem + j + ' '
75
+ end
76
+ puts "Running jeweler #{jeweler_options} #{options[:provider_dir]}"
77
+ puts `jeweler #{jeweler_options} #{options[:provider_dir]}`
74
78
  elsif options[:mkdir]
75
79
  begin
76
80
  Dir.mkdir(options[:provider_dir])
data/ticketmaster.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{ticketmaster}
8
- s.version = "0.4.2"
8
+ s.version = "0.4.3"
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"]
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: 11
4
+ hash: 9
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
- - 2
10
- version: 0.4.2
9
+ - 3
10
+ version: 0.4.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - kiafaldorius