Sha256: 1114f1981b0c78b966ea5ef105404885a7c2a5b7045180dc27589818bf925ac5
Contents?: true
Size: 1.8 KB
Versions: 2
Compression:
Stored size: 1.8 KB
Contents
# LazyMigrate Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/lazy_migrate`. To experiment with that code, run `bin/console` for an interactive prompt. TODO: Delete this and the text above, and describe your gem ## Installation Add this line to your application's Gemfile: ```ruby gem 'lazy_migrate' ``` And then execute: $ bundle Or install it yourself as: $ gem install lazy_migrate ## Usage From within a rails console, go ``` LazyMigrate.run ``` You can also invoke lazy_migrate as a rake task either by adding the following to your Rakefile: ``` spec = Gem::Specification.find_by_name('lazy_migrate') load "#{spec.gem_dir}/lib/tasks/lazy_migrate.rake" ``` Or by creating a rake task yourself like so: ``` # in lib/tasks/lazy_migrate.rake # frozen_string_literal: true require 'lazy_migrate' namespace :lazy_migrate do desc 'runs lazy_migrate' task run: :environment do LazyMigrate.run end end ``` ## Development After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment. To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org). ## Contributing Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/lazy_migrate. ## License The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lazy_migrate-0.1.5 | README.md |
lazy_migrate-0.1.4 | README.md |