bindeps 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bindeps.gemspec +1 -1
- data/lib/bindeps.rb +3 -1
- data/lib/bindeps/version.rb +1 -1
- data/test/test_bindeps.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b07814f574d3695f940067291571a19c0f11f69c
|
4
|
+
data.tar.gz: 605a2ec27508c8c87b1e7275d9f091333c7aa9ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e70535f6f0a477b8c43c8868481431cf71dd0f758d7f42047ebdb3a119045bd6131efa1a8668b54c7c38faaa15627e34d145d6ab1ad26c3f4fd91e58cda3c78
|
7
|
+
data.tar.gz: c28a30941eed04bab4bfd078d5eaf3f193e39ffa0794b69563e11a9eff283cfc03b9b3f760061c0b51bb636ea6783193475a8162ab6eca54a9a1f4fc45bb5256
|
data/bindeps.gemspec
CHANGED
@@ -6,7 +6,7 @@ require 'bindeps/version'
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = "bindeps"
|
8
8
|
spec.version = Bindeps::VERSION
|
9
|
-
spec.authors = ["Richard Smith-Unna"]
|
9
|
+
spec.authors = ["Richard Smith-Unna", "Chris Boursnell"]
|
10
10
|
spec.email = ["rds45@cam.ac.uk"]
|
11
11
|
spec.description = %q{binary dependency management for ruby gems}
|
12
12
|
spec.summary = %q{binary dependency management for ruby gems}
|
data/lib/bindeps.rb
CHANGED
@@ -43,7 +43,7 @@ module Bindeps
|
|
43
43
|
config['version'],
|
44
44
|
config['url'],
|
45
45
|
unpack)
|
46
|
-
missing <<
|
46
|
+
missing << d unless d.all_installed?
|
47
47
|
end
|
48
48
|
end
|
49
49
|
missing
|
@@ -51,6 +51,8 @@ module Bindeps
|
|
51
51
|
|
52
52
|
class Dependency
|
53
53
|
|
54
|
+
attr_reader :name, :version, :binaries
|
55
|
+
|
54
56
|
def initialize(name, binaries, versionconfig, urlconfig, unpack)
|
55
57
|
@name = name
|
56
58
|
unless binaries.is_a? Array
|
data/lib/bindeps/version.rb
CHANGED
data/test/test_bindeps.rb
CHANGED
@@ -28,7 +28,7 @@ class TestBindeps < Test::Unit::TestCase
|
|
28
28
|
test_yaml = File.join(@data_dir, 'neverinstalled.yaml')
|
29
29
|
missing = Bindeps.missing test_yaml
|
30
30
|
assert_equal 1, missing.length
|
31
|
-
assert_equal 'neverinstalled', missing.first
|
31
|
+
assert_equal 'neverinstalled', missing.first.binaries.first
|
32
32
|
end
|
33
33
|
|
34
34
|
should "handle case where version is not on first line" do
|
metadata
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bindeps
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Richard Smith-Unna
|
8
|
+
- Chris Boursnell
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2014-10-
|
12
|
+
date: 2014-10-18 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: which
|