Skip to content

Commit

Permalink
create a gem for bubble wrap
Browse files Browse the repository at this point in the history
  • Loading branch information
siuying committed May 22, 2012
1 parent acf6ded commit 0e96bce
Show file tree
Hide file tree
Showing 14 changed files with 29 additions and 9 deletions.
4 changes: 4 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
source 'https://rubygems.org'

# Specify your gem's dependencies in bubble-wrap.gemspec
gemspec
10 changes: 1 addition & 9 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,9 +1 @@
$:.unshift("/Library/RubyMotion/lib")
require 'motion/project'

Motion::Project::App.setup do |app|
# Use `rake config' to see complete project settings.
app.name = 'MotionLibTestSuite'
app.delegate_class = 'TestSuiteDelegate'
app.files += Dir.glob('./lib/**.rb')
end
require "bundler/gem_tasks"
16 changes: 16 additions & 0 deletions bubble-wrap.gemspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# -*- encoding: utf-8 -*-
require File.expand_path('../lib/bubble-wrap/version', __FILE__)

Gem::Specification.new do |gem|
gem.authors = ["Matt Aimonetti", "Francis Chong"]
gem.email = ["mattaimonetti@gmail.com", "francis@ignition.hk"]
gem.description = "RubyMotion wrappers and helpers (Ruby for iOS) - Making Cocoa APIs more Ruby like, one API at a time. Fork away and send your pull request."
gem.summary = "RubyMotion wrappers and helpers (Ruby for iOS) - Making Cocoa APIs more Ruby like, one API at a time. Fork away and send your pull request."
gem.homepage = "https://github.com/mattetti/BubbleWrap"

gem.files = `git ls-files`.split($\)
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.name = "bubble-wrap"
gem.require_paths = ["lib"]
gem.version = BubbleWrap::VERSION
end
5 changes: 5 additions & 0 deletions lib/bubble-wrap.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
require "bubble-wrap/version"

Motion::Project::App.setup do |app|
app.files.unshift(Dir.glob(File.join(File.dirname(__FILE__), 'bubble-wrap/*.rb')))
end
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions lib/bubble-wrap/version.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module BubbleWrap
VERSION = '0.1.0'
end

0 comments on commit 0e96bce

Please sign in to comment.