fabrique 1.0.1 → 1.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: 2e300f8bf753f7c3087c94db1a3a94bd41e4964c
4
- data.tar.gz: 9512f2e6bd7d69d8e76f00fa9eb17a63dfd09d9f
3
+ metadata.gz: 0e21ab74570f9f6d47ffcbf4fd8e5a5ef598f4f3
4
+ data.tar.gz: 915750d2faf27d6bb1dbf701b0215e3470aa3a58
5
5
  SHA512:
6
- metadata.gz: ba6d63d716c3d901a3ef209dce4734707e3084a4213b54457d55712b2bd327375a695eb8b99387b681ab3e2d6d8f3f367a86d8b51be2a839f0711168697354b9
7
- data.tar.gz: 9a289a742376878ed8337acae369aa2aaf8e2e0597491c31448c17db25c2c9338096bf0425ee3801edf30dfc30761c4b3c0fdcedeac9e9658d4f5ac68bae33ac
6
+ metadata.gz: f5f94ea1f61b0d74d6ffefaa45844804db4c652de70799bcc0fa2282a709952deecccf63e98a975dbfd5d549dbbacb08da4c7261d23232ff9014b19a55103d06
7
+ data.tar.gz: 8f138a61ed91ee5a0e4204673f38d9830c4e3e4f02fdd48cc70eef0eb61c9f68e30db6caa3198c7e771c775920f51fd7f1fcb6f6482ac3c16233a35905d52946
@@ -84,7 +84,7 @@ Given(/^the "(.*?)" gem is not installed$/) do |gem|
84
84
  dep = Gem::Dependency.new(gem, Gem::Requirement.default)
85
85
  specs = dep.matching_specs
86
86
  specs.each do |spec|
87
- Gem::Uninstaller.new(spec).uninstall
87
+ Gem::Uninstaller.new(spec.name).uninstall
88
88
  end
89
89
  end
90
90
 
@@ -16,8 +16,8 @@ module Fabrique
16
16
  spec.activate
17
17
  end
18
18
  @gem_defs.collect(&:required_as).each { |x| require x }
19
- rescue Gem::DependencyError => e
20
- raise GemDependencyError.new(e.message)
19
+ rescue Gem::DependencyResolutionError, Gem::UnsatisfiableDependencyError => e
20
+ raise Fabrique::GemDependencyError.new(e.message)
21
21
  end
22
22
 
23
23
  end
@@ -1,3 +1,3 @@
1
1
  module Fabrique
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fabrique
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sheldon Hearn
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-23 00:00:00.000000000 Z
11
+ date: 2017-03-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler