combustion 1.1.0 → 1.1.1

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: 67e781b7922d6b720d76b442ca930f1e8341e297afd9d677656b24e7a4265e85
4
- data.tar.gz: 1b21ce6080deed68c828303b92b1131d822714f1e905c29d97be76753bf82843
3
+ metadata.gz: d5388d9872369f3155c6faccf635b31da438adea2db7706ae25340fbead4952f
4
+ data.tar.gz: 340fdd914f33877e7e4c31ada8522ca05087fad4c35cc913d527074c97ee9e9b
5
5
  SHA512:
6
- metadata.gz: 2edf04f8a1f865ad131bfe324d8258824f03e415fdfef986d310d6e47663f6055cf182d5aa757cefd7563261ada0d70c64c45dff70caba90999fbcb1cababbf9
7
- data.tar.gz: b140df7dddbb1960f3a567a1d2987bca21826efeb7be031d612d742888fb67e9c2f50068278925e8a80150e1c1b509cc1412df604c042f6537846003e46daee8
6
+ metadata.gz: 584dca0d90d73ce0c831344412d137e60abcf53ba1d7f74e6dda0035ab4330bcb9d3dadc3baba1722112a2eeb0cb0af27c6ac12a3e7d52917ec2a8942f68af1b
7
+ data.tar.gz: 8e55af24b6097887de3c3ea7f5aa92112d11e3cc829bd38812a7e8872daa2022e9bb9fb55c55035a9f25a2e225f49ba9d8d318641d8afb14e9a24291b22eb305
data/.gitignore CHANGED
@@ -2,6 +2,7 @@
2
2
  .bundle
3
3
  Gemfile.lock
4
4
  gemfiles/*.lock
5
+ gemfiles/*.gemfile
5
6
  pkg/*
6
7
  .rubocop-*-yml
7
8
  .ruby-version
@@ -8,9 +8,9 @@ env:
8
8
  rvm:
9
9
  - 2.2.10
10
10
  - 2.3.8
11
- - 2.4.5
12
- - 2.5.3
13
- - 2.6.1
11
+ - 2.4.6
12
+ - 2.5.5
13
+ - 2.6.3
14
14
  before_install:
15
15
  - gem install bundler --version "~> 1.17"
16
16
  install:
data/Appraisals CHANGED
@@ -56,7 +56,15 @@ end
56
56
 
57
57
  if RUBY_VERSION.to_f >= 2.5
58
58
  appraise "rails-6.0" do
59
- gem "rails", "~> 6.0.0.beta1"
59
+ gem "rails", "~> 6.0.0.rc1"
60
60
  gem "mysql2", "~> 0.5.0"
61
+ gem "sqlite3", "~> 1.4"
62
+ end
63
+
64
+ appraise "rails-edge" do
65
+ gem "rails", :git => "https://github.com/rails/rails.git"
66
+ gem "arel", :git => "https://github.com/rails/arel.git"
67
+ gem "mysql2", "~> 0.5.0"
68
+ gem "sqlite3", "~> 1.4"
61
69
  end
62
70
  end
data/Gemfile CHANGED
@@ -4,4 +4,4 @@ source "http://rubygems.org"
4
4
 
5
5
  gemspec
6
6
 
7
- gem "sqlite3", "~> 1.3.13", :platform => :ruby
7
+ gem "sqlite3", "~> 1.3.13"
data/HISTORY CHANGED
@@ -1,3 +1,7 @@
1
+ 1.1.1 - August 3rd 2019
2
+ * Fix for latest Rails 6.0 release candidate.
3
+ * Test suite updates (Rails edge, sqlite3, Rubocop)
4
+
1
5
  1.1.0 - February 13th 2019
2
6
  * Rails 6.0 support.
3
7
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "combustion"
5
- s.version = "1.1.0"
5
+ s.version = "1.1.1"
6
6
  s.authors = ["Pat Allan"]
7
7
  s.email = ["pat@freelancing-gods.com"]
8
8
  s.homepage = "https://github.com/pat/combustion"
@@ -10,8 +10,6 @@ Gem::Specification.new do |s|
10
10
  s.description = "Test your Rails Engines without needing a full Rails app"
11
11
  s.license = "MIT"
12
12
 
13
- s.rubyforge_project = "combustion"
14
-
15
13
  s.files = `git ls-files`.split("\n")
16
14
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
17
15
  s.executables = `git ls-files -- exe/*`.split("\n").map do |file|
@@ -29,6 +27,6 @@ Gem::Specification.new do |s|
29
27
  s.add_development_dependency "pg"
30
28
  s.add_development_dependency "rails"
31
29
  s.add_development_dependency "rspec"
32
- s.add_development_dependency "rubocop", "~> 0.54.0"
30
+ s.add_development_dependency "rubocop", "~> 0.68.0"
33
31
  s.add_development_dependency "sqlite3"
34
32
  end
@@ -39,6 +39,7 @@ module Combustion
39
39
  :group => :all
40
40
  ) do
41
41
  next unless Combustion.setup_environment
42
+
42
43
  Combustion::Application.class_eval(&Combustion.setup_environment)
43
44
  end
44
45
  end
@@ -44,7 +44,13 @@ class Combustion::Database::Migrate
44
44
  end
45
45
 
46
46
  def migration_context
47
- ActiveRecord::MigrationContext.new paths
47
+ if ActiveRecord::MigrationContext.instance_method(:initialize).arity <= 1
48
+ ActiveRecord::MigrationContext.new paths
49
+ else
50
+ ActiveRecord::MigrationContext.new(
51
+ paths, ActiveRecord::Base.connection.schema_migration
52
+ )
53
+ end
48
54
  end
49
55
 
50
56
  def migrator
@@ -4,7 +4,7 @@ class Combustion::Database::Reset
4
4
  UnsupportedDatabase = Class.new StandardError
5
5
 
6
6
  OPERATOR_PATTERNS = {
7
- Combustion::Databases::MySQL => [/mysql/],
7
+ Combustion::Databases::MySQL => [/mysql/],
8
8
  Combustion::Databases::PostgreSQL => [/postgres/, /postgis/],
9
9
  Combustion::Databases::SQLite => [/sqlite/],
10
10
  Combustion::Databases::SQLServer => [/sqlserver/],
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: combustion
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pat Allan
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-02-13 00:00:00.000000000 Z
11
+ date: 2019-08-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -128,14 +128,14 @@ dependencies:
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: 0.54.0
131
+ version: 0.68.0
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: 0.54.0
138
+ version: 0.68.0
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: sqlite3
141
141
  requirement: !ruby/object:Gem::Requirement
@@ -170,15 +170,6 @@ files:
170
170
  - Rakefile
171
171
  - combustion.gemspec
172
172
  - exe/combust
173
- - gemfiles/rails_3.1.gemfile
174
- - gemfiles/rails_3.2.gemfile
175
- - gemfiles/rails_4.0.gemfile
176
- - gemfiles/rails_4.1.gemfile
177
- - gemfiles/rails_4.2.gemfile
178
- - gemfiles/rails_5.0.gemfile
179
- - gemfiles/rails_5.1.gemfile
180
- - gemfiles/rails_5.2.gemfile
181
- - gemfiles/rails_5_0.gemfile
182
173
  - lib/combustion.rb
183
174
  - lib/combustion/application.rb
184
175
  - lib/combustion/configurations/action_controller.rb
@@ -230,7 +221,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
230
221
  - !ruby/object:Gem::Version
231
222
  version: '0'
232
223
  requirements: []
233
- rubygems_version: 3.0.1
224
+ rubygems_version: 3.0.4
234
225
  signing_key:
235
226
  specification_version: 4
236
227
  summary: Elegant Rails Engine Testing
@@ -1,9 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "http://rubygems.org"
4
-
5
- gem "rails", "~> 3.1.12"
6
- gem "mysql2", "~> 0.3.10"
7
- gem "pg", "< 1.0"
8
-
9
- gemspec :path => "../"
@@ -1,9 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "http://rubygems.org"
4
-
5
- gem "rails", "~> 3.2.22.5"
6
- gem "mysql2", "~> 0.3.10"
7
- gem "pg", "< 1.0"
8
-
9
- gemspec :path => "../"
@@ -1,9 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "http://rubygems.org"
4
-
5
- gem "rails", "~> 4.0.13"
6
- gem "mysql2", "~> 0.3.10"
7
- gem "pg", "< 1.0"
8
-
9
- gemspec :path => "../"
@@ -1,9 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "http://rubygems.org"
4
-
5
- gem "rails", "~> 4.1.16"
6
- gem "mysql2", "~> 0.3.13"
7
- gem "pg", "< 1.0"
8
-
9
- gemspec :path => "../"
@@ -1,9 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "http://rubygems.org"
4
-
5
- gem "rails", "~> 4.2.8"
6
- gem "mysql2", "~> 0.4.4"
7
- gem "pg", "< 1.0"
8
-
9
- gemspec :path => "../"
@@ -1,9 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "http://rubygems.org"
4
-
5
- gem "rails", "~> 5.0.2"
6
- gem "mysql2", "~> 0.4.4"
7
- gem "pg", "< 1.0"
8
-
9
- gemspec :path => "../"
@@ -1,9 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "http://rubygems.org"
4
-
5
- gem "rails", "~> 5.1.0"
6
- gem "mysql2", "~> 0.4.4"
7
- gem "pg", "< 1.0"
8
-
9
- gemspec :path => "../"
@@ -1,8 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "http://rubygems.org"
4
-
5
- gem "rails", "~> 5.2.0"
6
- gem "mysql2", "~> 0.5.0"
7
-
8
- gemspec :path => "../"
@@ -1,7 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "http://rubygems.org"
4
-
5
- gem "rails", "~> 5.0.2"
6
-
7
- gemspec :path => "../"