Skip to content

Commit

Permalink
update NanoStore pod to 2.1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
siuying committed Dec 17, 2012
1 parent 159294a commit 08c0d33
Show file tree
Hide file tree
Showing 9 changed files with 425 additions and 417 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -27,9 +27,9 @@ require 'nano-store'
Motion::Project::App.setup do |app|
app.name = 'myapp'

# Only needed if you have not already specifying a pods dependency
# Add the pod NanoStore to your project
app.pods do
pod 'NanoStore', '~> 2.1.4'
pod 'NanoStore', '~> 2.1.8'
end
end
```
Expand Down
2 changes: 1 addition & 1 deletion Rakefile
Expand Up @@ -9,7 +9,7 @@ Motion::Project::App.setup do |app|
app.redgreen_style = :full
app.files += Dir.glob(File.join(app.project_dir, 'lib/nano_store/*.rb'))
app.pods do
pod 'NanoStore', '~> 2.1.5'
pod 'NanoStore', '~> 2.1.8'
end
end

Expand Down
2 changes: 1 addition & 1 deletion lib/nano_store.rb
Expand Up @@ -15,5 +15,5 @@
app.files.unshift(File.join(File.dirname(__FILE__), 'nano_store/finder.rb'))

app.pods ||= Motion::Project::CocoaPods.new(app)
app.pods.pod 'NanoStore', '~> 2.1.5'
app.pods.pod 'NanoStore', '~> 2.1.8'
end
6 changes: 3 additions & 3 deletions lib/nano_store/nano_store.rb
Expand Up @@ -6,11 +6,11 @@ def self.store(type=:memory, path=nil)

case type
when :memory
store = NSFNanoStore.createAndOpenStoreWithType(NSFMemoryStoreType, path:nil, error: error_ptr)
store = NSFNanoStore.createAndOpenStoreWithType(::NSFMemoryStoreType, path:nil, error: error_ptr)
when :temporary, :temp
store = NSFNanoStore.createAndOpenStoreWithType(NSFTemporaryStoreType, path:nil, error: error_ptr)
store = NSFNanoStore.createAndOpenStoreWithType(::NSFTemporaryStoreType, path:nil, error: error_ptr)
when :persistent, :file
store = NSFNanoStore.createAndOpenStoreWithType(NSFPersistentStoreType, path:path, error: error_ptr)
store = NSFNanoStore.createAndOpenStoreWithType(::NSFPersistentStoreType, path:path, error: error_ptr)
else
raise NanoStoreError.new("unexpected store type (#{type}), must be one of: :memory, :temporary or :persistent")
end
Expand Down
2 changes: 1 addition & 1 deletion nano-store.gemspec
Expand Up @@ -14,6 +14,6 @@ Gem::Specification.new do |gem|
gem.require_paths = ["lib"]
gem.version = NanoStore::VERSION

gem.add_dependency 'motion-cocoapods', '>= 1.2.0'
gem.add_dependency 'motion-cocoapods', '>= 1.2.1'
gem.add_development_dependency 'motion-redgreen'
end
6 changes: 3 additions & 3 deletions vendor/Podfile.lock
@@ -1,11 +1,11 @@

PODS:
- NanoStore (2.1.5)
- NanoStore (2.1.8)

DEPENDENCIES:
- NanoStore (~> 2.1.5)
- NanoStore (~> 2.1.8)

SPEC CHECKSUMS:
NanoStore: 440272829dfe13db7f1c68de74fc3562475463fe
NanoStore: 648b6b984d4df8ad52a1c0d049ad91b8a12a27d0

COCOAPODS: 0.16.0
3 changes: 3 additions & 0 deletions vendor/Pods/NanoStore/Classes/Public/NSFNanoPredicate.m

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions vendor/Pods/NanoStore/Classes/Public/NSFNanoSearch.m

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

812 changes: 406 additions & 406 deletions vendor/Pods/Pods.bridgesupport

Large diffs are not rendered by default.

0 comments on commit 08c0d33

Please sign in to comment.