Skip to content

Commit

Permalink
Well, bundle gem is an awesome command!
Browse files Browse the repository at this point in the history
  • Loading branch information
Ostrzy committed Dec 11, 2013
1 parent b8fa59b commit 83374df
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 2 deletions.
18 changes: 17 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,18 @@
/lib/data/*.txt
*.gem
*.rbc
.bundle
.config
.yardoc
Gemfile.lock
InstalledFiles
_yardoc
coverage
doc/
lib/bundler/man
pkg
rdoc
spec/reports
test/tmp
test/version_tmp
tmp
lib/data/*.txt
29 changes: 29 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Zip::Codes

TODO: Write a gem description

## Installation

Add this line to your application's Gemfile:

gem 'zip-codes'

And then execute:

$ bundle

Or install it yourself as:

$ gem install zip-codes

## Usage

TODO: Write usage instructions here

## 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
2 changes: 2 additions & 0 deletions lib/zip-codes.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
require 'yaml'

module ZipCodes
VERSION = '0.1.0'

class << self
def identify code
db[code]
Expand Down
2 changes: 1 addition & 1 deletion zip-codes.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ require 'grape/kaminari/version'

Gem::Specification.new do |spec|
spec.name = "zip-codes"
spec.version = "0.1.0"
spec.version = ZipCodes::VERSION
spec.authors = ["Michał Duda"]
spec.email = ["[email protected]"]
spec.description = %q{Identify city and state for given zip code}
Expand Down

0 comments on commit 83374df

Please sign in to comment.