lib/checkpoint.rb in checkpoint-0.2.2 vs lib/checkpoint.rb in checkpoint-1.0.0
- old
+ new
@@ -1,7 +1,21 @@
+# frozen_string_literal: true
+
require "checkpoint/version"
-require "checkpoint/railtie"
+require 'sequel'
+require 'mysql2'
+require 'ettin'
+# All of the Checkpoint components are contained within this top-level module.
module Checkpoint
- # Your code goes here...
+ # An error raised if there is no callable identifier on an entity when
+ # attempting to convert it to a resource.
+ class NoIdentifierError < StandardError; end
end
+
+require 'checkpoint/agent'
+require 'checkpoint/credential'
+require 'checkpoint/resource'
+require 'checkpoint/authority'
+require 'checkpoint/query'
+require 'checkpoint/railtie' if defined?(Rails)