dev 2.0.107 → 2.0.108

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/commands/add.rb +4 -3
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ce742a2fa29bb681c510590ab8e21330bb3253af
4
- data.tar.gz: 978c576df8ab9482df7e3d48763f1a21ef1bded0
3
+ metadata.gz: 8c197e0ac60e6e7018f452d3cb27896dda973cfc
4
+ data.tar.gz: cfe03c885e611f78c5cbc73d0bd0296665106e0e
5
5
  SHA512:
6
- metadata.gz: 508a00bf838be911aba292d2662759c4c8c228a464ac297d53d5cbbfcd8afceda2018bdc17ec8c01b6e9b7fef5f0f6436853f62ee4bd28ccc4f512b9abd702da
7
- data.tar.gz: 6dddd9273791c5c526998ecc248c2d0ff06737041bf86276fdb2f4a315bf63816ff226fb4ce8579345cac55665c4b9309e91e8639dff7e79c87df2eaeba3b6f8
6
+ metadata.gz: 7720d0dd108840f357f933d754a42bc389ba14f1be16c5d473dbca417152d905a2e01f8210db70e49f437361054a4ffb528068c4ac3b176b669384810e83c9b4
7
+ data.tar.gz: 4fd4d423fefea1acdf5c55217b3f9ef4626d651ed555498c9810d6ca5818040b118c103f386d5b23d6680ed7d9d2f5221391508c09bb0de30c2ca81316604bf5
data/lib/commands/add.rb CHANGED
@@ -7,13 +7,14 @@ class Add < Array
7
7
  if(File.exists?('.svn'))
8
8
  SOURCE.each{|f|
9
9
 
10
- if( Command.output("svn status #{f}").include?('?') ||
11
- Command.output("svn status #{f}").include?('was not found') ||
10
+ status=Command.output("svn status #{f}")
11
+ if( status.include?('?') ||
12
+ status.include?('was not found') ||
12
13
  Command.exit_code("svn status #{f}") != 0 )
13
14
  puts "svn add #{f} --parents"
14
15
  add "svn add #{f} --parents"
15
16
  else
16
- puts "#{f} already added"
17
+ puts "#{status}"
17
18
  end
18
19
  #add "svn add #{f} --parents" if Command.output("svn status #{f}").include?('?')
19
20
  #add "svn add #{f} --parents" if Command.output("svn status #{f}").include?('was not found')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dev
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.107
4
+ version: 2.0.108
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lou Parslow