modulesync 0.0.2 → 0.0.3

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: 9a7e4ef3f9bd5de2040e04f62850f925aba20a20
4
- data.tar.gz: 3ac19d3125909642f44c6d016355ad958b26edaf
3
+ metadata.gz: 80eb0fc8d80ef1b1c2ca334b6a3897b2ac43f7a6
4
+ data.tar.gz: 64fdbe9a7c894d5cd284ac3c7431ccf78e12fb86
5
5
  SHA512:
6
- metadata.gz: f1613db82402ab0cbb4f3cf88d9b09b85cd097e32521ca6839fc89a7e7832b43e24c47b09f1796d3090d314578cbc916aa84bf7a3e2b9c6c7cdcd83446adc6b4
7
- data.tar.gz: ee0b7e5ac7b193cb2c23afd431521a1f07181f36af12eb65967dace639188fe9eb653eef0bb9b8481ea7871a3cb8636de5f7af6a7fab17d8de96e35007624a28
6
+ metadata.gz: 647516b662a2f16f9d728ef071713d9cecdbc96fc031635ff80b863898f448f1de190d953584c1d1146445cd2da0127f8a1fca25808d2ea10cf831a7a34b32dd
7
+ data.tar.gz: d5448a82187ad533acc6bdbb3f9c4487211830c73350ce30c01e8e03dda69586c4e7f7443007e76ed40436371e03412b401c833f39fdfe5da1ba752980340243
@@ -55,7 +55,7 @@ module ModuleSync
55
55
  # https://github.com/schacon/ruby-git/issues/130
56
56
  def self.untracked_unignored_files(repo)
57
57
  ignored = File.open("#{repo.dir.path}/.gitignore").read.split
58
- repo.status.untracked.keep_if{|f,_| !ignored.any?{|i| f.match(/#{i}/)}}
58
+ repo.status.untracked.keep_if{|f,_| !ignored.any?{|i| File.fnmatch(i, f)}}
59
59
  end
60
60
 
61
61
  def self.update_noop(name, branch)
data/modulesync.gemspec CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = 'modulesync'
7
- spec.version = '0.0.2'
7
+ spec.version = '0.0.3'
8
8
  spec.authors = ['Colleen Murphy']
9
9
  spec.email = ['colleen@puppetlabs.com']
10
10
  spec.summary = %q{Puppet Module Synchronizer}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: modulesync
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Colleen Murphy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-02 00:00:00.000000000 Z
11
+ date: 2014-09-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler