percy-client 1.13.3 → 1.13.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/appveyor.yml +21 -0
- data/lib/percy/client/environment.rb +5 -1
- data/lib/percy/client/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ea5367f8b1235063a60b2f8e530b31856eb397cc
|
4
|
+
data.tar.gz: 452d020054cfcb829c4d3a0d111debd16c72a8d2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3648ecf2de77ea2965924b8c32d86e3cd3b90ef3b4de8b779b327de4225c373d9bfe5b9cd3952bbcf5eed3686872ae15f4c8ff0ce3f7c3b257fc34c6844a0c53
|
7
|
+
data.tar.gz: 121adbe5d8e8ac6934c3863cb7fea5d22a29c766dc14517eab2c731de128b4aa572342223f4b4400363f0802001a48c3fccb2673435087c42b521771aa6791b2
|
data/appveyor.yml
ADDED
@@ -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 =
|
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
|
data/lib/percy/client/version.rb
CHANGED
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.
|
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-
|
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.
|
206
|
+
rubygems_version: 2.6.13
|
206
207
|
signing_key:
|
207
208
|
specification_version: 4
|
208
209
|
summary: Percy::Client
|