bundle-locker 0.0.2 → 0.0.3

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.
data/README.md CHANGED
@@ -18,7 +18,7 @@ Or install it yourself as:
18
18
 
19
19
  ## Usage
20
20
 
21
- This is a very raw implementation
21
+ $ bundle-locker /path/to/Gemfile
22
22
 
23
23
  ## Contributing
24
24
 
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 "\GEMFILE=[./path/to/Gemfile] ./#{File.basename(__FILE__)}"
13
+ $stdout.puts "\t#{File.basename(__FILE__)} ./path/to/Gemfile"
15
14
  exit!(-1)
16
15
  end
@@ -1,5 +1,5 @@
1
1
  module Bundle
2
2
  module Locker
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bundle-locker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: