ro 1.3.3 → 1.3.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +8 -8
  2. data/lib/ro.rb +1 -1
  3. data/lib/ro/git.rb +3 -3
  4. data/ro.gemspec +1 -1
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YzcxYTJlZmMwOGJlNzZkNjc5MWIwMmNkMDc3NWRmNmQ0YzA5ZWEwNQ==
4
+ NTI4MGE3ZmJiMTNiMmQ1ODY3ZmQ1MGVjZDNkOGNkNzE5MTg1ZmE5NA==
5
5
  data.tar.gz: !binary |-
6
- ZjBkN2E5MjJmYmVhNTVmYjQ3ZmFiNjg1MDUwMDc4NTY1ODBiZWNmZg==
6
+ ZjZkMDlhOTIwOWEyMDcwYzQwZjUwYjc5MDI0ZTZiMzk4ZDg1NjVkMg==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- MGEwZmJlZDM0Mjc2MmRjMDk3Njc0MmQ2ZDEyMzY3NDdjMjM1YmJmZjRiMjlh
10
- OWFkMGUwZGM1MmYxNDQ5ZGQ4Y2Q4Yjg4M2JkZjk1ZWQyOTgzY2JlMzIxZjI3
11
- ZjI5OTI5YzBjMzU1Y2ZhOGU4MjZlMzdlYzUzYjQ4MGE1ZGJmZjc=
9
+ NTdmYTk2ZGU5ZTc5NTU5NWJmMjM2ZThiYjdjZjQ4Y2MzZDRmNDUzZDgyYmUw
10
+ YTFhMTlkNWZlZTIwZmFjMzcxMmUxNmYxOWY5ZWIwNDg2MTdjMzk0MmM4ZDlk
11
+ ODk2YTllYWU3NWZlNTgxOWFmMDhhMzc4MjBhZTYyMDA1MmMwOTI=
12
12
  data.tar.gz: !binary |-
13
- ZTlmNmU5N2JlZjc5OTAyZmY2YmQ4ODRlNzQxNWU2ZGEzNWVhZWMzZDE0NmVi
14
- NDNhZGQ3ZjAzOTBkNDY5NTg5NmQ5YmUwMTFkMThlMDM0ZTBiNjIwZmY5MzMx
15
- ZWZlNzVmMjViYTYzOGU5MzA3MmUzY2IzY2VlZjM0NzNlZjJkNzk=
13
+ ZGFjMDliMjAxOWM0OGRlMzQ0ZjI4M2RlMWYyNGM0ZTIyNTdmYzMwYTgzZjRk
14
+ ODM0MTNmMWUxOTY2NTA4NDFiNDI4MDZhNjgyYjliNzYyMDRlMjM4ZGQzOWUx
15
+ YzUyMDg0NTJiMmU2MGUxOGJkZTcyOGE0ZDczY2NkNjkwMWVhOTI=
data/lib/ro.rb CHANGED
@@ -10,7 +10,7 @@
10
10
 
11
11
  #
12
12
  module Ro
13
- Version = '1.3.3' unless defined?(Version)
13
+ Version = '1.3.4' unless defined?(Version)
14
14
 
15
15
  def version
16
16
  Ro::Version
data/lib/ro/git.rb CHANGED
@@ -23,7 +23,7 @@ module Ro
23
23
 
24
24
  user = options[:user] || ENV['USER'] || 'ro'
25
25
  msg = options[:message] || "#{ user } edits on #{ File.basename(@root).inspect }"
26
- add = options[:add]
26
+ add = options.has_key?(:add) ? options[:add] : true
27
27
 
28
28
  patch = nil
29
29
 
@@ -68,7 +68,7 @@ module Ro
68
68
  #
69
69
  block.call
70
70
 
71
- # add all changes - additions, deletions, or modifications - if :add => true was specified
71
+ # add all changes - additions, deletions, or modifications - unless :add => false was specified
72
72
  #
73
73
  if add
74
74
  spawn("git add . --all", :raise => true)
@@ -77,7 +77,7 @@ module Ro
77
77
  # commit if anything changed
78
78
  #
79
79
  changes_to_apply =
80
- spawn("git commit -am #{ msg.inspect }")
80
+ spawn("git commit -m #{ msg.inspect }")
81
81
 
82
82
  if changes_to_apply
83
83
  # create the patch
data/ro.gemspec CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  Gem::Specification::new do |spec|
5
5
  spec.name = "ro"
6
- spec.version = "1.3.3"
6
+ spec.version = "1.3.4"
7
7
  spec.platform = Gem::Platform::RUBY
8
8
  spec.summary = "ro"
9
9
  spec.description = "description: ro kicks the ass"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ro
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.3
4
+ version: 1.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ara T. Howard