Skip to content

Commit

Permalink
Gem rename location to bd_location
Browse files Browse the repository at this point in the history
  • Loading branch information
tauhidul35 committed Jan 9, 2016
1 parent c3363c7 commit bee8d10
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Location
# BD Location

TODO: Write a gem description
No gem dependency!

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'location'
gem 'bd_location'
```

And then execute:
Expand All @@ -16,15 +16,15 @@ And then execute:

Or install it yourself as:

$ gem install location
$ gem install bd_location

## Usage

TODO: Write usage instructions here

## Contributing

1. Fork it ( https://github.com/[my-github-username]/location/fork )
1. Fork it ( https://github.com/[my-github-username]/bd_location/fork )
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`)
Expand Down
6 changes: 3 additions & 3 deletions location.gemspec → bd_location.gemspec
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'location/version'
require 'bd_location/version'

Gem::Specification.new do |spec|
spec.name = 'location'
spec.version = Location::VERSION
spec.name = 'bd_location'
spec.version = BDLocation::VERSION
spec.authors = ['Md. Tauhidul Islam']
spec.email = ['[email protected]']
spec.summary = %q{BD location}
Expand Down
4 changes: 2 additions & 2 deletions lib/location.rb → lib/bd_location.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'location/version'
require 'bd_location/version'
require 'yaml'

module Location
module BDLocation
locale = :en
file_path = File.join(File.dirname(__FILE__), "../locales/#{locale.to_s}.yaml")
data = YAML.load_file file_path
Expand Down
2 changes: 1 addition & 1 deletion lib/location/version.rb → lib/bd_location/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Location
module BDLocation
VERSION = '0.0.1'
end

0 comments on commit bee8d10

Please sign in to comment.