transparent_nil 0.1.1 → 0.1.2

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/README.txt CHANGED
@@ -1,7 +1,7 @@
1
1
 
2
- = *Transparent Nil*
2
+ = Transparent Nil
3
3
 
4
- http://bklippstein.github.com/transparent-nil/
4
+ http://bklippstein.github.com/transparent_nil/
5
5
 
6
6
 
7
7
  == Features
@@ -22,7 +22,7 @@ http://creativecommons.org/licenses/by-sa/3.0/de/deed.en
22
22
 
23
23
 
24
24
  == Homepage
25
- http://bklippstein.github.com/transparent-nil/
25
+ http://bklippstein.github.com/transparent_nil/
26
26
 
27
27
 
28
28
  == Author
@@ -1,7 +1,7 @@
1
1
  # ruby encoding: utf-8
2
2
  # ü
3
3
 
4
- puts 'required nil.rb'
4
+ puts 'required TransparentNil::nil.rb'
5
5
 
6
6
 
7
7
  # == Transparent Nil
@@ -13,7 +13,7 @@ puts 'required nil.rb'
13
13
  # Nil verhält sich damit wie alle anderen Objekte auch.
14
14
  # Man kann immer noch nach Nil fragen, wenn man es möchte, aber man muss es nicht mehr tun!
15
15
  #
16
- class NilClass
16
+ module TransparentNil
17
17
 
18
18
  # Rückgabe: Array mit dem einen Element
19
19
  def <<(element); [element]; end
@@ -78,6 +78,10 @@ class NilClass
78
78
 
79
79
  end
80
80
 
81
+ class NilClass
82
+ include TransparentNil
83
+ end
84
+
81
85
 
82
86
 
83
87
 
@@ -10,7 +10,7 @@ puts 'required transparent_nil.rb'
10
10
 
11
11
  module TransparentNil #:nodoc
12
12
 
13
- VERSION = '0.1.1'
13
+ VERSION = '0.1.2'
14
14
 
15
15
  end
16
16
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: transparent_nil
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -66,7 +66,7 @@ files:
66
66
  - test/_start_all.rb
67
67
  - test/test_nil.rb
68
68
  - .gemtest
69
- homepage: http://bklippstein.github.com/transparent-nil/
69
+ homepage: http://bklippstein.github.com/transparent_nil/
70
70
  licenses: []
71
71
  post_install_message:
72
72
  rdoc_options: