lev 2.0.3 → 2.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lev (2.0.3)
4
+ lev (2.0.4)
5
5
  actionpack (>= 3.0)
6
6
  active_attr
7
7
  activemodel (>= 3.0)
data/lib/lev/handler.rb CHANGED
@@ -8,7 +8,7 @@ module Lev
8
8
  # Hack to provide ActiveAttr's Boolean type concisely
9
9
  def self.boolean; ActiveAttr::Typecasting::Boolean; end
10
10
 
11
- def as_hash(keys)
11
+ def as_hash(*keys)
12
12
  keys = [keys].flatten.compact
13
13
  Hash[keys.collect { |key| [key, self.send(key)] }]
14
14
  end
data/lib/lev/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Lev
2
- VERSION = "2.0.3"
2
+ VERSION = "2.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lev
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.3
4
+ version: 2.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -246,7 +246,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
246
246
  version: '0'
247
247
  segments:
248
248
  - 0
249
- hash: 3100955382982475152
249
+ hash: 1726460375409349289
250
250
  required_rubygems_version: !ruby/object:Gem::Requirement
251
251
  none: false
252
252
  requirements:
@@ -255,7 +255,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
255
255
  version: '0'
256
256
  segments:
257
257
  - 0
258
- hash: 3100955382982475152
258
+ hash: 1726460375409349289
259
259
  requirements: []
260
260
  rubyforge_project:
261
261
  rubygems_version: 1.8.25