diff --git a/RELEASING.md b/RELEASING.md index b426839..217ddac 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -8,7 +8,7 @@ ```bash bundle exec rake build -gem push pkg/percy-client-1.XX.XX.gem +gem push pkg/percy-client-2.XX.XX.gem ``` _The gem cli will prompt you for email and password. Find the diff --git a/lib/percy/client/builds.rb b/lib/percy/client/builds.rb index e0fe695..3f5caa7 100644 --- a/lib/percy/client/builds.rb +++ b/lib/percy/client/builds.rb @@ -9,6 +9,7 @@ def create_build(options = {}) target_commit_sha = options[:target_commit_sha] \ || Percy::Client::Environment.target_commit_sha resources = options[:resources] + disable_transformations = options[:disable_transformations] parallel_nonce = options[:parallel_nonce] || Percy::Client::Environment.parallel_nonce parallel_total_shards = options[:parallel_total_shards] \ || Percy::Client::Environment.parallel_total_shards @@ -39,6 +40,7 @@ def create_build(options = {}) 'pull-request-number' => pull_request_number, 'parallel-nonce' => parallel_nonce, 'parallel-total-shards' => parallel_total_shards, + 'disable-transformations' => disable_transformations, }, }, } diff --git a/lib/percy/client/version.rb b/lib/percy/client/version.rb index 9fc8b1e..c5da528 100644 --- a/lib/percy/client/version.rb +++ b/lib/percy/client/version.rb @@ -1,5 +1,5 @@ module Percy class Client - VERSION = '2.0.4'.freeze + VERSION = '2.0.6'.freeze end end diff --git a/percy-client.gemspec b/percy-client.gemspec index d8923fe..a676871 100644 --- a/percy-client.gemspec +++ b/percy-client.gemspec @@ -19,7 +19,7 @@ Gem::Specification.new do |spec| spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) spec.require_paths = ['lib'] - spec.add_dependency 'faraday', '>= 0.9' + spec.add_dependency 'faraday', '0.17.3' spec.add_dependency 'excon' spec.add_dependency 'addressable' diff --git a/spec/lib/percy/client/builds_spec.rb b/spec/lib/percy/client/builds_spec.rb index 752da1c..f235ab8 100644 --- a/spec/lib/percy/client/builds_spec.rb +++ b/spec/lib/percy/client/builds_spec.rb @@ -22,6 +22,7 @@ 'commit-committer-name' => kind_of(String), 'commit-committer-email' => kind_of(String), 'commit-message' => kind_of(String), + 'disable-transformations' => nil, 'pull-request-number' => anything, 'parallel-nonce' => nil, 'parallel-total-shards' => nil, @@ -96,6 +97,7 @@ 'commit-committer-name' => kind_of(String), 'commit-committer-email' => kind_of(String), 'commit-message' => kind_of(String), + 'disable-transformations' => nil, 'pull-request-number' => '123', 'parallel-nonce' => 'nonce', 'parallel-total-shards' => 4,