dot_hash 0.2.5 → 0.2.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -17,8 +17,8 @@ module DotHash
17
17
  class << self
18
18
  attr_reader :instance
19
19
 
20
- def method_missing(key)
21
- instance.public_send key
20
+ def method_missing(key, *args, &block)
21
+ instance.public_send key, *args, &block
22
22
  end
23
23
 
24
24
  def respond_to?(key)
@@ -1,3 +1,3 @@
1
1
  module DotHash
2
- VERSION = "0.2.5"
2
+ VERSION = "0.2.6"
3
3
  end
@@ -51,6 +51,7 @@ module DotHash
51
51
 
52
52
  it "gets hash properties" do
53
53
  Settings.site.must_equal "skyo.com"
54
+ Settings['site'].must_equal "skyo.com"
54
55
  end
55
56
  end
56
57
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dot_hash
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -66,7 +66,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
66
66
  version: '0'
67
67
  segments:
68
68
  - 0
69
- hash: 4595175337446195282
69
+ hash: 2623503785783135316
70
70
  required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  none: false
72
72
  requirements:
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  version: '0'
76
76
  segments:
77
77
  - 0
78
- hash: 4595175337446195282
78
+ hash: 2623503785783135316
79
79
  requirements: []
80
80
  rubyforge_project:
81
81
  rubygems_version: 1.8.24