Permalink
Browse files

fix gem

  • Loading branch information...
1 parent 34f3c4c commit 37c4c87708dd46a5fb0f8bde7a82bf61065fa4ae @siuying committed Jul 10, 2012
Showing with 24 additions and 1,939 deletions.
  1. +4 −0 Gemfile
  2. +17 −3 Rakefile
  3. +1 −8 lib/stump.rb
  4. +1 −7 lib/stump/version.rb
  5. +1 −0 motion-stump.gemspec
  6. +0 −1,585 setup.rb
  7. +0 −1 stump
  8. +0 −16 test/test_helper.rb
  9. +0 −111 test/test_mock.rb
  10. +0 −123 test/test_proxy.rb
  11. +0 −85 test/test_stub.rb
View
@@ -0,0 +1,4 @@
+source :rubygems
+
+# Specify your gem's dependencies in bubble-wrap.gemspec
+gemspec
View
@@ -1,4 +1,18 @@
-require 'config/requirements'
-require 'config/hoe' # setup Hoe + all gem configuration
+# -*- coding: utf-8 -*-
+require "bundler/gem_tasks"
-Dir['tasks/**/*.rake'].each { |rake| load rake }
+$:.unshift("/Library/RubyMotion/lib")
+require 'motion/project'
+require 'bundler'
+Bundler.require :default, :development
+
+Motion::Project::App.setup do |app|
+ app.name = 'motion-stump'
+end
+
+desc "Build the gem"
+task :gem do
+ sh "bundle exec gem build motion-define-method.gemspec"
+ sh "mkdir -p pkg"
+ sh "mv *.gem pkg/"
+end
View
@@ -2,14 +2,7 @@
raise "This file must be required within a RubyMotion project Rakefile."
end
-require 'stump/version'
-require 'stump/metaid'
-require 'stump/core_ext/test_case'
-
-require 'stump/stub'
-require 'stump/mocks'
-require 'stump/mock'
-require 'stump/proxy'
+require 'motion-define-method'
Motion::Project::App.setup do |app|
[
View
@@ -1,9 +1,3 @@
module Stump
- module VERSION #:nodoc:
- MAJOR = 0
- MINOR = 0
- TINY = 1
-
- STRING = [MAJOR, MINOR, TINY].join('.')
- end
+ VERSION = "0.1.0"
end
View
@@ -13,6 +13,7 @@ Gem::Specification.new do |gem|
gem.require_paths = ["lib"]
gem.version = Stump::VERSION
+ gem.add_dependency 'motion-define-method'
gem.add_development_dependency 'motion-redgreen'
gem.add_development_dependency 'rake'
end
Oops, something went wrong.

0 comments on commit 37c4c87

Please sign in to comment.