to_nil 0.0.1

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.
Files changed (5) hide show
  1. data/Manifest +4 -0
  2. data/Rakefile +14 -0
  3. data/lib/to_nil.rb +7 -0
  4. data/to_nil.gemspec +30 -0
  5. metadata +74 -0
@@ -0,0 +1,4 @@
1
+ Manifest
2
+ Rakefile
3
+ lib/to_nil.rb
4
+ to_nil.gemspec
@@ -0,0 +1,14 @@
1
+ require 'rubygems'
2
+ require 'rake'
3
+ require 'echoe'
4
+
5
+ Echoe.new('to_nil', '0.0.1') do |p|
6
+ p.description = 'Haave you ever wanted to_nil on *all* subclasses of Object? Well now you can!'
7
+ p.summary = 'A pretty useless gem'
8
+ p.url = 'http://www.example.com'
9
+ p.author = 'me'
10
+ p.email = 'email@example.com'
11
+ p.ignore_pattern = [ 'tmp/*', 'script/*' ]
12
+ p.development_dependencies = []
13
+ end
14
+
@@ -0,0 +1,7 @@
1
+
2
+ class Object
3
+ def to_nil
4
+ nil
5
+ end
6
+ end
7
+
@@ -0,0 +1,30 @@
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ Gem::Specification.new do |s|
4
+ s.name = %q{to_nil}
5
+ s.version = "0.0.1"
6
+
7
+ s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
+ s.authors = ["me"]
9
+ s.date = %q{2011-02-25}
10
+ s.description = %q{Haave you ever wanted to_nil on *all* subclasses of Object? Well now you can!}
11
+ s.email = %q{email@example.com}
12
+ s.extra_rdoc_files = ["lib/to_nil.rb"]
13
+ s.files = ["Manifest", "Rakefile", "lib/to_nil.rb", "to_nil.gemspec"]
14
+ s.homepage = %q{http://www.example.com}
15
+ s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "To_nil"]
16
+ s.require_paths = ["lib"]
17
+ s.rubyforge_project = %q{to_nil}
18
+ s.rubygems_version = %q{1.3.7}
19
+ s.summary = %q{A pretty useless gem}
20
+
21
+ if s.respond_to? :specification_version then
22
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
23
+ s.specification_version = 3
24
+
25
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
26
+ else
27
+ end
28
+ else
29
+ end
30
+ end
metadata ADDED
@@ -0,0 +1,74 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: to_nil
3
+ version: !ruby/object:Gem::Version
4
+ hash: 29
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 1
10
+ version: 0.0.1
11
+ platform: ruby
12
+ authors:
13
+ - me
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2011-02-25 00:00:00 +00:00
19
+ default_executable:
20
+ dependencies: []
21
+
22
+ description: Haave you ever wanted to_nil on *all* subclasses of Object? Well now you can!
23
+ email: email@example.com
24
+ executables: []
25
+
26
+ extensions: []
27
+
28
+ extra_rdoc_files:
29
+ - lib/to_nil.rb
30
+ files:
31
+ - Manifest
32
+ - Rakefile
33
+ - lib/to_nil.rb
34
+ - to_nil.gemspec
35
+ has_rdoc: true
36
+ homepage: http://www.example.com
37
+ licenses: []
38
+
39
+ post_install_message:
40
+ rdoc_options:
41
+ - --line-numbers
42
+ - --inline-source
43
+ - --title
44
+ - To_nil
45
+ require_paths:
46
+ - lib
47
+ required_ruby_version: !ruby/object:Gem::Requirement
48
+ none: false
49
+ requirements:
50
+ - - ">="
51
+ - !ruby/object:Gem::Version
52
+ hash: 3
53
+ segments:
54
+ - 0
55
+ version: "0"
56
+ required_rubygems_version: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ hash: 11
62
+ segments:
63
+ - 1
64
+ - 2
65
+ version: "1.2"
66
+ requirements: []
67
+
68
+ rubyforge_project: to_nil
69
+ rubygems_version: 1.3.7
70
+ signing_key:
71
+ specification_version: 3
72
+ summary: A pretty useless gem
73
+ test_files: []
74
+