Permalink
Browse files

Style cleanups

  • Loading branch information...
1 parent 7f5fd99 commit 82514a2bf4912511a76f1ac7d553e422db45f470 @laserlemon committed Mar 6, 2013
@@ -1 +1 @@
-require 'periscope/adapters/active_record'
+require "periscope/adapters/active_record"
@@ -1 +1 @@
-require 'periscope/adapters/data_mapper'
+require "periscope/adapters/data_mapper"
@@ -1 +1 @@
-require 'periscope/adapters/mongo_mapper'
+require "periscope/adapters/mongo_mapper"
View
@@ -1 +1 @@
-require 'periscope/adapters/mongoid'
+require "periscope/adapters/mongoid"
View
@@ -1,7 +1,7 @@
module Periscope
def scope_accessible(*scopes)
options = scopes.last.is_a?(Hash) ? scopes.pop : {}
- scopes.each{|s| periscope_options[s.to_s] = options }
+ scopes.each { |s| periscope_options[s.to_s] = options }
end
def periscope(params = {})
@@ -1,5 +1,5 @@
-require 'periscope'
-require 'dm-core'
+require "periscope"
+require "dm-core"
module Periscope
module Adapters
@@ -1,5 +1,5 @@
-require 'periscope'
-require 'mongo_mapper'
+require "periscope"
+require "mongo_mapper"
module Periscope
module Adapters
@@ -1,5 +1,5 @@
-require 'periscope'
-require 'mongoid'
+require "periscope"
+require "mongoid"
module Periscope
module Adapters
@@ -15,4 +15,4 @@ def periscope_default_scope
end
end
-Mongoid::Document::ClassMethods.send(:include, Periscope::Adapters::Mongoid)
+Mongoid::Document::ClassMethods.send(:include, Periscope::Adapters::Mongoid)

0 comments on commit 82514a2

Please sign in to comment.