percy-cli 1.2.2 → 1.2.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: 0bacd3f31c9a5045f5f9696e03a55b150d68bbc7
4
- data.tar.gz: 363609d9f91e061966b7b88252b58682ee82ded1
3
+ metadata.gz: bc0930230e17aa0668866268c7a992efa751bd71
4
+ data.tar.gz: 7b8dcae51ee60687dac2ded845522736a70f7c12
5
5
  SHA512:
6
- metadata.gz: dfac04fe59707361fe44d12198747a67537397f7e8cfd7440dd301ba7b86a23a403b4586050ac604a72ec43e76468c311bfc05fdeca327d07dbbf352f3a5f9de
7
- data.tar.gz: 3bf6624f8fbc4929c59b6756b69fcfb951c94cf3bacd00404c40d24d7131e974071bd58e74d9cde208c3e965c70bf86dc98d989c3d63a04c6fc48fd1fa8b4575
6
+ metadata.gz: 3273e2c7db96c13e730a65ede5d67186c9d684c710a879e814ebbd684fc408ea2c220e667a8f12e62d0262a5208d05d7d9fa8f11541c5e440280b91842f5bf0b
7
+ data.tar.gz: 37b9afba0d10c80e8b04791dd0a1123dca54faa0bc4ad9a628c9ea3fb11f219e1b6dc3d09b6858181f462d11c96e7bd08e2b268f4bda0fd0a8b7ac4fa8017798
data/README.md CHANGED
@@ -5,4 +5,4 @@
5
5
 
6
6
  Command-line interface for [Percy](https://percy.io).
7
7
 
8
- #### Docs here: [https://percy.io/docs/static](https://percy.io/docs/static)
8
+ #### Docs here: [https://percy.io/docs/clients/ruby/cli](https://percy.io/docs/clients/ruby/cli)
@@ -115,6 +115,8 @@ module Percy
115
115
 
116
116
  file_paths = []
117
117
  _find_files(dir_path).each do |path|
118
+ # Skip git files.
119
+ next if path.match(/\/\.git\//)
118
120
  # Skip files that don't match the snapshots_regex.
119
121
  next if !path.match(snapshots_regex)
120
122
  file_paths << path
@@ -125,8 +127,8 @@ module Percy
125
127
  def find_resource_paths(dir_path)
126
128
  file_paths = []
127
129
  _find_files(dir_path).each do |path|
128
- # Skip dot files.
129
- next if path.match(/\/\./)
130
+ # Skip git files.
131
+ next if path.match(/\/\.git\//)
130
132
  # Only include files with the above static extensions.
131
133
  next if !Percy::Cli::STATIC_RESOURCE_EXTENSIONS.include?(File.extname(path))
132
134
 
@@ -1,5 +1,5 @@
1
1
  module Percy
2
2
  class Cli
3
- VERSION = '1.2.2'
3
+ VERSION = '1.2.3'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: percy-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Perceptual Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-04 00:00:00.000000000 Z
11
+ date: 2016-07-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: commander
@@ -158,7 +158,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
158
158
  version: '0'
159
159
  requirements: []
160
160
  rubyforge_project:
161
- rubygems_version: 2.2.2
161
+ rubygems_version: 2.4.8
162
162
  signing_key:
163
163
  specification_version: 4
164
164
  summary: Percy command-line interface