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 +4 -4
- data/.gitignore +1 -0
- data/.travis.yml +3 -3
- data/Appraisals +9 -1
- data/Gemfile +1 -1
- data/HISTORY +4 -0
- data/combustion.gemspec +2 -4
- data/lib/combustion/application.rb +1 -0
- data/lib/combustion/database/migrate.rb +7 -1
- data/lib/combustion/database/reset.rb +1 -1
- metadata +5 -14
- data/gemfiles/rails_3.1.gemfile +0 -9
- data/gemfiles/rails_3.2.gemfile +0 -9
- data/gemfiles/rails_4.0.gemfile +0 -9
- data/gemfiles/rails_4.1.gemfile +0 -9
- data/gemfiles/rails_4.2.gemfile +0 -9
- data/gemfiles/rails_5.0.gemfile +0 -9
- data/gemfiles/rails_5.1.gemfile +0 -9
- data/gemfiles/rails_5.2.gemfile +0 -8
- data/gemfiles/rails_5_0.gemfile +0 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d5388d9872369f3155c6faccf635b31da438adea2db7706ae25340fbead4952f
|
4
|
+
data.tar.gz: 340fdd914f33877e7e4c31ada8522ca05087fad4c35cc913d527074c97ee9e9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 584dca0d90d73ce0c831344412d137e60abcf53ba1d7f74e6dda0035ab4330bcb9d3dadc3baba1722112a2eeb0cb0af27c6ac12a3e7d52917ec2a8942f68af1b
|
7
|
+
data.tar.gz: 8e55af24b6097887de3c3ea7f5aa92112d11e3cc829bd38812a7e8872daa2022e9bb9fb55c55035a9f25a2e225f49ba9d8d318641d8afb14e9a24291b22eb305
|
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
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.
|
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
data/HISTORY
CHANGED
data/combustion.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = "combustion"
|
5
|
-
s.version = "1.1.
|
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.
|
30
|
+
s.add_development_dependency "rubocop", "~> 0.68.0"
|
33
31
|
s.add_development_dependency "sqlite3"
|
34
32
|
end
|
@@ -44,7 +44,13 @@ class Combustion::Database::Migrate
|
|
44
44
|
end
|
45
45
|
|
46
46
|
def migration_context
|
47
|
-
ActiveRecord::MigrationContext.
|
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
|
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.
|
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-
|
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.
|
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.
|
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.
|
224
|
+
rubygems_version: 3.0.4
|
234
225
|
signing_key:
|
235
226
|
specification_version: 4
|
236
227
|
summary: Elegant Rails Engine Testing
|
data/gemfiles/rails_3.1.gemfile
DELETED
data/gemfiles/rails_3.2.gemfile
DELETED
data/gemfiles/rails_4.0.gemfile
DELETED
data/gemfiles/rails_4.1.gemfile
DELETED
data/gemfiles/rails_4.2.gemfile
DELETED
data/gemfiles/rails_5.0.gemfile
DELETED
data/gemfiles/rails_5.1.gemfile
DELETED
data/gemfiles/rails_5.2.gemfile
DELETED