gem-release 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -62,7 +62,7 @@ module GemRelease
62
62
 
63
63
  def in_bootstrapped_dir
64
64
  dir = Array(options[:args]).first rescue nil
65
- if dir
65
+ if dir && dir.kind_of?(String) && dir[0] != '-'
66
66
  Dir.mkdir dir
67
67
  Dir.chdir(dir) { yield }
68
68
  else
@@ -1,3 +1,3 @@
1
1
  module GemRelease
2
- VERSION = '0.2.1'
2
+ VERSION = '0.2.2'
3
3
  end
@@ -38,7 +38,7 @@ class Gem::Commands::BootstrapCommand < Gem::Command
38
38
  end
39
39
 
40
40
  def write_gemspec
41
- GemspecCommand.new(:quiet => quiet?).invoke
41
+ GemspecCommand.new(:quiet => quiet?, :strategy => options[:strategy]).execute
42
42
  end
43
43
 
44
44
  def write_scaffold
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gem-release
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-03-12 00:00:00.000000000 Z
12
+ date: 2012-03-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: test_declarative
16
- requirement: &70361597478200 !ruby/object:Gem::Requirement
16
+ requirement: &70092272876100 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 0.0.2
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *70361597478200
24
+ version_requirements: *70092272876100
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: mocha
27
- requirement: &70361597477220 !ruby/object:Gem::Requirement
27
+ requirement: &70092272875160 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: 0.9.8
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70361597477220
35
+ version_requirements: *70092272875160
36
36
  description: Release your ruby gems with ease. (What a bold statement for such a tiny
37
37
  plugin ...)
38
38
  email: svenfuchs@artweb-design.de