aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler/lockfile_parser.rb
diff options
context:
space:
mode:
authorAsutosh Palai <asupalai@gmail.com>2016-06-22 00:39:34 +0530
committerAsutosh Palai <asupalai@gmail.com>2016-07-03 09:40:59 +0530
commit4c2ec5ef0d0e45bb08576d45bb3d5043f6656cc6 (patch)
treeb1af80a977ac56aa86214127eee76f3c60781a6f /lib/bundler/lockfile_parser.rb
parent267002b2374d01a63041d8494b80a33df9c13f9a (diff)
downloadbundler-4c2ec5ef0d0e45bb08576d45bb3d5043f6656cc6.tar.gz
Few correction from suggestions
Diffstat (limited to 'lib/bundler/lockfile_parser.rb')
-rw-r--r--lib/bundler/lockfile_parser.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/lockfile_parser.rb b/lib/bundler/lockfile_parser.rb
index bbbed381..af01976f 100644
--- a/lib/bundler/lockfile_parser.rb
+++ b/lib/bundler/lockfile_parser.rb
@@ -22,7 +22,7 @@ module Bundler
GIT = "GIT".freeze
GEM = "GEM".freeze
PATH = "PATH".freeze
- PLUGIN = "PLUGIN".freeze
+ PLUGIN = "PLUGIN SOURCE".freeze
SPECS = " specs:".freeze
OPTIONS = /^ ([a-z]+): (.*)$/i
SOURCE = [GIT, GEM, PATH, PLUGIN].freeze
@@ -128,7 +128,7 @@ module Bundler
def parse_source(line)
case line
- when GIT, GEM, PATH, PLUGIN
+ when *SOURCE
@current_source = nil
@opts = {}
@type = line