angostura 0.2 → 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
  SHA1:
3
- metadata.gz: 35547437d58eaca9ec86406bf957db4f8582abe2
4
- data.tar.gz: fa9b39acbebe8536980f790d276203c8c6bd0372
3
+ metadata.gz: 2db0419494e53b119917ae6326fdade054c57644
4
+ data.tar.gz: 734086733d0bc237213dc70f2352f7ded488d7a4
5
5
  SHA512:
6
- metadata.gz: baf9b7a7683fb1ada10daa093f9d23cd75a389d123b7986058d1eb2f4555b05be94eed19bd93a294e74ac99074b0e7b2fd70ef86811f0809e7ef32c1ab8f74df
7
- data.tar.gz: a4f0a38da7d883a0988afca7b23ed1f73d64943d88f1f0eecd4fbb447d7310421e502fe635c97292b954266e29c1cf7478bfb6a30be896a28c3c7ee1c8eb295d
6
+ metadata.gz: f7e48ab25dae50d966775d4c5d2fffef310d86dfcb44573bf9df0eb99d32d83ae864409121938f2a27ecf0c2b9fd5314b8a2beb81ec3ab23d0f9a2cba8b59a81
7
+ data.tar.gz: 82ec23fd844ff1e9458cbbd7603e8b64aff678ea432ed63a281d44852c53a8196eabdf48f113e3a55321fa66fa4b96af9a9714d2b7c4e0db4f3da45a8562d2b2
@@ -9,7 +9,7 @@ module Angostura
9
9
  yield self
10
10
 
11
11
  dependencies.each do |dependency|
12
- raise DependencyError.new(dependency) if self.send(dependency).nil?
12
+ raise Angostura::DependencyError.new(dependency) if self.send(dependency).nil?
13
13
  end
14
14
  end
15
15
 
@@ -1,5 +1,7 @@
1
- class DependencyError < StandardError
2
- def initialize(missing_dependency)
3
- super("Component requires setting a #{missing_dependency} dependency.")
1
+ module Angostura
2
+ class DependencyError < StandardError
3
+ def initialize(missing_dependency)
4
+ super("Component requires setting a #{missing_dependency} dependency.")
5
+ end
4
6
  end
5
7
  end
@@ -1,3 +1,3 @@
1
1
  module Angostura
2
- VERSION = '0.2'
2
+ VERSION = '0.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: angostura
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.2'
4
+ version: '0.3'
5
5
  platform: ruby
6
6
  authors:
7
7
  - justin