hash_symbolizer 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -2,7 +2,7 @@
2
2
  require "bundler/gem_tasks"
3
3
  require 'rake/testtask'
4
4
 
5
- task :default => :Test
5
+ task :default => :test
6
6
  Rake::TestTask.new do |t|
7
7
  t.libs << "test"
8
8
  t.pattern = "test/**/*_test.rb"
@@ -2,9 +2,6 @@ class Hash
2
2
  # Return a new hash with all keys converted to symbols, as long as
3
3
  # they respond to +to_sym+.
4
4
  # If recursive is set to true, then keys at all levels will be symbolized.
5
- # undef :symbolize_keys
6
- # undef :symbolize_keys!
7
-
8
5
  def symbolize_keys(recursive = false)
9
6
  dup.symbolize_keys!(recursive)
10
7
  end
@@ -1,3 +1,3 @@
1
1
  module HashSymbolizer
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hash_symbolizer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-04-04 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
16
- requirement: &70148863629780 !ruby/object:Gem::Requirement
16
+ requirement: &70356087425980 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70148863629780
24
+ version_requirements: *70356087425980
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: activesupport
27
- requirement: &70148863629360 !ruby/object:Gem::Requirement
27
+ requirement: &70356087425560 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70148863629360
35
+ version_requirements: *70356087425560
36
36
  description: Extends ActiveSupport's symbolize_keys to recursively symbolize keys
37
37
  at all levels in a Hash
38
38
  email: