percy-client 1.9.1 → 1.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/percy/client/environment.rb +1 -1
- data/lib/percy/client/version.rb +1 -1
- data/lib/percy/config.rb +6 -6
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fe6e5d6a5fc015d71a6d33b4e8d17586d6e549f9
|
4
|
+
data.tar.gz: de697f9395a54014fca4dfdfef708f70e9ddf327
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 339be04f0286083660610c13c94993c60cc10e42f28867881bd59039562de5caba17365dc495ac330ab04277ee4941a747d04c00789cbbeb370310264f5d768c
|
7
|
+
data.tar.gz: 7726037097b659e98f2e9d4cc8c62df8cc073d452a3b3f2dce271ed9621ae0981408fc960405bb738e1206952d1d198083567ba9e508977c392732f870e68b0f
|
@@ -36,7 +36,7 @@ module Percy
|
|
36
36
|
|
37
37
|
# If not running in a git repo, allow nils for certain commit attributes.
|
38
38
|
extract_or_nil = lambda { |regex| (output && output.match(regex) || [])[1] }
|
39
|
-
|
39
|
+
return {
|
40
40
|
# The only required attribute:
|
41
41
|
branch: branch,
|
42
42
|
# An optional but important attribute:
|
data/lib/percy/client/version.rb
CHANGED
data/lib/percy/config.rb
CHANGED
@@ -11,11 +11,11 @@ module Percy
|
|
11
11
|
# @!attribute default_widths
|
12
12
|
# @return [Array] List of default widths for snapshot rendering unless overridden.
|
13
13
|
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
14
|
+
attr_writer :access_token
|
15
|
+
attr_writer :api_url
|
16
|
+
attr_writer :debug
|
17
|
+
attr_writer :repo
|
18
|
+
attr_writer :default_widths
|
19
19
|
|
20
20
|
# List of configurable keys for {Percy::Client}
|
21
21
|
# @return [Array] Option keys.
|
@@ -50,4 +50,4 @@ module Percy
|
|
50
50
|
@default_widths ||= []
|
51
51
|
end
|
52
52
|
end
|
53
|
-
end
|
53
|
+
end
|