Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
rthbound committed May 5, 2013
0 parents commit 254f42f
Show file tree
Hide file tree
Showing 7 changed files with 93 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .gitignore
@@ -0,0 +1,19 @@
*.gem
*.rbc
.bundle
.config
.yardoc
Gemfile.lock
InstalledFiles
_yardoc
coverage
doc/
lib/bundler/man
pkg
rdoc
spec/reports
test/tmp
test/version_tmp
tmp
*.sw?
.sw?
3 changes: 3 additions & 0 deletions Gemfile
@@ -0,0 +1,3 @@
source 'https://rubygems.org'

gemspec # acme-leeway
30 changes: 30 additions & 0 deletions README.md
@@ -0,0 +1,30 @@
# Acme::Leeway

When your figures are closely inspected, wouldn't you rest more easily given a little leeway?

## Installation

Install it with:

$ gem install acme-leeway

## Usage

No one will know you fudged the numbers:

[7] pry(main)> 73.inspect
=> "133"
[8] pry(main)> 73.inspect
=> "111"
[9] pry(main)> 73.inspect
=> "111"
[10] pry(main)> 73.inspect
=> "81"

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request
1 change: 1 addition & 0 deletions Rakefile
@@ -0,0 +1 @@
require "bundler/gem_tasks"
24 changes: 24 additions & 0 deletions acme-leeway.gemspec
@@ -0,0 +1,24 @@
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'acme/leeway/version'

Gem::Specification.new do |spec|
spec.name = "acme-leeway"
spec.version = Acme::Leeway::VERSION
spec.authors = ["Tad Hosford"]
spec.email = ["tad.hosford@gmail.com"]
spec.description = %q{ Sometimes the real numbers just aren't good enough.
Require this module and make every number you inspect
appear just a bit more impressive.
}
spec.summary = %q{ If only my wallet worked this way. }
spec.homepage = "https://github.com/rthbound/acme-leeway"
spec.license = "MIT"

spec.files = `git ls-files`.split($/)
spec.require_paths = ["lib"]

spec.add_development_dependency "bundler", "~> 1.3"
spec.add_development_dependency "rake"
end
11 changes: 11 additions & 0 deletions lib/acme/leeway.rb
@@ -0,0 +1,11 @@
require "acme/leeway/version"

module Acme
module Leeway
class ::Fixnum
def inspect
"#{to_s(rand(7..9))}"
end
end
end
end
5 changes: 5 additions & 0 deletions lib/acme/leeway/version.rb
@@ -0,0 +1,5 @@
module Acme
module Leeway
VERSION = "0.0.1"
end
end

0 comments on commit 254f42f

Please sign in to comment.