Permalink
Browse files

init commit

  • Loading branch information...
0 parents commit 49cae75a76b89ac562b81b5df8e22405a8b8fdc1 @siuying committed Aug 16, 2012
Showing with 81 additions and 0 deletions.
  1. +5 −0 .gitignore
  2. +3 −0 Gemfile
  3. +46 −0 Gemfile.lock
  4. +13 −0 Rakefile
  5. +5 −0 app/app_delegate.rb
  6. +9 −0 spec/main_spec.rb
5 .gitignore
@@ -0,0 +1,5 @@
+.repl_history
+build
+resources/*.nib
+resources/*.momd
+resources/*.storyboardc
3 Gemfile
@@ -0,0 +1,3 @@
+source :rubygems
+
+gem 'motion-cocoapods'
46 Gemfile.lock
@@ -0,0 +1,46 @@
+GEM
+ remote: http://rubygems.org/
+ specs:
+ activesupport (3.2.8)
+ i18n (~> 0.6)
+ multi_json (~> 1.0)
+ addressable (2.3.2)
+ cocoapods (0.11.1)
+ activesupport (~> 3.2.6)
+ colored (~> 1.2)
+ escape (~> 0.0.4)
+ faraday (~> 0.8.1)
+ json (~> 1.7.3)
+ octokit (~> 1.7.0)
+ open4 (~> 1.3.0)
+ rake (~> 0.9.0)
+ xcodeproj (>= 0.3.0)
+ colored (1.2)
+ escape (0.0.4)
+ faraday (0.8.4)
+ multipart-post (~> 1.1)
+ faraday_middleware (0.8.8)
+ faraday (>= 0.7.4, < 0.9)
+ hashie (1.2.0)
+ i18n (0.6.0)
+ json (1.7.4)
+ motion-cocoapods (1.1.0)
+ cocoapods (>= 0.9.1)
+ multi_json (1.3.6)
+ multipart-post (1.1.5)
+ octokit (1.7.0)
+ addressable (~> 2.2)
+ faraday (~> 0.8)
+ faraday_middleware (~> 0.8)
+ hashie (~> 1.2)
+ multi_json (~> 1.3)
+ open4 (1.3.0)
+ rake (0.9.2.2)
+ xcodeproj (0.3.1)
+ activesupport (~> 3.2.6)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ motion-cocoapods
13 Rakefile
@@ -0,0 +1,13 @@
+# -*- coding: utf-8 -*-
+$:.unshift("/Library/RubyMotion/lib")
+require 'motion/project'
+require 'rubygems'
+require 'bundler'
+
+Bundler.require :default
+
+Motion::Project::App.setup do |app|
+ app.name = 'blocks'
+
+
+end
5 app/app_delegate.rb
@@ -0,0 +1,5 @@
+class AppDelegate
+ def application(application, didFinishLaunchingWithOptions:launchOptions)
+ true
+ end
+end
9 spec/main_spec.rb
@@ -0,0 +1,9 @@
+describe "Application 'block'" do
+ before do
+ @app = UIApplication.sharedApplication
+ end
+
+ it "has one window" do
+ @app.windows.size.should == 1
+ end
+end

0 comments on commit 49cae75

Please sign in to comment.