git-semver-cop 1.4.0 → 1.4.1

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: 736f1724f7bf5e8cbda82eb020ce86958ee02c5c
4
- data.tar.gz: 750a3ba967c8ef320bd62f791306abdd961844f2
3
+ metadata.gz: 5bb00178f4845698d59499695e71c8fec70b78ac
4
+ data.tar.gz: b96bcbc4f812648cae244519c6edac7e9590d466
5
5
  SHA512:
6
- metadata.gz: c5085e21a6cfec811774fc168b32c5db9cce87cef2f89aacd90318102cab3ea854ee326390a1924d8f692fa972e481b6e225338521f130f48165b7801c070a79
7
- data.tar.gz: 06bebc4b285683f02629b9a0e56b9d340606ff959f04b2e928f7f757fda9bdeb25081b29335bb7c3e9a1482fb72a40ea047c32eece5bdcb92ba5ef8a3240a0db
6
+ metadata.gz: 60b1dad5c6eb7bebea132dfe3ed58c78e701feee0f94ef5ab9201d0033f77bfd7674b362eb2150f9f4df0c3f5f43fdf6acf7bf0a594d9a865eee2508938bc0c5
7
+ data.tar.gz: 44e627fcbf262d349a2a26cca8c4123672eb8bf10bfaab0111d4e2fd552037f50bb5a3889399d6c5c1fdbdd3a291e10ba5d726eb0537c3344dd466e00cffafea
@@ -8,6 +8,7 @@ module GitSemverCop
8
8
  GitSemverCop.constants.each do |klass_sym|
9
9
  klass = GitSemverCop.const_get(klass_sym)
10
10
  next unless klass < GitSemverCop::VersionFile
11
+ p klass
11
12
  klass.exist? && klass.new.update
12
13
  end
13
14
  end
@@ -6,7 +6,7 @@ module GitSemverCop
6
6
  attr_accessor :path
7
7
 
8
8
  def exist?
9
- File.exist?(path)
9
+ path && File.exist?(path)
10
10
  end
11
11
  end
12
12
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-semver-cop
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bernardo Farah
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-18 00:00:00.000000000 Z
11
+ date: 2015-08-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: semver2