checkpoint 1.0.2 → 1.0.3
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 +4 -4
- data/lib/checkpoint/railtie.rb +1 -2
- data/lib/checkpoint/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 41834a2cddd2e33f15d474ebaa6d7e3212f8ef7c3f25a4af8e8b01f28c38121f
|
|
4
|
+
data.tar.gz: 1c9204c8b037814616ad05ed652cdca8bc836b0c17f007e29eab83dcb0d637c2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1f4a80a00753ab9d20fcf4f75af644addafad7e5e487fdc2f2f35992899163a9db2513bb137835fe4c90f1dffb0516076bb2f0fd25762140486dd08a8e7ed4a7
|
|
7
|
+
data.tar.gz: cd30847154a96d832e26a3c36b5f3ddb6008439bfccfdf5ba65aebfed67ff98c9efb7364c48ebcee3d8e07181c7406c0e34c09d2d70d6f36f3bfc45112593749
|
data/lib/checkpoint/railtie.rb
CHANGED
|
@@ -71,8 +71,6 @@ module Checkpoint
|
|
|
71
71
|
config[:opts] = { adapter: 'sqlite', database: 'db/checkpoint_development.sqlite3' }
|
|
72
72
|
when "test"
|
|
73
73
|
config[:opts] = { adapter: 'sqlite' }
|
|
74
|
-
else
|
|
75
|
-
raise "Checkpoint::DB.config must be configured."
|
|
76
74
|
end
|
|
77
75
|
end
|
|
78
76
|
|
|
@@ -84,6 +82,7 @@ module Checkpoint
|
|
|
84
82
|
# This runs after everything in 'config/initializers' runs.
|
|
85
83
|
initializer "checkpoint.after_initializers", after: :load_config_initializers do
|
|
86
84
|
config = Checkpoint::DB.config
|
|
85
|
+
raise "Checkpoint::DB.config must be configured." unless config.url || config.opts
|
|
87
86
|
Railtie.after_blocks.each do |block|
|
|
88
87
|
block.call(config.to_h)
|
|
89
88
|
end
|
data/lib/checkpoint/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: checkpoint
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Noah Botimer
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-
|
|
11
|
+
date: 2018-07-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: ettin
|