Skip to content
This repository has been archived by the owner on Mar 8, 2022. It is now read-only.

Commit

Permalink
style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
slowjack2k committed Aug 5, 2014
1 parent da6c888 commit 01647b7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/yaoc/mapper_registry.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ module MapperRegistry
module_function

def scope_storage(new_storage)
@scope = ScopedStorage::Scope.new("mappings", new_storage)
@scope = ScopedStorage::Scope.new('mappings', new_storage)
end

def scope
@scope ||= ScopedStorage::Scope.new("mappings")
@scope ||= ScopedStorage::Scope.new('mappings')
end

def add(key, mapper)
Expand Down
2 changes: 1 addition & 1 deletion lib/yaoc/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Yaoc
VERSION = "0.0.13"
VERSION = '0.0.13'
end
2 changes: 1 addition & 1 deletion spec/unit/lib/yaoc/mapper_registry_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

describe '.scope_storage' do
it 'supports the change of scope storage' do
expect { subject.scope_storage(Yaoc::Helper::ThreadLocalStorage) }.not_to raise_error
expect { subject.scope_storage(ScopedStorage::ThreadLocalStorage) }.not_to raise_error
end

end
Expand Down

0 comments on commit 01647b7

Please sign in to comment.