dep 0.0.1.rc1 → 0.0.1.rc2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/README +31 -0
  2. data/bin/dep +2 -2
  3. metadata +6 -3
data/README ADDED
@@ -0,0 +1,31 @@
1
+ DEP(1)
2
+
3
+ NAME
4
+ dep -- Basic dependency tracking
5
+
6
+ SYNOPSIS
7
+ dep check
8
+ dep add libname [--pre]
9
+ dep rm libname
10
+ dep install
11
+
12
+ DESCRIPTION
13
+ check
14
+ Checks that all dependencies are met.
15
+
16
+ add
17
+ Fetches the latest version of the library in question
18
+ and automatically adds it to your .gems file.
19
+
20
+ rm
21
+ Simply removes the corresponding entry in your .gems file.
22
+
23
+ install
24
+ Installs all the missing dependencies for you. An important
25
+ point here is that it simply does a `gem install` for each
26
+ dependency you have. Dep assumes that you use some form of
27
+ sandboxing like RVM or rbenv-gemset.
28
+
29
+
30
+ INSTALLATION
31
+ $ gem install dep
data/bin/dep CHANGED
@@ -5,7 +5,7 @@ require_relative "../lib/dep"
5
5
  require "fileutils"
6
6
  require "clap"
7
7
 
8
- help = File.read(File.expand_path("../README", File.dirname(__FILE__)))
8
+ help = File.expand_path("../README", File.dirname(__FILE__))
9
9
 
10
10
  @list = Dep::List.new
11
11
  @prerelease = false
@@ -66,7 +66,7 @@ end
66
66
 
67
67
  commands = Clap.run ARGV,
68
68
  "--pre" => lambda { @prerelease = true },
69
- "--help" => lambda { abort(help) }
69
+ "--help" => lambda { exec "${PAGER:-less} #{help}" }
70
70
 
71
71
  Clap.run commands,
72
72
  "add" => method(:add),
metadata CHANGED
@@ -1,11 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dep
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.rc1
4
+ version: 0.0.1.rc2
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
8
8
  - Cyril David
9
+ - Michel Martens
9
10
  autorequire:
10
11
  bindir: bin
11
12
  cert_chain: []
@@ -13,7 +14,7 @@ date: 2012-01-19 00:00:00.000000000 Z
13
14
  dependencies:
14
15
  - !ruby/object:Gem::Dependency
15
16
  name: clap
16
- requirement: &2151896480 !ruby/object:Gem::Requirement
17
+ requirement: &2151896140 !ruby/object:Gem::Requirement
17
18
  none: false
18
19
  requirements:
19
20
  - - ! '>='
@@ -21,15 +22,17 @@ dependencies:
21
22
  version: '0'
22
23
  type: :runtime
23
24
  prerelease: false
24
- version_requirements: *2151896480
25
+ version_requirements: *2151896140
25
26
  description: Specify your project's dependencies in one file.
26
27
  email:
27
28
  - cyx.ucron@gmail.com
29
+ - soveran@gmail.com
28
30
  executables:
29
31
  - dep
30
32
  extensions: []
31
33
  extra_rdoc_files: []
32
34
  files:
35
+ - README
33
36
  - bin/dep
34
37
  - lib/dep.rb
35
38
  - test/dep.rb