slonik_migration 1.1.2 → 1.1.3

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: 88866f0f2e20dc989b91af55ecfae3e0fe785490d0dfb104a2968ce16f1303f4
4
- data.tar.gz: 7b816834a3e06b607293844cd4f7c3d520257e95d7ac550c8e66a4342be7e928
3
+ metadata.gz: ebdc314418aa72db86e8e700cdf940f4c35899610ad91a43fbc374740e5d6886
4
+ data.tar.gz: 166c7b12ee29d8634410da3898c2c7c95ab032c3d4205ce9f1fde2dea2b6d80f
5
5
  SHA512:
6
- metadata.gz: a27ceb7b5d285bace90697e34b765e9acae70113da86718224e0a79813b8b7a90a8eef0897e7568b700132fa4a333a86812df3752a54e61dc07fd10c9e534fb1
7
- data.tar.gz: a2474a66b7f71bc52125f94747eb8266579c26747051c7284592a926bb68afcc1a92a8fcd1364720b2922168908609272abce47a47b900f9405d9af1b341777b
6
+ metadata.gz: c40b3d8247d8d27d01a7afdc517d41fdbc38c2be035083ef9f98fe29be8eee87623e527ee2b487cb1bc6f67d8e5e335f248a6527c1ac63a8bc8798f8c33226b2
7
+ data.tar.gz: ce38616d04d30060ddf887752cb2ace1ddf16fd8fefbc7e562c9d2d505805a65ecb445e93c2aa7076ff655a63709c3f87a9348d73d441674275bc1bf765f4157
data/.gitignore CHANGED
@@ -1,12 +1,9 @@
1
1
  .bundle/
2
- .yardoc
3
2
  .project
4
3
  Gemfile.lock
5
- _yardoc/
6
4
  coverage/
7
- doc/
5
+ gemfiles/*.lock
8
6
  pkg/
9
- spec/reports/
10
7
  spec/dummy/db/schema.rb
11
8
  spec/dummy/log/*.log
12
9
  spec/dummy/tmp/*
data/.travis.yml CHANGED
@@ -3,11 +3,23 @@ rvm:
3
3
  - 2.3
4
4
  - 2.4
5
5
  - 2.5
6
+ - 2.6
7
+ - 2.7
8
+ services:
9
+ - postgresql
10
+ addons:
11
+ postgresql: "9.5"
6
12
  gemfile:
7
13
  - gemfiles/rails50.gemfile
8
14
  - gemfiles/rails51.gemfile
9
15
  - gemfiles/rails52.gemfile
16
+ - gemfiles/rails60.gemfile
17
+ matrix:
18
+ exclude:
19
+ - rvm: 2.3
20
+ gemfile: gemfiles/rails60.gemfile
21
+ - rvm: 2.4
22
+ gemfile: gemfiles/rails60.gemfile
10
23
  script:
11
24
  - bundle exec rspec spec/slonik_migration_spec.rb
12
25
  - bundle exec rspec spec/slonik_migration_task_spec.rb
13
-
data/CHANGELOG.md ADDED
@@ -0,0 +1,22 @@
1
+ # CHANGELOG
2
+
3
+ ## 1.1.3
4
+
5
+ * Fix deprecation warning for ruby 2.7.
6
+
7
+ ## 1.1.2
8
+
9
+ * Fix shell command escape.
10
+
11
+ ## 1.1.1
12
+
13
+ * Check config file existence before read.
14
+
15
+ ## 1.1.0
16
+
17
+ * Enhance db:migrate related tasks.
18
+ * Remove activesupport dependency.
19
+
20
+ ## 1.0.0
21
+
22
+ * First release.
@@ -0,0 +1,5 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gem "rails", "~> 6.0.0"
4
+
5
+ gemspec path: "../"
@@ -8,7 +8,7 @@ module SlonikMigration
8
8
  end
9
9
 
10
10
  def execute(sql, options = {})
11
- command = build(sql, options)
11
+ command = build(sql, **options)
12
12
  puts command if ENV['VERBOSE']
13
13
  system command
14
14
  end
@@ -1,3 +1,3 @@
1
1
  module SlonikMigration
2
- VERSION = '1.1.2'
2
+ VERSION = '1.1.3'
3
3
  end
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.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yoshikazu Kaneta
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-08-29 00:00:00.000000000 Z
11
+ date: 2020-05-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -104,6 +104,7 @@ files:
104
104
  - ".gitignore"
105
105
  - ".rspec"
106
106
  - ".travis.yml"
107
+ - CHANGELOG.md
107
108
  - Gemfile
108
109
  - LICENSE
109
110
  - README.md
@@ -111,6 +112,7 @@ files:
111
112
  - gemfiles/rails50.gemfile
112
113
  - gemfiles/rails51.gemfile
113
114
  - gemfiles/rails52.gemfile
115
+ - gemfiles/rails60.gemfile
114
116
  - lib/generators/slonik_migration/config_generator.rb
115
117
  - lib/generators/slonik_migration/templates/slonik.yml
116
118
  - lib/slonik_migration.rb
@@ -139,8 +141,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
139
141
  - !ruby/object:Gem::Version
140
142
  version: '0'
141
143
  requirements: []
142
- rubyforge_project:
143
- rubygems_version: 2.7.4
144
+ rubygems_version: 3.1.2
144
145
  signing_key:
145
146
  specification_version: 4
146
147
  summary: A rails migration gem for slony