ti 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,5 @@
1
+ lib/**/*.rb
2
+ bin/*
3
+ -
4
+ features/**/*.feature
5
+ LICENSE.txt
data/.rvmrc ADDED
@@ -0,0 +1,49 @@
1
+ #!/usr/bin/env bash
2
+
3
+ # This is an RVM Project .rvmrc file, used to automatically load the ruby
4
+ # development environment upon cd'ing into the directory
5
+
6
+ # First we specify our desired <ruby>[@<gemset>], the @gemset name is optional.
7
+ environment_id="ruby-1.9.2-p180"
8
+
9
+ #
10
+ # First we attempt to load the desired environment directly from the environment
11
+ # file. This is very fast and efficicent compared to running through the entire
12
+ # CLI and selector. If you want feedback on which environment was used then
13
+ # insert the word 'use' after --create as this triggers verbose mode.
14
+ #
15
+ if [[ -d "${rvm_path:-$HOME/.rvm}/environments" \
16
+ && -s "${rvm_path:-$HOME/.rvm}/environments/$environment_id" ]] ; then
17
+ \. "${rvm_path:-$HOME/.rvm}/environments/$environment_id"
18
+
19
+ [[ -s ".rvm/hooks/after_use" ]] && . ".rvm/hooks/after_use"
20
+ else
21
+ # If the environment file has not yet been created, use the RVM CLI to select.
22
+ rvm --create "$environment_id"
23
+ fi
24
+
25
+ #
26
+ # If you use an RVM gemset file to install a list of gems (*.gems), you can have
27
+ # it be automatically loaded. Uncomment the following and adjust the filename if
28
+ # necessary.
29
+ #
30
+ # filename=".gems"
31
+ # if [[ -s "$filename" ]] ; then
32
+ # rvm gemset import "$filename" | grep -v already | grep -v listed | grep -v complete | sed '/^$/d'
33
+ # fi
34
+
35
+ #
36
+ # If you use bundler and would like to run bundle each time you enter the
37
+ # directory, you can uncomment the following code.
38
+ #
39
+ # # Ensure that Bundler is installed. Install it if it is not.
40
+ # if ! command -v bundle >/dev/null; then
41
+ # printf "The rubygem 'bundler' is not installed. Installing it now.\n"
42
+ # gem install bundler
43
+ # fi
44
+ #
45
+ # # Bundle while reducing excess noise.
46
+ # printf "Bundling your gems. This may take a few minutes on a fresh clone.\n"
47
+ # bundle | grep -v '^Using ' | grep -v ' is complete' | sed '/^$/d'
48
+ #
49
+
data/Gemfile ADDED
@@ -0,0 +1,19 @@
1
+ source "http://rubygems.org"
2
+
3
+ group :runtime do
4
+ gem 'guard'
5
+ gem 'guard-coffeescript'
6
+ gem 'guard-livereload'
7
+ gem 'jasmine'
8
+ gem 'coffee-script'
9
+ gem 'colored'
10
+ gem 'rocco'
11
+ gem 'rake'
12
+ gem 'choice'
13
+ end
14
+
15
+ group :development do
16
+ gem "bundler", "~> 1.0.10"
17
+ gem "jeweler", "~> 1.5.2"
18
+ gem "rcov", ">= 0"
19
+ end
@@ -0,0 +1,81 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ addressable (2.2.5)
5
+ childprocess (0.1.8)
6
+ ffi (~> 1.0.6)
7
+ choice (0.1.4)
8
+ coffee-script (2.2.0)
9
+ coffee-script-source
10
+ execjs
11
+ coffee-script-source (1.0.1)
12
+ colored (1.2)
13
+ diff-lcs (1.1.2)
14
+ em-websocket (0.2.1)
15
+ addressable (>= 2.1.1)
16
+ eventmachine (>= 0.12.9)
17
+ eventmachine (0.12.10)
18
+ execjs (0.2.0)
19
+ ffi (1.0.7)
20
+ rake (>= 0.8.7)
21
+ git (1.2.5)
22
+ guard (0.3.3)
23
+ thor (~> 0.14.6)
24
+ guard-coffeescript (0.2.0)
25
+ coffee-script (~> 2.2.0)
26
+ guard (~> 0.3.0)
27
+ guard-livereload (0.1.10)
28
+ em-websocket (~> 0.2.0)
29
+ guard (>= 0.2.2)
30
+ json (~> 1.5.1)
31
+ jasmine (1.0.2.0)
32
+ json_pure (>= 1.4.3)
33
+ rack (>= 1.1)
34
+ rspec (>= 1.3.1)
35
+ selenium-webdriver (>= 0.1.3)
36
+ jeweler (1.5.2)
37
+ bundler (~> 1.0.0)
38
+ git (>= 1.2.5)
39
+ rake
40
+ json (1.5.1)
41
+ json_pure (1.5.1)
42
+ mustache (0.99.3)
43
+ rack (1.2.2)
44
+ rake (0.8.7)
45
+ rcov (0.9.9)
46
+ rdiscount (1.6.8)
47
+ rocco (0.6)
48
+ mustache
49
+ rdiscount
50
+ rspec (2.5.0)
51
+ rspec-core (~> 2.5.0)
52
+ rspec-expectations (~> 2.5.0)
53
+ rspec-mocks (~> 2.5.0)
54
+ rspec-core (2.5.1)
55
+ rspec-expectations (2.5.0)
56
+ diff-lcs (~> 1.1.2)
57
+ rspec-mocks (2.5.0)
58
+ rubyzip (0.9.4)
59
+ selenium-webdriver (0.1.4)
60
+ childprocess (>= 0.1.7)
61
+ ffi (>= 1.0.7)
62
+ json_pure
63
+ rubyzip
64
+ thor (0.14.6)
65
+
66
+ PLATFORMS
67
+ ruby
68
+
69
+ DEPENDENCIES
70
+ bundler (~> 1.0.10)
71
+ choice
72
+ coffee-script
73
+ colored
74
+ guard
75
+ guard-coffeescript
76
+ guard-livereload
77
+ jasmine
78
+ jeweler (~> 1.5.2)
79
+ rake
80
+ rcov
81
+ rocco
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2011 Robert R Evans
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,26 @@
1
+ = Ti
2
+
3
+ Titanium Application Generator. Uses CoffeeScript for writing your JavaScript, Jasmine and Guard for testing.
4
+
5
+ Just playing with some ideas.
6
+
7
+ == Requirements
8
+
9
+ * ruby 1.9.2
10
+ * libffi `brew install libffi`
11
+
12
+ == Contributing to Ti
13
+
14
+ * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
15
+ * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
16
+ * Fork the project
17
+ * Start a feature/bugfix branch
18
+ * Commit and push until you are happy with your contribution
19
+ * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
20
+ * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
21
+
22
+ == Copyright
23
+
24
+ Copyright (c) 2011 Robert R Evans. See LICENSE.txt for
25
+ further details.
26
+
@@ -0,0 +1,55 @@
1
+ require 'rubygems'
2
+ require 'bundler'
3
+ begin
4
+ Bundler.setup(:default, :development)
5
+ rescue Bundler::BundlerError => e
6
+ $stderr.puts e.message
7
+ $stderr.puts "Run `bundle install` to install missing gems"
8
+ exit e.status_code
9
+ end
10
+ require 'rake'
11
+
12
+ require 'jeweler'
13
+ Jeweler::Tasks.new do |gem|
14
+ # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
15
+ gem.name = "ti"
16
+ gem.homepage = "http://github.com/revans/ti"
17
+ gem.license = "MIT"
18
+ gem.summary = %Q{Ti}
19
+ gem.description = %Q{Titanium Commandline Helper}
20
+ gem.email = "robert@codewranglers.org"
21
+ gem.authors = ["Robert R Evans"]
22
+ gem.date = "2011-04-16"
23
+ gem.executables = ["ti"]
24
+ # Include your dependencies below. Runtime dependencies are required when using your gem,
25
+ # and development dependencies are only needed for development (ie running rake tasks, tests, etc)
26
+ # gem.add_runtime_dependency 'jabber4r', '> 0.1'
27
+ # gem.add_development_dependency 'rspec', '> 1.2.3'
28
+ end
29
+ Jeweler::RubygemsDotOrgTasks.new
30
+
31
+ require 'rake/testtask'
32
+ Rake::TestTask.new(:test) do |test|
33
+ test.libs << 'lib' << 'test'
34
+ test.pattern = 'test/**/test_*.rb'
35
+ test.verbose = true
36
+ end
37
+
38
+ require 'rcov/rcovtask'
39
+ Rcov::RcovTask.new do |test|
40
+ test.libs << 'test'
41
+ test.pattern = 'test/**/test_*.rb'
42
+ test.verbose = true
43
+ end
44
+
45
+ task :default => :test
46
+
47
+ require 'rake/rdoctask'
48
+ Rake::RDocTask.new do |rdoc|
49
+ version = File.exist?('VERSION') ? File.read('VERSION') : ""
50
+
51
+ rdoc.rdoc_dir = 'rdoc'
52
+ rdoc.title = "ti #{version}"
53
+ rdoc.rdoc_files.include('README*')
54
+ rdoc.rdoc_files.include('lib/**/*.rb')
55
+ end
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.1.0
data/bin/ti ADDED
@@ -0,0 +1,50 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require File.expand_path(File.join(File.dirname(__FILE__), %w[ .. lib ti ]))
4
+ require "choice"
5
+
6
+ PROGRAM_VERSION = "0.0.1"
7
+
8
+ Choice.options do
9
+ header ''
10
+ header 'Specific options:'
11
+
12
+ option :name do
13
+ short '-n'
14
+ long '--name=demo'
15
+ desc 'Titanium Project Name'
16
+ default 'HelloWorld'
17
+ end
18
+
19
+ option :id do
20
+ short '-i'
21
+ long '--id=com.codewranglers.demo'
22
+ desc 'Your Project id'
23
+ default 'org.company.demo'
24
+ end
25
+
26
+ option :platform do
27
+ short '-p'
28
+ long '--platform=iphone'
29
+ desc 'Project Platform where you want to run your application'
30
+ default 'iphone'
31
+ end
32
+
33
+ separator ''
34
+ separator 'Common options:'
35
+
36
+ option :help do
37
+ long '--help'
38
+ desc 'Show this message'
39
+ end
40
+
41
+ option :version do
42
+ short 'v'
43
+ long '--version'
44
+ desc 'Show version'
45
+ end
46
+
47
+ end
48
+
49
+ # Main entry point for the application
50
+ Ti::Generate.new_project(Choice.choices[:name], Choice.choices[:id], Choice.choices[:platform])
@@ -0,0 +1,108 @@
1
+ $:.unshift(File.dirname(__FILE__)) unless $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
2
+
3
+ require 'pathname'
4
+ require 'fileutils'
5
+ require 'colored'
6
+ require 'rocco'
7
+
8
+ @@ti = Pathname(__FILE__).dirname.expand_path
9
+
10
+
11
+ module Ti
12
+ VERSION = '1.6.0'
13
+ # TODO: Need to support those how have install Titanium in their $HOME dir.
14
+ OSX_TITANIUM = "/Library/Application\\ Support/Titanium/mobilesdk/osx/#{VERSION}/titanium.py"
15
+ LINUX_TITANIUM = "$HOME/.titanium/mobilesdk/linux/#{VERSION}/titanium.py"
16
+
17
+ class Generate
18
+ class << self
19
+ attr_accessor :project_name, :devise_platform, :app_id
20
+
21
+
22
+ # Ti::Generate.new_project('demo', 'org.codewranglers.demo', 'ipad')
23
+ def new_project(name, id, platform='iphone')
24
+ @project_name = name
25
+ @devise_platform = platform
26
+ @app_id = id
27
+ if `#{generate_titanium_project}`
28
+ remove_old_files
29
+ generate_files
30
+ log "Your Titanium project is ready for you to get rockin!"
31
+ else
32
+ error "There was an error generating your Titanium project."
33
+ end
34
+ end
35
+
36
+
37
+ def create_new_file(name, contents)
38
+ log "Creating #{name}"
39
+ File.open(location.join(name), 'w') { |f| f.write(contents) }
40
+ end
41
+
42
+ def touch(*filenames)
43
+ filenames.each do |filename|
44
+ log "Creating #{filename} file."
45
+ FileUtils.touch(location.join(filename))
46
+ end
47
+ end
48
+
49
+ def create_directories(*dirs)
50
+ dirs.each do |dir|
51
+ log "Creating the #{dir} directory."
52
+ FileUtils.mkdir_p(location.join(dir))
53
+ end
54
+ end
55
+
56
+
57
+ def remove_directories(*names)
58
+ names.each do |name|
59
+ log "Removing #{name} directory."
60
+ FileUtils.rm_rf(location.join(name))
61
+ end
62
+ end
63
+
64
+ def remove_files(*files)
65
+ files.each do |file|
66
+ log "Removing #{file} file."
67
+ FileUtils.rm(location.join(file))
68
+ end
69
+ end
70
+
71
+
72
+ def remove_old_files
73
+ remove_files('README')
74
+ remove_directories('Resources')
75
+ end
76
+
77
+
78
+ def generate_files
79
+ create_directories('Resources', 'src', 'docs', 'specs', 'Resources/images', 'Resources/stylesheets', 'Resources/vendor')
80
+ touch('Readme.mkd')
81
+ create_new_file("src/app.coffee", '')
82
+ create_new_file(".gitignore", File.read(@@ti.join('ti/gitignore')))
83
+ create_new_file("config.rb", File.read(@@ti.join('ti/config')))
84
+ create_new_file("Rakefile", File.read(@@ti.join('ti/rakefile')))
85
+ end
86
+
87
+
88
+ def location
89
+ @location ||= Pathname.new(Dir.pwd).join(@project_name)
90
+ end
91
+
92
+
93
+ def generate_titanium_project
94
+ "#{OSX_TITANIUM} create --name=#{@project_name} --platform=#{@devise_platform} --id=#{@app_id}"
95
+ end
96
+
97
+
98
+ def log(msg)
99
+ $stdout.puts(msg.green.bold)
100
+ end
101
+
102
+ def error(msg)
103
+ $stderr.puts(msg.red.bold)
104
+ end
105
+
106
+ end
107
+ end
108
+ end
@@ -0,0 +1,27 @@
1
+ require 'nokogiri'
2
+
3
+ module Config
4
+ config = File.open('tiapp.xml')
5
+ doc = Nokogiri::XML(config)
6
+ config.close
7
+
8
+ PROJECT_NAME = "Application Name"
9
+ PROJECT_ROOT = File.dirname(__FILE__)
10
+ PROJECT_VERSION = "0.0.1"
11
+
12
+ IPHONE_SDK_VERSION = "4.3"
13
+ ANDROID_SDK_VERSION = ""
14
+
15
+ TI_SDK_VERSION = "1.6.0"
16
+ TI_DIR = "/Library/Application\ Support/Titanium"
17
+
18
+ TI_ASSETS_DIR = "#{TI_DIR}/mobilesdk/osx/#{TI_SDK_VERSION}"
19
+ TI_IPHONE_DIR = "#{TI_ASSETS_DIR}/iphone"
20
+ TI_ANDROID_DIR = "#{TI_ASSETS_DIR}/android"
21
+ TI_BUILD = "#{TI_IPHONE_DIR}/builder.py"
22
+
23
+ # Application
24
+ APP_ID = doc.xpath('ti:app/id').text
25
+ APP_NAME = doc.xpath('ti:app/id').text
26
+ APP_DEVISE = "iphone"
27
+ end
@@ -0,0 +1,34 @@
1
+ # Generated by Ti - Titanium Generator
2
+ #
3
+ # Have editor/IDE/OS specific files you need to ignore? Consider using a global gitignore:
4
+ #
5
+ # * Create a file at ~/.gitignore
6
+ # * Include files you want ignored
7
+ # * Run: git config --global core.excludesfile ~/.gitignore
8
+ #
9
+ # After doing this, these files will be ignored in all your git projects,
10
+ # saving you from having to 'pollute' every project you touch with them
11
+ #
12
+ # Not sure what to needs to be ignored for particular editors/OSes? Here's some ideas to get you started. (Remember, remove the leading # of the line)
13
+ #
14
+ # For MacOS:
15
+ #
16
+ #.DS_Store
17
+ #
18
+ # For TextMate
19
+ #*.tmproj
20
+ #tmtags
21
+ #
22
+ # For emacs:
23
+ #*~
24
+ #\#*
25
+ #.\#*
26
+ #
27
+ # For vim:
28
+ #*.swp
29
+ #
30
+ # For the project:
31
+ #
32
+ build
33
+ tmp
34
+ project-assets
@@ -0,0 +1,48 @@
1
+ require 'rubygems'
2
+ require File.join(File.dirname(__FILE__), 'config.rb')
3
+ include Config
4
+
5
+ task :default => ["build:iphone"]
6
+
7
+ namespace :project do
8
+ desc "Get project information"
9
+ task :info do
10
+ puts "#{PROJECT_NAME} at version #{PROJECT_VERSION}."
11
+ puts " App ID: #{APP_ID}."
12
+ puts " App Name: #{APP_NAME}."
13
+ puts " Building for: #{APP_DEVISE}."
14
+ puts " Using iOS SDK Version #{IPHONE_SDK_VERSION}."
15
+ puts " Using Android Version #{ANDROID_SDK_VERSION}."
16
+ puts " Titanium Build Version #{TI_SDK_VERSION}."
17
+ end
18
+ end
19
+
20
+
21
+ desc "Compile Coffee files"
22
+ task :compile do
23
+ compile
24
+ end
25
+
26
+ namespace :build do
27
+ desc "Build the app for the iPhone"
28
+ task :iphone do
29
+ build
30
+ end
31
+ end
32
+
33
+ def compile
34
+ puts "Compiling CoffeeScript"
35
+
36
+ # TODO: APP_NAME needs to be changed to the real name, but set dynamically.
37
+ `coffee -p --join --bare #{paths.join(' ')} > Resources/#{APP_NAME}.js`
38
+ `coffee -p --bare src/app.coffee > Resources/app.js`
39
+ end
40
+
41
+ def build(options={})
42
+ compile
43
+ options[:device] ||= 'iphone'
44
+ puts "Building with Titanium... (DEVICE_TYPE:#{options[:device]})"
45
+ FileUtils.mkdir_p "#{PROJECT_ROOT}/#{PROJECT_NAME}/build/iphone/"
46
+ sh %Q{bash -c "#{TI_BUILD} run #{PROJECT_ROOT}/ #{IPHONE_SDK_VERSION} #{APP_ID} #{APP_NAME} #{APP_DEVICE}" \
47
+ | perl -pe 's/^\\[DEBUG\\].*$/\\e[35m$&\\e[0m/g;s/^\\[INFO\\].*$/\\e[36m$&\\e[0m/g;s/^\\[WARN\\].*$/\\e[33m$&\\e[0m/g;s/^\\[ERROR\\].*$/\\e[31m$&\\e[0m/g;'}
48
+ end
@@ -0,0 +1,17 @@
1
+ require 'rubygems'
2
+ require 'bundler'
3
+ begin
4
+ Bundler.setup(:default, :development)
5
+ rescue Bundler::BundlerError => e
6
+ $stderr.puts e.message
7
+ $stderr.puts "Run `bundle install` to install missing gems"
8
+ exit e.status_code
9
+ end
10
+ require 'test/unit'
11
+
12
+ $LOAD_PATH.unshift(File.dirname(__FILE__))
13
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
14
+ require 'ti'
15
+
16
+ class Test::Unit::TestCase
17
+ end
@@ -0,0 +1,7 @@
1
+ require 'helper'
2
+
3
+ class TestTi < Test::Unit::TestCase
4
+ def test_something_for_real
5
+ flunk "hey buddy, you should probably rename this file and start testing for real"
6
+ end
7
+ end
@@ -0,0 +1,94 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{ti}
8
+ s.version = "0.0.2"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Robert R Evans"]
12
+ s.date = %q{2011-04-16}
13
+ s.default_executable = %q{ti}
14
+ s.description = %q{Titanium Commandline Helper}
15
+ s.email = %q{robert@codewranglers.org}
16
+ s.executables = ["ti"]
17
+ s.extra_rdoc_files = [
18
+ "LICENSE.txt",
19
+ "README.rdoc"
20
+ ]
21
+ s.files = [
22
+ ".document",
23
+ ".rvmrc",
24
+ "Gemfile",
25
+ "Gemfile.lock",
26
+ "LICENSE.txt",
27
+ "README.rdoc",
28
+ "Rakefile",
29
+ "VERSION",
30
+ "bin/ti",
31
+ "lib/ti.rb",
32
+ "lib/ti/config",
33
+ "lib/ti/gitignore",
34
+ "lib/ti/rakefile",
35
+ "test/helper.rb",
36
+ "test/test_ti.rb",
37
+ "ti.gemspec"
38
+ ]
39
+ s.homepage = %q{http://github.com/revans/ti}
40
+ s.licenses = ["MIT"]
41
+ s.require_paths = ["lib"]
42
+ s.rubygems_version = %q{1.6.2}
43
+ s.summary = %q{Ti}
44
+ s.test_files = [
45
+ "test/helper.rb",
46
+ "test/test_ti.rb"
47
+ ]
48
+
49
+ if s.respond_to? :specification_version then
50
+ s.specification_version = 3
51
+
52
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
53
+ s.add_runtime_dependency(%q<guard>, [">= 0"])
54
+ s.add_runtime_dependency(%q<guard-coffeescript>, [">= 0"])
55
+ s.add_runtime_dependency(%q<guard-livereload>, [">= 0"])
56
+ s.add_runtime_dependency(%q<jasmine>, [">= 0"])
57
+ s.add_runtime_dependency(%q<coffee-script>, [">= 0"])
58
+ s.add_runtime_dependency(%q<colored>, [">= 0"])
59
+ s.add_runtime_dependency(%q<rocco>, [">= 0"])
60
+ s.add_runtime_dependency(%q<rake>, [">= 0"])
61
+ s.add_runtime_dependency(%q<choice>, [">= 0"])
62
+ s.add_development_dependency(%q<bundler>, ["~> 1.0.10"])
63
+ s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
64
+ s.add_development_dependency(%q<rcov>, [">= 0"])
65
+ else
66
+ s.add_dependency(%q<guard>, [">= 0"])
67
+ s.add_dependency(%q<guard-coffeescript>, [">= 0"])
68
+ s.add_dependency(%q<guard-livereload>, [">= 0"])
69
+ s.add_dependency(%q<jasmine>, [">= 0"])
70
+ s.add_dependency(%q<coffee-script>, [">= 0"])
71
+ s.add_dependency(%q<colored>, [">= 0"])
72
+ s.add_dependency(%q<rocco>, [">= 0"])
73
+ s.add_dependency(%q<rake>, [">= 0"])
74
+ s.add_dependency(%q<choice>, [">= 0"])
75
+ s.add_dependency(%q<bundler>, ["~> 1.0.10"])
76
+ s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
77
+ s.add_dependency(%q<rcov>, [">= 0"])
78
+ end
79
+ else
80
+ s.add_dependency(%q<guard>, [">= 0"])
81
+ s.add_dependency(%q<guard-coffeescript>, [">= 0"])
82
+ s.add_dependency(%q<guard-livereload>, [">= 0"])
83
+ s.add_dependency(%q<jasmine>, [">= 0"])
84
+ s.add_dependency(%q<coffee-script>, [">= 0"])
85
+ s.add_dependency(%q<colored>, [">= 0"])
86
+ s.add_dependency(%q<rocco>, [">= 0"])
87
+ s.add_dependency(%q<rake>, [">= 0"])
88
+ s.add_dependency(%q<choice>, [">= 0"])
89
+ s.add_dependency(%q<bundler>, ["~> 1.0.10"])
90
+ s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
91
+ s.add_dependency(%q<rcov>, [">= 0"])
92
+ end
93
+ end
94
+
metadata ADDED
@@ -0,0 +1,199 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ti
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.2
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Robert R Evans
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2011-04-16 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: guard
16
+ requirement: &2164294940 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *2164294940
25
+ - !ruby/object:Gem::Dependency
26
+ name: guard-coffeescript
27
+ requirement: &2164294340 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
33
+ type: :runtime
34
+ prerelease: false
35
+ version_requirements: *2164294340
36
+ - !ruby/object:Gem::Dependency
37
+ name: guard-livereload
38
+ requirement: &2164293740 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
44
+ type: :runtime
45
+ prerelease: false
46
+ version_requirements: *2164293740
47
+ - !ruby/object:Gem::Dependency
48
+ name: jasmine
49
+ requirement: &2164293140 !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ type: :runtime
56
+ prerelease: false
57
+ version_requirements: *2164293140
58
+ - !ruby/object:Gem::Dependency
59
+ name: coffee-script
60
+ requirement: &2164292540 !ruby/object:Gem::Requirement
61
+ none: false
62
+ requirements:
63
+ - - ! '>='
64
+ - !ruby/object:Gem::Version
65
+ version: '0'
66
+ type: :runtime
67
+ prerelease: false
68
+ version_requirements: *2164292540
69
+ - !ruby/object:Gem::Dependency
70
+ name: colored
71
+ requirement: &2164291940 !ruby/object:Gem::Requirement
72
+ none: false
73
+ requirements:
74
+ - - ! '>='
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
77
+ type: :runtime
78
+ prerelease: false
79
+ version_requirements: *2164291940
80
+ - !ruby/object:Gem::Dependency
81
+ name: rocco
82
+ requirement: &2164291340 !ruby/object:Gem::Requirement
83
+ none: false
84
+ requirements:
85
+ - - ! '>='
86
+ - !ruby/object:Gem::Version
87
+ version: '0'
88
+ type: :runtime
89
+ prerelease: false
90
+ version_requirements: *2164291340
91
+ - !ruby/object:Gem::Dependency
92
+ name: rake
93
+ requirement: &2164290740 !ruby/object:Gem::Requirement
94
+ none: false
95
+ requirements:
96
+ - - ! '>='
97
+ - !ruby/object:Gem::Version
98
+ version: '0'
99
+ type: :runtime
100
+ prerelease: false
101
+ version_requirements: *2164290740
102
+ - !ruby/object:Gem::Dependency
103
+ name: choice
104
+ requirement: &2164290120 !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ type: :runtime
111
+ prerelease: false
112
+ version_requirements: *2164290120
113
+ - !ruby/object:Gem::Dependency
114
+ name: bundler
115
+ requirement: &2164289560 !ruby/object:Gem::Requirement
116
+ none: false
117
+ requirements:
118
+ - - ~>
119
+ - !ruby/object:Gem::Version
120
+ version: 1.0.10
121
+ type: :development
122
+ prerelease: false
123
+ version_requirements: *2164289560
124
+ - !ruby/object:Gem::Dependency
125
+ name: jeweler
126
+ requirement: &2164287600 !ruby/object:Gem::Requirement
127
+ none: false
128
+ requirements:
129
+ - - ~>
130
+ - !ruby/object:Gem::Version
131
+ version: 1.5.2
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: *2164287600
135
+ - !ruby/object:Gem::Dependency
136
+ name: rcov
137
+ requirement: &2164285000 !ruby/object:Gem::Requirement
138
+ none: false
139
+ requirements:
140
+ - - ! '>='
141
+ - !ruby/object:Gem::Version
142
+ version: '0'
143
+ type: :development
144
+ prerelease: false
145
+ version_requirements: *2164285000
146
+ description: Titanium Commandline Helper
147
+ email: robert@codewranglers.org
148
+ executables:
149
+ - ti
150
+ extensions: []
151
+ extra_rdoc_files:
152
+ - LICENSE.txt
153
+ - README.rdoc
154
+ files:
155
+ - .document
156
+ - .rvmrc
157
+ - Gemfile
158
+ - Gemfile.lock
159
+ - LICENSE.txt
160
+ - README.rdoc
161
+ - Rakefile
162
+ - VERSION
163
+ - bin/ti
164
+ - lib/ti.rb
165
+ - lib/ti/config
166
+ - lib/ti/gitignore
167
+ - lib/ti/rakefile
168
+ - test/helper.rb
169
+ - test/test_ti.rb
170
+ - ti.gemspec
171
+ homepage: http://github.com/revans/ti
172
+ licenses:
173
+ - MIT
174
+ post_install_message:
175
+ rdoc_options: []
176
+ require_paths:
177
+ - lib
178
+ required_ruby_version: !ruby/object:Gem::Requirement
179
+ none: false
180
+ requirements:
181
+ - - ! '>='
182
+ - !ruby/object:Gem::Version
183
+ version: '0'
184
+ required_rubygems_version: !ruby/object:Gem::Requirement
185
+ none: false
186
+ requirements:
187
+ - - ! '>='
188
+ - !ruby/object:Gem::Version
189
+ version: '0'
190
+ requirements: []
191
+ rubyforge_project:
192
+ rubygems_version: 1.7.2
193
+ signing_key:
194
+ specification_version: 3
195
+ summary: Ti
196
+ test_files:
197
+ - test/helper.rb
198
+ - test/test_ti.rb
199
+ has_rdoc: