dev 2.0.135 → 2.0.136

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 598d1305055fc2abb292607133eb8ce5b7a7d17b
4
- data.tar.gz: cee1a91ecfe3766b194292a37ced5edf71a6e34f
3
+ metadata.gz: 910a174dca7b9774dfc45a2cb9c0d117935dd248
4
+ data.tar.gz: 763d497a599cbfcd85f299076a5bc50163b425f2
5
5
  SHA512:
6
- metadata.gz: d89c1bdc0c38759104ed8e8e3048933ba5ad8216e1ca40131d8f04c90ac4a5bb5002d72e56fb86ca30660e822adc920cc0919d6cf0e1825717f6872960578a9d
7
- data.tar.gz: 5f4f42ece0921f9d68dd8650329d7dfe9b67fc985f9f09456133c2318a6444a4a3d94e29988ee58dce2c30d75ebb1870483a8c39be347d9c020d3e93ec82cc47
6
+ metadata.gz: f261ef09add35237b94e6116750ca6d0e0b7cc18f423b9f587ee018c8d8d60cf1d949244945e9c9b391699ff6c64417c810c6def7e2348871120a6e3b8cf5d34
7
+ data.tar.gz: e1cde789230e82cf2ec330c6099bbe4f237d93f254169dfcc9a60ff84fc1e166ff991a035f885bc2c8fdef33af46907dd66d6c639fb9ed157099a837fb25e1af
data/lib/commands/add.rb CHANGED
@@ -21,14 +21,16 @@ class Add < Array
21
21
  end
22
22
  if(File.exists?('.git'))
23
23
  SOURCE.each{|f|
24
- status=`git status #{f} --short`
25
- #if status.include?('untracked') || status.include?('modified:')
26
- if status.include?('??') || status.include?(' M ')
24
+ if(File.exists?(f) && File.file?(f))
25
+ status=`git status #{f} --short`
26
+ #if status.include?('untracked') || status.include?('modified:')
27
+ if status.include?('??') || status.include?(' M ')
27
28
  puts "git add #{f} -v"
28
29
  add "git add #{f} -v"
29
- else
30
+ else
30
31
  #puts status if status.strip.length > 0
31
- end
32
+ end
33
+ end
32
34
  }
33
35
  end
34
36
  end
data/lib/commands.rb CHANGED
@@ -12,10 +12,11 @@ SOURCE.include('**/*.{c,h}')
12
12
  SOURCE.include('**/*.{cpp,hpp}')
13
13
  SOURCE.include('**/*.{swift}')
14
14
  SOURCE.include('**/*.{xcodeproj}')
15
- SOURCE.include('**/*.{csproj,sln,nuspec,config}')
15
+ SOURCE.include('**/*.{csproj,sln,nuspec,config,snk}')
16
16
  SOURCE.exclude('**/obj/**/*.*')
17
17
  SOURCE.exclude('**/bin/**/*.*')
18
18
  SOURCE.exclude('commit.message')
19
+ SOURCE.exclude('rakefile.default')
19
20
 
20
21
  Dir.glob("#{File.dirname(__FILE__)}/commands/*.rb").each{|rb|
21
22
  require(rb)
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.135
4
+ version: 2.0.136
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lou Parslow