lib/jets.rb in jets-0.5.8 vs lib/jets.rb in jets-0.6.0
- old
+ new
@@ -3,20 +3,21 @@
require "jets/pascalize"
require "active_support/core_ext/string"
require "active_support/ordered_hash"
require "colorize"
require "fileutils"
-require "pp" # TODO: remove pp after debugging
+require "pp" # TODO: Remove pp after debugging
require "memoist"
module Jets
# When we update Jets::RUBY_VERSION, need to update lambdagem/base.rb: def jets_ruby_version also
RUBY_VERSION = "2.5.0"
autoload :CLI, "jets/cli"
autoload :Commands, "jets/commands"
+ autoload :AwsInfo, "jets/aws_info"
autoload :AwsServices, "jets/aws_services"
autoload :Builders, 'jets/builders'
autoload :Call, "jets/call"
autoload :Cfn, 'jets/cfn'
autoload :Controller, 'jets/controller'
@@ -55,10 +56,10 @@
if File.exist?("#{Jets.root}config/dynamodb.yml")
$:.unshift(File.expand_path("../../vendor/dynomite/lib", __FILE__))
require "dynomite"
end
-# https://makandracards.com/makandra/42521-detecting-if-a-ruby-gem-is-loaded
+# Thanks: https://makandracards.com/makandra/42521-detecting-if-a-ruby-gem-is-loaded
# TODO: move require "pg" into loader class and abstract to support more gems
if File.exist?("#{Jets.root}config/database.yml")
require "active_record"
# Note: think this is only needed for specs
# Apps require pg in their own Gemfile via bundler