bindeps 0.0.1 → 0.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: 9d3bcdb20047a2dd41c765e8f0b11a7da907f64a
4
- data.tar.gz: 20503629d68af6982d499746de100d8bf1872bb8
3
+ metadata.gz: 2ca5b4bedc431ca44c4c713596afb2c305a6587e
4
+ data.tar.gz: b8826a3c9bf83099d8d70dabb4eeb2d0209843ee
5
5
  SHA512:
6
- metadata.gz: d9517fd6405d97642b1356557ff86eb96c7f60a1cd0a1c7887cbe2e4f231ab41c72ff75a04d68c87a4c83ef61d0e73085e59182708717216227573479db28f4e
7
- data.tar.gz: 09224feaa1faf1ed3e32039d4be1c97f6d8bb5e70235b74b09db813320323569517114585c533df96edd3e93cdcb91db1f877c047e45dd3c2ba940efd9674f6d
6
+ metadata.gz: e63e606f4763a3d782264f1f6008cbc4843ab400d3d4e28964cb6e3c776b438d3c23918d745d5bbcf945564dd1123147e5ef93d34aa86389acaaddf93817b86a
7
+ data.tar.gz: 543dead302922c1b57d6c1b6b72c2f76bda6f718e63d28e8ed7290f024c5569785fa5080083ada7a2c861009cb5c39a7c5ebc1af1d3ba023e7a407c055cdc67d
data/README.md CHANGED
@@ -32,20 +32,6 @@ Or install it yourself as:
32
32
  Create a YAML file describing your dependencies as a dictionary. Read the [bindeps YAML format specifications](wiki/bindeps_YAML_format_specifications).
33
33
 
34
34
  ```yaml
35
- blastplus:
36
- binaries:
37
- - makeblastdb
38
- - blastn
39
- - tblastn
40
- - blastp
41
- - blastx
42
- version:
43
- number: '2.2.29'
44
- command: 'blastx -version'
45
- url:
46
- 64bit:
47
- macosx: ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.29/ncbi-blast-2.2.29+-universal-macosx.tar.gz
48
- linux: ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.29/ncbi-blast-2.2.29+-x64-linux.tar.gz
49
35
  bowtie2:
50
36
  binaries:
51
37
  - bowtie2
@@ -74,7 +60,7 @@ require 'bindeps'
74
60
  Bindeps.require 'binary_dependencies.yaml'
75
61
  ```
76
62
 
77
- `bindeps` will check run the `versioncmd` for each dependency. If the return value of the command doesn't match a regular expression test against the `version` field, `bindeps` will download the file that matches your system architecture, unpack it and place the binary in your path. If the return value does match, `bindeps` will do nothing.
63
+ `bindeps` will check run the `version:command` for each dependency. If the return value of the command doesn't match a regular expression test against the `version:number` field, `bindeps` will download the file that matches your system architecture, unpack it and place the binary in your path. Specifically, it is added to the `bin` directory of your RubyGems installation. This means the binary will be in the PATH as long as this version of RubyGems is in use (which is ideal for gem dependencies). If the return value does match, `bindeps` will do nothing.
78
64
 
79
65
  ## Contributing
80
66
 
@@ -67,7 +67,7 @@ module Bindeps
67
67
  end
68
68
 
69
69
  def download
70
- `curl --silent -O -J -L #{@url}`
70
+ `curl -O -J -L #{@url}`
71
71
  unless $?.to_i == 0
72
72
  raise DownloadFailedError,
73
73
  "download of #{@url} for #{@name} failed"
@@ -1,3 +1,3 @@
1
1
  module Bindeps
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,125 +1,125 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bindeps
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Smith-Unna
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-26 00:00:00.000000000 Z
11
+ date: 2014-06-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: which_works
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - '>='
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - '>='
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ~>
32
32
  - !ruby/object:Gem::Version
33
33
  version: '1.3'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ~>
39
39
  - !ruby/object:Gem::Version
40
40
  version: '1.3'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - '>='
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - '>='
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: turn
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - '>='
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ">="
66
+ - - '>='
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: minitest
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ">="
73
+ - - '>='
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ">="
80
+ - - '>='
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: simplecov
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ">="
87
+ - - '>='
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ">="
94
+ - - '>='
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: shoulda-context
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ">="
101
+ - - '>='
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ">="
108
+ - - '>='
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: coveralls
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - ">="
115
+ - - '>='
116
116
  - !ruby/object:Gem::Version
117
117
  version: 0.6.7
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - ">="
122
+ - - '>='
123
123
  - !ruby/object:Gem::Version
124
124
  version: 0.6.7
125
125
  description: binary dependency management for ruby gems
@@ -129,8 +129,8 @@ executables: []
129
129
  extensions: []
130
130
  extra_rdoc_files: []
131
131
  files:
132
- - ".gitignore"
133
- - ".travis.yml"
132
+ - .gitignore
133
+ - .travis.yml
134
134
  - Gemfile
135
135
  - LICENSE.txt
136
136
  - README.md
@@ -155,17 +155,17 @@ require_paths:
155
155
  - lib
156
156
  required_ruby_version: !ruby/object:Gem::Requirement
157
157
  requirements:
158
- - - ">="
158
+ - - '>='
159
159
  - !ruby/object:Gem::Version
160
160
  version: '0'
161
161
  required_rubygems_version: !ruby/object:Gem::Requirement
162
162
  requirements:
163
- - - ">="
163
+ - - '>='
164
164
  - !ruby/object:Gem::Version
165
165
  version: '0'
166
166
  requirements: []
167
167
  rubyforge_project:
168
- rubygems_version: 2.3.0
168
+ rubygems_version: 2.0.6
169
169
  signing_key:
170
170
  specification_version: 4
171
171
  summary: binary dependency management for ruby gems
@@ -176,3 +176,4 @@ test_files:
176
176
  - test/data/fakebin.yaml
177
177
  - test/helper.rb
178
178
  - test/test_bindeps.rb
179
+ has_rdoc: