niessner-not_method 0.0.2 → 0.0.3

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 (3) hide show
  1. data/README +15 -0
  2. data/Rakefile +1 -1
  3. metadata +2 -1
data/README ADDED
@@ -0,0 +1,15 @@
1
+ About
2
+ ------------
3
+ Adds the not method to object. So that you can do
4
+
5
+ [1, 2, 3].not.include?(4) => true
6
+ [1, 2, 3].not.include?(1) => false
7
+ [1, 2, 3].not.nil? => true
8
+
9
+ The implementation was ripped straight from Jay Fields' blog?
10
+
11
+ Installation
12
+ ------------
13
+ 1) Add:
14
+ config.gem "niessner-not_method"
15
+ to your environment.rb inside the Initializer.run block
data/Rakefile CHANGED
@@ -5,7 +5,7 @@ require 'date'
5
5
 
6
6
  spec = Gem::Specification.new do |s|
7
7
  s.name = "not_method"
8
- s.version = "0.0.2"
8
+ s.version = "0.0.3"
9
9
  s.summary = "Jay Fields' not method"
10
10
  s.files = FileList['[A-Z]*', 'lib/**/*.rb']
11
11
  s.require_path = 'lib'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: niessner-not_method
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Niessner
@@ -23,6 +23,7 @@ extra_rdoc_files: []
23
23
 
24
24
  files:
25
25
  - Rakefile
26
+ - README
26
27
  - lib/niessner-not_method.rb
27
28
  - lib/not_method.rb
28
29
  has_rdoc: false