ro 1.3.2 → 1.3.3

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 +5 -2
  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
- YTQ4NTJjMTk0MzhkM2U0MTFmNTBmZTg5MWQyMDUyOTQxNjNjNTNlNg==
4
+ YzcxYTJlZmMwOGJlNzZkNjc5MWIwMmNkMDc3NWRmNmQ0YzA5ZWEwNQ==
5
5
  data.tar.gz: !binary |-
6
- NmE4OTgyNTM0MTU4NTUyMTFhY2VmZjFlZjBjNGNiZWI1NGQ3OWU4OQ==
6
+ ZjBkN2E5MjJmYmVhNTVmYjQ3ZmFiNjg1MDUwMDc4NTY1ODBiZWNmZg==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- OTExZDcwOTUyM2IwNjk0MWUwYTBmNmE0Zjg4N2ZiMmJlMDNmODBjMjliMjVk
10
- ZGMyY2VjNGVkZjMwZjY2OTk0MWIxNjU0ZjU4ZWNhYzhjNTk4OTdlZTM1OTAw
11
- NTEwNmIxYjZmZGQ1MjRkNWMwOGYyMDBjZjIxMTAyMWFiNjNkNTc=
9
+ MGEwZmJlZDM0Mjc2MmRjMDk3Njc0MmQ2ZDEyMzY3NDdjMjM1YmJmZjRiMjlh
10
+ OWFkMGUwZGM1MmYxNDQ5ZGQ4Y2Q4Yjg4M2JkZjk1ZWQyOTgzY2JlMzIxZjI3
11
+ ZjI5OTI5YzBjMzU1Y2ZhOGU4MjZlMzdlYzUzYjQ4MGE1ZGJmZjc=
12
12
  data.tar.gz: !binary |-
13
- NmJjZGYzMTA1NjY0YjdkYmUzOTg0ZDk1YjBlNjhhNTIzNTZhMTk5ZTY0MzEy
14
- YjQyZmI2Zjg2OGUwN2I2ZWNkNDFlZWRjZGY0ZjFhZjQ4OTUyY2M2OGNiMmI4
15
- Y2NmNjUzOWViMmYzZjI3ZjZkNWNiNWMyNjFjOGIwNzQ2YjNmYWU=
13
+ ZTlmNmU5N2JlZjc5OTAyZmY2YmQ4ODRlNzQxNWU2ZGEzNWVhZWMzZDE0NmVi
14
+ NDNhZGQ3ZjAzOTBkNDY5NTg5NmQ5YmUwMTFkMThlMDM0ZTBiNjIwZmY5MzMx
15
+ ZWZlNzVmMjViYTYzOGU5MzA3MmUzY2IzY2VlZjM0NzNlZjJkNzk=
data/lib/ro.rb CHANGED
@@ -10,7 +10,7 @@
10
10
 
11
11
  #
12
12
  module Ro
13
- Version = '1.3.2' unless defined?(Version)
13
+ Version = '1.3.3' unless defined?(Version)
14
14
 
15
15
  def version
16
16
  Ro::Version
data/lib/ro/git.rb CHANGED
@@ -23,6 +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
27
 
27
28
  patch = nil
28
29
 
@@ -67,9 +68,11 @@ module Ro
67
68
  #
68
69
  block.call
69
70
 
70
- # add all changes - additions, deletions, or modifications
71
+ # add all changes - additions, deletions, or modifications - if :add => true was specified
71
72
  #
72
- spawn("git add . --all", :raise => true)
73
+ if add
74
+ spawn("git add . --all", :raise => true)
75
+ end
73
76
 
74
77
  # commit if anything changed
75
78
  #
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.2"
6
+ spec.version = "1.3.3"
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.2
4
+ version: 1.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ara T. Howard