mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-04-09 09:40:15 +08:00
1.11
This commit is contained in:
13
NEWS
13
NEWS
@@ -1,3 +1,16 @@
|
||||
= RubyMotion 1.11 =
|
||||
|
||||
* Fixed a bug where the runtime would not allow `nil' to be passed as a
|
||||
C-level block argument.
|
||||
* Fixed a bug where methods defined by attr_* would abort the program when
|
||||
called by Objective-C.
|
||||
* Improved `rake spec' to honor the `output' environment variable, which can
|
||||
be used to select a different output format. Available formats: spec_dox,
|
||||
test_unit, tap and knock (ex. rake spec output=test_unit).
|
||||
* Support for the iOS 6.0 Beta 1 SDK can be generated after having installed
|
||||
Xcode 4.5 by typing the following command:
|
||||
$ cd /Library/RubyMotion/data/6.0; rake update
|
||||
|
||||
= RubyMotion 1.10 =
|
||||
|
||||
* Fixed the build system to validate the content of the `app.icons' variable,
|
||||
|
||||
10
Rakefile
10
Rakefile
@@ -1,5 +1,5 @@
|
||||
PLATFORMS_DIR = '/Applications/Xcode.app/Contents/Developer/Platforms'
|
||||
PROJECT_VERSION = '1.10'
|
||||
PROJECT_VERSION = '1.11'
|
||||
|
||||
sim_sdks = Dir.glob(File.join(PLATFORMS_DIR, 'iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator*.sdk')).map do |path|
|
||||
File.basename(path).scan(/^iPhoneSimulator(.+)\.sdk$/)[0][0]
|
||||
@@ -77,6 +77,14 @@ task :install do
|
||||
data.concat(Dir.glob("./data/#{sdk_version}/iPhoneOS/*"))
|
||||
data.concat(Dir.glob("./data/#{sdk_version}/iPhoneSimulator/*"))
|
||||
end
|
||||
|
||||
# === 6.0 support (beta) ===
|
||||
data.concat(Dir.glob("./data/6.0/Rakefile"))
|
||||
data.concat(Dir.glob("./data/6.0/BridgeSupport/RubyMotion.bridgesupport"))
|
||||
data.concat(Dir.glob("./data/6.0/iPhoneOS/*"))
|
||||
data.concat(Dir.glob("./data/6.0/iPhoneSimulator/*"))
|
||||
# ==========================
|
||||
|
||||
data.concat(Dir.glob('./data/*-ctags.cfg'))
|
||||
#data.concat(Dir.glob('./doc/*.html'))
|
||||
#data.concat(Dir.glob('./doc/docset/**/*'))
|
||||
|
||||
Reference in New Issue
Block a user