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 +4 -4
- data/README.md +1 -1
- data/lib/percy/cli/snapshot.rb +4 -2
- data/lib/percy/cli/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc0930230e17aa0668866268c7a992efa751bd71
|
4
|
+
data.tar.gz: 7b8dcae51ee60687dac2ded845522736a70f7c12
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3273e2c7db96c13e730a65ede5d67186c9d684c710a879e814ebbd684fc408ea2c220e667a8f12e62d0262a5208d05d7d9fa8f11541c5e440280b91842f5bf0b
|
7
|
+
data.tar.gz: 37b9afba0d10c80e8b04791dd0a1123dca54faa0bc4ad9a628c9ea3fb11f219e1b6dc3d09b6858181f462d11c96e7bd08e2b268f4bda0fd0a8b7ac4fa8017798
|
data/README.md
CHANGED
data/lib/percy/cli/snapshot.rb
CHANGED
@@ -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
|
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
|
|
data/lib/percy/cli/version.rb
CHANGED
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.
|
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-
|
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.
|
161
|
+
rubygems_version: 2.4.8
|
162
162
|
signing_key:
|
163
163
|
specification_version: 4
|
164
164
|
summary: Percy command-line interface
|