da_huangs_ruby_extensions 0.0.20 → 0.0.21

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/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.20
1
+ 0.0.21
@@ -15,4 +15,5 @@ require 'object_ext'
15
15
  Object.send :include, DaHuang::ObjectExt
16
16
 
17
17
  require 'integer_ext'
18
+ require 'symbol_ext'
18
19
 
data/lib/symbol_ext.rb ADDED
@@ -0,0 +1,6 @@
1
+ Symbol.class_eval do
2
+ def to_json
3
+ to_s
4
+ end
5
+ end
6
+
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 20
9
- version: 0.0.20
8
+ - 21
9
+ version: 0.0.21
10
10
  platform: ruby
11
11
  authors:
12
12
  - Tyler Gannon
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-09-01 00:00:00 -07:00
17
+ date: 2010-09-02 00:00:00 -07:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -52,6 +52,7 @@ files:
52
52
  - lib/nil_class_ext.rb
53
53
  - lib/object_ext.rb
54
54
  - lib/string_ext.rb
55
+ - lib/symbol_ext.rb
55
56
  - test/helper.rb
56
57
  - test/test_da_huangs_ruby_extensions.rb
57
58
  has_rdoc: true