1
0
Fork 0

Initial commit

This commit is contained in:
magnolia-fan 2011-06-30 20:19:19 +04:00
commit f07073131b
3 changed files with 35 additions and 0 deletions

15
Rakefile Normal file
View File

@ -0,0 +1,15 @@
require "rubygems"
spec = Gem::Specification.new do |s|
s.name = "subzero"
s.version = "0.1.0"
s.summary = "Totally awesome gem that extends Fixnum functionality"
s.description = "Adds one magic method to Fixnum class. Guest what method is it?"
s.authors = ["Gregory Eremin"]
s.email = "chez@vim.me"
s.homepage = "https://github.com/magnolia-fan/subzero"
s.require_paths = ["lib"]
end

5
lib/subzero.rb Normal file
View File

@ -0,0 +1,5 @@
class Fixnum
def subzero?
self < 0
end
end

15
subzero.gemspec Normal file
View File

@ -0,0 +1,15 @@
Gem::Specification.new do |s|
s.name = %q{subzero}
s.version = "0.1.0"
s.authors = ["Gregory Eremin"]
s.date = %q{2011-06-30}
s.email = %q{chez@vim.me}
s.files = ["lib/subzero.rb"]
s.homepage = %q{https://github.com/magnolia-fan/subzero}
s.require_paths = ["lib"]
s.summary = %q{Totally awesome gem that extends Fixnum functionality}
s.description = %q{Adds one magic method to Fixnum class. Guest what method is it?}
end