norad_cli 0.1.4 → 0.1.5

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: 552ddc25554916a8b676de409b4de990f1471584
4
- data.tar.gz: b094736069578925a8457b6863bb068bbdf2de48
3
+ metadata.gz: 3e7fb80586e9097ae6596d925a944317aa24ca56
4
+ data.tar.gz: 4fb2895a21437b787d29549588c1c03d10365196
5
5
  SHA512:
6
- metadata.gz: 88304fbf2dd14102397cde8dd64c727897c1c617308c8790fe08ab12b4ddde54307103873f8056dcacb46431d0ad6d51b251490531e618f19c098ce35570b08d
7
- data.tar.gz: 41dc2e44097a8e3648e56d7a003c28231f087f9c9059f8b755b50d255000bdfec917858cf29bb1992d30887386851605d7b18d08e41b2c30d3002445cfe794d2
6
+ metadata.gz: b43b85e81eb87e5d867c16c0e65c5569c4acf2891ae0656914ecd92589fb2a6d459ed30753c33e6d01130d01fcbe142c976a9e54237bb17374f5500249b83dff
7
+ data.tar.gz: f16410a27950b486298e70bd5f93b00c44accb6fbcc22c589e1188b037ef15fc14e29494bac79658d2a319afd5be792a4f3f2db8e8f03c754de1f6d2ad2dd198
@@ -1,3 +1,5 @@
1
+ require 'norad_cli'
2
+
1
3
  RSpec.configure do |config|
2
4
  config.expect_with :rspec do |expectations|
3
5
  expectations.include_chain_clauses_in_custom_matcher_descriptions = true
@@ -131,7 +133,7 @@ if ENV['SCAN_ASSESSMENT']
131
133
  end
132
134
 
133
135
  define_method :load_ssh_args do
134
- { ssh_user: 'testuser', ssh_key: Base64.strict_encode64(File.read('./spec/support/ssh_key')) }
136
+ { ssh_user: 'testuser', ssh_key: Base64.strict_encode64(File.read(NoradCli.ssh_key_path)) }
135
137
  end
136
138
 
137
139
  define_method :machine_ready? do |machine, image_name|
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module NoradCli
3
- VERSION = '0.1.4'
3
+ VERSION = '0.1.5'
4
4
  end
data/lib/norad_cli.rb CHANGED
@@ -2,6 +2,8 @@
2
2
  require 'norad_cli/version'
3
3
  require 'norad_cli/cli/main'
4
4
 
5
- module Norad
6
- # Your code goes here...
5
+ module NoradCli
6
+ def self.ssh_key_path
7
+ "#{File.expand_path(File.dirname(__FILE__))}/norad_cli/templates/spec/support/ssh_key"
8
+ end
7
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: norad_cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Blake Hitchcock