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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5fdba196ca9514256d462ec682debf617bf37f16
4
- data.tar.gz: af76b3f90fd215ee446b0c954b35dbf9071c3b2e
3
+ metadata.gz: 71ffe47375db83f6d799ab0fba948893c9e242b2
4
+ data.tar.gz: b38fd2974615c491bebab27ef593a91769247af6
5
5
  SHA512:
6
- metadata.gz: a73cb1eba0b3ae7f3390612af5b99fdbd323a73838f810c569179bd0d6f25a15f85b500d1d934e37f627de84e802fc5b9c1d6674b3b0c3e81f6bf3bd66fd50e6
7
- data.tar.gz: 313d065db244cb6c99c5ccb02ec781188125f5de45c35c77630966d046c3b6443a6e3217c20637fbbebb7b4dd5a6eb5c0279b0c14e9d4987790dc3db2dc013ee
6
+ metadata.gz: 5aae57f3c48275ac9d1c70008cdd64322e39ee44ce44adc3b0e88cf824fbf4904ab41547b0d423e7c42458b27cccbe521050532eec011ad677d0ea3a705d9ae1
7
+ data.tar.gz: e0fc57b7e0e20fca7fd5ca5a1d069597c4f311183bfe440b7be33645342f0781e574808b4cca29cfb093f9a92b3393e8a89b49b247c8ecf0750ff6e16be1cbff
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Heroics
3
- VERSION = '0.0.15'
3
+ VERSION = '0.0.16'
4
4
  end
@@ -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] if options[:cache]
70
- final_options[:url] = options[:url] || <%= @cache %>
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.15
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-07 00:00:00.000000000 Z
12
+ date: 2016-03-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler