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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bdab0f8284a32f328fb7dc4741ca66373dbf05ae
4
- data.tar.gz: 1d43a124e5727b0fe60d20b51a7bc370af2d5b3e
3
+ metadata.gz: 38079cf3929991dac36dafcec0f7d74f9c028932
4
+ data.tar.gz: 54075dce61dbd5973892706b30c10ae18176d057
5
5
  SHA512:
6
- metadata.gz: 39677cbd0273d1f524160396a5a422146c2277a906a85c4ec7d41922c12b64df450a3dc02c85f40b9612e6fce96ad54161522ab125654461d5659b4e2e025bec
7
- data.tar.gz: 6368f16f4aade526c1389aa1da24a800c35cef56607cee402d9e61ea398fc1de5c5f41a0c4f0c7bcf2aac9fbdb6a7a678530f6981aa386cb9e0ce93c785ee44d
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
@@ -1,5 +1,5 @@
1
1
  module Percy
2
2
  class Client
3
- VERSION = '0.1.3'
3
+ VERSION = '0.1.4'
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: 0.1.3
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-20 00:00:00.000000000 Z
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: