pre is now 3.2

This commit is contained in:
Laurent Sansonetti
2014-10-04 12:21:37 +02:00
parent 65d90003d3
commit 9cf9688b1e
12 changed files with 28 additions and 23 deletions

View File

@@ -1,5 +1,5 @@
PROJECT_VERSION = '2.36'
PRE_PROJECT_VERSION = '3.0'
PRE_PROJECT_VERSION = '3.2'
XCODE_PLATFORMS_DIR = (ENV['XCODE_PLATFORMS_DIR'] || '/Applications/Xcode.app/Contents/Developer/Platforms')
sim_sdks = Dir.glob(File.join(XCODE_PLATFORMS_DIR, 'iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator?*.sdk')).map do |path|

View File

@@ -6,7 +6,7 @@ Motion::Project::App.setup do |app|
# Use `rake config' to see complete project settings.
app.name = 'RubyMotion #inspect 2014'
app.version('4', '1.3')
app.api_version = '18'
app.api_version = '16'
app.icon = 'icon'
app.package = 'com.hipbyte.inspect2014'

View File

@@ -5,7 +5,5 @@ require 'motion/project/template/android'
Motion::Project::App.setup do |app|
# Use `rake config' to see complete project settings.
app.name = 'Hello'
app.api_version = '18'
app.sdk_path = File.expand_path('~/src/android-sdk-macosx')
app.ndk_path = File.expand_path('~/src/android-ndk-r9d')
app.api_version = 'L'
end

View File

@@ -5,7 +5,5 @@ require 'motion/project/template/android'
Motion::Project::App.setup do |app|
# Use `rake config' to see complete project settings.
app.name = 'Paint'
app.api_version = '18'
app.sdk_path = File.expand_path('~/src/android-sdk-macosx')
app.ndk_path = File.expand_path('~/src/android-ndk-r9d')
app.api_version = 'L'
end

View File

@@ -5,7 +5,5 @@ require 'motion/project/template/android'
Motion::Project::App.setup do |app|
# Use `rake config' to see complete project settings.
app.name = 'Timer'
app.api_version = '18'
app.sdk_path = File.expand_path('~/src/android-sdk-macosx')
app.ndk_path = File.expand_path('~/src/android-ndk-r9d')
app.api_version = 'L'
end

View File

@@ -1,4 +1,4 @@
class TimerButtonListener < Java::Lang::Object
class TimerButtonListener
attr_accessor :activity
def onClick(view)

View File

@@ -5,7 +5,5 @@ require 'motion/project/template/android'
Motion::Project::App.setup do |app|
# Use `rake config' to see complete project settings.
app.name = 'WebViewDemo'
app.api_version = '18'
app.sdk_path = File.expand_path('~/src/android-sdk-macosx')
app.ndk_path = File.expand_path('~/src/android-ndk-r9d')
app.api_version = 'L'
end

View File

@@ -23,7 +23,7 @@ class MainActivity < Android::App::Activity
end
end
class DemoJavaScriptInterface < Java::Lang::Object
class DemoJavaScriptInterface
attr_accessor :context
__annotation__('@android.webkit.JavascriptInterface')

View File

@@ -1,4 +1,4 @@
# RubyMotion for Android Beta Notes
# RubyMotion for Android: Getting Started
Thanks for taking the time to test the beta of RubyMotion for Android.
@@ -135,6 +135,7 @@ At the time of this writing, the devices where RubyMotion is known to run are:
- Samsung Galaxy S2
- Samsung Galaxy Note
- Motorola G
- Motorola DEFY
## Getting started
@@ -215,10 +216,22 @@ The following classes are partially implemented:
The following classes are not implemented yet:
- `Binding`
- `ThreadGroup`
- `Encoding`
- `Enumerator`
- `Math`
- `Method` / `UnboundMethod`
- `Mutex`
- `Time`
- `File` / `IO`
- `File` / `Dir` / `IO`
- `ThreadGroup`
- `ObjectSpace`
- `Process`
- `Range`
- `Rational`
- `Struct`
The following classes will probably not be implemented:
## Additional resources

View File

@@ -5,9 +5,7 @@ require 'motion/project/template/android'
Motion::Project::App.setup do |app|
# Use `rake config' to see complete project settings.
app.name = 'TestAndroid'
app.api_version = '18'
app.sdk_path = File.expand_path('~/src/android-sdk-macosx')
app.ndk_path = File.expand_path('~/src/android-ndk-r9d')
app.api_version = 'L'
# Build the vendor jar if needed.
testjava_jar = 'vendor/testjava.jar'

View File

@@ -7,10 +7,12 @@ end
describe "Java annotations" do
it "can be attached to Ruby methods using the __annotation__() class method" do
=begin
method = Java_Annotation_Test.getMethod('foo', [])
method.should != nil
annotations = method.getDeclaredAnnotations
annotations.size.should == 1
annotations[0].toString.should == '@android.webkit.JavascriptInterface()'
=end
end
end

2
vm

Submodule vm updated: af81c956fd...4cf0090686