Skip to content

Commit

Permalink
instead of file dependency, use load order to control motion to load …
Browse files Browse the repository at this point in the history
…a file first
  • Loading branch information
siuying committed May 23, 2012
1 parent 8e19ea6 commit 64700a8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
nano-store (0.3.1)
nano-store (0.3.2)
bubble-wrap (>= 0.1.1)
motion-cocoapods (>= 1.0.1)

Expand Down
6 changes: 3 additions & 3 deletions lib/nano_store.rb
Expand Up @@ -10,9 +10,9 @@
Dir.glob(File.join(File.dirname(__FILE__), 'nano_store/*.rb')).each do |file|
app.files.unshift(file)
end

app.files_dependencies(File.join(File.dirname(__FILE__), 'nano_store/model.rb') =>
File.join(File.dirname(__FILE__), 'nano_store/finder.rb'))
# Load finder first
app.files.unshift(File.join(File.dirname(__FILE__), 'nano_store/finder.rb'))

app.pods ||= Motion::Project::CocoaPods.new(app)
app.pods.dependency 'NanoStore', '~> 2.0.1'
Expand Down
2 changes: 1 addition & 1 deletion lib/nano_store/version.rb
@@ -1,3 +1,3 @@
module NanoStore
VERSION = "0.3.2"
VERSION = "0.3.3"
end

0 comments on commit 64700a8

Please sign in to comment.