iphoneruby 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ == 0.1.2 2008-07-03
2
+
3
+ * Gem includes rbiphonetest as a dependency so it will be autoinstalled.
4
+
1
5
  == 0.1.1 2008-07-03
2
6
 
3
7
  * Project renamed to 'rbiphonetest'
data/PostInstall.txt CHANGED
@@ -1,21 +1,17 @@
1
1
 
2
- You can add Ruby-based unit tests to any iPhone/Xcode project by changing to the
3
- project's folder in the terminal/console and running:
2
+ DEPRECATION: You have just installed a gem that is deprecated.
4
3
 
5
- iphoneruby .
4
+ Sorry.
6
5
 
7
- This adds the test framework, a Rakefile, and an `autotest` config file.
6
+ The new project is called 'rbiphonetest'
8
7
 
9
- You can now create testable Objective-C models/classes using the generator:
10
-
11
- $ script/generate model WidgetMaker
12
- create Classes/WidgetMaker.h
13
- create Classes/WidgetMaker.m
14
- create test/test_widget_maker.rb
8
+ It has been automatically installed for you. Friendly, yes?
15
9
 
16
- To run tests you have several options:
17
-
18
- 1. `rake` or `rake test`
19
- 1. `autotest` (after installing the ZenTest gem)
10
+ See http://github.com/drnic/rbiphonetest/tree/master for additional details.
20
11
 
21
- Enjoy iPhone development with Ruby!
12
+ Usage:
13
+
14
+ cd /path/to/iphone/project
15
+ rbiphonetest .
16
+
17
+ Then read the instructions displayed.
@@ -38,7 +38,7 @@ namespace :objc do
38
38
 
39
39
  task model_name.to_sym => "build/bundles/#{model_name}.bundle"
40
40
 
41
- file "build/bundles/#{model_name}.bundle" => "Classes/#{model_name}.m" do |t|
41
+ file "build/bundles/#{model_name}.bundle" => ["Classes/#{model_name}.m", "Classes/#{model_name}.h"] do |t|
42
42
  FileUtils.mkdir_p "build/bundles"
43
43
  FileUtils.rm Dir["build/bundles/#{model_name}.bundle"]
44
44
  sh "gcc -o build/bundles/#{model_name}.bundle -bundle -framework Foundation Classes/#{model_name}.m"
data/config/hoe.rb CHANGED
@@ -8,7 +8,8 @@ RUBYFORGE_PROJECT = 'iphoneruby' # The unix name for your project
8
8
  HOMEPATH = "http://github.com/drnic/iphoneruby"
9
9
  DOWNLOAD_PATH = "http://rubyforge.org/projects/#{RUBYFORGE_PROJECT}"
10
10
  EXTRA_DEPENDENCIES = [
11
- ['rubigen', '>= 1.3.2']
11
+ ['rubigen', '>= 1.3.2'],
12
+ ['rbiphonetest']
12
13
  ] # An array of rubygem dependencies [name, version]
13
14
 
14
15
  @config_file = "~/.rubyforge/user-config.yml"
@@ -2,7 +2,7 @@ module IPhoneRuby
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 1
5
- TINY = 1
5
+ TINY = 2
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.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dr Nic Williams
@@ -73,26 +73,22 @@ has_rdoc: true
73
73
  homepage: http://github.com/drnic/iphoneruby
74
74
  post_install_message: |-
75
75
 
76
- You can add Ruby-based unit tests to any iPhone/Xcode project by changing to the
77
- project's folder in the terminal/console and running:
76
+ DEPRECATION: You have just installed a gem that is deprecated.
78
77
 
79
- iphoneruby .
78
+ Sorry.
80
79
 
81
- This adds the test framework, a Rakefile, and an `autotest` config file.
80
+ The new project is called 'rbiphonetest'
82
81
 
83
- You can now create testable Objective-C models/classes using the generator:
84
-
85
- $ script/generate model WidgetMaker
86
- create Classes/WidgetMaker.h
87
- create Classes/WidgetMaker.m
88
- create test/test_widget_maker.rb
82
+ It has been automatically installed for you. Friendly, yes?
89
83
 
90
- To run tests you have several options:
91
-
92
- 1. `rake` or `rake test`
93
- 1. `autotest` (after installing the ZenTest gem)
84
+ See http://github.com/drnic/rbiphonetest/tree/master for additional details.
94
85
 
95
- Enjoy iPhone development with Ruby!
86
+ Usage:
87
+
88
+ cd /path/to/iphone/project
89
+ rbiphonetest .
90
+
91
+ Then read the instructions displayed.
96
92
  rdoc_options:
97
93
  - --main
98
94
  - README.txt