Skip to content

Commit

Permalink
Remove support for AWS_CREDENTIALS_FILE. (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
askreet committed Sep 29, 2016
1 parent 14ccf96 commit 96a05e7
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 41 deletions.
1 change: 0 additions & 1 deletion lib/moonshot.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ module Plugins # rubocop:disable Documentation
'doctor_helper',
'resources',
'resources_helper',
'environment_parser',

# Core
'interactive_logger_proxy',
Expand Down
1 change: 0 additions & 1 deletion lib/moonshot/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ def initialize(*args)
end
@log.level = options[:verbose] ? Logger::DEBUG : Logger::INFO

EnvironmentParser.parse(@log)
self.class.check_class_configuration
end

Expand Down
32 changes: 0 additions & 32 deletions lib/moonshot/environment_parser.rb

This file was deleted.

3 changes: 0 additions & 3 deletions spec/moonshot/cli_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ class AppToTest < Moonshot::CLI
describe AppWithAutoPrefix do
let(:stack) { instance_double(Moonshot::Stack) }
before(:each) do
expect(Moonshot::EnvironmentParser).to receive(:parse)
expect(stack).to receive(:status)
stub_const('ENV', 'USER' => 'rspec')
end
Expand All @@ -37,7 +36,6 @@ class AppToTest < Moonshot::CLI
describe AppWithoutAutoPrefix do
let(:stack) { instance_double(Moonshot::Stack) }
before(:each) do
expect(Moonshot::EnvironmentParser).to receive(:parse)
expect(stack).to receive(:status)
stub_const('ENV', 'USER' => 'rspec')
end
Expand All @@ -56,7 +54,6 @@ class AppToTest < Moonshot::CLI

describe AppToTest do
before(:each) do
expect(Moonshot::EnvironmentParser).to receive(:parse)
stub_const('ENV', 'USER' => 'rspec')
end

Expand Down
4 changes: 0 additions & 4 deletions spec/moonshot/plugins_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ def post_create
end
end

before(:each) do
expect(Moonshot::EnvironmentParser).to receive(:parse)
end

it 'sets the plugins provided to Moonshot::Controller' do
config = Moonshot::ControllerConfig.new
expect(Moonshot::Controller).to receive(:new).and_yield(config).and_return(controller)
Expand Down

0 comments on commit 96a05e7

Please sign in to comment.