heroics 0.0.15 → 0.0.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/heroics/version.rb +1 -1
- data/lib/heroics/views/client.erb +2 -2
- 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: 71ffe47375db83f6d799ab0fba948893c9e242b2
|
4
|
+
data.tar.gz: b38fd2974615c491bebab27ef593a91769247af6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5aae57f3c48275ac9d1c70008cdd64322e39ee44ce44adc3b0e88cf824fbf4904ab41547b0d423e7c42458b27cccbe521050532eec011ad677d0ea3a705d9ae1
|
7
|
+
data.tar.gz: e0fc57b7e0e20fca7fd5ca5a1d069597c4f311183bfe440b7be33645342f0781e574808b4cca29cfb093f9a92b3393e8a89b49b247c8ecf0750ff6e16be1cbff
|
data/lib/heroics/version.rb
CHANGED
@@ -66,8 +66,8 @@ module <%= @module_name %>
|
|
66
66
|
if options[:default_headers]
|
67
67
|
final_options[:default_headers].merge!(options[:default_headers])
|
68
68
|
end
|
69
|
-
final_options[:cache] = options[:cache]
|
70
|
-
final_options[:url] = options[:url]
|
69
|
+
final_options[:cache] = options[:cache] || <%= @cache %>
|
70
|
+
final_options[:url] = options[:url] if options[:url]
|
71
71
|
final_options[:user] = options[:user] if options[:user]
|
72
72
|
final_options
|
73
73
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: heroics
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- geemus
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-03-
|
12
|
+
date: 2016-03-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|