resourcelogic 0.12.0 → 0.12.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.
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
- :patch: 0
2
+ :patch: 1
3
3
  :major: 0
4
4
  :minor: 12
@@ -10,12 +10,12 @@ module Resourcelogic
10
10
  end
11
11
 
12
12
  def method_missing(method_name, &block)
13
- existing = self[method_name]
14
- if existing
15
- existing[0] = method_name
16
- existing[1] = block || nil
13
+ @responses.delete self[method_name]
14
+ value = [method_name, block || nil]
15
+ if method_name == :html
16
+ @responses.unshift(value)
17
17
  else
18
- @responses << [method_name, block || nil]
18
+ @responses << value
19
19
  end
20
20
  end
21
21
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{resourcelogic}
5
- s.version = "0.12.0"
5
+ s.version = "0.12.1"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Ben Johnson of Binary Logic"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: resourcelogic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.12.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Johnson of Binary Logic