Tests passing

This commit is contained in:
Jamon Holmgren
2014-05-10 15:33:22 -07:00
parent 31ac470d69
commit 4119d8d037
29 changed files with 7 additions and 23 deletions

View File

@@ -1,4 +1,4 @@
Over 20 developers have contributed to ProMotion. We love it when ProMotion users become ProMotion contributors.
Over 30 developers have contributed to ProMotion. We love it when ProMotion users become ProMotion contributors.
## Working on New Features
@@ -13,8 +13,8 @@ Over 20 developers have contributed to ProMotion. We love it when ProMotion user
1. Fork the project
2. Create a feature branch
3. Code
4. Update or create new specs ** NOTE: your PR is far more likely to be merged if you include comprehensive tests! **
5. Make sure tests are passing by running `rake spec` *(you can run functional and unit specs separately with `rake spec:func` and `rake spec:unit`, and a single spec with `rake spec:single f=test_file_name`)*
6. Submit pull request to `edge` (for new features) or `master` (for bugfixes)
4. Update or create new specs **NOTE: your PR is far more likely to be merged if you include comprehensive tests!**
5. Make sure tests are passing by running `rake spec`
6. Submit pull request to `master`
7. Make a million little nitpicky changes that @jamonholmgren wants
8. Merged, then fame, adoration, kudos everywhere

View File

@@ -1,4 +1,2 @@
source 'https://rubygems.org'
gem 'motion-require'
gemspec

View File

@@ -12,7 +12,6 @@ GEM
methadone (1.4.0)
bundler
motion-redgreen (0.1.0)
motion-require (0.2.0)
motion-stump (0.3.2)
rake (10.3.1)
webstub (1.0.1)
@@ -23,7 +22,6 @@ PLATFORMS
DEPENDENCIES
ProMotion!
motion-redgreen (~> 0.1)
motion-require
motion-stump (~> 0.3)
rake (~> 10.1)
webstub (~> 1.0)

View File

@@ -1,4 +1,4 @@
Copyright (c) 2013 Jamon Holmgren
Copyright (c) 2012-2014 Jamon Holmgren
MIT License

View File

@@ -5,7 +5,7 @@ Gem::Specification.new do |gem|
gem.name = "ProMotion"
gem.authors = ["Jamon Holmgren", "Mark Rickert", "Silas Matson"]
gem.email = ["jamon@clearsightstudio.com", "mark@mohawkapps.com", "silas@clearsightstudio.com"]
gem.description = "ProMotion is a fast way to easily build RubyMotion iOS apps."
gem.description = "ProMotion is a fast way to get started building RubyMotion iOS apps."
gem.summary = "
ProMotion is a fast way to get started building RubyMotion apps. Instead of dealing
with UIViewControllers, UITableViewControllers, and the like, you work with Screens.

View File

@@ -1,4 +1,4 @@
class AppDelegate
class AppDelegate < ProMotion::Delegate
def on_load(app, options)
open BasicScreen.new(nav_bar: true)

View File

@@ -1,3 +0,0 @@
class BasicScreen < ProMotion::Screen
title "Basic"
end

View File

@@ -1,3 +0,0 @@
class DummyClass
# will dynamically do things with this thing
end

View File

@@ -4,10 +4,4 @@ describe "pro motion module" do
should.not.raise(NameError) { PM }
end
it "should not allow screen inclusion into just any class" do
dummy = DummyClass.new
dummy.extend ProMotion::ScreenModule
should.raise(StandardError) { dummy.on_create }
end
end