bubble-wrap 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -8,22 +8,21 @@ A collection of helpers and wrappers used to wrap CocoaTouch code and provide mo
8
8
  gem install bubble-wrap
9
9
  ```
10
10
 
11
- ### Setup
11
+ ## Setup
12
12
 
13
13
  1. Edit the Rakefile of your RubyMotion project and add the following require line.
14
14
  ```ruby
15
15
  require 'bubble-wrap'
16
16
  ```
17
-
18
17
  2. Now, you can use BubbleWrap extension in your app:
19
- ````ruby
18
+ ```ruby
20
19
  class AppDelegate
21
20
  def application(application, didFinishLaunchingWithOptions:launchOptions)
22
21
  puts "#{App.name} (#{documents_path})"
23
22
  true
24
23
  end
25
24
  end
26
- ````
25
+ ```
27
26
 
28
27
  For a more complete list of helper/wrapper descriptions and more details, see the [wiki](https://github.com/mattetti/BubbleWrap/wiki).
29
28
 
data/lib/bubble-wrap.rb CHANGED
@@ -1,5 +1,9 @@
1
1
  require "bubble-wrap/version"
2
2
 
3
+ unless defined?(Motion::Project::Config)
4
+ raise "This file must be required within a RubyMotion project Rakefile."
5
+ end
6
+
3
7
  Motion::Project::App.setup do |app|
4
8
  Dir.glob(File.join(File.dirname(__FILE__), 'bubble-wrap/*.rb')).each do |file|
5
9
  app.files.unshift(file)
@@ -1,3 +1,3 @@
1
1
  module BubbleWrap
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bubble-wrap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: