dep 1.0.5 → 1.0.6
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.
- checksums.yaml +4 -4
- data/bin/dep +9 -3
- 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: 7e53e9ac04f81fb3af567a9b5db05cd8fad2f8e4
|
4
|
+
data.tar.gz: cec73d8932a8996485ee8c24a811aa57af50c2f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bdb92137ee6edd38b3b12f6e8997d053075b5da9cf027ecb13eb83e70b51925bbff4a0e49984518f6a6bfb230cf079656972bcafe5537ed47409dbe548c6e8af
|
7
|
+
data.tar.gz: 5bdc7dc4662f18258d63fecf1c1a985b64070c82df037da259e736faaf19debe09009e53bca568ff6e55e46accdc37b3ece9dbcc69211657843d18b6788631db
|
data/bin/dep
CHANGED
@@ -146,7 +146,10 @@ private
|
|
146
146
|
end
|
147
147
|
end
|
148
148
|
|
149
|
-
|
149
|
+
# So originally, this was just $0 == __FILE__, but
|
150
|
+
# since rubygems wraps the actual bin file in a loader
|
151
|
+
# script, we have to instead rely on a different condition.
|
152
|
+
if File.basename($0) == "dep"
|
150
153
|
|
151
154
|
Dep::CLI.file = File.join(Dir.pwd, ".gems")
|
152
155
|
Dep::CLI.prerelease = false
|
@@ -160,7 +163,11 @@ if __FILE__ == $0
|
|
160
163
|
end
|
161
164
|
|
162
165
|
on("--help") do
|
163
|
-
|
166
|
+
# I hate this, but since rubygems does a wrapper
|
167
|
+
# script, we can't use the elegance of DATA.read :(
|
168
|
+
help = File.read(__FILE__).split(/^__END__/)[1]
|
169
|
+
|
170
|
+
IO.popen("less", "w") { |f| f.write(help) }
|
164
171
|
exit
|
165
172
|
end
|
166
173
|
|
@@ -184,7 +191,6 @@ if __FILE__ == $0
|
|
184
191
|
end
|
185
192
|
|
186
193
|
__END__
|
187
|
-
|
188
194
|
DEP(1)
|
189
195
|
|
190
196
|
NAME
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dep
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cyril David
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-03-
|
12
|
+
date: 2013-03-22 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Specify your project's dependencies in one file.
|
15
15
|
email:
|