spread_beaver 0.0.1 → 0.0.2

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
  SHA1:
3
- metadata.gz: 44dcd6c05da8f54db561229e1656865172be4d9e
4
- data.tar.gz: bbd1b31028cbe167fa9cae3441dd62eab5162d2c
3
+ metadata.gz: 5109341b05b7feb31dd0e763b81d1dd0848d11cf
4
+ data.tar.gz: 9fa5d7d120fe4a66b46add3c9b2c350a3a5bcbc2
5
5
  SHA512:
6
- metadata.gz: 103d3a26a8d6aab84d105c3e594e2f7152283d0a0a122de0a51d5f9326b01dcc2621f7e2bc389d98b20526a2009e3bbcc5f453d387ba62c57cf58f6888a8d4b8
7
- data.tar.gz: 986c790139c16dc2546846318943778678cda0cad5fe670b3d646e6cceacb9a2d35d5ea06ead47ac285dacabadb1a179f1d3e61bd11a61c490dc236a5e5ded47
6
+ metadata.gz: f31399c6c19dcf33285788b8ab729f49bfc4aba66d0a8979a6dd0f57baae86bff318752d16f409f26a65cde93308542eaf0ca162fd6312edfec5076023ec6279
7
+ data.tar.gz: 10af703faf0170a283b23d69135ce44453b9aa98156a2ea4707c9da99fcace30cccfbf162799d7ff22d8ffb199f1826203c572340df39db47af033654e60af4a
@@ -13,11 +13,11 @@ module SpreadBeaver
13
13
  end
14
14
 
15
15
  config.after_initialize do |app|
16
- cnf = config.spread_beaver
16
+ cnf = app.config.spread_beaver
17
17
  setup = -> {
18
18
  SpreadBeaver::Runner.setup!(
19
19
  app.assets[cnf.bundle].to_s,
20
- {size: cnf[:pool_size], timeout: cnf[:timeout]}
20
+ {size: cnf.pool_size, timeout: cnf.timeout}
21
21
  )
22
22
  }
23
23
  setup.call
@@ -1,3 +1,3 @@
1
1
  module SpreadBeaver
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spread_beaver
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - shinya takahashi