bard 0.69.0 → 0.69.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2605af57059f326785460af9d28344b196ad3f87eae1a672998fed6b0f6956ae
4
- data.tar.gz: 666e6f8637a2342e981b19a8e9a2e2a3883be06e1401fb71b7358b5d44db4c68
3
+ metadata.gz: f673fe1fe69ab05d32b5ea9eabd725d406d95e647aa50840154a31f5ea9c452d
4
+ data.tar.gz: 1162fc60862ed9f342ba6360e301040c313d5ba71d6c7f785f54ecb832a83ab9
5
5
  SHA512:
6
- metadata.gz: 28d95083d05f69bdad245c7d8028d5f509b8d233a6a7d04708db1bfdad3fcf67d919deb011976ce029f95b7a72c24f3ed76c5dfbc4137c6fa204a43fd8329196
7
- data.tar.gz: 42255ed7d0f2d959103f5340ad6c5e5289fd1a6713a831be791e6e5849f2caf197a5223db5812b2eddc107be1ba30945137d9cfdb4d7cde96f290910811c0ca2
6
+ metadata.gz: 3b40b9fe3f5088079e33d33d8bb511b75a86d1991667a67e876f3f31adc11ec147ea7b0c995e01b8635fc0d6a7d07e70825c5ecb1e0e8ea4f088893dacf827b2
7
+ data.tar.gz: 79b91cae3d507aee13592c1e303fd37bc0ae1988b7842f16d58966d095af7e478b325a238ba565f88b998ec342838198d074c78fc6f56916cf6ca26d1d3fd457
data/lib/bard/cli.rb CHANGED
@@ -179,9 +179,9 @@ module Bard
179
179
 
180
180
  desc "install", "copies bin/setup and bin/ci scripts into current project."
181
181
  def install
182
- install_files_path = File.expand_path(File.join(__dir__, "../install_files/*"))
182
+ install_files_path = File.expand_path(File.join(__dir__, "../../install_files/*"))
183
183
  system "cp -R #{install_files_path} bin/"
184
- github_files_path = File.expand_path(File.join(__dir__, "../install_files/.github"))
184
+ github_files_path = File.expand_path(File.join(__dir__, "../../install_files/.github"))
185
185
  system "cp -R #{github_files_path} ./"
186
186
  end
187
187
 
data/lib/bard/config.rb CHANGED
@@ -44,7 +44,9 @@ module Bard
44
44
  if path && File.exist?(path)
45
45
  source = File.read(File.expand_path(path))
46
46
  end
47
- instance_eval source
47
+ if source
48
+ instance_eval source
49
+ end
48
50
  end
49
51
 
50
52
  attr_reader :project_name, :servers
data/lib/bard/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Bard
2
- VERSION = "0.69.0"
2
+ VERSION = "0.69.2"
3
3
  end
4
4
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bard
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.69.0
4
+ version: 0.69.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Micah Geisel