combustion 0.9.1 → 1.0.0

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.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/HISTORY +4 -0
  3. data/README.md +12 -2
  4. data/combustion.gemspec +1 -1
  5. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0c1a369737ff21b225eee681a7ca0258f87a6141870885bc7cf4ce29ef6fd10c
4
- data.tar.gz: 88f61f3c7f3d7f57b71f5be4a351c1bd93c374a81c5fcf76d8f2e6eae299de77
3
+ metadata.gz: 00e770c8fcc3c15a6918486de7f5dbb93091bb457f28df2cb0123f0d0853f44c
4
+ data.tar.gz: 4efd8db0a68d99e752f431b0f6d2da7fbc34092c11db254af93b038480811a34
5
5
  SHA512:
6
- metadata.gz: c5133bd2a0a3359d5562e0a62cd0561d63f7ce067bcf52773a48e09c1d54e1a7bdf2186683e87f82b98524f129a3e5c29aae792ccb0d1efd2f49abdfe556773f
7
- data.tar.gz: 59f5f629ab28a8c6578e03617cedaec720a289917d4a1a37b1b713f63e0caf826aafe6f4addd8d0f78fb213abd173a6657b57cb4a9f87c764bcfd1f8a69571be
6
+ metadata.gz: d089a752fd8bc317d4add3cc6da88b648b4bb13feb25b7dabaea4f0a6e31bc042198c3aa7d52fb8206091f2db337ee75f9303fce7fc284cd7aea316727075a2d
7
+ data.tar.gz: 0c6c9b3e94d5ec4f376f8d2b784b00dcb3e2f247e8b27ed175dbebf88c373141f6dee0b128f4520c2dce5f90841dbaee2dd5ceb903900204a1f6441c1a5a388e
data/HISTORY CHANGED
@@ -1,3 +1,7 @@
1
+ 1.0.0 - October 3rd 2018
2
+ * No functional changes.
3
+ * Added documentation about database preparation options.
4
+
1
5
  0.9.1 - April 25th 2018
2
6
  * Fix Rails 5.2 compatibility by not setting the deprecated secret_token configuration option.
3
7
 
data/README.md CHANGED
@@ -10,10 +10,10 @@ Get the gem into either your gemspec or your Gemfile, depending on how you manag
10
10
 
11
11
  ```ruby
12
12
  # gemspec
13
- gem.add_development_dependency 'combustion', '~> 0.9.1'
13
+ gem.add_development_dependency 'combustion', '~> 1.0'
14
14
 
15
15
  # Gemfile
16
- gem 'combustion', '~> 0.9.1'
16
+ gem 'combustion', '~> 1.0'
17
17
  ```
18
18
 
19
19
  In your `spec_helper.rb`, get Combustion to set itself up - which has to happen before you introduce `rspec/rails` and - if being used - `capybara/rails`. Here's an example within context:
@@ -105,6 +105,16 @@ ActiveRecord::Schema.define do
105
105
  end
106
106
  ```
107
107
 
108
+ #### Disabling Database Preparation
109
+
110
+ If you are preparing your own database manually or through different processes, you can disable different parts of the setup process by the following flags: `:database_reset`, `:load_schema`, and `:database_migrate`. All default to true.
111
+
112
+ ```ruby
113
+ Combustion.initialize! :active_record,
114
+ :database_reset => false,
115
+ :load_schema => false
116
+ ```
117
+
108
118
  ### Configuring Combustion to initialise the test db from a .sql file instead of schema.rb
109
119
 
110
120
  Name the file structure.sql and configure Combustion to use it before initialising:
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "combustion"
5
- s.version = "0.9.1"
5
+ s.version = "1.0.0"
6
6
  s.authors = ["Pat Allan"]
7
7
  s.email = ["pat@freelancing-gods.com"]
8
8
  s.homepage = "https://github.com/pat/combustion"
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.9.1
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pat Allan
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-04-25 00:00:00.000000000 Z
11
+ date: 2018-10-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport