-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
26 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,37 @@ | ||
require "./lib/nonschema_migrations/version" | ||
|
||
Gem::Specification.new do |s| | ||
s.name = 'nonschema_migrations' | ||
s.version = NonSchemaMigrations::VERSION | ||
s.date = Time.now.strftime("%Y-%m-%d") | ||
s.summary = "Nonschema(data-only) migrations for your Rails app" | ||
s.description = "Separate schema-only migrations from nonschema (data) migrations in your Rails app" | ||
s.authors = ["Jason Fleetwood-Boldt"] | ||
s.email = '[email protected]' | ||
Gem::Specification.new do |spec| | ||
spec.name = 'nonschema_migrations' | ||
spec.version = NonSchemaMigrations::VERSION | ||
spec.date = Time.now.strftime("%Y-%m-%d") | ||
spec.summary = "Nonschema(data-only) migrations for your Rails app" | ||
spec.description = "Separate schema-only migrations from nonschema (data) migrations in your Rails app" | ||
spec.authors = ["Jason Fleetwood-Boldt"] | ||
spec.email = '[email protected]' | ||
|
||
|
||
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do | ||
files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)}) || f.match(%r{(gemspec|gem)$}) } | ||
files | ||
end | ||
s.homepage = 'https://github.com/jasonfb/nonschema_migrations' | ||
|
||
s.metadata = { "source_code_uri" => "https://github.com/jasonfb/nonschema_migrations", | ||
spec.homepage = 'https://github.com/jasonfb/nonschema_migrations' | ||
|
||
spec.metadata = { "source_code_uri" => "https://github.com/jasonfb/nonschema_migrations", | ||
"documentation_uri" => "https://jasonfleetwoodboldt.com/my-open-source-projects/nonschema-migrations/", | ||
"homepage_uri" => 'https://heliosdev.shop/'} | ||
|
||
s.license = 'MIT' | ||
s.post_install_message = <<~MSG | ||
spec.license = 'MIT' | ||
spec.post_install_message = <<~MSG | ||
--------------------------------------------- | ||
Welcome to Nonschema Migrations | ||
to set up, please run | ||
1. run set up data migrations: | ||
rails generate data_migrations:install | ||
2. to create a data migration use | ||
rails generate data_migration SetupExampleData | ||
You can think of data migrations like seed data for production, staging, and dev environments. | ||
For support please see https://heliosdev.shop/ | ||
--------------------------------------------- | ||
|