bundle-locker 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -1
- data/bin/bundle-locker +2 -3
- data/lib/bundle-locker/version.rb +1 -1
- metadata +1 -1
data/README.md
CHANGED
data/bin/bundle-locker
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
require File.expand_path('../lib/bundle-locker', File.dirname(__FILE__))
|
3
|
-
|
4
|
-
if gemfile_name = ENV['GEMFILE']
|
3
|
+
if gemfile_name = ARGV[0]
|
5
4
|
if File.exist?(gemfile_name)
|
6
5
|
Bundle::Locker.lock(gemfile_name)
|
7
6
|
else
|
@@ -11,6 +10,6 @@ if gemfile_name = ENV['GEMFILE']
|
|
11
10
|
else
|
12
11
|
$stdout.puts "Lock all gems in a Gemfile to the specific version in Gemfile.lock"
|
13
12
|
$stdout.puts "See usage:"
|
14
|
-
$stdout.puts "\
|
13
|
+
$stdout.puts "\t#{File.basename(__FILE__)} ./path/to/Gemfile"
|
15
14
|
exit!(-1)
|
16
15
|
end
|