symboltable 1.0.0 → 1.0.1

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/symboltable.rb +1 -1
  2. data/symboltable.gemspec +1 -1
  3. metadata +9 -18
@@ -25,7 +25,7 @@ class SymbolTable < Hash
25
25
  # Sets the value of the given +key+ to +val+.
26
26
  def store(key, val)
27
27
  if valid_key?(key)
28
- val = SymbolTable.new(val) if Hash === val && !(SymbolTable === val)
28
+ val = self.class.new(val) if Hash === val && !(self.class === val)
29
29
  super(key.to_sym, val)
30
30
  end
31
31
  end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'symboltable'
3
- s.version = '1.0.0'
3
+ s.version = '1.0.1'
4
4
  s.date = '2010-05-12'
5
5
 
6
6
  s.summary = 'A Symbols-only Hash for Ruby'
metadata CHANGED
@@ -1,12 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: symboltable
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 1
7
- - 0
8
- - 0
9
- version: 1.0.0
4
+ version: 1.0.1
10
5
  platform: ruby
11
6
  authors:
12
7
  - Michael Jackson
@@ -14,21 +9,19 @@ autorequire:
14
9
  bindir: bin
15
10
  cert_chain: []
16
11
 
17
- date: 2010-05-12 00:00:00 -06:00
12
+ date: 2010-05-12 00:00:00 -07:00
18
13
  default_executable:
19
14
  dependencies:
20
15
  - !ruby/object:Gem::Dependency
21
16
  name: rake
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
17
+ type: :development
18
+ version_requirement:
19
+ version_requirements: !ruby/object:Gem::Requirement
24
20
  requirements:
25
21
  - - ">="
26
22
  - !ruby/object:Gem::Version
27
- segments:
28
- - 0
29
23
  version: "0"
30
- type: :development
31
- version_requirements: *id001
24
+ version:
32
25
  description: A Symbols-only Hash for Ruby
33
26
  email: mjijackson@gmail.com
34
27
  executables: []
@@ -61,20 +54,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
61
54
  requirements:
62
55
  - - ">="
63
56
  - !ruby/object:Gem::Version
64
- segments:
65
- - 0
66
57
  version: "0"
58
+ version:
67
59
  required_rubygems_version: !ruby/object:Gem::Requirement
68
60
  requirements:
69
61
  - - ">="
70
62
  - !ruby/object:Gem::Version
71
- segments:
72
- - 0
73
63
  version: "0"
64
+ version:
74
65
  requirements: []
75
66
 
76
67
  rubyforge_project:
77
- rubygems_version: 1.3.6
68
+ rubygems_version: 1.3.5
78
69
  signing_key:
79
70
  specification_version: 3
80
71
  summary: A Symbols-only Hash for Ruby