figleaf 0.0.2 → 0.0.3

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/Gemfile CHANGED
@@ -1,4 +1,3 @@
1
1
  source :rubygems
2
2
 
3
3
  gemspec
4
- gem 'hashie', git: 'https://github.com/intridea/hashie.git'
data/Gemfile.lock CHANGED
@@ -1,13 +1,7 @@
1
- GIT
2
- remote: https://github.com/intridea/hashie.git
3
- revision: 8dd0fec950c33373c5c954d7ac72df4724334b12
4
- specs:
5
- hashie (2.0.0.beta)
6
-
7
1
  PATH
8
2
  remote: .
9
3
  specs:
10
- figleaf (0.0.2)
4
+ figleaf (0.0.3)
11
5
  activesupport
12
6
  hashie
13
7
 
@@ -19,6 +13,7 @@ GEM
19
13
  multi_json (~> 1.0)
20
14
  coderay (1.0.7)
21
15
  diff-lcs (1.1.3)
16
+ hashie (1.2.0)
22
17
  i18n (0.6.0)
23
18
  method_source (0.8)
24
19
  multi_json (1.3.6)
@@ -42,7 +37,6 @@ PLATFORMS
42
37
 
43
38
  DEPENDENCIES
44
39
  figleaf!
45
- hashie!
46
40
  pry
47
41
  rake
48
42
  rspec
@@ -1,7 +1,14 @@
1
1
  module Figleaf
2
- class Fighash < Hash
3
- include Hashie::Extensions::IndifferentAccess
4
- include Hashie::Extensions::MergeInitializer
5
- include Hashie::Extensions::MethodAccess
2
+ class Fighash < Hashie::Mash
3
+ def method_missing(method_name, *args, &blk)
4
+ return super if key?(method_name)
5
+ case method_name
6
+ when /.*?[?=!]$/
7
+ super(method_name, *args, &blk)
8
+ else
9
+ raise NoMethodError
10
+ end
11
+ end
12
+
6
13
  end
7
14
  end
@@ -1,3 +1,3 @@
1
1
  module Figleaf
2
- VERSION = '0.0.2'
2
+ VERSION = '0.0.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: figleaf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -129,7 +129,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
129
129
  version: '0'
130
130
  segments:
131
131
  - 0
132
- hash: -1491263342896218815
132
+ hash: 3991428366747212632
133
133
  required_rubygems_version: !ruby/object:Gem::Requirement
134
134
  none: false
135
135
  requirements:
@@ -138,7 +138,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
138
138
  version: '0'
139
139
  segments:
140
140
  - 0
141
- hash: -1491263342896218815
141
+ hash: 3991428366747212632
142
142
  requirements: []
143
143
  rubyforge_project:
144
144
  rubygems_version: 1.8.24