dev 2.0.111 → 2.0.112

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 +2 -1
  3. metadata +3 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d32337a3b425a6d4cb0bd17c1d2ca338bd1e3406
4
- data.tar.gz: faded53f3dc0ba392a1f6c2a64de03fe76f2bd81
3
+ metadata.gz: e2d9b4695bc5046333a814ac46848c464ffe1b86
4
+ data.tar.gz: 76c5b0bdc370e791855a29da7e0d97413c45a418
5
5
  SHA512:
6
- metadata.gz: af0bc7ba9402bbcb6b37e2b450f7149617ed49f340b81b3164d8b372ba03f035f9f71a3332ab7ce998052f391c94bb084a6cf12d923f748daa77063c2fb83a2a
7
- data.tar.gz: 4b2cd71f6bfa0bae9c29323ce9acfafaa31e729fa99292d6ab5f742fd295e1462f1aeadbb2f68f110c4fa9599890a567b86df87fbb04b925e33caa1bcb21c919
6
+ metadata.gz: 4b3876851b336be7462aa146e05acac66d2e7b68cbd51032eb0810707c7ea09c5e851903da8a13630f8758d8105e175c202bcf5e33aa079cfecae823cba8c528
7
+ data.tar.gz: 0a32b55a19fbe14e7110fd0636f090d502cf219caf02e9f94d915f399124b9d3495d8d2f5cef35b9369a9957d59c34746ba6dc32c9212027ea258a827aafd0fa
@@ -20,7 +20,8 @@ class Add < Array
20
20
  end
21
21
  if(File.exists?('.git'))
22
22
  SOURCE.each{|f|
23
- add "git add #{f} -v" if `git status #{f}`.include?('untracked')
23
+ status=`git status #{f}`
24
+ add "git add #{f} -v" if status.include?('untracked') || status.include?('modified:')
24
25
  }
25
26
  end
26
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dev
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.111
4
+ version: 2.0.112
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lou Parslow
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-29 00:00:00.000000000 Z
11
+ date: 2015-07-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -89,9 +89,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
89
89
  version: '0'
90
90
  requirements: []
91
91
  rubyforge_project:
92
- rubygems_version: 2.4.5
92
+ rubygems_version: 2.2.3
93
93
  signing_key:
94
94
  specification_version: 4
95
95
  summary: dev
96
96
  test_files: []
97
- has_rdoc: