File tree Expand file tree Collapse file tree 8 files changed +175
-170
lines changed
Expand file tree Collapse file tree 8 files changed +175
-170
lines changed Original file line number Diff line number Diff line change 1- source " https://rubygems.org"
1+ source ' https://rubygems.org'
22
3- gem " activerecord", " ~> 5.2.0"
4- gem " sqlite3", " ~> 1.3", ">= 1.3.6"
3+ gem ' activerecord', ' ~> 5.2.0'
4+ gem ' sqlite3', ' ~> 1.4.2'
55
6- gemspec path: " ../"
6+ gemspec path: ' ../'
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ DEPENDENCIES
4747 minitest-rg
4848 mocha
4949 rake
50- sqlite3 (~> 1.3, >= 1.3.6 )
50+ sqlite3 (~> 1.4.2 )
5151
5252BUNDLED WITH
5353 2.2.27
Original file line number Diff line number Diff line change 1- source " https://rubygems.org"
1+ source ' https://rubygems.org'
22
3- gem " activerecord", " ~> 6.0.0"
4- gem " sqlite3", " ~> 1.4"
3+ gem ' activerecord', ' ~> 6.0.0'
4+ gem ' sqlite3', ' ~> 1.4.2'
55
6- gemspec path: " ../"
6+ gemspec path: ' ../'
Original file line number Diff line number Diff line change 1919 tzinfo (~> 1.1)
2020 zeitwerk (~> 2.2, >= 2.2.2)
2121 bump (0.10.0)
22- concurrent-ruby (1.1.9 )
23- i18n (1.8.10 )
22+ concurrent-ruby (1.3.5 )
23+ i18n (1.14.7 )
2424 concurrent-ruby (~> 1.0)
25- minitest (5.14.4 )
26- minitest-rg (5.2 .0)
25+ minitest (5.25.5 )
26+ minitest-rg (5.3 .0)
2727 minitest (~> 5.0)
28- mocha (1.13.0)
29- rake (13.0.6)
30- sqlite3 (1.4.2)
28+ mocha (2.7.1)
29+ ruby2_keywords (>= 0.0.5)
30+ rake (13.2.1)
31+ ruby2_keywords (0.0.5)
32+ sqlite3 (1.4.4)
3133 thread_safe (0.3.6)
32- tzinfo (1.2.9 )
34+ tzinfo (1.2.11 )
3335 thread_safe (~> 0.1)
34- zeitwerk (2.4.2 )
36+ zeitwerk (2.6.18 )
3537
3638PLATFORMS
3739 ruby
38- x86_64-darwin-19
39- x86_64-darwin-20
40- x86_64-linux
4140
4241DEPENDENCIES
4342 activerecord (~> 6.0.0)
@@ -47,7 +46,7 @@ DEPENDENCIES
4746 minitest-rg
4847 mocha
4948 rake
50- sqlite3 (~> 1.4)
49+ sqlite3 (~> 1.4.2 )
5150
5251BUNDLED WITH
53- 2.2.27
52+ 2.1.4
Original file line number Diff line number Diff line change 1- source " https://rubygems.org"
1+ source ' https://rubygems.org'
22
3- gem " activerecord", " ~> 6.1.0"
4- gem " sqlite3", " ~> 1.4"
3+ gem ' activerecord', ' ~> 6.1.0'
4+ gem ' sqlite3', ' ~> 1.4.2'
55
6- gemspec path: " ../"
6+ gemspec path: ' ../'
Original file line number Diff line number Diff line change 77GEM
88 remote: https://rubygems.org/
99 specs:
10- activemodel (6.1.4.1 )
11- activesupport (= 6.1.4.1 )
12- activerecord (6.1.4.1 )
13- activemodel (= 6.1.4.1 )
14- activesupport (= 6.1.4.1 )
15- activesupport (6.1.4.1 )
10+ activemodel (6.1.7.10 )
11+ activesupport (= 6.1.7.10 )
12+ activerecord (6.1.7.10 )
13+ activemodel (= 6.1.7.10 )
14+ activesupport (= 6.1.7.10 )
15+ activesupport (6.1.7.10 )
1616 concurrent-ruby (~> 1.0, >= 1.0.2)
1717 i18n (>= 1.6, < 2)
1818 minitest (>= 5.1)
1919 tzinfo (~> 2.0)
2020 zeitwerk (~> 2.3)
2121 bump (0.10.0)
22- concurrent-ruby (1.1.9 )
23- i18n (1.8.10 )
22+ concurrent-ruby (1.3.5 )
23+ i18n (1.14.7 )
2424 concurrent-ruby (~> 1.0)
25- minitest (5.14.4 )
26- minitest-rg (5.2 .0)
25+ minitest (5.25.5 )
26+ minitest-rg (5.3 .0)
2727 minitest (~> 5.0)
28- mocha (1.13.0)
29- rake (13.0.6)
30- sqlite3 (1.4.2)
31- tzinfo (2.0.4)
28+ mocha (2.7.1)
29+ ruby2_keywords (>= 0.0.5)
30+ rake (13.2.1)
31+ ruby2_keywords (0.0.5)
32+ sqlite3 (1.4.4)
33+ tzinfo (2.0.6)
3234 concurrent-ruby (~> 1.0)
33- zeitwerk (2.4.2 )
35+ zeitwerk (2.6.18 )
3436
3537PLATFORMS
3638 ruby
37- x86_64-darwin-19
38- x86_64-darwin-20
39- x86_64-linux
4039
4140DEPENDENCIES
4241 activerecord (~> 6.1.0)
@@ -46,7 +45,7 @@ DEPENDENCIES
4645 minitest-rg
4746 mocha
4847 rake
49- sqlite3 (~> 1.4)
48+ sqlite3 (~> 1.4.2 )
5049
5150BUNDLED WITH
52- 2.2.27
51+ 2.1.4
Original file line number Diff line number Diff line change 33require 'minitest/spec'
44require 'minitest/rg'
55require 'mocha/minitest'
6+ require 'logger'
67require 'active_support/all'
78require 'migration_tools'
9+ require File . expand_path ( 'rails_mock' , __dir__ ) if defined? ( Rails )
810
911MIGRATION_CLASS = if ActiveRecord ::Migration . respond_to? ( :[] )
1012 rails_version = "#{ ActiveRecord ::VERSION ::MAJOR } .#{ ActiveRecord ::VERSION ::MINOR } " . to_f
1315 ActiveRecord ::Migration
1416 end
1517
16- dir = File . expand_path ( '../ migrations' , __FILE__ )
18+ dir = File . expand_path ( 'migrations' , __dir__ )
1719ActiveRecord ::Migrator . migrations_paths . replace ( [ dir ] )
18- Dir . glob ( File . join ( dir , '*.rb' ) ) . each { |f | require f }
20+ Dir . glob ( File . join ( dir , '*.rb' ) ) . each { |f | require f }
1921
2022ActiveRecord ::Migration . verbose = false
You can’t perform that action at this time.
0 commit comments