percy-cli 1.3.1 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/percy/cli.rb +0 -4
- data/lib/percy/cli/snapshot_runner.rb +1 -2
- data/lib/percy/cli/version.rb +1 -1
- data/percy-cli.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9db857bea23cb6853557aa5ef77e7cfd06919188
|
4
|
+
data.tar.gz: 6aeb9055b7fc4b8992f7282e20e513e43a3c4c63
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a539c5cca20fb54beb6da81ef6e10706f6658b265093aabaacab060c118d4e63face36bbfbd67d794a67341ab158394dcb5599bc02601ca4e3f4f36360ff1dee
|
7
|
+
data.tar.gz: 2d4f2876d026442e3fde78409b976dd502d1991f7356019567cfbf8d26c6f991587021eca3317ba59edcceafce68b67e47b03c9b3c04b87b01e000547b3cfeb6
|
data/lib/percy/cli.rb
CHANGED
@@ -38,10 +38,6 @@ module Percy
|
|
38
38
|
'--strip_prefix PATH',
|
39
39
|
String,
|
40
40
|
'Directory path to strip from generated URLs. Defaults to the given root directory.'
|
41
|
-
c.option \
|
42
|
-
'--repo STRING',
|
43
|
-
String,
|
44
|
-
'Full GitHub repo slug (owner/repo-name). Defaults to the local git repo origin URL.'
|
45
41
|
c.option \
|
46
42
|
'--snapshots_regex REGEX',
|
47
43
|
String,
|
@@ -36,7 +36,6 @@ module Percy
|
|
36
36
|
ignore_regex = options[:ignore_regex]
|
37
37
|
widths = options[:widths].map { |w| Integer(w) }
|
38
38
|
num_threads = options[:threads] || 10
|
39
|
-
repo = options[:repo] || Percy.config.repo
|
40
39
|
baseurl = options[:baseurl] || '/'
|
41
40
|
raise ArgumentError, 'baseurl must start with /' if baseurl[0] != '/'
|
42
41
|
|
@@ -66,7 +65,7 @@ module Percy
|
|
66
65
|
build = _rescue_connection_failures do
|
67
66
|
say 'Creating build...'
|
68
67
|
|
69
|
-
build = client.create_build(
|
68
|
+
build = client.create_build(resources: build_resources)
|
70
69
|
|
71
70
|
say 'Uploading build resources...'
|
72
71
|
_upload_missing_resources(build, build, all_resources, num_threads: num_threads)
|
data/lib/percy/cli/version.rb
CHANGED
data/percy-cli.gemspec
CHANGED
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
|
|
20
20
|
spec.require_paths = ['lib']
|
21
21
|
|
22
22
|
spec.add_dependency 'commander', '~> 4.3'
|
23
|
-
spec.add_dependency 'percy-client', '~>
|
23
|
+
spec.add_dependency 'percy-client', '~> 2.0'
|
24
24
|
spec.add_dependency 'thread', '~> 0.2'
|
25
25
|
spec.add_dependency 'addressable', '~> 2'
|
26
26
|
|
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.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Perceptual Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-09-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: commander
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '2.0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '2.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: thread
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|