Skip to content

Commit

Permalink
Rename gem to hanami-bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
davydovanton committed Feb 7, 2016
1 parent 24dbed3 commit 5c4d333
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 43 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
source 'https://rubygems.org'

# Specify your gem's dependencies in lotus-bootstrap.gemspec
# Specify your gem's dependencies in hanami-bootstrap.gemspec
gemspec
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Lotus::Bootstrap
[Bootstrap](http://getbootstrap.com/) wrapper for [lotus](http://lotusrb.org/) framework.
# Hanami::Bootstrap
[Bootstrap](http://getbootstrap.com/) wrapper for [hanami](http://hanamirb.org/) framework.
This wrapper provide HEAD version of bootstrap.

Also you can use [bootstrap-rubygem](https://github.com/twbs/bootstrap-rubygem) gem which support lotus framework.
Also you can use [bootstrap-rubygem](https://github.com/twbs/bootstrap-rubygem) gem which support hanami framework.

## Installation
**Important:** this wrapper required jquery library.
Expand All @@ -11,7 +11,7 @@ You can use [jquery-lotus](https://github.com/Nerian/jquery-lotus) gem or add jq
Add this line to your application's Gemfile:

``` ruby
gem 'lotus-bootstrap'
gem 'hanami-bootstrap'
```

And then execute:
Expand All @@ -20,7 +20,7 @@ And then execute:

Or install it yourself as:

$ gem install lotus-bootstrap
$ gem install hanami-bootstrap

## Usage
Add bootstrap to your template:
Expand All @@ -31,7 +31,7 @@ Add bootstrap to your template:
```

## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/lotus-bootstrap. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
Bug reports and pull requests are welcome on GitHub at https://github.com/davydovanton/hanami-bootstrap. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.


## License
Expand Down
9 changes: 5 additions & 4 deletions lib/lotus/bootstrap.rb → lib/hanami/bootstrap.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
require "lotus/bootstrap/version"
require 'hanami/bootstrap/version'
require 'hanami/assets'

module Lotus
module Hanami
module Bootstrap
class << self
def load!
::Lotus::Assets.sources << assets_path
::Hanami::Assets.sources << assets_path
end

def gem_path
Expand All @@ -18,4 +19,4 @@ def assets_path
end
end

Lotus::Bootstrap.load!
Hanami::Bootstrap.load!
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module Lotus
module Hanami
module Bootstrap
VERSION = "0.1.0"
end
Expand Down
27 changes: 0 additions & 27 deletions lotus-bootstrap.gemspec

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
require 'test_helper'

class Lotus::BootstrapTest < Minitest::Test
class Hanami::BootstrapTest < Minitest::Test
def test_that_it_has_a_version_number
refute_nil ::Lotus::Bootstrap::VERSION
refute_nil ::Hanami::Bootstrap::VERSION
end

def test_it_does_something_useful
assert false
assert true
end
end
2 changes: 1 addition & 1 deletion test/test_helper.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
require 'lotus/bootstrap'
require 'hanami/bootstrap'

require 'minitest/autorun'

0 comments on commit 5c4d333

Please sign in to comment.