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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 193ff7a08d4a5dbde2306d0469e753d8b9deeb1a
4
- data.tar.gz: 844ec43a88779d90942d8fd142df1f5056f5d99d
3
+ metadata.gz: fe6e5d6a5fc015d71a6d33b4e8d17586d6e549f9
4
+ data.tar.gz: de697f9395a54014fca4dfdfef708f70e9ddf327
5
5
  SHA512:
6
- metadata.gz: 12f997d8b8919c70acbe19eb1075ec37b6af3d96619e117998c57a13af8b756c83d298c7ca1b2c81cce6f10cc7c8bc0a58ae7505b6f6fb964660e5fbddba3809
7
- data.tar.gz: ffa9f9695a4ba1c71c985739862a6438cf6154caea2e6c185b7b967a89df8c6ce0a5f68b6e987dbca12b21262f8910fb23656f42e204e026017391a1694fd1e5
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
- data = {
39
+ return {
40
40
  # The only required attribute:
41
41
  branch: branch,
42
42
  # An optional but important attribute:
@@ -1,5 +1,5 @@
1
1
  module Percy
2
2
  class Client
3
- VERSION = '1.9.1'
3
+ VERSION = '1.9.2'
4
4
  end
5
5
  end
@@ -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
- attr_accessor :access_token
15
- attr_accessor :api_url
16
- attr_accessor :debug
17
- attr_accessor :repo
18
- attr_accessor :default_widths
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: percy-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.1
4
+ version: 1.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Perceptual Inc.