unveil 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/unveil/core_ext.rb +2 -2
  2. data/lib/unveil.rb +1 -1
  3. metadata +3 -3
@@ -1,5 +1,5 @@
1
1
  Array.class_eval do
2
- def unveil
3
- map &:unveil
2
+ def unveil(options = {})
3
+ map {|obj| obj.unveil(options)}
4
4
  end
5
5
  end
data/lib/unveil.rb CHANGED
@@ -15,7 +15,7 @@ module Unveil
15
15
 
16
16
  module InstanceMethods
17
17
  def unveil(options = {})
18
- serializable_hash(self.class.unveil_options.reverse_merge(options))
18
+ serializable_hash(self.class.unveil_options.merge(options))
19
19
  end
20
20
  end
21
21
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 1
9
- version: 0.1.1
8
+ - 2
9
+ version: 0.1.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Shaun Chapman
@@ -63,6 +63,6 @@ rubyforge_project: unveil
63
63
  rubygems_version: 1.3.7
64
64
  signing_key:
65
65
  specification_version: 3
66
- summary: Specify what's available to an API
66
+ summary: Build custom objects for use in an API
67
67
  test_files: []
68
68