Sha256: d8f1b76fc9abde367091beae27c09775801be3406af2483b7487f678b06c78fd
Contents?: true
Size: 805 Bytes
Versions: 3
Compression:
Stored size: 805 Bytes
Contents
# require external libraries require 'rake' require 'dotenv' require 'logging' require 'octokit' require 'grape' # require internal files require "napa/version" require "napa/logger/logger" require "napa/logger/log_transaction" require "napa/identity" require "napa/middleware/logger" require "napa/middleware/app_monitor" require "napa/activerecord" require "napa/grape_api" require "generators/scaffold" # load rake tasks if Rake installed if defined?(Rake) load 'tasks/git.rake' load 'tasks/deploy.rake' load 'tasks/routes.rake' load 'tasks/db.rake' end module Napa class << self def env @_env ||= ActiveSupport::StringInquirer.new(ENV["RACK_ENV"] || "development") end def env=(environment) @_env = ActiveSupport::StringInquirer.new(environment) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
napa-0.1.2 | lib/napa.rb |
napa-0.1.1 | lib/napa.rb |
napa-0.1.0 | lib/napa.rb |