combustion 0.7.0 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/.gitignore +2 -1
- data/.rubocop.yml +39 -0
- data/.travis.yml +5 -5
- data/Appraisals +17 -0
- data/Gemfile +2 -0
- data/HISTORY +12 -0
- data/README.md +2 -2
- data/Rakefile +11 -1
- data/combustion.gemspec +26 -22
- data/exe/combust +3 -2
- data/gemfiles/rails_3.1.gemfile +1 -0
- data/gemfiles/rails_3.2.gemfile +1 -0
- data/gemfiles/rails_4.0.gemfile +1 -0
- data/gemfiles/rails_4.1.gemfile +1 -0
- data/gemfiles/rails_4.2.gemfile +2 -0
- data/gemfiles/rails_5.0.gemfile +2 -0
- data/gemfiles/rails_5.1.gemfile +2 -0
- data/gemfiles/rails_5.2.gemfile +8 -0
- data/lib/combustion/application.rb +23 -28
- data/lib/combustion/configurations/action_controller.rb +11 -0
- data/lib/combustion/configurations/action_mailer.rb +10 -0
- data/lib/combustion/configurations/active_record.rb +13 -0
- data/lib/combustion/database/load_schema.rb +14 -4
- data/lib/combustion/database/migrate.rb +29 -12
- data/lib/combustion/database/reset.rb +40 -21
- data/lib/combustion/database.rb +23 -14
- data/lib/combustion/databases/base.rb +4 -2
- data/lib/combustion/databases/firebird.rb +3 -1
- data/lib/combustion/databases/mysql.rb +55 -26
- data/lib/combustion/databases/oracle.rb +3 -1
- data/lib/combustion/databases/postgresql.rb +12 -11
- data/lib/combustion/databases/sql_server.rb +4 -2
- data/lib/combustion/databases/sqlite.rb +9 -7
- data/lib/combustion/generator.rb +16 -14
- data/lib/combustion.rb +34 -22
- data/spec/database_spec.rb +16 -12
- data/spec/dummy/db/migrate/20150717075542_create_dummy_test_table.rb +3 -1
- data/spec/dummy/db/migrate/20150717075543_create_dummy_test_table_in_another_db.rb +3 -1
- data/spec/dummy/lib/engine.rb +3 -1
- data/spec/dummy/spec/internal/app/models/model.rb +3 -1
- data/spec/dummy/spec/internal/app/models/model_in_another_db.rb +3 -1
- data/spec/dummy/spec/internal/config/routes.rb +3 -1
- data/spec/dummy/spec/internal/db/schema.rb +4 -1
- data/spec/spec_helper.rb +7 -6
- data/templates/config.ru +4 -2
- data/templates/routes.rb +3 -1
- data/templates/schema.rb +4 -1
- metadata +22 -4
- data/bin/literals +0 -9
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: 0.
|
4
|
+
version: 0.9.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:
|
11
|
+
date: 2018-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -122,6 +122,20 @@ dependencies:
|
|
122
122
|
- - ">="
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: rubocop
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 0.54.0
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: 0.54.0
|
125
139
|
- !ruby/object:Gem::Dependency
|
126
140
|
name: sqlite3
|
127
141
|
requirement: !ruby/object:Gem::Requirement
|
@@ -146,6 +160,7 @@ extra_rdoc_files: []
|
|
146
160
|
files:
|
147
161
|
- ".gitignore"
|
148
162
|
- ".rspec"
|
163
|
+
- ".rubocop.yml"
|
149
164
|
- ".travis.yml"
|
150
165
|
- Appraisals
|
151
166
|
- Gemfile
|
@@ -153,7 +168,6 @@ files:
|
|
153
168
|
- LICENCE
|
154
169
|
- README.md
|
155
170
|
- Rakefile
|
156
|
-
- bin/literals
|
157
171
|
- combustion.gemspec
|
158
172
|
- exe/combust
|
159
173
|
- gemfiles/rails_3.1.gemfile
|
@@ -163,9 +177,13 @@ files:
|
|
163
177
|
- gemfiles/rails_4.2.gemfile
|
164
178
|
- gemfiles/rails_5.0.gemfile
|
165
179
|
- gemfiles/rails_5.1.gemfile
|
180
|
+
- gemfiles/rails_5.2.gemfile
|
166
181
|
- gemfiles/rails_5_0.gemfile
|
167
182
|
- lib/combustion.rb
|
168
183
|
- lib/combustion/application.rb
|
184
|
+
- lib/combustion/configurations/action_controller.rb
|
185
|
+
- lib/combustion/configurations/action_mailer.rb
|
186
|
+
- lib/combustion/configurations/active_record.rb
|
169
187
|
- lib/combustion/database.rb
|
170
188
|
- lib/combustion/database/load_schema.rb
|
171
189
|
- lib/combustion/database/migrate.rb
|
@@ -213,7 +231,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
213
231
|
version: '0'
|
214
232
|
requirements: []
|
215
233
|
rubyforge_project: combustion
|
216
|
-
rubygems_version: 2.6
|
234
|
+
rubygems_version: 2.7.6
|
217
235
|
signing_key:
|
218
236
|
specification_version: 4
|
219
237
|
summary: Elegant Rails Engine Testing
|
data/bin/literals
DELETED
@@ -1,9 +0,0 @@
|
|
1
|
-
if (ruby -e "exit RUBY_VERSION.to_f >= 2.4")
|
2
|
-
then
|
3
|
-
echo "Automatic frozen string literals are supported"
|
4
|
-
gem install pragmater -v 4.0.0
|
5
|
-
pragmater --add lib --comments "# frozen_string_literal: true" --whitelist "**/*.rb"
|
6
|
-
pragmater --add spec --comments "# frozen_string_literal: true" --whitelist "**/*.rb"
|
7
|
-
else
|
8
|
-
echo "Automatic frozen string literals are not supported."
|
9
|
-
fi
|