deepstruct 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -28,8 +28,8 @@ module DeepStruct
28
28
  end
29
29
 
30
30
  class HashWrapper < DeepWrapper
31
- def respond_to?(method)
32
- @value.respond_to?(method) || self.has_key?(method.to_s.chomp('='))
31
+ def respond_to?(method, include_private = false)
32
+ @value.respond_to?(method, include_private) || self.has_key?(method.to_s.chomp('='))
33
33
  end
34
34
 
35
35
  # Given a symbol or a string this yields the variant of the key that
@@ -1,3 +1,3 @@
1
1
  module Deepstruct
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deepstruct
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-22 00:00:00.000000000 Z
12
+ date: 2012-11-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
@@ -75,7 +75,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
75
75
  version: '0'
76
76
  segments:
77
77
  - 0
78
- hash: 495989173450393411
78
+ hash: -4475093401064523013
79
79
  required_rubygems_version: !ruby/object:Gem::Requirement
80
80
  none: false
81
81
  requirements:
@@ -84,7 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
84
84
  version: '0'
85
85
  segments:
86
86
  - 0
87
- hash: 495989173450393411
87
+ hash: -4475093401064523013
88
88
  requirements: []
89
89
  rubyforge_project: deepstruct
90
90
  rubygems_version: 1.8.24