percy-client 1.14.0 → 1.14.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3525d66c956ecb360fe87f8a01fe706140001884cc99ffbf4a14c8c7d7e28e0c
4
- data.tar.gz: f5dd3fce2efc074b53f06c5d7d2dc36f85825d4f5d369dcc3489ee79eb993354
3
+ metadata.gz: 786c3912f514917d00d4800f145b38840a6249428a6643d3d618166698b21962
4
+ data.tar.gz: 54e3fb3b19fbe27b94cddf6123e6b1718f60974887f30bbf1d315070ba28c2de
5
5
  SHA512:
6
- metadata.gz: 522007786801cb6df041e4fdf7daf01849f8657fbfd4d1d55929b64c61dc30f4429c314c1b01b914733baa7b5afad7a8ecd8a9302825813526d52da469a0c90a
7
- data.tar.gz: 8d9a03daa93f8c778160b77f2c46dd7925d185be3519d33470196593d7bd1460eeca62ee9dc778ca70e4cd638a35ae82f23d2e15f6ab300115a74f75bc02bf74
6
+ metadata.gz: 76ec81679f4c59332a2d672f8395f4ad28f20c0d3fb9d5cd2244895f6c08902e02fbd4ee0943c5b6bec80eed4345333bbd5792751b8e4e8a8cbb3543558427a3
7
+ data.tar.gz: 708df3a6f17796f96430481faf93966af018b08efe621f18393549928037e0589a1cec1634072d29ec46673deca44a6e3e798d6db6c28208deb1798686e78eba
@@ -7,4 +7,4 @@ RSpec/InstanceVariable:
7
7
  - spec/lib/percy/client/environment_spec.rb
8
8
 
9
9
  AllCops:
10
- TargetRubyVersion: 2.1
10
+ TargetRubyVersion: 2.2
@@ -13,9 +13,9 @@ module Percy
13
13
  parallel_total_shards = options[:parallel_total_shards] \
14
14
  || Percy::Client::Environment.parallel_total_shards
15
15
 
16
- # Only pass parallelism data if it all exists and there is more than 1 shard.
16
+ # Only pass parallelism data if it all exists and there is more than 1, or exactly -1 shard.
17
17
  in_parallel_environment = parallel_nonce && \
18
- parallel_total_shards && parallel_total_shards > 1
18
+ parallel_total_shards && parallel_total_shards > 1 || parallel_total_shards == -1
19
19
 
20
20
  unless in_parallel_environment
21
21
  parallel_nonce = nil
@@ -1,5 +1,5 @@
1
1
  module Percy
2
2
  class Client
3
- VERSION = '1.14.0'.freeze
3
+ VERSION = '1.14.1'.freeze
4
4
  end
5
5
  end
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.14.0
4
+ version: 1.14.1
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-06-12 00:00:00.000000000 Z
11
+ date: 2018-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday