iphoneruby 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,8 @@
1
+ == 0.1.1 2008-07-03
2
+
3
+ * Project renamed to 'rbiphonetest'
4
+ * This release is to deprecate the iphoneruby executable and have it return a useful message
5
+
1
6
  == 0.1.0 2008-06-28
2
7
 
3
8
  * Initial release
data/README.rdoc CHANGED
@@ -1,83 +1,7 @@
1
- = iphoneruby
1
+ = iphoneruby RENAMED!!
2
2
 
3
- * http://iphoneruby.rubyforge.org
3
+ This project has been renamed 'rbiphonetest'
4
4
 
5
- == DESCRIPTION:
5
+ GitHub homepage: http://github.com/drnic/rbiphonetest
6
+ RubyForge homepage: http://rubyforge.org/projects/rbiphonetest
6
7
 
7
- Want to write iPhone apps with unit tests? Want to write them in Ruby?
8
-
9
- == FEATURES/PROBLEMS:
10
-
11
- * Installs a Ruby-based unit testing framework into an iPhone/Objective-C/Xcode project
12
- * Provides generators to create Objective-C classes with associated Ruby tests
13
-
14
- Known issues:
15
-
16
- * Currently only test/unit tests created; rspec etc coming soon
17
- * Currently only supports Foundation framework, since its common between OS X and iPhone
18
- * The plan is to mock out all the UIKit.framework classes so they can exist in RubyCocoa land.
19
-
20
- == SYNOPSIS:
21
-
22
- * Create a new iPhone project using Xcode templates
23
- * Open the terminal
24
- * Change to project folder
25
- * `iphoneruby .`
26
-
27
- This adds the test framework, a Rakefile, and an `autotest` config file.
28
-
29
- You can now create testable Objective-C models/classes using the generator:
30
-
31
- $ script/generate model WidgetMaker
32
- create Classes/WidgetMaker.h
33
- create Classes/WidgetMaker.m
34
- create test/test_widget_maker.rb
35
-
36
- To run tests you have several options:
37
-
38
- 1. `rake` or `rake test`
39
- 1. `autotest` (after installing the ZenTest gem)
40
-
41
- All options will re-build the Objective-C code (if necessary) before running the tests.
42
-
43
- If using autotest, your tests will be re-run if the test files or the Objective-C files are modified.
44
-
45
- == REQUIREMENTS:
46
-
47
- * RubyCocoa (installed on OS X Leopard; latest version at http://rubycocoa.com)
48
- * XCode 3.1 (containing the iPhone SDK)
49
-
50
- == INSTALL:
51
-
52
- sudo gem install iphoneruby (COMING SOON)
53
-
54
- From source:
55
-
56
- git clone git://github.com/drnic/iphoneruby.git
57
- cd iphoneruby
58
- rake install_gem
59
-
60
- == LICENSE:
61
-
62
- (The MIT License)
63
-
64
- Copyright (c) 2008 Dr Nic Williams
65
-
66
- Permission is hereby granted, free of charge, to any person obtaining
67
- a copy of this software and associated documentation files (the
68
- 'Software'), to deal in the Software without restriction, including
69
- without limitation the rights to use, copy, modify, merge, publish,
70
- distribute, sublicense, and/or sell copies of the Software, and to
71
- permit persons to whom the Software is furnished to do so, subject to
72
- the following conditions:
73
-
74
- The above copyright notice and this permission notice shall be
75
- included in all copies or substantial portions of the Software.
76
-
77
- THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
78
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
79
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
80
- IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
81
- CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
82
- TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
83
- SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/bin/iphoneruby CHANGED
@@ -1,17 +1,15 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- require 'rubygems'
4
- require 'rubigen'
3
+ puts <<-EOS
4
+ DEPRECATED: iphoneruby has been renamed "rbiphonetest"
5
5
 
6
- if %w(-v --version).include? ARGV.first
7
- require 'iphoneruby/version'
8
- puts "#{File.basename($0)} #{Iphoneruby::VERSION::STRING}"
9
- exit(0)
10
- end
6
+ Installation:
11
7
 
12
- require 'rubigen/scripts/generate'
13
- source = RubiGen::PathSource.new(:application,
14
- File.join(File.dirname(__FILE__), "../app_generators"))
15
- RubiGen::Base.reset_sources
16
- RubiGen::Base.append_sources source
17
- RubiGen::Scripts::Generate.new.run(ARGV, :generator => 'iphoneruby')
8
+ sudo gem install rbiphonetest
9
+
10
+ Usage:
11
+
12
+ cd /path/to/iphone/project
13
+ rbiphonetest .
14
+
15
+ Then read the instructions.
@@ -2,7 +2,7 @@ module IPhoneRuby
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 1
5
- TINY = 0
5
+ TINY = 1
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iphoneruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dr Nic Williams
@@ -9,10 +9,19 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-06-30 00:00:00 +10:00
12
+ date: 2008-07-03 00:00:00 +10:00
13
13
  default_executable:
14
- dependencies: []
15
-
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: hoe
17
+ type: :development
18
+ version_requirement:
19
+ version_requirements: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: 1.7.0
24
+ version:
16
25
  description: Want to write iPhone unit tests? Want to write them in Ruby?
17
26
  email:
18
27
  - drnicwilliams@gmail.com