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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 06e05f3ffafe94d6a5df90db1b3289e8dde4ce54
4
- data.tar.gz: a3300357574fb4a5de698ada1f8c340932c59d61
3
+ metadata.gz: b07814f574d3695f940067291571a19c0f11f69c
4
+ data.tar.gz: 605a2ec27508c8c87b1e7275d9f091333c7aa9ea
5
5
  SHA512:
6
- metadata.gz: 8dd426661bd8d439a16b9eba2b79a4d6df7aeb6b3f35f9b2394d90e881ba1409e9135a7e202521fcfcb6bed950aec80dbdfb37cff2213e103f74c1bcbaea684c
7
- data.tar.gz: d54dc5a9398948d71d040772b00718cc721a8d6632d29a99519d0044937d0c973e52bd15d5026056ca3e4a5255000ed180e77c30899b687c28f11375fcd5e93d
6
+ metadata.gz: 2e70535f6f0a477b8c43c8868481431cf71dd0f758d7f42047ebdb3a119045bd6131efa1a8668b54c7c38faaa15627e34d145d6ab1ad26c3f4fd91e58cda3c78
7
+ data.tar.gz: c28a30941eed04bab4bfd078d5eaf3f193e39ffa0794b69563e11a9eff283cfc03b9b3f760061c0b51bb636ea6783193475a8162ab6eca54a9a1f4fc45bb5256
@@ -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}
@@ -43,7 +43,7 @@ module Bindeps
43
43
  config['version'],
44
44
  config['url'],
45
45
  unpack)
46
- missing << name unless d.all_installed?
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
@@ -1,3 +1,3 @@
1
1
  module Bindeps
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
@@ -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.2
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-17 00:00:00.000000000 Z
12
+ date: 2014-10-18 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: which