dev_commands 0.0.21 → 0.0.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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: