ridgepoler-rails 1.1.0 → 1.1.4

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: 8a40e137a4638da6a5880e4df0b0c7158f2f1825709aecd016cd77520e892ec3
4
- data.tar.gz: 4f0b5ae3c34da482d3df5686adea75001a54278989d7151a99916a490cbc818d
3
+ metadata.gz: a5aa143800404bd844a13eb4f8a8d496c9bdabf33367ebf4219c509e04753075
4
+ data.tar.gz: f4f68863001502a83c7cbe30f4e7b6261644d822fcd1739f5db2e05748d5e1a5
5
5
  SHA512:
6
- metadata.gz: 8fa1476bf3119f45bedea25796fff4038ed99f56952e6add9d2aa73203548486d8484dcb4383b5e7208e1e19ddc08bf1f159bf38895056c14ca990adee0358f4
7
- data.tar.gz: 9a23f99d28b15faeb5dfe073512eb841d6961dae33912c4df9aa68b06507dee68626e72f6b779d928479f44e67f1ebe25f5b2b2b8e5b4670f5c1292fd894b485
6
+ metadata.gz: 84a3387fefc2f816ac7e227f72a728de1efbda98e968ee9993008ed9fd053d7771ed9eca426269caabda2e84ea8f3a15b817a5c7434b62a3f6e6c24d1530242b
7
+ data.tar.gz: c06eef72661fdccffbef27cbd3ff48dc600c1e995ece467a95902b10d2cf7f2aabe35a77dc45c8bdb6e3177a805577232d101930c2c6285a7fecb57a41e5a46d
data/README.md CHANGED
@@ -23,7 +23,7 @@ Once installed, Ridgepoler will generate migration files instead of ActiveRecord
23
23
 
24
24
  ## Rake tasks
25
25
 
26
- Ridgepoler will replace or clear some db tasks. If you doesn't need that overrides, you can set `config.ridgepoler.override_db_tasks = false`.
26
+ Ridgepoler will replace or clear some db tasks. If you doesn't need that overrides, you can set `config.ridgepole.override_db_tasks = false`.
27
27
 
28
28
  ### Clear tasks
29
29
 
data/Rakefile CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  begin
2
4
  require 'bundler/setup'
3
5
  rescue LoadError
@@ -13,7 +13,7 @@
13
13
  db:structure:load
14
14
  db:version
15
15
  ].each do |task|
16
- Rake::Task[task].clear
16
+ Rake::Task[task]&.clear
17
17
  end
18
18
 
19
19
  namespace :db do
@@ -23,8 +23,8 @@ namespace :db do
23
23
  end
24
24
 
25
25
  {
26
- :migrate => 'ridgepole:apply',
27
- :setup => 'ridgepole:setup',
26
+ migrate: 'ridgepole:apply',
27
+ setup: 'ridgepole:setup'
28
28
  }.each_pair do |new, old|
29
29
  alias_task(new, old)
30
30
  end
@@ -20,11 +20,11 @@ namespace :ridgepole do
20
20
  def ridgepole(env: Rails.env, dry_run: false)
21
21
  args = ['ridgepole', '-a']
22
22
 
23
- if ENV['DATABASE_URL'].to_s.empty?
24
- args << ['-c', 'config/database.yml', '-E', env]
25
- else
26
- args << ['-c', ENV['DATABASE_URL']]
27
- end
23
+ args += if ENV['DATABASE_URL'].to_s.empty?
24
+ ['-c', 'config/database.yml', '-E', env]
25
+ else
26
+ ['-c', ENV['DATABASE_URL']]
27
+ end
28
28
 
29
29
  args.push('--dry-run') if dry_run
30
30
  args.push('--debug') if config.debug
@@ -1,5 +1,5 @@
1
1
  module Ridgepoler
2
2
  module Rails
3
- VERSION = '1.1.0'.freeze
3
+ VERSION = '1.1.4'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ridgepoler-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sho Kusano
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-15 00:00:00.000000000 Z
11
+ date: 2022-01-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -17,9 +17,6 @@ dependencies:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 5.0.0
20
- - - "<"
21
- - !ruby/object:Gem::Version
22
- version: '5.3'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
@@ -27,9 +24,6 @@ dependencies:
27
24
  - - ">="
28
25
  - !ruby/object:Gem::Version
29
26
  version: 5.0.0
30
- - - "<"
31
- - !ruby/object:Gem::Version
32
- version: '5.3'
33
27
  - !ruby/object:Gem::Dependency
34
28
  name: ridgepole
35
29
  requirement: !ruby/object:Gem::Requirement
@@ -88,7 +82,7 @@ homepage: https://github.com/space-pirates-llc/ridgepoler-rails
88
82
  licenses:
89
83
  - MIT
90
84
  metadata: {}
91
- post_install_message:
85
+ post_install_message:
92
86
  rdoc_options: []
93
87
  require_paths:
94
88
  - lib
@@ -103,8 +97,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
103
97
  - !ruby/object:Gem::Version
104
98
  version: '0'
105
99
  requirements: []
106
- rubygems_version: 3.0.2
107
- signing_key:
100
+ rubygems_version: 3.2.3
101
+ signing_key:
108
102
  specification_version: 4
109
103
  summary: Provides integration between ridgepole and rails 5 newer
110
104
  test_files: []