lib/redgraph.rb in redgraph-0.2.2 vs lib/redgraph.rb in redgraph-0.2.3
- old
+ new
@@ -2,19 +2,23 @@
require "redis"
require "active_support/core_ext/hash/indifferent_access"
require "active_support/core_ext/object/blank"
require "active_support/core_ext/string/inflections"
require "active_support/concern"
+require 'active_support/notifications'
+require 'active_support/isolated_execution_state'
require_relative "redgraph/version"
require_relative "redgraph/util"
require_relative "redgraph/graph"
require_relative "redgraph/node"
require_relative "redgraph/edge"
require_relative "redgraph/query_response"
require_relative "redgraph/node_model"
module Redgraph
+ NOTIFICATIONS_KEY = "redgraph.query".freeze
+
class Error < StandardError; end
class ServerError < Error; end
class MissingAliasPrefixError < Error
def message
"The order clause requires the node/edge alias prefix, ie order('node.foo') instead order('foo')"