flooose-gemedit 0.10.0 → 0.10.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -80,10 +80,12 @@ class Gem::Commands::EditCommand < Gem::Command
80
80
  say " #{spec.full_name} #{spec.full_gem_path}" if Gem.configuration.verbose
81
81
  %Q{"#{spec.full_gem_path}"}
82
82
  end
83
- say "Initializing empty git repository in #{paths}" if Gem.configuration.verbose
84
- paths.each{|path| system('git init #{path}')} if options[:git]
85
- say "Creating initial commit" if Gem.configuration.verbose
86
- paths.each{|path| system("cd #{path} && git add ./ && git commit -m 'Gemedit generated commit'")} if options[:git]
83
+ if options[:git]
84
+ say "Initializing empty git repository in #{paths}" if Gem.configuration.verbose
85
+ paths.each{|path| system('git init #{path}')}
86
+ say "Creating initial commit" if Gem.configuration.verbose
87
+ paths.each{|path| system("cd #{path} && git add ./ && git commit -m 'Gemedit generated commit'")}
88
+ end
87
89
  cmd = "#{options[:editor]} #{paths.join(' ')}"
88
90
  say "Running `#{cmd}`" if Gem.configuration.verbose
89
91
  exec cmd unless options[:dryrun]
@@ -1,5 +1,3 @@
1
1
  module Gemedit #:nodoc:
2
- module VERSION #:nodoc:
3
- VERSION = "0.10.0"
4
- end
2
+ VERSION = "0.10.1"
5
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flooose-gemedit
3
3
  version: !ruby/object:Gem::Version
4
- hash: 55
4
+ hash: 53
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 10
9
- - 0
10
- version: 0.10.0
9
+ - 1
10
+ version: 0.10.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - !binary |
@@ -21,7 +21,7 @@ date: 2010-10-19 00:00:00 +02:00
21
21
  default_executable:
22
22
  dependencies: []
23
23
 
24
- description: Initialize and make a first commit before editing gem
24
+ description: "'git init' and a first commit before editing gem"
25
25
  email: skeptikos@gmail.com
26
26
  executables: []
27
27