percy-client 0.2.0 → 0.2.1
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 +4 -4
- data/lib/percy/client/resources.rb +4 -2
- data/lib/percy/client/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0f929f5a67990d008da09119f21354fb66e13865
|
|
4
|
+
data.tar.gz: 54fea659f729113f711c61c06fc0e3d9c770b741
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
|
28
|
-
#
|
|
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
|
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.2.
|
|
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-
|
|
11
|
+
date: 2015-06-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|