vls 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/vls +9 -1
- data/lib/vls/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: 156b76c9d3fad33f88da4cb78eaeed04accca5fa
|
4
|
+
data.tar.gz: 072dfd6ef6fe6d5ab72a5631f67393e7f1e84f4d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e8147e9c43b2f44073541e3e152eb303ebd956065b15bfed8218682b58c0d0258f10d51212d50e5717d43b9652ce0b230dd6370811e51010e505f308793ebf0c
|
7
|
+
data.tar.gz: cf350d5e982db2116474bab259d516cd38248f96b732ca70604bdcd79f104f053ffb7d5a8f3f5bf65ffbdcc63dd6ffe6473c96e197d2db296f1dadf334af3816
|
data/bin/vls
CHANGED
@@ -12,14 +12,22 @@ if ARGV.empty?
|
|
12
12
|
puts "Usage template:"
|
13
13
|
puts "$ vls <names>"
|
14
14
|
puts " <names> are gems/files to be required before modules are listed."
|
15
|
+
puts
|
16
|
+
puts "Note:"
|
17
|
+
puts " To specify a file instead of a gem, a '.rb' extension is required."
|
15
18
|
else
|
16
19
|
no_good = false
|
17
20
|
|
18
21
|
ARGV.each do |pkg|
|
19
22
|
begin
|
20
|
-
|
23
|
+
if pkg.downcase.end_with?('.rb')
|
24
|
+
require Dir.getwd + '/' + pkg
|
25
|
+
else
|
26
|
+
require pkg
|
27
|
+
end
|
21
28
|
rescue LoadError, StandardError => error
|
22
29
|
puts "Error loading #{pkg}, #{error.message}"
|
30
|
+
puts Dir.getwd
|
23
31
|
no_good = true
|
24
32
|
end
|
25
33
|
end
|
data/lib/vls/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vls
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Camilleri
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-06-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|