Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Renamed project from 'iphoneruby' to 'rbiphonetest'

  • Loading branch information...
commit 6a31b32690c1454fbcea3d4fc2cdced385ba2c3e 1 parent b6a1b2c
@drnic authored
Showing with 73 additions and 56 deletions.
  1. +7 −1 History.txt
  2. +15 −14 Manifest.txt
  3. +1 −1  PostInstall.txt
  4. +6 −6 README.rdoc
  5. 0  {iphoneruby_generators/model → app_generators/rbiphonetest}/USAGE
  6. +2 −2 app_generators/{iphoneruby/iphoneruby_generator.rb → rbiphonetest/rbiphonetest_generator.rb}
  7. 0  app_generators/{iphoneruby → rbiphonetest}/templates/Rakefile
  8. 0  app_generators/{iphoneruby → rbiphonetest}/templates/dot_autotest
  9. 0  app_generators/{iphoneruby → rbiphonetest}/templates/test/test_helper.rb
  10. +6 −13 bin/iphoneruby
  11. +17 −0 bin/rbiphonetest
  12. +6 −6 config/hoe.rb
  13. +1 −1  lib/{iphoneruby.rb → rbiphonetest.rb}
  14. +2 −2 lib/{iphoneruby → rbiphonetest}/version.rb
  15. 0  {app_generators/iphoneruby → rbiphonetest_generators/model}/USAGE
  16. 0  {iphoneruby_generators → rbiphonetest_generators}/model/model_generator.rb
  17. 0  {iphoneruby_generators → rbiphonetest_generators}/model/templates/model.h
  18. +1 −1  {iphoneruby_generators → rbiphonetest_generators}/model/templates/model.m
  19. 0  {iphoneruby_generators → rbiphonetest_generators}/model/templates/test.rb
  20. +2 −2 script/console
  21. +3 −3 script/txt2html
  22. +1 −1  test/test_helper.rb
  23. +1 −1  test/test_model_generator.rb
  24. +1 −1  test/{test_iphoneruby.rb → test_rbiphonetest.rb}
  25. +1 −1  test/{test_iphoneruby_generator.rb → test_rbiphonetest_generator.rb}
View
8 History.txt
@@ -1,5 +1,11 @@
+== 0.2.0 2008-07-03
+
+* Renamed project from 'iphoneruby' to 'rbiphonetest'
+* iphoneruby app: prints a deprecation message
+* USE: "rbiphonetest ." to install test framework now
+
== 0.1.0 2008-06-28
* Initial release
- * iphoneruby cmd - adds test framework to your Xcode project
+ * rbiphonetest cmd - adds test framework to your Xcode project
* script/generate model FooBar - creates Classes/FooBar.h+m and test/test_foo_bar.rb
View
29 Manifest.txt
@@ -4,21 +4,22 @@ Manifest.txt
PostInstall.txt
README.rdoc
Rakefile
-app_generators/iphoneruby/USAGE
-app_generators/iphoneruby/iphoneruby_generator.rb
-app_generators/iphoneruby/templates/Rakefile
-app_generators/iphoneruby/templates/dot_autotest
-app_generators/iphoneruby/templates/test/test_helper.rb
+app_generators/rbiphonetest/USAGE
+app_generators/rbiphonetest/rbiphonetest_generator.rb
+app_generators/rbiphonetest/templates/Rakefile
+app_generators/rbiphonetest/templates/dot_autotest
+app_generators/rbiphonetest/templates/test/test_helper.rb
bin/iphoneruby
+bin/rbiphonetest
config/hoe.rb
config/requirements.rb
-iphoneruby_generators/model/USAGE
-iphoneruby_generators/model/model_generator.rb
-iphoneruby_generators/model/templates/model.h
-iphoneruby_generators/model/templates/model.m
-iphoneruby_generators/model/templates/test.rb
-lib/iphoneruby.rb
-lib/iphoneruby/version.rb
+lib/rbiphonetest.rb
+lib/rbiphonetest/version.rb
+rbiphonetest_generators/model/USAGE
+rbiphonetest_generators/model/model_generator.rb
+rbiphonetest_generators/model/templates/model.h
+rbiphonetest_generators/model/templates/model.m
+rbiphonetest_generators/model/templates/test.rb
script/console
script/destroy
script/generate
@@ -29,6 +30,6 @@ tasks/environment.rake
tasks/website.rake
test/test_generator_helper.rb
test/test_helper.rb
-test/test_iphoneruby.rb
-test/test_iphoneruby_generator.rb
test/test_model_generator.rb
+test/test_rbiphonetest.rb
+test/test_rbiphonetest_generator.rb
View
2  PostInstall.txt
@@ -2,7 +2,7 @@
You can add Ruby-based unit tests to any iPhone/Xcode project by changing to the
project's folder in the terminal/console and running:
- iphoneruby .
+ rbiphonetest .
This adds the test framework, a Rakefile, and an `autotest` config file.
View
12 README.rdoc
@@ -1,6 +1,6 @@
-= iphoneruby
+= rbiphonetest
-* http://iphoneruby.rubyforge.org
+* http://rbiphonetest.rubyforge.org
== DESCRIPTION:
@@ -22,7 +22,7 @@ Known issues:
* Create a new iPhone project using Xcode templates
* Open the terminal
* Change to project folder
-* `iphoneruby .`
+* `rbiphonetest .`
This adds the test framework, a Rakefile, and an `autotest` config file.
@@ -49,12 +49,12 @@ If using autotest, your tests will be re-run if the test files or the Objective-
== INSTALL:
- sudo gem install iphoneruby (COMING SOON)
+ sudo gem install rbiphonetest (COMING SOON)
From source:
- git clone git://github.com/drnic/iphoneruby.git
- cd iphoneruby
+ git clone git://github.com/drnic/rbiphonetest.git
+ cd rbiphonetest
rake install_gem
== LICENSE:
View
0  iphoneruby_generators/model/USAGE → app_generators/rbiphonetest/USAGE
File renamed without changes
View
4 ...rators/iphoneruby/iphoneruby_generator.rb → ...rs/rbiphonetest/rbiphonetest_generator.rb
@@ -1,4 +1,4 @@
-class IphonerubyGenerator < RubiGen::Base
+class RbiphonetestGenerator < RubiGen::Base
DEFAULT_SHEBANG = File.join(Config::CONFIG['bindir'],
Config::CONFIG['ruby_install_name'])
@@ -26,7 +26,7 @@ def manifest
m.file "dot_autotest", ".autotest"
m.file_copy_each ["test/test_helper.rb"]
- m.dependency "install_rubigen_scripts", [destination_root, 'iphoneruby'],
+ m.dependency "install_rubigen_scripts", [destination_root, 'rbiphonetest'],
:shebang => options[:shebang], :collision => :force
end
end
View
0  app_generators/iphoneruby/templates/Rakefile → ...enerators/rbiphonetest/templates/Rakefile
File renamed without changes
View
0  ...erators/iphoneruby/templates/dot_autotest → ...ators/rbiphonetest/templates/dot_autotest
File renamed without changes
View
0  .../iphoneruby/templates/test/test_helper.rb → ...biphonetest/templates/test/test_helper.rb
File renamed without changes
View
19 bin/iphoneruby
@@ -1,17 +1,10 @@
#!/usr/bin/env ruby
-require 'rubygems'
-require 'rubigen'
+puts <<-EOS
+DEPRECATION: this project has been renamed to 'rbiphonetest'
-if %w(-v --version).include? ARGV.first
- require 'iphoneruby/version'
- puts "#{File.basename($0)} #{Iphoneruby::VERSION::STRING}"
- exit(0)
-end
+Please use the new executable:
-require 'rubigen/scripts/generate'
-source = RubiGen::PathSource.new(:application,
- File.join(File.dirname(__FILE__), "../app_generators"))
-RubiGen::Base.reset_sources
-RubiGen::Base.append_sources source
-RubiGen::Scripts::Generate.new.run(ARGV, :generator => 'iphoneruby')
+ rbiphonetest .
+
+EOS
View
17 bin/rbiphonetest
@@ -0,0 +1,17 @@
+#!/usr/bin/env ruby
+
+require 'rubygems'
+require 'rubigen'
+
+if %w(-v --version).include? ARGV.first
+ require 'rbiphonetest/version'
+ puts "#{File.basename($0)} #{Iphoneruby::VERSION::STRING}"
+ exit(0)
+end
+
+require 'rubigen/scripts/generate'
+source = RubiGen::PathSource.new(:application,
+ File.join(File.dirname(__FILE__), "../app_generators"))
+RubiGen::Base.reset_sources
+RubiGen::Base.append_sources source
+RubiGen::Scripts::Generate.new.run(ARGV, :generator => 'rbiphonetest')
View
12 config/hoe.rb
@@ -1,11 +1,11 @@
-require 'iphoneruby/version'
+require 'rbiphonetest/version'
AUTHOR = 'Dr Nic Williams'
EMAIL = "drnicwilliams@gmail.com"
DESCRIPTION = "Want to write iPhone unit tests? Want to write them in Ruby?"
-GEM_NAME = 'iphoneruby' # what ppl will type to install your gem
-RUBYFORGE_PROJECT = 'iphoneruby' # The unix name for your project
-HOMEPATH = "http://github.com/drnic/iphoneruby"
+GEM_NAME = 'rbiphonetest' # what ppl will type to install your gem
+RUBYFORGE_PROJECT = 'rbiphonetest' # The unix name for your project
+HOMEPATH = "http://github.com/drnic/rbiphonetest"
DOWNLOAD_PATH = "http://rubyforge.org/projects/#{RUBYFORGE_PROJECT}"
EXTRA_DEPENDENCIES = [
['rubigen', '>= 1.3.2']
@@ -31,8 +31,8 @@ def rubyforge_username
end
-VERS = IPhoneRuby::VERSION::STRING
-RDOC_OPTS = ['--quiet', '--title', 'iphoneruby documentation',
+VERS = RbIphoneTest::VERSION::STRING
+RDOC_OPTS = ['--quiet', '--title', 'rbiphonetest documentation',
"--opname", "index.html",
"--line-numbers",
"--main", "README",
View
2  lib/iphoneruby.rb → lib/rbiphonetest.rb
@@ -1,6 +1,6 @@
$:.unshift(File.dirname(__FILE__)) unless
$:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
-module IPhoneRuby
+module RbIphoneTest
end
View
4 lib/iphoneruby/version.rb → lib/rbiphonetest/version.rb
@@ -1,7 +1,7 @@
-module IPhoneRuby
+module RbIphoneTest
module VERSION #:nodoc:
MAJOR = 0
- MINOR = 1
+ MINOR = 2
TINY = 0
STRING = [MAJOR, MINOR, TINY].join('.')
View
0  app_generators/iphoneruby/USAGE → rbiphonetest_generators/model/USAGE
File renamed without changes
View
0  ...eruby_generators/model/model_generator.rb → ...etest_generators/model/model_generator.rb
File renamed without changes
View
0  ...neruby_generators/model/templates/model.h → ...netest_generators/model/templates/model.h
File renamed without changes
View
2  ...neruby_generators/model/templates/model.m → ...netest_generators/model/templates/model.m
@@ -16,7 +16,7 @@ @implementation <%= class_name %>
// This initialization function gets called when we import the Ruby module.
// It doesn't need to do anything because the RubyCocoa bridge will do
// all the initialization work.
-// The iphoneruby test framework automatically generates bundles for
+// The rbiphonetest test framework automatically generates bundles for
// each objective-c class containing the following line. These
// can be used by your tests.
void Init_<%= class_name %>() { }
View
0  ...neruby_generators/model/templates/test.rb → ...netest_generators/model/templates/test.rb
File renamed without changes
View
4 script/console
@@ -5,6 +5,6 @@ irb = RUBY_PLATFORM =~ /(:?mswin|mingw)/ ? 'irb.bat' : 'irb'
libs = " -r irb/completion"
# Perhaps use a console_lib to store any extra methods I may want available in the cosole
# libs << " -r #{File.dirname(__FILE__) + '/../lib/console_lib/console_logger.rb'}"
-libs << " -r #{File.dirname(__FILE__) + '/../lib/iphoneruby.rb'}"
-puts "Loading iphoneruby gem"
+libs << " -r #{File.dirname(__FILE__) + '/../lib/rbiphonetest.rb'}"
+puts "Loading rbiphonetest gem"
exec "#{irb} #{libs} --simple-prompt"
View
6 script/txt2html
@@ -1,7 +1,7 @@
#!/usr/bin/env ruby
-GEM_NAME = 'iphoneruby' # what ppl will type to install your gem
-RUBYFORGE_PROJECT = 'iphoneruby'
+GEM_NAME = 'rbiphonetest' # what ppl will type to install your gem
+RUBYFORGE_PROJECT = 'rbiphonetest'
require 'rubygems'
begin
@@ -17,7 +17,7 @@ require 'syntax/convertors/html'
require 'erb'
require File.dirname(__FILE__) + "/../lib/#{GEM_NAME}/version.rb"
-version = IPhoneRuby::VERSION::STRING
+version = RbIphoneTest::VERSION::STRING
download = "http://rubyforge.org/projects/#{RUBYFORGE_PROJECT}"
def rubyforge_project_id
View
2  test/test_helper.rb
@@ -1,2 +1,2 @@
require 'test/unit'
-require File.dirname(__FILE__) + '/../lib/iphoneruby'
+require File.dirname(__FILE__) + '/../lib/rbiphonetest'
View
2  test/test_model_generator.rb
@@ -43,6 +43,6 @@ def sources
end
def generator_path
- "iphoneruby_generators"
+ "rbiphonetest_generators"
end
end
View
2  test/test_iphoneruby.rb → test/test_rbiphonetest.rb
@@ -1,6 +1,6 @@
require File.dirname(__FILE__) + '/test_helper.rb'
-class TestIPhoneRuby < Test::Unit::TestCase
+class TestRbIphoneTest < Test::Unit::TestCase
def setup
end
View
2  test/test_iphoneruby_generator.rb → test/test_rbiphonetest_generator.rb
@@ -26,7 +26,7 @@ def teardown
# bare_teardown - place this in teardown method to destroy the TMP_ROOT or APP_ROOT folder after each test
def test_generator_without_options
- run_generator('iphoneruby', [APP_ROOT], sources)
+ run_generator('rbiphonetest', [APP_ROOT], sources)
assert_directory_exists "Classes"
assert_directory_exists "test"
assert_generated_file ".autotest"
Please sign in to comment.
Something went wrong with that request. Please try again.