percy-client 0.2.0 → 0.2.1

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: 57de4095c492140de71e9e68e014233241b66b47
4
- data.tar.gz: dda677d05edec53b0b6567cbc45ed60532fdd2dd
3
+ metadata.gz: 0f929f5a67990d008da09119f21354fb66e13865
4
+ data.tar.gz: 54fea659f729113f711c61c06fc0e3d9c770b741
5
5
  SHA512:
6
- metadata.gz: 15291bdb20c25c78b80acf5ded6ac30d1480ba873ace46e175d1e5baba212b4a58470f77acf0bc675f2b10fff155895b575bd82e8a5a5e14d9f61a24097aad84
7
- data.tar.gz: 6be1ec1444b0e1e195133ef175e8cfbf103a863793a0040360ae19db01c67ac34d261fb0810f6650dd641a1414aa61f4eef8878d6aa6c76c687262cdf9dd7900
6
+ metadata.gz: 24f685931545d35fb1d8da97631c6a17725d9650a39cd8434b178994778e1a04c9d4b24c7d177dcbc681b160119a289cab22524e53ce55755808f2cc882823fd
7
+ data.tar.gz: d8099b7ba65f411ade0c2b29166abfb939390fece04cbe14f7bd36ed858b09bdc3400548ecb3f32dff8f0dcac7e19241e166d01d8cd8e83973c8fe4331051243
@@ -11,6 +11,7 @@ module Percy
11
11
  attr_accessor :is_root
12
12
  attr_accessor :mimetype
13
13
  attr_accessor :content
14
+ attr_accessor :path
14
15
 
15
16
  def initialize(resource_url, options = {})
16
17
  @resource_url = resource_url
@@ -24,9 +25,10 @@ module Percy
24
25
  @is_root = options[:is_root]
25
26
  @mimetype = options[:mimetype]
26
27
 
27
- # For user convenience of temporarily storing content with other data, but the actual data
28
- # is never included when serialized.
28
+ # For optional convenience of temporarily storing the local content and path with this
29
+ # object. These are never included when serialized.
29
30
  @content = options[:content]
31
+ @path = options[:path]
30
32
  end
31
33
 
32
34
  def serialize
@@ -1,5 +1,5 @@
1
1
  module Percy
2
2
  class Client
3
- VERSION = '0.2.0'
3
+ VERSION = '0.2.1'
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.2.0
4
+ version: 0.2.1
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-06-03 00:00:00.000000000 Z
11
+ date: 2015-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday