Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

jewels of dribbling basketballs

  • Loading branch information...
commit 3410c41314ce9a3c63e65099e741a292ce9a4ecb 1 parent 7a74592
@mihael authored
View
20 LICENSE
@@ -0,0 +1,20 @@
+Copyright (c) 2009 Mihael
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
View
39 README.rdoc
@@ -0,0 +1,39 @@
+= transender
+
+Use Transender whenever you need to git-clone and rename XCode iPhone SDK projects.
+
+Project home: http://kitschmaster.com/kiches/246
+
+== FEATURES/NO-PROBLEMS:
+
+* can clone XCode projects (on git) and rename them successfully (tested only on iPhone/iPod Touch projects)
+* use from command line or ruby program
+
+== SYNOPSIS:
+
+You could use it in a Rails app maybe like this:
+Transender::Ji.transform_and_zip({:app_title=>"myClonedProject", :transform=>"git://github.com/mihael/iproject.git", :ji_path => File.join(File.dirname(__FILE__), %w[.. tmp]) }) do |zip|
+ render :text => zip
+end
+
+Or on the command line, like this:
+transender git://github.com/mihael/iproject.git myFreshProject /projects/
+
+== REQUIREMENTS:
+
+Nothing you would not have.
+
+* sed
+* tar
+* git
+* ruby
+
+== INSTALL:
+
+* sudo gem install mihael-transender
+
+== Copyright
+
+Copyright (c) 2009 Mihael. See LICENSE for details.
+
+
View
46 Rakefile
@@ -27,4 +27,48 @@ PROJ.rubyforge.name = 'transender'
PROJ.spec.opts << '--color'
PROJ.ignore_file = '.gitignore'
PROJ.readme_file = 'README'
-# EOF
+
+require 'rubygems'
+require 'rake'
+begin
+ require 'jeweler'
+ Jeweler::Tasks.new do |gem|
+ gem.name = "transender"
+ gem.summary = %Q{Use Transender whenever you need to git-clone and rename XCode iPhone SDK projects.}
+ gem.email = "kitschmaster@gmail.com"
+ gem.homepage = "http://github.com/mihael/transender"
+ gem.authors = ["Mihael"]
+ # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
+ end
+rescue LoadError
+ puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
+end
+
+require 'rake/rdoctask'
+Rake::RDocTask.new do |rdoc|
+ rdoc.rdoc_dir = 'rdoc'
+ rdoc.title = 'transender'
+ rdoc.options << '--line-numbers' << '--inline-source'
+ rdoc.rdoc_files.include('README*')
+ rdoc.rdoc_files.include('lib/**/*.rb')
+end
+
+require 'rake/testtask'
+Rake::TestTask.new(:test) do |test|
+ test.libs << 'lib' << 'test'
+ test.pattern = 'test/**/*_test.rb'
+ test.verbose = false
+end
+
+begin
+ require 'rcov/rcovtask'
+ Rcov::RcovTask.new do |test|
+ test.libs << 'test'
+ test.pattern = 'test/**/*_test.rb'
+ test.verbose = true
+ end
+rescue LoadError
+ task :rcov do
+ abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
+ end
+end
View
2  spec/transender_spec.rb
@@ -25,7 +25,7 @@
ji = Ji.new({:app_title=>"xyzproject", :transform=>File.join(File.dirname(__FILE__), %w[.. iproject]), :ji_path => File.join(File.dirname(__FILE__), %w[.. tmp]) })
ji.clone_and_remove_git
ji.rename
- puts File.exists?(File.join(ji.app_path, ji.app_title)).should be(true)
+ puts File.exists?(File.join(ji.app_path)).should be(true)
end
View
31 transender.gemspec
@@ -0,0 +1,31 @@
+# -*- encoding: utf-8 -*-
+
+Gem::Specification.new do |s|
+ s.name = %q{transender}
+ s.version = "0.0.0"
+
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
+ s.authors = ["Mihael"]
+ s.date = %q{2009-03-10}
+ s.default_executable = %q{transender}
+ s.email = %q{kitschmaster@gmail.com}
+ s.executables = ["transender"]
+ s.extra_rdoc_files = ["README", "README.rdoc", "LICENSE"]
+ s.files = ["History.txt", "README.rdoc", "bin/transender", "lib/transender.rb", "test/test_transender.rb", "test/test_transender.sh", "spec/spec_helper.rb", "spec/transender_spec.rb", "README", "LICENSE"]
+ s.has_rdoc = true
+ s.homepage = %q{http://github.com/mihael/transender}
+ s.rdoc_options = ["--inline-source", "--charset=UTF-8"]
+ s.require_paths = ["lib"]
+ s.rubygems_version = %q{1.3.1}
+ s.summary = %q{Use Transender whenever you need to git-clone and rename XCode iPhone SDK projects.}
+
+ if s.respond_to? :specification_version then
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
+ s.specification_version = 2
+
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
+ else
+ end
+ else
+ end
+end
Please sign in to comment.
Something went wrong with that request. Please try again.