checkpoint 1.0.2 → 1.0.3

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: b249b8b53646fd560be897b3f19d2c9dd0f9131f14acb997a82e4ba06568ebe7
4
- data.tar.gz: d08670be9a0bf1183d5e1d739471644178a4688e29539fbb84d4a5dbf6659ab5
3
+ metadata.gz: 41834a2cddd2e33f15d474ebaa6d7e3212f8ef7c3f25a4af8e8b01f28c38121f
4
+ data.tar.gz: 1c9204c8b037814616ad05ed652cdca8bc836b0c17f007e29eab83dcb0d637c2
5
5
  SHA512:
6
- metadata.gz: 3adf43abe2c7eaae63d1a4f372366907b54b4258e68494cb6929fcc079f9aa785873e5ff681f18b2c0403d7bec9c0d681ff1f5e88aaf6ed63f4883fbb463ee75
7
- data.tar.gz: 457bbea794326218b9d991f603c59d79a240b78dbce12965b0520d8460122bfb1f489588a8200a9a2b474b0247e0a002556d546a22e99181dd063fb4ca3705ac
6
+ metadata.gz: 1f4a80a00753ab9d20fcf4f75af644addafad7e5e487fdc2f2f35992899163a9db2513bb137835fe4c90f1dffb0516076bb2f0fd25762140486dd08a8e7ed4a7
7
+ data.tar.gz: cd30847154a96d832e26a3c36b5f3ddb6008439bfccfdf5ba65aebfed67ff98c9efb7364c48ebcee3d8e07181c7406c0e34c09d2d70d6f36f3bfc45112593749
@@ -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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Checkpoint
4
- VERSION = "1.0.2"
4
+ VERSION = "1.0.3"
5
5
  end
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.2
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-06-11 00:00:00.000000000 Z
11
+ date: 2018-07-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ettin