include UIAutomation in the package, 1.15

This commit is contained in:
Laurent Sansonetti
2012-07-05 16:44:58 +02:00
parent d6db98c4a5
commit 04d67e4544
2 changed files with 28 additions and 1 deletions

26
NEWS
View File

@@ -1,3 +1,29 @@
= RubyMotion 1.15 =
* Improved the spec framework to leverage UIAutomation's functionality. This
lets you write functional tests on views and controllers by using the same
event generators, but in pure Ruby (and not Javascript).
Check http://www.rubymotion.com/developer-center/articles/testing for more
information about the new API. Feature contributed by Eloy Duran.
* Introduced spec helpers. `rake spec' will now honor the files inside the
`spec/helpers' directory (if it exists) and compile them before the spec
files.
* Introduced the `files' option to `rake spec', which can be used to filter
the spec files that should be run. Filters can be either the basename of
a spec file or its full path, and are separated by a comma.
Example: rake spec files=main_spec,kvo_spec,spec/foo_spec.rb
* Introduced the RUBYMOTION_ENV constant in the runtime which can have one of
the following string values: 'test', 'development' and 'release'.
* Introduced the `rake static' task which creates a universal static library
containing the project's object files and the RubyMotion runtime, which is
suitable for inclusion in Objective-C/Xcode projects. Check out the
Project Management guide in the developer center for more information.
* Introduced weak frameworks support. The `app.weak_frameworks' setting can
be set to an array of framework names, similar to how `app.frameworks'
works (ex. app.weak_frameworks += ['Twitter']). Patch by Satoshi Ebisawa.
* Fixed a bug in the build system where files within symlinks inside of the
resources directory would not be copied. Patch by Nick Quaranto.
= RubyMotion 1.14 =
* Fixed a bug in the Struct class where certain instances would be released

View File

@@ -1,4 +1,4 @@
PROJECT_VERSION = '1.14'
PROJECT_VERSION = '1.15'
PLATFORMS_DIR = (ENV['PLATFORMS_DIR'] || '/Applications/Xcode.app/Contents/Developer/Platforms')
sim_sdks = Dir.glob(File.join(PLATFORMS_DIR, 'iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator*.sdk')).map do |path|
@@ -81,6 +81,7 @@ task :install do
# === 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/BridgeSupport/UIAutomation.bridgesupport"))
data.concat(Dir.glob("./data/6.0/iPhoneOS/*"))
data.concat(Dir.glob("./data/6.0/iPhoneSimulator/*"))
# ==========================