standalone_migrations 5.2.7 → 6.0.0

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
- SHA1:
3
- metadata.gz: 1986b7008c08a82adc6dbd07e8731ad127014200
4
- data.tar.gz: 22956c9490c328faad68aa63c47081aa7b146aa5
2
+ SHA256:
3
+ metadata.gz: da230149d03a3c1a2c9d615df88599e690f4c916c67118ddfe5ea8a29aaa3bd3
4
+ data.tar.gz: 4a064b52613d1298de969a468b2d56673d63e62bb3dadf8ef66c458663f35e47
5
5
  SHA512:
6
- metadata.gz: d6b4fbf516b740a3486bba884cb352db9a7eef4600158b28f8750559153235edc126315623f23f01256edc4c041d87ea6ec27a7b450a6582445e1a8593ea8231
7
- data.tar.gz: af3bc755672e629d99df9a092089696dceb8dd3e654be182c57169031e20be2c31a10485ee67cb345df66e651d3f9c94e41fdf86a552785b4103a15a28900c22
6
+ metadata.gz: 6afd779861221a5e6aadbfce173998a420eaa4f98a4ea8a4245f6551e27c4365b936c16df0ce4d2ca9845c5c649582226388fdf882f5549efac25eda25208cb6
7
+ data.tar.gz: 416811724fc812df39bdbf3a250b83548f08480020ab7f2a0cb3c58fb4991d325a9ba75e1d8ddf2e384388b1db26997393eac721829784c51e79d30288b82be9
@@ -1,9 +1,15 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.2.2
3
+ - 2.5.7
4
+ - 2.6.5
4
5
  env:
5
- - AR="~> 4.2.0" NOKOGIRI_USE_SYSTEM_LIBRARIES=1
6
- - AR="~> 5.0.0" NOKOGIRI_USE_SYSTEM_LIBRARIES=1
7
- - AR=">= 5.1.0.rc2,< 5.2" NOKOGIRI_USE_SYSTEM_LIBRARIES=1
8
- - AR=">= 5.2.0.rc2,< 5.3" NOKOGIRI_USE_SYSTEM_LIBRARIES=1
6
+ - AR="~> 4.2.0" SQL="~>1.3.6" NOKOGIRI_USE_SYSTEM_LIBRARIES=1
7
+ - AR="~> 5.0.0" SQL="~>1.3.6" NOKOGIRI_USE_SYSTEM_LIBRARIES=1
8
+ - AR=">= 5.1.0.rc2,< 5.2" SQL="~>1.3.6" NOKOGIRI_USE_SYSTEM_LIBRARIES=1
9
+ - AR=">= 5.2.0.rc2,< 5.3,!= 5.2.3,!=5.2.3.rc1" SQL="~>1.3.6" NOKOGIRI_USE_SYSTEM_LIBRARIES=1
10
+ - AR="~> 6.0.0" SQL="~>1.4" NOKOGIRI_USE_SYSTEM_LIBRARIES=1
11
+ jobs:
12
+ exclude:
13
+ - rvm: 2.6.5
14
+ env: AR="~> 4.2.0" SQL="~>1.3.6" NOKOGIRI_USE_SYSTEM_LIBRARIES=1
9
15
  script: bundle exec rake specs:travis
data/Gemfile CHANGED
@@ -1,11 +1,11 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  gem 'rake', '>= 10.0'
4
- gem 'activerecord', ENV['AR'] ? ENV['AR'].split(",") : [">= 4.2.7", "< 5.3.0"]
5
- gem 'railties', ENV['AR'] ? ENV['AR'].split(",") : [">= 4.2.7", "< 5.3.0"]
4
+ gem 'activerecord', ENV['AR'] ? ENV['AR'].split(",") : [">= 4.2.7", "< 6.1.0", "!= 5.2.3", "!=5.2.3.rc1"]
5
+ gem 'railties', ENV['AR'] ? ENV['AR'].split(",") : [">= 4.2.7", "< 6.1.0", "!= 5.2.3", "!=5.2.3.rc1"]
6
6
 
7
7
  group :dev do
8
- gem 'sqlite3', '~> 1.3.6'
8
+ gem 'sqlite3', ENV['SQL'] ? ENV['SQL'].split(",") : ['~> 1.4']
9
9
  gem 'rspec', '>= 2.99.0'
10
10
  gem 'jeweler'
11
11
  end
@@ -265,3 +265,5 @@ Contributors
265
265
  - [Jonathan Rochkind](https://github.com/jrochkind)
266
266
  - [Michael Mikhailov](https://github.com/yohanson)
267
267
  - [Benjamin Dobell](https://github.com/Benjamin-Dobell)
268
+ - [Hassan Mahmoud](https://github.com/HassanTC)
269
+ - [Marco Adkins](https://github.com/marcoadkins)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 5.2.7
1
+ 6.0.0
@@ -3,7 +3,7 @@ module StandaloneMigrations
3
3
  class << self
4
4
  def configure(options = {})
5
5
  Deprecations.new.call
6
- configurator = Configurator.new options
6
+ Configurator.new options
7
7
  end
8
8
 
9
9
  def load_tasks(options = {})
@@ -87,6 +87,7 @@ end
87
87
  end
88
88
 
89
89
  before do
90
+ StandaloneMigrations::Configurator.instance_variable_set(:@env_config, nil)
90
91
  `rm -rf spec/tmp` if File.exist?('spec/tmp')
91
92
  `mkdir spec/tmp`
92
93
  write_rakefile
@@ -98,6 +99,9 @@ development:
98
99
  test:
99
100
  adapter: sqlite3
100
101
  database: db/test.sql
102
+ production:
103
+ adapter: sqlite3
104
+ database: db/production.sql
101
105
  TXT
102
106
  end
103
107
 
@@ -121,7 +125,7 @@ test:
121
125
 
122
126
  describe 'callbacks' do
123
127
  it 'runs the callbacks' do
124
- expect(StandaloneMigrations::Tasks).to receive(:configure)
128
+ expect(StandaloneMigrations::Tasks).to receive(:configure).and_call_original
125
129
 
126
130
  connection_established = false
127
131
  expect(ActiveRecord::Base).to receive(:establish_connection) do
@@ -2,17 +2,17 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: standalone_migrations 5.2.7 ruby lib
5
+ # stub: standalone_migrations 6.0.0 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
- s.name = "standalone_migrations"
9
- s.version = "5.2.7"
8
+ s.name = "standalone_migrations".freeze
9
+ s.version = "6.0.0"
10
10
 
11
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
- s.require_paths = ["lib"]
13
- s.authors = ["Todd Huss", "Michael Grosser"]
14
- s.date = "2019-02-08"
15
- s.email = "thuss@gabrito.com"
11
+ s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
+ s.require_paths = ["lib".freeze]
13
+ s.authors = ["Todd Huss".freeze, "Michael Grosser".freeze]
14
+ s.date = "2020-06-11"
15
+ s.email = "thuss@gabrito.com".freeze
16
16
  s.extra_rdoc_files = [
17
17
  "LICENSE",
18
18
  "README.markdown"
@@ -49,27 +49,23 @@ Gem::Specification.new do |s|
49
49
  "vendor/migration_helpers/init.rb",
50
50
  "vendor/migration_helpers/lib/migration_helper.rb"
51
51
  ]
52
- s.homepage = "http://github.com/thuss/standalone-migrations"
53
- s.licenses = ["MIT"]
54
- s.rubygems_version = "2.4.8"
55
- s.summary = "A thin wrapper to use Rails Migrations in non Rails projects"
52
+ s.homepage = "http://github.com/thuss/standalone-migrations".freeze
53
+ s.licenses = ["MIT".freeze]
54
+ s.rubygems_version = "3.1.2".freeze
55
+ s.summary = "A thin wrapper to use Rails Migrations in non Rails projects".freeze
56
56
 
57
57
  if s.respond_to? :specification_version then
58
58
  s.specification_version = 4
59
+ end
59
60
 
60
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
61
- s.add_runtime_dependency(%q<rake>, [">= 10.0"])
62
- s.add_runtime_dependency(%q<activerecord>, ["< 5.3.0", ">= 4.2.7"])
63
- s.add_runtime_dependency(%q<railties>, ["< 5.3.0", ">= 4.2.7"])
64
- else
65
- s.add_dependency(%q<rake>, [">= 10.0"])
66
- s.add_dependency(%q<activerecord>, ["< 5.3.0", ">= 4.2.7"])
67
- s.add_dependency(%q<railties>, ["< 5.3.0", ">= 4.2.7"])
68
- end
61
+ if s.respond_to? :add_runtime_dependency then
62
+ s.add_runtime_dependency(%q<rake>.freeze, [">= 10.0"])
63
+ s.add_runtime_dependency(%q<activerecord>.freeze, [">= 4.2.7", "< 6.1.0", "!= 5.2.3", "!= 5.2.3.rc1"])
64
+ s.add_runtime_dependency(%q<railties>.freeze, [">= 4.2.7", "< 6.1.0", "!= 5.2.3", "!= 5.2.3.rc1"])
69
65
  else
70
- s.add_dependency(%q<rake>, [">= 10.0"])
71
- s.add_dependency(%q<activerecord>, ["< 5.3.0", ">= 4.2.7"])
72
- s.add_dependency(%q<railties>, ["< 5.3.0", ">= 4.2.7"])
66
+ s.add_dependency(%q<rake>.freeze, [">= 10.0"])
67
+ s.add_dependency(%q<activerecord>.freeze, [">= 4.2.7", "< 6.1.0", "!= 5.2.3", "!= 5.2.3.rc1"])
68
+ s.add_dependency(%q<railties>.freeze, [">= 4.2.7", "< 6.1.0", "!= 5.2.3", "!= 5.2.3.rc1"])
73
69
  end
74
70
  end
75
71
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: standalone_migrations
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.2.7
4
+ version: 6.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Todd Huss
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-02-08 00:00:00.000000000 Z
12
+ date: 2020-06-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
@@ -29,42 +29,66 @@ dependencies:
29
29
  name: activerecord
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - "<"
33
- - !ruby/object:Gem::Version
34
- version: 5.3.0
35
32
  - - ">="
36
33
  - !ruby/object:Gem::Version
37
34
  version: 4.2.7
35
+ - - "<"
36
+ - !ruby/object:Gem::Version
37
+ version: 6.1.0
38
+ - - "!="
39
+ - !ruby/object:Gem::Version
40
+ version: 5.2.3
41
+ - - "!="
42
+ - !ruby/object:Gem::Version
43
+ version: 5.2.3.rc1
38
44
  type: :runtime
39
45
  prerelease: false
40
46
  version_requirements: !ruby/object:Gem::Requirement
41
47
  requirements:
42
- - - "<"
43
- - !ruby/object:Gem::Version
44
- version: 5.3.0
45
48
  - - ">="
46
49
  - !ruby/object:Gem::Version
47
50
  version: 4.2.7
51
+ - - "<"
52
+ - !ruby/object:Gem::Version
53
+ version: 6.1.0
54
+ - - "!="
55
+ - !ruby/object:Gem::Version
56
+ version: 5.2.3
57
+ - - "!="
58
+ - !ruby/object:Gem::Version
59
+ version: 5.2.3.rc1
48
60
  - !ruby/object:Gem::Dependency
49
61
  name: railties
50
62
  requirement: !ruby/object:Gem::Requirement
51
63
  requirements:
52
- - - "<"
53
- - !ruby/object:Gem::Version
54
- version: 5.3.0
55
64
  - - ">="
56
65
  - !ruby/object:Gem::Version
57
66
  version: 4.2.7
67
+ - - "<"
68
+ - !ruby/object:Gem::Version
69
+ version: 6.1.0
70
+ - - "!="
71
+ - !ruby/object:Gem::Version
72
+ version: 5.2.3
73
+ - - "!="
74
+ - !ruby/object:Gem::Version
75
+ version: 5.2.3.rc1
58
76
  type: :runtime
59
77
  prerelease: false
60
78
  version_requirements: !ruby/object:Gem::Requirement
61
79
  requirements:
62
- - - "<"
63
- - !ruby/object:Gem::Version
64
- version: 5.3.0
65
80
  - - ">="
66
81
  - !ruby/object:Gem::Version
67
82
  version: 4.2.7
83
+ - - "<"
84
+ - !ruby/object:Gem::Version
85
+ version: 6.1.0
86
+ - - "!="
87
+ - !ruby/object:Gem::Version
88
+ version: 5.2.3
89
+ - - "!="
90
+ - !ruby/object:Gem::Version
91
+ version: 5.2.3.rc1
68
92
  description:
69
93
  email: thuss@gabrito.com
70
94
  executables: []
@@ -122,8 +146,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
122
146
  - !ruby/object:Gem::Version
123
147
  version: '0'
124
148
  requirements: []
125
- rubyforge_project:
126
- rubygems_version: 2.4.8
149
+ rubygems_version: 3.1.2
127
150
  signing_key:
128
151
  specification_version: 4
129
152
  summary: A thin wrapper to use Rails Migrations in non Rails projects