ridgepole-replace_db_task 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 59fd5b67c158bfb71d38167b7040cb5dbe53036efbf90423fdb055b996d9e571
4
- data.tar.gz: a1c62493f236aa07c3ae1e1adab49d0d806425a349d4fdf6e0db42be83cf23a8
3
+ metadata.gz: 5b4761e5d257e13ed5b0a561c10d10dc1b8e1fac6998a4f18b91f0787eae169c
4
+ data.tar.gz: 15e9c6c84e24adbfa3105c272c85ff3c66374ac18024f8989473b05806038e07
5
5
  SHA512:
6
- metadata.gz: 7226b6db03167a61b59c6e4f4e1286383ac162bb659e1cf7cfe2d5086671548d4e75cbaaf4c35abecfe05f341135515d117face938884cb35498afd91c0e239c
7
- data.tar.gz: 421ab38dc2db7571f64ba1b51b1503f173ab052a0fe9eb34f641dd52202b635cc582dec94f3ed5eb7e3f9cb777ff45923fad26c71d3c9c7fa5ced778a628adf7
6
+ metadata.gz: 79d267c0cf67938b7dacf7c6e343624854ded67948f30b09a1b5e04789a26e189847960405e87467c2ec7cb594dab3884e9a32a60f49794bf159724a2a9bb738
7
+ data.tar.gz: '09e473bfc8f49c452505e0b3435b004af63d4f5eb58b6d2f8f159b7e44af42b08277a1cc8d21dcaa5ff615e63f4a528ffc2694b30dc2d59ddb3089ad7e4a32ad'
@@ -1,5 +1,5 @@
1
1
  class Ridgepole::ReplaceDbTask::Railtie < ::Rails::Railtie
2
2
  rake_tasks do
3
- load 'tasks/db.rake'
3
+ load 'tasks/replaced_db.rake'
4
4
  end
5
5
  end
@@ -1,5 +1,5 @@
1
1
  module Ridgepole
2
2
  module ReplaceDbTask
3
- VERSION = "0.1.0"
3
+ VERSION = "0.2.0"
4
4
  end
5
5
  end
@@ -5,6 +5,7 @@ namespace :db do
5
5
  ::Ridgepole::ReplaceDbTask::Executor.call(rails_env, options, block)
6
6
  end
7
7
 
8
+ desc 'db migrate use ridgepole'
8
9
  task migrate: :environment do
9
10
  ENV['RAILS_ENV'] ||= 'development'
10
11
  apply(ENV['RAILS_ENV'], '--apply') { |line| puts line }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ridgepole-replace_db_task
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takahiro Ooishi
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-08-17 00:00:00.000000000 Z
11
+ date: 2022-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -116,12 +116,12 @@ files:
116
116
  - lib/ridgepole/replace_db_task/executor.rb
117
117
  - lib/ridgepole/replace_db_task/railtie.rb
118
118
  - lib/ridgepole/replace_db_task/version.rb
119
- - lib/tasks/db.rake
119
+ - lib/tasks/replaced_db.rake
120
120
  - ridgepole-replace_db_task.gemspec
121
121
  homepage: https://github.com/taka0125/ridgepole-replace_db_task
122
122
  licenses: []
123
123
  metadata: {}
124
- post_install_message:
124
+ post_install_message:
125
125
  rdoc_options: []
126
126
  require_paths:
127
127
  - lib
@@ -137,7 +137,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
137
137
  version: '0'
138
138
  requirements: []
139
139
  rubygems_version: 3.0.3
140
- signing_key:
140
+ signing_key:
141
141
  specification_version: 4
142
142
  summary: Replace rails db:migrate to use ridgepole
143
143
  test_files: []