parka 0.6.1 → 0.6.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/parka.rb +1 -1
  2. data/lib/parka/cli.rb +6 -3
  3. metadata +2 -2
@@ -1,4 +1,4 @@
1
1
  module Parka
2
- VERSION = "0.6.1"
2
+ VERSION = "0.6.2"
3
3
  end
4
4
 
@@ -37,12 +37,15 @@ class Parka::CLI < Thor
37
37
 
38
38
  desc "push [GEMSPEC]", "Build the gem and push it to GitHub and RubyGems.org"
39
39
 
40
- method_option :create, :type => :boolean, :aliases => "-c",
41
- :desc => "Create a Github repository for this project"
40
+ method_option :create, :type => :boolean, :aliases => "-c",
41
+ :desc => "Create a Github repository for this project"
42
+
43
+ method_option :filename, :type => :string, :aliases => "-f",
44
+ :desc => "Build to the specified filename"
42
45
 
43
46
  def push(gemspec_filename=nil)
44
47
  gemspec = Gem::Specification.load(gemspec_filename || default_gemspec)
45
- gemfile = build(gemspec_filename)
48
+ gemfile = options[:filename] || build(gemspec_filename)
46
49
 
47
50
  # create github remote
48
51
  remotes = %x{ git remote }.strip.split("\n")
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: parka
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.6.1
5
+ version: 0.6.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - |
@@ -129,7 +129,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
129
129
  requirements:
130
130
  - - ">="
131
131
  - !ruby/object:Gem::Version
132
- hash: 4486268998547982719
132
+ hash: 4123706867060176189
133
133
  segments:
134
134
  - 0
135
135
  version: "0"