Permalink
Browse files

add dependency

  • Loading branch information...
1 parent dce81c7 commit 8e19ea661cf8e109ff879193698ba5b344bb1497 @siuying committed May 23, 2012
Showing with 13 additions and 2 deletions.
  1. +1 −1 Gemfile.lock
  2. +8 −0 Rakefile
  3. +3 −0 lib/nano_store.rb
  4. +1 −1 lib/nano_store/version.rb
View
2 Gemfile.lock
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
- nano-store (0.3.0)
+ nano-store (0.3.1)
bubble-wrap (>= 0.1.1)
motion-cocoapods (>= 1.0.1)
View
8 Rakefile
@@ -12,4 +12,12 @@ Motion::Project::App.setup do |app|
app.pods do
dependency 'NanoStore'
end
+end
+
+
+desc "Build the gem"
+task :gem do
+ sh "bundle exec gem build nano-store.gemspec"
+ sh "mkdir -p pkg"
+ sh "mv *.gem pkg/"
end
View
3 lib/nano_store.rb
@@ -11,6 +11,9 @@
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'))
+
app.pods ||= Motion::Project::CocoaPods.new(app)
app.pods.dependency 'NanoStore', '~> 2.0.1'
end
View
2 lib/nano_store/version.rb
@@ -1,3 +1,3 @@
module NanoStore
- VERSION = "0.3.1"
+ VERSION = "0.3.2"
end

0 comments on commit 8e19ea6

Please sign in to comment.