Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sinsoku/ponytail
https://github.com/sinsoku/ponytail
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sinsoku/ponytail
- Owner: sinsoku
- License: mit
- Created: 2013-12-03T14:12:21.000Z (about 11 years ago)
- Default Branch: develop
- Last Pushed: 2014-08-25T15:17:44.000Z (over 10 years ago)
- Last Synced: 2024-10-31T14:42:09.316Z (2 months ago)
- Language: Ruby
- Size: 1.06 MB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Ponytail
[![Gem Version](https://badge.fury.io/rb/ponytail.png)](http://badge.fury.io/rb/ponytail)
[![Build Status](https://travis-ci.org/sinsoku/ponytail.png?branch=develop)](https://travis-ci.org/sinsoku/ponytail)
[![Coverage Status](https://coveralls.io/repos/sinsoku/ponytail/badge.png?branch=develop)](https://coveralls.io/r/sinsoku/ponytail?branch=develop)
[![Code Climate](https://codeclimate.com/github/sinsoku/ponytail.png)](https://codeclimate.com/github/sinsoku/ponytail)Ponytail is a Rails engine that shows the migrations.
## Installation
Add `ponytail` to `:development` groups in your application's Gemfile:
```ruby
group :development do
gem 'ponytail'
end
```And then execute:
```bash
$ bundle
```Comment out `config.active_record.migration_error` in `config/environments/development.rb`.
```ruby
# Raise an error on page load if there are pending migrations
# config.active_record.migration_error = :page_load
```## Usage
Visit `/ponytail/migrations` in your app.
## How to work dummy app
```bash
$ rake db:migrate:reset
$ cd spec/dummy
$ rails s
```## Example site
Dummy app is deploying on heroku. However, you can not change the migration files and databases.
http://ponytail.herokuapp.com/
## 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