boot-cli 0.3.1 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f9a09d58cf3f9e0c9bb45d59d89a23f2bdb04de1
4
- data.tar.gz: 5681049a3687bc81922c54df349920b4338409cd
3
+ metadata.gz: 6466e307fcba80d7859d0e6c699a29c5792a931c
4
+ data.tar.gz: a0d9fa1be666df57588f1f5d9f1f61524dd4016c
5
5
  SHA512:
6
- metadata.gz: 737ef32093b01b7ea84f76a8724a9656a48d97ff1cf631ef28aec7fa916821ec91ff3cedaee800e44293e7566248e77474183e8547f55119017e123068db3c9d
7
- data.tar.gz: 2bb10901e46bacdebae8d8df5fb16df9aac156e60fbddea83065e46294a4fdcc2f7cad31c5434ecf01cd0890f763c8615e656c2e21782870834f95d323fbdd64
6
+ metadata.gz: c7c7e85692b9b3624e825bdaa228383c3642311e47c43a404812119120a9f8d241098028812c60990db65cc0fc28796f1b4749f54afad1a8e3b2ec4484878116
7
+ data.tar.gz: 6b859a473be0768439efa6d09eb07c971ffaee6a94d4aa4c6c08bf9ecef5a7f08ff2d50d7404f7991a135e2b3187525f2baa2fb5e0444ceeafce4fe8fdd68059
@@ -25,7 +25,7 @@ module Boot::Lib::Commands
25
25
 
26
26
  output_path = !parsed_options[:out].nil? ? Dir.pwd + '/' + parsed_options[:out] : Dir.pwd
27
27
 
28
- if (Dir.exists?(output_path) && !(Dir.entries(output_path) - %w{ . .. }).empty?)
28
+ if (Dir.exists?(output_path) && !((Dir[output_path + "/*"]).empty?))
29
29
  puts "Error: #{output_path} exists and is not empty"
30
30
  next # terminate
31
31
  end
@@ -2,7 +2,7 @@ require_relative 'Boot/Lib/autoload.rb'
2
2
  require 'JSON'
3
3
 
4
4
  module Boot
5
- VERSION = "0.3.1"
5
+ VERSION = "1.0.0"
6
6
 
7
7
  def self.main
8
8
  # Open and parse default config
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: boot-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sigurd Berg Svela
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-05 00:00:00.000000000 Z
11
+ date: 2015-06-12 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Allows you to quickly create new projecets based on templates.
14
14
  email: sigurdbergsvela@gmail.com