caravan 1.0.0.beta1 → 1.0.0.beta2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/exe/caravan +3 -2
  3. data/lib/caravan/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 347b4140ddb514fb5e09308d12b9d36cca9456b1
4
- data.tar.gz: 0a84aa9ec43f5f0957e6af0dd34c38a0bf95e6fa
3
+ metadata.gz: d017a8b8af8b87855f90a5351fb3afb88bda4ec1
4
+ data.tar.gz: 5251a04d7f2728f8748a37c87ec3f747a6569b0c
5
5
  SHA512:
6
- metadata.gz: 97ee509584f9629bae857d6f1998b5db05137d2c44788af41a91fc45af09b8cf100600993fbcf19fa71989bd43df57e53006586ff6064547c58bf5927a155560
7
- data.tar.gz: 4c2ecc7541ed788ed0e3aa8e5018843fcffb2eedcd4ce6f02dd57aed3d3322df134e31fe16dc8f076350640095f029f0589a52a5280d36ac695bdc62ab483891
6
+ metadata.gz: a5d7aa9f5e8e9e9573541802bd8f9ff0077c1566d372253120d78c830c2afe2d080debf315e735075b26144c82d8de79238e9dfc5404cdeb0618eddb174c797f
7
+ data.tar.gz: 63df7c716b601fb623d7ff1ca017bb376ebb5e35cb77019d0341102f74bab431fca071b00734e193f7f8d2e2bf1844f1a61f490f51312db081e11f03480af5a4
data/exe/caravan CHANGED
@@ -60,12 +60,13 @@ option_parser = OptionParser.new do |opts|
60
60
  end
61
61
  # rubocop:enable Metrics/BlockLength
62
62
 
63
- spec_name = options[:spec] || Caravan::Config.default_spec_name
63
+ default_spec_name = Caravan::Config.default_spec_name
64
64
 
65
65
  if ARGV.length.zero?
66
- merged_conf = Caravan::Config.merge({}, Caravan.process_conf("."), spec_name)
66
+ merged_conf = Caravan::Config.merge({}, Caravan.process_conf("."), default_spec_name)
67
67
  else
68
68
  option_parser.parse!(ARGV)
69
+ spec_name = options[:spec] || default_spec_name
69
70
  merged_conf = if options.key?(:yaml)
70
71
  Caravan::Config.merge(
71
72
  options,
@@ -1,3 +1,3 @@
1
1
  module Caravan
2
- VERSION = "1.0.0.beta1".freeze
2
+ VERSION = "1.0.0.beta2".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caravan
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.beta1
4
+ version: 1.0.0.beta2
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Zhang