percy-client 1.13.3 → 1.13.4

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
  SHA1:
3
- metadata.gz: 1b61b498283e49d9a07af018cd13f91882247837
4
- data.tar.gz: d7012eb2dc17c9a62d533a475b7ba54c1d6396e9
3
+ metadata.gz: ea5367f8b1235063a60b2f8e530b31856eb397cc
4
+ data.tar.gz: 452d020054cfcb829c4d3a0d111debd16c72a8d2
5
5
  SHA512:
6
- metadata.gz: d65e28daf94000046cb06ebfb5fa2e4df0e03c334f8fe4af11593dda5aac605783be3afb5d7f4c46abf08edc3f9e6157d6b27ec5203f57927105a706a1740914
7
- data.tar.gz: 55b0ecf32b992861a7334f7ad844ab9c614f645698fa907f596672dfa105ddbf979ca0becc8dbb3f17ff5bf711412380c5a7404ffa28da792d14cd448b15f387
6
+ metadata.gz: 3648ecf2de77ea2965924b8c32d86e3cd3b90ef3b4de8b779b327de4225c373d9bfe5b9cd3952bbcf5eed3686872ae15f4c8ff0ce3f7c3b257fc34c6844a0c53
7
+ data.tar.gz: 121adbe5d8e8ac6934c3863cb7fea5d22a29c766dc14517eab2c731de128b4aa572342223f4b4400363f0802001a48c3fccb2673435087c42b521771aa6791b2
@@ -0,0 +1,21 @@
1
+ environment:
2
+ matrix:
3
+ - RUBY_VERSION: 22
4
+ - RUBY_VERSION: 21
5
+
6
+ # Install scripts. (runs after repo cloning)
7
+ install:
8
+ - set PATH=C:\Ruby%RUBY_VERSION%\bin;%PATH%
9
+ - bundle install
10
+
11
+ before_test:
12
+ - ruby -v
13
+ - gem -v
14
+ - bundle -v
15
+
16
+ # Post-install test scripts.
17
+ test_script:
18
+ - bundle exec rspec
19
+
20
+ build:
21
+ off
@@ -90,7 +90,11 @@ module Percy
90
90
  # @private
91
91
  def self._raw_commit_output(commit_sha)
92
92
  format = GIT_FORMAT_LINES.join('%n') # "git show" format uses %n for newlines.
93
- output = `git show --quiet #{commit_sha} --format="#{format}" 2> /dev/null`.strip
93
+ output = if Gem.win_platform?
94
+ `git show --quiet #{commit_sha} --format="#{format}" 2> NUL`.strip
95
+ else
96
+ `git show --quiet #{commit_sha} --format="#{format}" 2> /dev/null`.strip
97
+ end
94
98
  return if $CHILD_STATUS.to_i != 0
95
99
  output
96
100
  end
@@ -1,5 +1,5 @@
1
1
  module Percy
2
2
  class Client
3
- VERSION = '1.13.3'.freeze
3
+ VERSION = '1.13.4'.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.13.3
4
+ version: 1.13.4
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-08-08 00:00:00.000000000 Z
11
+ date: 2017-09-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -153,6 +153,7 @@ files:
153
153
  - README.md
154
154
  - RELEASING.md
155
155
  - Rakefile
156
+ - appveyor.yml
156
157
  - lib/percy.rb
157
158
  - lib/percy/client.rb
158
159
  - lib/percy/client/builds.rb
@@ -202,7 +203,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
202
203
  version: '0'
203
204
  requirements: []
204
205
  rubyforge_project:
205
- rubygems_version: 2.6.12
206
+ rubygems_version: 2.6.13
206
207
  signing_key:
207
208
  specification_version: 4
208
209
  summary: Percy::Client