envied 0.3.0 → 0.3.1

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: 2f0f26f023604dac352019bbee3aecde27fc9da2
4
- data.tar.gz: 653204a1873319f4e4e15420fd17e659a98e187a
3
+ metadata.gz: 591c914549fd162d08a2cb78db12f68b7eab29e8
4
+ data.tar.gz: 87b5af48a1422bb8f2ff6bb8c9c566fbd86f909e
5
5
  SHA512:
6
- metadata.gz: 88c894f8addd2f09ce5406048f3010b7d4bd561aad6a0bd1b8461e6d5e8170c559f314edb45aab1d3d4efec2c9afe51b705e696dacde64eaa10a2ea2a5b4f92c
7
- data.tar.gz: a43d8d92ef633b6fc1b390939ce440e768dac363a4ec05b229238cebc23894ca68d8b160bca65c93d9f9007328a81c53d82d2390a99411cb627653e193d63edb
6
+ metadata.gz: 7ab15f9483472b1977f56fbbb224fe880ac40e126e36972ddf0908dcd0cc5baa28c3d9e3aa7f47f6784160796cf94f752ebbb328fa0fcb0ed7763dd66de98fbc
7
+ data.tar.gz: fa3a4be832c289a0bc4ca2b6ba423224d2b6590b9e0836345b1d915a72291a0bf7ed3e13d4b74b5fdbfa731348c521ef3bf1de1b1761c89360944e968043276b
data/README.md CHANGED
@@ -63,7 +63,7 @@ The following types are supported:
63
63
  In order to let other developers easily bootstrap the application, you can assign defaults to variables.
64
64
  Defaults can be a value or a `Proc` (see example below).
65
65
 
66
- Note that 'easily bootstrap' is rather different than 'fail-fast when not all ENV-variables are present'. Therefor it's disabled by default and you should explicitly state whén it is allowed:
66
+ Note that 'easily bootstrap' is quite the opposite of 'fail-fast when not all ENV-variables are present'. Therefor it's disabled by default and you should explicitly state whén it is allowed:
67
67
 
68
68
  ```ruby
69
69
  ENVied.configure(enable_defaults: Rails.env.development?) do |env|
data/envied.gemspec CHANGED
@@ -1,7 +1,7 @@
1
1
  # coding: utf-8
2
2
  lib = File.expand_path('../lib', __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'envied'
4
+ require 'envied/version'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "envied"
data/lib/envied.rb CHANGED
@@ -1,5 +1,4 @@
1
1
  class ENVied
2
- VERSION = "0.3.0"
3
2
  module Configurable
4
3
  require 'virtus'
5
4
 
data/spec/envied_spec.rb CHANGED
@@ -49,7 +49,7 @@ describe ENVied do
49
49
  context 'ENV contains not all configured variables' do
50
50
  before { configured_with(a: :Integer).and_no_ENV }
51
51
 
52
- it 'raises EnvMissing on calling required!' do
52
+ it 'raises EnvMissing on calling require!' do
53
53
  expect {
54
54
  ENVied.require!
55
55
  }.to raise_error(ENVied::Configurable::VariableMissingError)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: envied
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gert Goet
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-13 00:00:00.000000000 Z
11
+ date: 2014-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: virtus