From 5c4db681b744fb53b8886a79123d0b17979acd19 Mon Sep 17 00:00:00 2001 From: Matt Brewer Date: Fri, 15 Mar 2013 17:40:39 -0400 Subject: [PATCH 1/2] Basic test suite setup --- Gemfile | 2 ++ Gemfile.lock | 6 ++++-- README.md | 9 +++++++++ app/app_delegate.rb | 5 +++++ spec/helpers/.gitkeep | 0 spec/main_spec.rb | 7 +++++++ 6 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 app/app_delegate.rb create mode 100644 spec/helpers/.gitkeep create mode 100644 spec/main_spec.rb diff --git a/Gemfile b/Gemfile index dafab4e..3fd6541 100644 --- a/Gemfile +++ b/Gemfile @@ -3,3 +3,5 @@ source 'https://rubygems.org' # Specify your gem's dependencies in ProMotion.gemspec gemspec +# Use this in development +gem "motion-stump" diff --git a/Gemfile.lock b/Gemfile.lock index 7146e16..3e32e82 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,14 +1,16 @@ PATH remote: . specs: - ProMotion (0.4.0) + ProMotion (0.5.1) GEM - remote: http://rubygems.org/ + remote: https://rubygems.org/ specs: + motion-stump (0.2.0) PLATFORMS ruby DEPENDENCIES ProMotion! + motion-stump diff --git a/README.md b/README.md index ca24597..16739f3 100644 --- a/README.md +++ b/README.md @@ -782,3 +782,12 @@ If you need help, feel free to ping me on twitter @jamonholmgren or email jamon@ ## Contributing I'm really looking for feedback. Tweet me with your ideas or open a ticket (I don't mind!) and let's discuss. + +### Submitting a Pull Request + +1. Fork the project +2. Create a feature branch +3. Code +4. Update or create new specs +5. Make sure tests are passing by running `rake spec` +6. Submit pull request diff --git a/app/app_delegate.rb b/app/app_delegate.rb new file mode 100644 index 0000000..10d9b51 --- /dev/null +++ b/app/app_delegate.rb @@ -0,0 +1,5 @@ +class AppDelegate + def application(application, didFinishLaunchingWithOptions:launchOptions) + return true if RUBYMOTION_ENV == 'test' + end +end diff --git a/spec/helpers/.gitkeep b/spec/helpers/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/spec/main_spec.rb b/spec/main_spec.rb new file mode 100644 index 0000000..2ad68fa --- /dev/null +++ b/spec/main_spec.rb @@ -0,0 +1,7 @@ +describe "pro motion module" do + + it "should have 'PM' module" do + should.not.raise(NameError) { PM } + end + +end From 90a22f8b77f47b76f19321cb42cfe37441c1ea70 Mon Sep 17 00:00:00 2001 From: Matt Brewer Date: Mon, 18 Mar 2013 09:51:17 -0400 Subject: [PATCH 2/2] README now includes "TipCounter" ref --- README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 16739f3..866de01 100644 --- a/README.md +++ b/README.md @@ -36,13 +36,18 @@ Video tutorial with 0.4. http://www.clearsightstudio.com/insights/tutorial-make-youtube-video-app-rubymotion-promotion/ -### Sample apps +### Sample Apps -Sample app here: https://github.com/jamonholmgren/promotion-tutorial +#### ProMotion Tutorial +Sample app here: [https://github.com/jamonholmgren/promotion-tutorial](https://github.com/jamonholmgren/promotion-tutorial) -Also, check out the free [BigDay! Reminder app](https://itunes.apple.com/us/app/bigday!/id571756685?ls=1&mt=8) on the +#### BigDay! Reminder App +Check out the free [BigDay! Reminder app](https://itunes.apple.com/us/app/bigday!/id571756685?ls=1&mt=8) on the App Store to see what's possible. ClearSight Studio built the app for Kijome Software, a small app investment company. +#### TipCounter App +[TipCounter](http://www.tipcounterapp.com) was built by [Matt Brewer](https://github.com/macfanatic/) for bartenders and servers to easily track their tips. Used ProMotion and the development was a lot of fun! + ## Getting Started ProMotion is designed to be as intuitive and Ruby-like as possible. For example, here is a