Sha256: 89d8eb0d9d36e32afd4f83ea11390d1a20bba5aa9a1809a3d80d6beda8e8b269

Contents?: true

Size: 486 Bytes

Versions: 58

Compression:

Stored size: 486 Bytes

Contents

module Standup
  begin
    class Settings < Settingslogic
      source 'config/standup.yml'
      load!
  
      aws['account_id'].gsub!(/\D/, '')
      # keypair_file default to ~/.ssh/keypair_name.pem
      aws['keypair_file'] ||= "#{File.expand_path '~'}/.ssh/#{aws.keypair_name}.pem"
    end
  rescue 
    require 'active_support/hash_with_indifferent_access'
    remove_const :Settings
    const_set :Settings, ActiveSupport::HashWithIndifferentAccess.new('nodes' => {})
  end
end

Version data entries

58 entries across 58 versions & 1 rubygems

Version Path
standup-0.3.37 lib/standup/settings.rb
standup-0.3.36 lib/standup/settings.rb
standup-0.3.35 lib/standup/settings.rb
standup-0.3.34 lib/standup/settings.rb
standup-0.3.33 lib/standup/settings.rb
standup-0.3.32 lib/standup/settings.rb
standup-0.3.31 lib/standup/settings.rb
standup-0.3.30 lib/standup/settings.rb
standup-0.3.29 lib/standup/settings.rb
standup-0.3.28 lib/standup/settings.rb
standup-0.3.27 lib/standup/settings.rb
standup-0.3.26 lib/standup/settings.rb
standup-0.3.25 lib/standup/settings.rb
standup-0.3.24 lib/standup/settings.rb
standup-0.3.23 lib/standup/settings.rb
standup-0.3.22 lib/standup/settings.rb
standup-0.3.20 lib/standup/settings.rb
standup-0.3.19 lib/standup/settings.rb
standup-0.3.18 lib/standup/settings.rb
standup-0.3.17 lib/standup/settings.rb