capture_migration_sql 1.0.2 → 1.0.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: 4a1c92ddee1069bb761186f04335d088564c5ef115e799816bef7fc7ce22c776
4
- data.tar.gz: 660d8c431eb05706e813bef7c5cf7668add50cbca68bffa27062ebc64905e283
3
+ metadata.gz: e9d0592f093cdbe9554321bc75518d3af78810d3ed24b96c2f4914d326e5c991
4
+ data.tar.gz: 0ab138c8d223536e39724814947a4ddccee7dac377ec14b9544aed4d759a77c0
5
5
  SHA512:
6
- metadata.gz: b2aa8f556646fafe6f85c8241360d11d98f7d4e501fa255c418aad9d37682f4aa941ad9e0347432e41b07469e473bc4ec2440d3e3d2d76caa19609391ac3ab66
7
- data.tar.gz: 8028a91312cb708dbe2ee48a02394ac56636ed40dfdcb9f8db1a4d836393d6dda681264734c5738be5d42e95dbb2aa5aeb458ba55704a96c35a58dbe56b8ca73
6
+ metadata.gz: 48a1b618e0815a6e7644435e277b935a2e5bf65d0bb6188d7126404a83dd0cad90e17b1c1d9de675c01bae1a7119f5ab68772fb0e662dbd57e63ac8f517070b7
7
+ data.tar.gz: 9d311ca2aed3e266723741e5b95970fba37a3c9f133a4315b6e45d063991dd4411355a3f508f8cb3eb85527df6e179b0de177a21de9de9220f18f1981f6e6d9c
data/CHANGELOG.md CHANGED
@@ -1,11 +1,25 @@
1
- # 1.0.2
1
+ # Changelog
2
+ All notable changes to this project will be documented in this file.
2
3
 
4
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
+
7
+ ## 1.0.3
8
+
9
+ ### Changed
10
+ * SQL files will not be changed if they already exist.
11
+
12
+ ## 1.0.2
13
+
14
+ ### Changed
3
15
  * Fix data type for insterting into schema_migrations
4
16
 
5
- # 1.0.1
17
+ ## 1.0.1
6
18
 
19
+ ### Changed
7
20
  * Fix SQL for insterting into schema_migrations
8
21
 
9
- # 1.0.0
22
+ ## 1.0.0
10
23
 
24
+ ### Added
11
25
  * Initial release
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # CaptureMigrationSql
2
2
 
3
- [![Build Status](https://travis-ci.com/bdurand/capture_migration_sql.svg?branch=master)](https://travis-ci.com/bdurand/capture_migration_sql)
4
- [![Maintainability](https://api.codeclimate.com/v1/badges/17bbf5cb6eda022028fe/maintainability)](https://codeclimate.com/github/bdurand/capture_migration_sql/maintainability)
3
+ [![Continuous Integration](https://github.com/bdurand/capture_migration_sql/actions/workflows/continuous_integration.yml/badge.svg)](https://github.com/bdurand/capture_migration_sql/actions/workflows/continuous_integration.yml)
4
+ [![Ruby Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://github.com/testdouble/standard)
5
5
 
6
6
  This gem adds the ability to capture and persist the SQL statements executed by migrations. There are a couple of reasons why you may want to do this.
7
7
 
@@ -9,22 +9,6 @@ This gem adds the ability to capture and persist the SQL statements executed by
9
9
 
10
10
  2. Not everyone gets to run database migrations in production. If you have a DBA who needs to approve and run all changes for security and performance reasons, you'll probably need to give them the individual SQL changes. This gem logs all those changes for you in a consistent place so you don't have to hunt for them in your development logs or reverse engineer them from the Ruby code.
11
11
 
12
- ## Installation
13
-
14
- Add this line to your application's Gemfile:
15
-
16
- ```ruby
17
- gem 'capture_migration_sql'
18
- ```
19
-
20
- And then execute:
21
-
22
- $ bundle
23
-
24
- Or install it yourself as:
25
-
26
- $ gem install capture_migration_sql
27
-
28
12
  ## Usage
29
13
 
30
14
  Add this to a file in `config/initializers` in your Rails application:
@@ -61,6 +45,8 @@ end
61
45
 
62
46
  You should disable SQL logging in migration logic that generate queries to clean up or move data that may result in different results per environment. For instance a block of code that selects rows from an existing table and munges the data for an update would result in different queries for each developer that ran the migration if they had different data in their local database.
63
47
 
48
+ Also note that SQL files will only be generated if they do not exist. This is to prevent updates to files after they have been generated by developers bootstrapping their system. SQL files are deleted when you migrate down so that they can be regenerated when migrating up.
49
+
64
50
  Finally, if you application uses multiple databases, you can specify which database connection to use for schema statements within a block. You can also specify an optional label that will be added as a comment in the SQL file.
65
51
 
66
52
  ```ruby
@@ -73,10 +59,30 @@ end
73
59
 
74
60
  You can either pass in a database connection object or a class that extends from `ActiveRecord::Base`
75
61
 
62
+ ## Installation
63
+
64
+ Add this line to your application's Gemfile:
65
+
66
+ ```ruby
67
+ gem "capture_migration_sql"
68
+ ```
69
+
70
+ And then execute:
71
+ ```bash
72
+ $ bundle
73
+ ```
74
+
75
+ Or install it yourself as:
76
+ ```bash
77
+ $ gem install capture_migration_sql
78
+ ```
79
+
76
80
  ## Contributing
77
81
 
78
82
  Bug reports and pull requests are welcome on GitHub at https://github.com/bdurand/capture_migration_sql.
79
83
 
84
+ Please use the [standardrb](https://github.com/testdouble/standard) syntax and lint your code with `standardrb --fix` before submitting.
85
+
80
86
  ## License
81
87
 
82
88
  The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.0.3
@@ -1,33 +1,33 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- lib = File.expand_path("../lib", __FILE__)
4
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
- require "capture_migration_sql/version"
6
-
7
3
  Gem::Specification.new do |spec|
8
- spec.name = "capture_migration_sql"
9
- spec.version = CaptureMigrationSql::VERSION
10
- spec.authors = ["Brian Durand"]
11
- spec.email = ["bbdurand@gmail.com"]
4
+ spec.name = "capture_migration_sql"
5
+ spec.version = File.read(File.expand_path("VERSION", __dir__)).strip
6
+ spec.authors = ["Brian Durand"]
7
+ spec.email = ["bbdurand@gmail.com"]
12
8
 
13
- spec.summary = %q{Capture the SQL that is executed when running ActiveRecord migrations so that it can be run in in other environments that don't support migrations.}
14
- spec.homepage = "https://github.com/bdurand/capture_migration_sql"
15
- spec.license = "MIT"
9
+ spec.summary = "Capture the SQL that is executed when running ActiveRecord migrations so that it can be run in in other environments that don't support migrations."
10
+ spec.homepage = "https://github.com/bdurand/capture_migration_sql"
11
+ spec.license = "MIT"
16
12
 
17
13
  # Specify which files should be added to the gem when it is released.
18
14
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
19
- spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
20
- `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
15
+ ignore_files = %w[
16
+ .
17
+ Appraisals
18
+ Gemfile
19
+ Gemfile.lock
20
+ Rakefile
21
+ gemfiles/
22
+ spec/
23
+ ]
24
+ spec.files = Dir.chdir(File.expand_path("..", __FILE__)) do
25
+ `git ls-files -z`.split("\x0").reject { |f| ignore_files.any? { |path| f.start_with?(path) } }
21
26
  end
22
- spec.bindir = "exe"
23
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
27
+
24
28
  spec.require_paths = ["lib"]
25
29
 
26
- spec.add_development_dependency "bundler", "~> 1.16"
27
- spec.add_development_dependency "rake", "~> 10.0"
28
- spec.add_development_dependency "rspec", "~> 3.0"
29
- spec.add_development_dependency "activerecord", ">= 4.2"
30
- spec.add_development_dependency "database_cleaner"
31
- spec.add_development_dependency "sqlite3"
32
- spec.add_development_dependency "appraisal"
30
+ spec.add_dependency "activerecord", ">= 4.2"
31
+
32
+ spec.add_development_dependency "bundler"
33
33
  end
@@ -70,18 +70,22 @@ module CaptureMigrationSql
70
70
  migration_sql_dir = CaptureMigrationSql.directory
71
71
  output_file = File.join(migration_sql_dir, "#{version}_#{name.underscore}.sql") if version && name
72
72
  if output_file && direction == :up && version.to_i >= CaptureMigrationSql.starting_with_version
73
- Dir.mkdir(migration_sql_dir) unless File.exist?(migration_sql_dir)
74
- SqlSubscriber.attach_if_necessary
75
- File.open(output_file, "w") do |f|
76
- f.write("--\n-- #{name} : #{version}\n--\n\n")
77
- save_stream = Thread.current[:capture_migration_sql_stream]
78
- begin
79
- Thread.current[:capture_migration_sql_stream] = f
80
- sql_logging(enabled: true, &block)
81
- ensure
82
- Thread.current[:capture_migration_sql_stream] = save_stream
73
+ if File.exist?(output_file)
74
+ yield
75
+ else
76
+ Dir.mkdir(migration_sql_dir) unless File.exist?(migration_sql_dir)
77
+ SqlSubscriber.attach_if_necessary
78
+ File.open(output_file, "w") do |f|
79
+ f.write("--\n-- #{name} : #{version}\n--\n\n")
80
+ save_stream = Thread.current[:capture_migration_sql_stream]
81
+ begin
82
+ Thread.current[:capture_migration_sql_stream] = f
83
+ sql_logging(enabled: true, &block)
84
+ ensure
85
+ Thread.current[:capture_migration_sql_stream] = save_stream
86
+ end
87
+ f.write("INSERT INTO schema_migrations (version) VALUES ('#{version.to_i}');\n")
83
88
  end
84
- f.write("INSERT INTO schema_migrations (version) VALUES ('#{version.to_i}');\n")
85
89
  end
86
90
  else
87
91
  File.unlink(output_file) if output_file && File.exist?(output_file)
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'active_support/subscriber'
3
+ require "active_support/subscriber"
4
4
 
5
5
  # Subscriber that is attached to ActiveRecord and will handle writing
6
6
  # migration SQL to the output stream.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CaptureMigrationSql
4
- VERSION = "1.0.2"
4
+ VERSION = File.read(File.join(__dir__, "..", "..", "VERSION"))
5
5
  end
@@ -3,7 +3,6 @@ require_relative "capture_migration_sql/sql_subscriber"
3
3
  require_relative "capture_migration_sql/version"
4
4
 
5
5
  module CaptureMigrationSql
6
-
7
6
  class << self
8
7
  # Call this method in an initializer to invoke dumping the SQL executed
9
8
  # during migrations in to a file.
metadata CHANGED
@@ -1,57 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capture_migration_sql
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Durand
8
8
  autorequire:
9
- bindir: exe
9
+ bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-26 00:00:00.000000000 Z
11
+ date: 2022-08-16 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: bundler
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '1.16'
20
- type: :development
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: '1.16'
27
- - !ruby/object:Gem::Dependency
28
- name: rake
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: '10.0'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: '10.0'
41
- - !ruby/object:Gem::Dependency
42
- name: rspec
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
46
- - !ruby/object:Gem::Version
47
- version: '3.0'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: '3.0'
55
13
  - !ruby/object:Gem::Dependency
56
14
  name: activerecord
57
15
  requirement: !ruby/object:Gem::Requirement
@@ -59,7 +17,7 @@ dependencies:
59
17
  - - ">="
60
18
  - !ruby/object:Gem::Version
61
19
  version: '4.2'
62
- type: :development
20
+ type: :runtime
63
21
  prerelease: false
64
22
  version_requirements: !ruby/object:Gem::Requirement
65
23
  requirements:
@@ -67,35 +25,7 @@ dependencies:
67
25
  - !ruby/object:Gem::Version
68
26
  version: '4.2'
69
27
  - !ruby/object:Gem::Dependency
70
- name: database_cleaner
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - ">="
74
- - !ruby/object:Gem::Version
75
- version: '0'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - ">="
81
- - !ruby/object:Gem::Version
82
- version: '0'
83
- - !ruby/object:Gem::Dependency
84
- name: sqlite3
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - ">="
88
- - !ruby/object:Gem::Version
89
- version: '0'
90
- type: :development
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - ">="
95
- - !ruby/object:Gem::Version
96
- version: '0'
97
- - !ruby/object:Gem::Dependency
98
- name: appraisal
28
+ name: bundler
99
29
  requirement: !ruby/object:Gem::Requirement
100
30
  requirements:
101
31
  - - ">="
@@ -115,25 +45,11 @@ executables: []
115
45
  extensions: []
116
46
  extra_rdoc_files: []
117
47
  files:
118
- - ".gitignore"
119
- - ".travis.yml"
120
- - Appraisals
121
48
  - CHANGELOG.md
122
- - Gemfile
123
- - Gemfile.lock
124
49
  - MIT_LICENSE.txt
125
50
  - README.md
126
- - Rakefile
51
+ - VERSION
127
52
  - capture_migration_sql.gemspec
128
- - gemfiles/.bundle/config
129
- - gemfiles/activerecord_4.2.gemfile
130
- - gemfiles/activerecord_4.2.gemfile.lock
131
- - gemfiles/activerecord_5.0.gemfile
132
- - gemfiles/activerecord_5.0.gemfile.lock
133
- - gemfiles/activerecord_5.1.gemfile
134
- - gemfiles/activerecord_5.1.gemfile.lock
135
- - gemfiles/activerecord_5.2.gemfile
136
- - gemfiles/activerecord_5.2.gemfile.lock
137
53
  - lib/capture_migration_sql.rb
138
54
  - lib/capture_migration_sql/migration_extension.rb
139
55
  - lib/capture_migration_sql/sql_subscriber.rb
@@ -157,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
157
73
  - !ruby/object:Gem::Version
158
74
  version: '0'
159
75
  requirements: []
160
- rubyforge_project:
161
- rubygems_version: 2.7.6
76
+ rubygems_version: 3.1.6
162
77
  signing_key:
163
78
  specification_version: 4
164
79
  summary: Capture the SQL that is executed when running ActiveRecord migrations so
data/.gitignore DELETED
@@ -1,13 +0,0 @@
1
- /.bundle/
2
- /.yardoc
3
- /_yardoc/
4
- /coverage/
5
- /doc/
6
- /pkg/
7
- /spec/reports/
8
- /tmp/
9
-
10
- .DS_Store
11
-
12
- # rspec failure tracking
13
- .rspec_status
data/.travis.yml DELETED
@@ -1,22 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 2.5
4
- - 2.3
5
-
6
- cache: bundler
7
-
8
- branches:
9
- # Only build master and release version tags
10
- only:
11
- - master
12
- - /^v\d+\.\d+(\.\d+)?(-\S*)?$/
13
-
14
- gemfile:
15
- - Gemfile
16
- - gemfiles/activerecord_5.2.gemfile
17
- - gemfiles/activerecord_5.1.gemfile
18
- - gemfiles/activerecord_5.0.gemfile
19
- - gemfiles/activerecord_4.2.gemfile
20
-
21
- script:
22
- - bundle exec rake spec
data/Appraisals DELETED
@@ -1,7 +0,0 @@
1
- RAILS_MINOR_RELEASES = ["5.2", "5.1", "5.0", "4.2"].freeze
2
-
3
- RAILS_MINOR_RELEASES.each do |version|
4
- appraise "activerecord-#{version}" do
5
- gem "activerecord", "~> #{version}.0"
6
- end
7
- end
data/Gemfile DELETED
@@ -1,6 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
-
5
- # Specify your gem's dependencies in capture_migration_sql.gemspec
6
- gemspec
data/Gemfile.lock DELETED
@@ -1,65 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- capture_migration_sql (1.0.2)
5
-
6
- GEM
7
- remote: https://rubygems.org/
8
- specs:
9
- activemodel (5.2.1)
10
- activesupport (= 5.2.1)
11
- activerecord (5.2.1)
12
- activemodel (= 5.2.1)
13
- activesupport (= 5.2.1)
14
- arel (>= 9.0)
15
- activesupport (5.2.1)
16
- concurrent-ruby (~> 1.0, >= 1.0.2)
17
- i18n (>= 0.7, < 2)
18
- minitest (~> 5.1)
19
- tzinfo (~> 1.1)
20
- appraisal (2.2.0)
21
- bundler
22
- rake
23
- thor (>= 0.14.0)
24
- arel (9.0.0)
25
- concurrent-ruby (1.0.5)
26
- database_cleaner (1.7.0)
27
- diff-lcs (1.3)
28
- i18n (1.1.1)
29
- concurrent-ruby (~> 1.0)
30
- minitest (5.11.3)
31
- rake (10.5.0)
32
- rspec (3.8.0)
33
- rspec-core (~> 3.8.0)
34
- rspec-expectations (~> 3.8.0)
35
- rspec-mocks (~> 3.8.0)
36
- rspec-core (3.8.0)
37
- rspec-support (~> 3.8.0)
38
- rspec-expectations (3.8.2)
39
- diff-lcs (>= 1.2.0, < 2.0)
40
- rspec-support (~> 3.8.0)
41
- rspec-mocks (3.8.0)
42
- diff-lcs (>= 1.2.0, < 2.0)
43
- rspec-support (~> 3.8.0)
44
- rspec-support (3.8.0)
45
- sqlite3 (1.3.13)
46
- thor (0.20.0)
47
- thread_safe (0.3.6)
48
- tzinfo (1.2.5)
49
- thread_safe (~> 0.1)
50
-
51
- PLATFORMS
52
- ruby
53
-
54
- DEPENDENCIES
55
- activerecord (>= 4.2)
56
- appraisal
57
- bundler (~> 1.16)
58
- capture_migration_sql!
59
- database_cleaner
60
- rake (~> 10.0)
61
- rspec (~> 3.0)
62
- sqlite3
63
-
64
- BUNDLED WITH
65
- 1.16.5
data/Rakefile DELETED
@@ -1,18 +0,0 @@
1
- require "bundler/gem_tasks"
2
- require "rspec/core/rake_task"
3
-
4
- RSpec::Core::RakeTask.new(:spec)
5
-
6
- task :default => :appraisals
7
-
8
- desc "run the specs using appraisal"
9
- task :appraisals do
10
- exec "bundle exec appraisal rake spec"
11
- end
12
-
13
- namespace :appraisals do
14
- desc "install all the appraisal gemspecs"
15
- task :install do
16
- exec "bundle exec appraisal install"
17
- end
18
- end
@@ -1,2 +0,0 @@
1
- ---
2
- BUNDLE_RETRY: "1"
@@ -1,7 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "activerecord", "~> 4.2.0"
6
-
7
- gemspec path: "../"
@@ -1,67 +0,0 @@
1
- PATH
2
- remote: ..
3
- specs:
4
- capture_migration_sql (1.0.2)
5
-
6
- GEM
7
- remote: https://rubygems.org/
8
- specs:
9
- activemodel (4.2.10)
10
- activesupport (= 4.2.10)
11
- builder (~> 3.1)
12
- activerecord (4.2.10)
13
- activemodel (= 4.2.10)
14
- activesupport (= 4.2.10)
15
- arel (~> 6.0)
16
- activesupport (4.2.10)
17
- i18n (~> 0.7)
18
- minitest (~> 5.1)
19
- thread_safe (~> 0.3, >= 0.3.4)
20
- tzinfo (~> 1.1)
21
- appraisal (2.2.0)
22
- bundler
23
- rake
24
- thor (>= 0.14.0)
25
- arel (6.0.4)
26
- builder (3.2.3)
27
- concurrent-ruby (1.0.5)
28
- database_cleaner (1.7.0)
29
- diff-lcs (1.3)
30
- i18n (0.9.5)
31
- concurrent-ruby (~> 1.0)
32
- minitest (5.11.3)
33
- rake (10.5.0)
34
- rspec (3.8.0)
35
- rspec-core (~> 3.8.0)
36
- rspec-expectations (~> 3.8.0)
37
- rspec-mocks (~> 3.8.0)
38
- rspec-core (3.8.0)
39
- rspec-support (~> 3.8.0)
40
- rspec-expectations (3.8.1)
41
- diff-lcs (>= 1.2.0, < 2.0)
42
- rspec-support (~> 3.8.0)
43
- rspec-mocks (3.8.0)
44
- diff-lcs (>= 1.2.0, < 2.0)
45
- rspec-support (~> 3.8.0)
46
- rspec-support (3.8.0)
47
- sqlite3 (1.3.13)
48
- thor (0.20.0)
49
- thread_safe (0.3.6)
50
- tzinfo (1.2.5)
51
- thread_safe (~> 0.1)
52
-
53
- PLATFORMS
54
- ruby
55
-
56
- DEPENDENCIES
57
- activerecord (~> 4.2.0)
58
- appraisal
59
- bundler (~> 1.16)
60
- capture_migration_sql!
61
- database_cleaner
62
- rake (~> 10.0)
63
- rspec (~> 3.0)
64
- sqlite3
65
-
66
- BUNDLED WITH
67
- 1.16.5
@@ -1,7 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "activerecord", "~> 5.0.0"
6
-
7
- gemspec path: "../"
@@ -1,65 +0,0 @@
1
- PATH
2
- remote: ..
3
- specs:
4
- capture_migration_sql (1.0.2)
5
-
6
- GEM
7
- remote: https://rubygems.org/
8
- specs:
9
- activemodel (5.0.7)
10
- activesupport (= 5.0.7)
11
- activerecord (5.0.7)
12
- activemodel (= 5.0.7)
13
- activesupport (= 5.0.7)
14
- arel (~> 7.0)
15
- activesupport (5.0.7)
16
- concurrent-ruby (~> 1.0, >= 1.0.2)
17
- i18n (>= 0.7, < 2)
18
- minitest (~> 5.1)
19
- tzinfo (~> 1.1)
20
- appraisal (2.2.0)
21
- bundler
22
- rake
23
- thor (>= 0.14.0)
24
- arel (7.1.4)
25
- concurrent-ruby (1.0.5)
26
- database_cleaner (1.7.0)
27
- diff-lcs (1.3)
28
- i18n (1.1.0)
29
- concurrent-ruby (~> 1.0)
30
- minitest (5.11.3)
31
- rake (10.5.0)
32
- rspec (3.8.0)
33
- rspec-core (~> 3.8.0)
34
- rspec-expectations (~> 3.8.0)
35
- rspec-mocks (~> 3.8.0)
36
- rspec-core (3.8.0)
37
- rspec-support (~> 3.8.0)
38
- rspec-expectations (3.8.1)
39
- diff-lcs (>= 1.2.0, < 2.0)
40
- rspec-support (~> 3.8.0)
41
- rspec-mocks (3.8.0)
42
- diff-lcs (>= 1.2.0, < 2.0)
43
- rspec-support (~> 3.8.0)
44
- rspec-support (3.8.0)
45
- sqlite3 (1.3.13)
46
- thor (0.20.0)
47
- thread_safe (0.3.6)
48
- tzinfo (1.2.5)
49
- thread_safe (~> 0.1)
50
-
51
- PLATFORMS
52
- ruby
53
-
54
- DEPENDENCIES
55
- activerecord (~> 5.0.0)
56
- appraisal
57
- bundler (~> 1.16)
58
- capture_migration_sql!
59
- database_cleaner
60
- rake (~> 10.0)
61
- rspec (~> 3.0)
62
- sqlite3
63
-
64
- BUNDLED WITH
65
- 1.16.5
@@ -1,7 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "activerecord", "~> 5.1.0"
6
-
7
- gemspec path: "../"
@@ -1,65 +0,0 @@
1
- PATH
2
- remote: ..
3
- specs:
4
- capture_migration_sql (1.0.2)
5
-
6
- GEM
7
- remote: https://rubygems.org/
8
- specs:
9
- activemodel (5.1.6)
10
- activesupport (= 5.1.6)
11
- activerecord (5.1.6)
12
- activemodel (= 5.1.6)
13
- activesupport (= 5.1.6)
14
- arel (~> 8.0)
15
- activesupport (5.1.6)
16
- concurrent-ruby (~> 1.0, >= 1.0.2)
17
- i18n (>= 0.7, < 2)
18
- minitest (~> 5.1)
19
- tzinfo (~> 1.1)
20
- appraisal (2.2.0)
21
- bundler
22
- rake
23
- thor (>= 0.14.0)
24
- arel (8.0.0)
25
- concurrent-ruby (1.0.5)
26
- database_cleaner (1.7.0)
27
- diff-lcs (1.3)
28
- i18n (1.1.0)
29
- concurrent-ruby (~> 1.0)
30
- minitest (5.11.3)
31
- rake (10.5.0)
32
- rspec (3.8.0)
33
- rspec-core (~> 3.8.0)
34
- rspec-expectations (~> 3.8.0)
35
- rspec-mocks (~> 3.8.0)
36
- rspec-core (3.8.0)
37
- rspec-support (~> 3.8.0)
38
- rspec-expectations (3.8.1)
39
- diff-lcs (>= 1.2.0, < 2.0)
40
- rspec-support (~> 3.8.0)
41
- rspec-mocks (3.8.0)
42
- diff-lcs (>= 1.2.0, < 2.0)
43
- rspec-support (~> 3.8.0)
44
- rspec-support (3.8.0)
45
- sqlite3 (1.3.13)
46
- thor (0.20.0)
47
- thread_safe (0.3.6)
48
- tzinfo (1.2.5)
49
- thread_safe (~> 0.1)
50
-
51
- PLATFORMS
52
- ruby
53
-
54
- DEPENDENCIES
55
- activerecord (~> 5.1.0)
56
- appraisal
57
- bundler (~> 1.16)
58
- capture_migration_sql!
59
- database_cleaner
60
- rake (~> 10.0)
61
- rspec (~> 3.0)
62
- sqlite3
63
-
64
- BUNDLED WITH
65
- 1.16.5
@@ -1,7 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "activerecord", "~> 5.2.0"
6
-
7
- gemspec path: "../"
@@ -1,65 +0,0 @@
1
- PATH
2
- remote: ..
3
- specs:
4
- capture_migration_sql (1.0.2)
5
-
6
- GEM
7
- remote: https://rubygems.org/
8
- specs:
9
- activemodel (5.2.1)
10
- activesupport (= 5.2.1)
11
- activerecord (5.2.1)
12
- activemodel (= 5.2.1)
13
- activesupport (= 5.2.1)
14
- arel (>= 9.0)
15
- activesupport (5.2.1)
16
- concurrent-ruby (~> 1.0, >= 1.0.2)
17
- i18n (>= 0.7, < 2)
18
- minitest (~> 5.1)
19
- tzinfo (~> 1.1)
20
- appraisal (2.2.0)
21
- bundler
22
- rake
23
- thor (>= 0.14.0)
24
- arel (9.0.0)
25
- concurrent-ruby (1.0.5)
26
- database_cleaner (1.7.0)
27
- diff-lcs (1.3)
28
- i18n (1.1.0)
29
- concurrent-ruby (~> 1.0)
30
- minitest (5.11.3)
31
- rake (10.5.0)
32
- rspec (3.8.0)
33
- rspec-core (~> 3.8.0)
34
- rspec-expectations (~> 3.8.0)
35
- rspec-mocks (~> 3.8.0)
36
- rspec-core (3.8.0)
37
- rspec-support (~> 3.8.0)
38
- rspec-expectations (3.8.1)
39
- diff-lcs (>= 1.2.0, < 2.0)
40
- rspec-support (~> 3.8.0)
41
- rspec-mocks (3.8.0)
42
- diff-lcs (>= 1.2.0, < 2.0)
43
- rspec-support (~> 3.8.0)
44
- rspec-support (3.8.0)
45
- sqlite3 (1.3.13)
46
- thor (0.20.0)
47
- thread_safe (0.3.6)
48
- tzinfo (1.2.5)
49
- thread_safe (~> 0.1)
50
-
51
- PLATFORMS
52
- ruby
53
-
54
- DEPENDENCIES
55
- activerecord (~> 5.2.0)
56
- appraisal
57
- bundler (~> 1.16)
58
- capture_migration_sql!
59
- database_cleaner
60
- rake (~> 10.0)
61
- rspec (~> 3.0)
62
- sqlite3
63
-
64
- BUNDLED WITH
65
- 1.16.5