capture_migration_sql 1.0.1 → 1.0.2

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: d363515469587ed28cbf2f3b5e63f62fac816ef666c3068739e0a9daace3ba7d
4
- data.tar.gz: 572ae7848eaad194e7785951b8df034be4be5afa1a433257d84b22acd85de512
3
+ metadata.gz: 4a1c92ddee1069bb761186f04335d088564c5ef115e799816bef7fc7ce22c776
4
+ data.tar.gz: 660d8c431eb05706e813bef7c5cf7668add50cbca68bffa27062ebc64905e283
5
5
  SHA512:
6
- metadata.gz: eb3f14254f65d4008bc689f4921b85ea8900eef141e0256153419716d276c8d50cddd06881aa8a83d0d92e15311decb46fa8bde7710035fb0a9300328e9ebd6f
7
- data.tar.gz: 8b147b725d0e0a1d3962deceb68b077a329639479ac94e6e2ad94177df6de750f056f58eb37990becdab2dcb5e6ae3c7674f5a827bb32032594bb8ce34bffba6
6
+ metadata.gz: b2aa8f556646fafe6f85c8241360d11d98f7d4e501fa255c418aad9d37682f4aa941ad9e0347432e41b07469e473bc4ec2440d3e3d2d76caa19609391ac3ab66
7
+ data.tar.gz: 8028a91312cb708dbe2ee48a02394ac56636ed40dfdcb9f8db1a4d836393d6dda681264734c5738be5d42e95dbb2aa5aeb458ba55704a96c35a58dbe56b8ca73
@@ -1,4 +1,9 @@
1
+ # 1.0.2
2
+
3
+ * Fix data type for insterting into schema_migrations
4
+
1
5
  # 1.0.1
6
+
2
7
  * Fix SQL for insterting into schema_migrations
3
8
 
4
9
  # 1.0.0
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- capture_migration_sql (1.0.1)
4
+ capture_migration_sql (1.0.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- capture_migration_sql (1.0.1)
4
+ capture_migration_sql (1.0.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- capture_migration_sql (1.0.1)
4
+ capture_migration_sql (1.0.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- capture_migration_sql (1.0.1)
4
+ capture_migration_sql (1.0.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- capture_migration_sql (1.0.1)
4
+ capture_migration_sql (1.0.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -81,7 +81,7 @@ module CaptureMigrationSql
81
81
  ensure
82
82
  Thread.current[:capture_migration_sql_stream] = save_stream
83
83
  end
84
- f.write("INSERT INTO schema_migrations (version) VALUES #{version.to_i};\n")
84
+ f.write("INSERT INTO schema_migrations (version) VALUES ('#{version.to_i}');\n")
85
85
  end
86
86
  else
87
87
  File.unlink(output_file) if output_file && File.exist?(output_file)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CaptureMigrationSql
4
- VERSION = "1.0.1"
4
+ VERSION = "1.0.2"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capture_migration_sql
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Durand
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-10-24 00:00:00.000000000 Z
11
+ date: 2018-10-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler