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 +4 -4
- data/features/step_definitions/bean_factory_steps.rb +1 -1
- data/lib/fabrique/gem_loader.rb +2 -2
- data/lib/fabrique/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0e21ab74570f9f6d47ffcbf4fd8e5a5ef598f4f3
|
4
|
+
data.tar.gz: 915750d2faf27d6bb1dbf701b0215e3470aa3a58
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
|
data/lib/fabrique/gem_loader.rb
CHANGED
@@ -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::
|
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
|
data/lib/fabrique/version.rb
CHANGED
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.
|
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:
|
11
|
+
date: 2017-03-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|