render-component 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/render/component/client.rb +3 -3
- data/lib/render/component/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: 12bcb63bed1ade5adad632375ff23370655b63cf
|
4
|
+
data.tar.gz: 5d327f6cb1d3cefce63e54b8733fe50e9af8a0a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 43ab72cf0933778d0a50b49d593d2b1a338ffe0130c9055aa00c2b9c6411df9ce9f8b18591e68a5a6490c3a0626ab6a69ef1d4673b6a79ccc3c6a694f688ae57
|
7
|
+
data.tar.gz: eca79d4ddac8c64920e8c11545f9a1255261d694786d5de966b50cc6be557cdbe8acf220291096b4645e748852c7ea692c06ae4a5046c6231cfd9890f5263fb3
|
data/Gemfile.lock
CHANGED
@@ -26,9 +26,9 @@ class Render::Component::Client
|
|
26
26
|
end
|
27
27
|
|
28
28
|
def apply_default_attributes(attributes)
|
29
|
-
|
30
|
-
|
31
|
-
JSON.generate(
|
29
|
+
attributes = JSON.parse(attributes) unless attributes.is_a?(Hash)
|
30
|
+
attributes['base_path'] = default_base_path
|
31
|
+
JSON.generate(attributes)
|
32
32
|
end
|
33
33
|
|
34
34
|
def default_base_path
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: render-component
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lucas Gomide
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-07-
|
11
|
+
date: 2016-07-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: curb
|