slonik_migration 1.2.1 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +14 -1
- data/CHANGELOG.md +4 -0
- data/Gemfile +3 -0
- data/gemfiles/rails50.gemfile +1 -0
- data/gemfiles/rails51.gemfile +1 -0
- data/gemfiles/rails52.gemfile +2 -0
- data/gemfiles/rails60.gemfile +2 -0
- data/gemfiles/rails61.gemfile +1 -0
- data/gemfiles/rails70.gemfile +1 -0
- data/gemfiles/rails71.gemfile +1 -0
- data/gemfiles/rails72.gemfile +6 -0
- data/lib/slonik_migration/config.rb +9 -3
- data/lib/slonik_migration/version.rb +1 -1
- data/slonik_migration.gemspec +0 -2
- metadata +4 -31
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 26fdea03acecd19a4a65b85ec09f1032d5383847bac55f72b0a7fa59628d4c02
|
4
|
+
data.tar.gz: '0887d4a94d21fce2894c56893c7ce43c09153bdeaab79bfab76e223e3e70fe95'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a828d34199f0cbd8c7819b4e4ca2fc5173629cf0bffab37808a7e330576569ecb8d98154019a4f9cbba86309d33fbe12b00caf4fd4f09e82639dc34301ea587f
|
7
|
+
data.tar.gz: d41ead7e47a0994872066db2728687e04d5ac0a03e76317cfd7d048f8c425ea8a7850a9389587431a47c0e4f18d71fa1578da9adba523ef46a163af626791f1b
|
data/.github/workflows/ci.yml
CHANGED
@@ -18,7 +18,7 @@ jobs:
|
|
18
18
|
fail-fast: false
|
19
19
|
matrix:
|
20
20
|
ruby: [2.4, 2.5, 2.6, 2.7, '3.0', 3.1, 3.2, 3.3]
|
21
|
-
gemfile: ['rails50', 'rails51', 'rails52', 'rails60', 'rails61', 'rails70', 'rails71']
|
21
|
+
gemfile: ['rails50', 'rails51', 'rails52', 'rails60', 'rails61', 'rails70', 'rails71', 'rails72']
|
22
22
|
exclude:
|
23
23
|
- ruby: 2.4
|
24
24
|
gemfile: rails60
|
@@ -28,20 +28,30 @@ jobs:
|
|
28
28
|
gemfile: rails70
|
29
29
|
- ruby: 2.4
|
30
30
|
gemfile: rails71
|
31
|
+
- ruby: 2.4
|
32
|
+
gemfile: rails72
|
31
33
|
- ruby: 2.5
|
32
34
|
gemfile: rails70
|
33
35
|
- ruby: 2.5
|
34
36
|
gemfile: rails71
|
37
|
+
- ruby: 2.5
|
38
|
+
gemfile: rails72
|
35
39
|
- ruby: 2.6
|
36
40
|
gemfile: rails70
|
37
41
|
- ruby: 2.6
|
38
42
|
gemfile: rails71
|
43
|
+
- ruby: 2.6
|
44
|
+
gemfile: rails72
|
45
|
+
- ruby: 2.7
|
46
|
+
gemfile: rails72
|
39
47
|
- ruby: 3.0
|
40
48
|
gemfile: rails50
|
41
49
|
- ruby: 3.0
|
42
50
|
gemfile: rails51
|
43
51
|
- ruby: 3.0
|
44
52
|
gemfile: rails52
|
53
|
+
- ruby: 3.0
|
54
|
+
gemfile: rails72
|
45
55
|
- ruby: 3.1
|
46
56
|
gemfile: rails50
|
47
57
|
- ruby: 3.1
|
@@ -74,6 +84,9 @@ jobs:
|
|
74
84
|
with:
|
75
85
|
ruby-version: ${{ matrix.ruby }}
|
76
86
|
bundler-cache: true
|
87
|
+
- name: Bundle list
|
88
|
+
run: |
|
89
|
+
bundle list
|
77
90
|
- name: Run test
|
78
91
|
run: |
|
79
92
|
bundle exec rspec spec/slonik_migration_spec.rb
|
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
data/gemfiles/rails50.gemfile
CHANGED
data/gemfiles/rails51.gemfile
CHANGED
data/gemfiles/rails52.gemfile
CHANGED
data/gemfiles/rails60.gemfile
CHANGED
data/gemfiles/rails61.gemfile
CHANGED
data/gemfiles/rails70.gemfile
CHANGED
data/gemfiles/rails71.gemfile
CHANGED
@@ -1,13 +1,19 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require 'ostruct'
|
4
|
-
|
5
3
|
module SlonikMigration
|
6
4
|
class Config
|
5
|
+
attr_accessor :enabled, :owner, :command, :variables
|
6
|
+
|
7
|
+
def initialize(hash)
|
8
|
+
hash.each do |key, val|
|
9
|
+
send("#{key}=", val) if respond_to?("#{key}=")
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
7
13
|
class << self
|
8
14
|
def load
|
9
15
|
hash = load_file
|
10
|
-
|
16
|
+
Config.new(hash).freeze
|
11
17
|
end
|
12
18
|
|
13
19
|
private
|
data/slonik_migration.gemspec
CHANGED
@@ -19,8 +19,6 @@ Gem::Specification.new do |spec|
|
|
19
19
|
|
20
20
|
spec.add_dependency "activerecord", ">= 5.0"
|
21
21
|
|
22
|
-
spec.add_development_dependency "rails", ">= 5.0"
|
23
|
-
spec.add_development_dependency "pg"
|
24
22
|
spec.add_development_dependency "rspec"
|
25
23
|
spec.add_development_dependency "rspec-rails"
|
26
24
|
spec.add_development_dependency "simplecov"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: slonik_migration
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yoshikazu Kaneta
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-10-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -24,34 +24,6 @@ dependencies:
|
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '5.0'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: rails
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '5.0'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - ">="
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '5.0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: pg
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ">="
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ">="
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
55
27
|
- !ruby/object:Gem::Dependency
|
56
28
|
name: rspec
|
57
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -116,6 +88,7 @@ files:
|
|
116
88
|
- gemfiles/rails61.gemfile
|
117
89
|
- gemfiles/rails70.gemfile
|
118
90
|
- gemfiles/rails71.gemfile
|
91
|
+
- gemfiles/rails72.gemfile
|
119
92
|
- lib/generators/slonik_migration/config_generator.rb
|
120
93
|
- lib/generators/slonik_migration/templates/slonik.yml
|
121
94
|
- lib/slonik_migration.rb
|
@@ -144,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
144
117
|
- !ruby/object:Gem::Version
|
145
118
|
version: '0'
|
146
119
|
requirements: []
|
147
|
-
rubygems_version: 3.
|
120
|
+
rubygems_version: 3.5.11
|
148
121
|
signing_key:
|
149
122
|
specification_version: 4
|
150
123
|
summary: A rails migration gem for slony
|