dev_commands 0.0.21 → 0.0.22

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/add.rb +4 -1
  2. metadata +1 -1
data/lib/add.rb CHANGED
@@ -6,7 +6,10 @@ class Add < Array
6
6
  if(defined?(SOURCE))
7
7
  if(File.exists?('.svn'))
8
8
  SOURCE.each{|f|
9
- add "svn add #{f} --parents" if `svn status #{f}`.include?('?')
9
+
10
+ add "svn add #{f} --parents" if Command.output("svn status #{f}").include?('?')
11
+ add "svn add #{f} --parents" if Command.exit_code("svn status #{f}") != 0
12
+ #add "svn add #{f} --parents" if status.include?('?') || status.include?(n)
10
13
  }
11
14
  end
12
15
  if(File.exists?('.git'))
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dev_commands
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.21
4
+ version: 0.0.22
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: