Permalink
Browse files

Made into gem with "bundle gem".

  • Loading branch information...
1 parent ee8d18e commit 5b832ae5b2658f33fc3d782dc221439a76d67022 @aceofspades aceofspades committed Sep 2, 2012
Showing with 59 additions and 0 deletions.
  1. +17 −0 .gitignore
  2. +4 −0 Gemfile
  3. +2 −0 Rakefile
  4. +14 −0 lib/motion-layouts.rb
  5. +5 −0 lib/motion-layouts/version.rb
  6. +17 −0 motion-layouts.gemspec
View
@@ -1,2 +1,19 @@
.rake_tasks~
build/
+*.gem
+*.rbc
+.bundle
+.config
+.yardoc
+Gemfile.lock
+InstalledFiles
+_yardoc
+coverage
+doc/
+lib/bundler/man
+pkg
+rdoc
+spec/reports
+test/tmp
+test/version_tmp
+tmp
View
@@ -0,0 +1,4 @@
+source 'https://rubygems.org'
+
+# Specify your gem's dependencies in motion-layouts.gemspec
+gemspec
View
@@ -0,0 +1,2 @@
+#!/usr/bin/env rake
+require "bundler/gem_tasks"
View
@@ -0,0 +1,14 @@
+unless defined?(Motion::Project::Config)
+ raise "#{__FILE__} must be required within a RubyMotion project Rakefile."
+end
+
+Motion::Project::App.setup do |app|
+ root = File.expand_path('../..', __FILE__)
+ files = Dir.glob(File.join(root, 'lib/**/*.rb')).reject{ |f| f == __FILE__ }
+ files.each do |file|
+ app.files.unshift(file)
+ end
+
+ app.files_dependencies File.join(root, 'lib/layouts/nodes/ui_text_field.rb') => File.join(root, 'lib/layout_base.rb')
+ app.files_dependencies File.join(root, 'lib/layouts/nodes/ui_tool_bar.rb') => File.join(root, 'lib/layout_base.rb')
+end
@@ -0,0 +1,5 @@
+module Motion
+ module Layouts
+ VERSION = "0.0.1"
+ end
+end
View
@@ -0,0 +1,17 @@
+# -*- encoding: utf-8 -*-
+require File.expand_path('../lib/motion-layouts/version', __FILE__)
+
+Gem::Specification.new do |gem|
+ gem.authors = ["malkomalko (Robert Malko)"]
+ gem.email = ["obmalko@gmail.com"]
+ gem.description = %q{A DSL for creating layouts easily in RubyMotion. Also comes bundled with a set of categories to make life easier. I'm using the word category from objective-c land which is basically the same as re-opening classes in ruby :D.}
+ gem.summary = %q{A DSL for creating layouts easily in RubyMotion}
+ gem.homepage = "https://github.com/malkomalko/motion-layouts"
+
+ gem.files = `git ls-files`.split($\)
+ gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
+ gem.name = "motion-layouts"
+ gem.require_paths = ["lib"]
+ gem.version = Motion::Layouts::VERSION
+end

0 comments on commit 5b832ae

Please sign in to comment.