lib/platformx.rb in platformx-0.0.9.6.4 vs lib/platformx.rb in platformx-0.0.9.6.6.1
- old
+ new
@@ -19,28 +19,24 @@
require "sinatra/support"
require "sinatra/flash"
require "digest"
require "base64"
require "json"
-require "pony"
-require "json"
require "encrypted_cookie"
require "encryptor"
require "active_support/all"
require "stripe"
require "better_errors"
-require "rack-protection"
require "rack-ssl-enforcer"
-require "bugsnag"
require "slugify"
require "data_mapper"
require "dm-validations"
require "securerandom"
require "faker"
require "uuidtools"
require "net/ssh"
-require "fog"
+require "fog/aws"
module Platformx
class << self
# Controls the app configuration
@@ -79,11 +75,11 @@
#
class Configuration
# Controls the bugsnag api key attribute
# @return [String] Bugsnag api key
- attr_accessor :bugsnag_api_key
+ # attr_accessor :bugsnag_api_key
# Controls the mail from
# @return [String] the mail from
attr_accessor :mail_from
@@ -128,10 +124,10 @@
attr_accessor :aws_region
# Initialize Platformx configuration object and set defaults
def initialize
# Bugsnag
- @bugsnag_api_key = ""
+ # @bugsnag_api_key = ""
# X_mail
@mail_from = ""
@mail_address = "smtp.mailgun.org"
@mail_port = "587"