percy-client 1.11.0 → 1.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/RELEASING.md +1 -1
- data/lib/percy/client/snapshots.rb +1 -0
- data/lib/percy/client/version.rb +1 -1
- data/spec/cassettes/Percy_Client_Snapshots/_create_snapshot/{overrides_default_widths_if_given.yml → passes_through_certain_arguments.yml} +0 -0
- data/spec/lib/percy/client/snapshots_spec.rb +4 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8556dfa5a032fd21caa62af7e38c2b93ce945a40
|
4
|
+
data.tar.gz: 0d176888922bc1309e4bdd217b34e6c6835356a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 22b2d8ef3a9d9c79f106687ef66c4fb893354512598448c3c36cc193205f8d1746d1902b998a8a8ea90d73f6cfdc1b2edb09ac6a4ce9bab7e11ec288eacaefa1
|
7
|
+
data.tar.gz: 0ce75d192a413664ff2c032c326f688b17748b8cd30cac51746620b5081aedf5271d89ad73da6c02ef66f611602b7faab090e80e51d2426edf1032e8d7816b03
|
data/RELEASING.md
CHANGED
data/lib/percy/client/version.rb
CHANGED
File without changes
|
@@ -19,6 +19,7 @@ RSpec.describe Percy::Client::Snapshots, :vcr do
|
|
19
19
|
'attributes' => {
|
20
20
|
'name' => 'homepage',
|
21
21
|
'enable-javascript' => true,
|
22
|
+
'minimum-height' => nil,
|
22
23
|
'widths' => Percy.config.default_widths,
|
23
24
|
},
|
24
25
|
'relationships' => {
|
@@ -62,7 +63,7 @@ RSpec.describe Percy::Client::Snapshots, :vcr do
|
|
62
63
|
expect(snapshot['data']['attributes']['name']).to eq('homepage')
|
63
64
|
expect(snapshot['data']['relationships']['missing-resources']).to be
|
64
65
|
end
|
65
|
-
it '
|
66
|
+
it 'passes through certain arguments' do
|
66
67
|
build = Percy.create_build('fotinakis/percy-examples')
|
67
68
|
resources = []
|
68
69
|
resources << Percy::Client::Resource.new('/foo/test.html', sha: sha, is_root: true)
|
@@ -78,6 +79,7 @@ RSpec.describe Percy::Client::Snapshots, :vcr do
|
|
78
79
|
'attributes' => {
|
79
80
|
'name' => 'homepage',
|
80
81
|
'enable-javascript' => nil,
|
82
|
+
'minimum-height' => 700,
|
81
83
|
'widths' => [320, 1280],
|
82
84
|
},
|
83
85
|
'relationships' => {
|
@@ -113,6 +115,7 @@ RSpec.describe Percy::Client::Snapshots, :vcr do
|
|
113
115
|
resources,
|
114
116
|
name: 'homepage',
|
115
117
|
widths: [320, 1280],
|
118
|
+
minimum_height: 700,
|
116
119
|
)
|
117
120
|
|
118
121
|
expect(snapshot['data']).to be
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: percy-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.12.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: 2017-
|
11
|
+
date: 2017-06-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -157,7 +157,7 @@ files:
|
|
157
157
|
- spec/cassettes/Percy_Client_Resources/_upload_resource/returns_true_with_success.yml
|
158
158
|
- spec/cassettes/Percy_Client_Snapshots/_create_snapshot/creates_a_snapshot.yml
|
159
159
|
- spec/cassettes/Percy_Client_Snapshots/_create_snapshot/fails_if_no_resources_are_given.yml
|
160
|
-
- spec/cassettes/Percy_Client_Snapshots/_create_snapshot/
|
160
|
+
- spec/cassettes/Percy_Client_Snapshots/_create_snapshot/passes_through_certain_arguments.yml
|
161
161
|
- spec/cassettes/Percy_Client_Snapshots/_finalize_snapshot/finalizes_a_snapshot.yml
|
162
162
|
- spec/lib/percy/client/builds_spec.rb
|
163
163
|
- spec/lib/percy/client/connection_spec.rb
|
@@ -189,7 +189,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
189
189
|
version: '0'
|
190
190
|
requirements: []
|
191
191
|
rubyforge_project:
|
192
|
-
rubygems_version: 2.6.
|
192
|
+
rubygems_version: 2.6.12
|
193
193
|
signing_key:
|
194
194
|
specification_version: 4
|
195
195
|
summary: Percy::Client
|
@@ -201,7 +201,7 @@ test_files:
|
|
201
201
|
- spec/cassettes/Percy_Client_Resources/_upload_resource/returns_true_with_success.yml
|
202
202
|
- spec/cassettes/Percy_Client_Snapshots/_create_snapshot/creates_a_snapshot.yml
|
203
203
|
- spec/cassettes/Percy_Client_Snapshots/_create_snapshot/fails_if_no_resources_are_given.yml
|
204
|
-
- spec/cassettes/Percy_Client_Snapshots/_create_snapshot/
|
204
|
+
- spec/cassettes/Percy_Client_Snapshots/_create_snapshot/passes_through_certain_arguments.yml
|
205
205
|
- spec/cassettes/Percy_Client_Snapshots/_finalize_snapshot/finalizes_a_snapshot.yml
|
206
206
|
- spec/lib/percy/client/builds_spec.rb
|
207
207
|
- spec/lib/percy/client/connection_spec.rb
|