percy-client 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/percy/client/resources.rb +6 -0
- data/lib/percy/client/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 38079cf3929991dac36dafcec0f7d74f9c028932
|
4
|
+
data.tar.gz: 54075dce61dbd5973892706b30c10ae18176d057
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 273681bc819851c01cc1a96aed84215737927d9e19862e430917311c09b8defd03ac4345800f72b4159ee6ee582898650c5111e84ecdbfb7dcf24a99bcc0f396
|
7
|
+
data.tar.gz: 8e040316357f34c6014f1620aa5c69b36e8b0186b42523dbb9cc263b80f0e06520a8b19b55feb93e4ed230f0bbf5444182acaa7dc71159a395bc57940c70d1c2
|
@@ -32,6 +32,12 @@ module Percy
|
|
32
32
|
'is-root' => is_root,
|
33
33
|
}
|
34
34
|
end
|
35
|
+
|
36
|
+
def inspect
|
37
|
+
content_msg = content.nil? ? '' : "content.length: #{content.length}"
|
38
|
+
"<Resource #{sha} #{resource_url} is_root:#{!!is_root} #{mimetype} #{content_msg}>"
|
39
|
+
end
|
40
|
+
alias_method :to_s, :inspect
|
35
41
|
end
|
36
42
|
|
37
43
|
module Resources
|
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: 0.1.
|
4
|
+
version: 0.1.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: 2015-05-
|
11
|
+
date: 2015-05-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -186,3 +186,4 @@ test_files:
|
|
186
186
|
- spec/lib/percy_spec.rb
|
187
187
|
- spec/spec_helper.rb
|
188
188
|
- spec/support/vcr_setup.rb
|
189
|
+
has_rdoc:
|