ruboto 0.10.2 → 0.11.0.rc.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +2 -4
- data/Gemfile.lock +12 -6
- data/README.md +2 -2
- data/assets/rakelib/ruboto.rake +165 -7
- data/assets/samples/sample_activity.rb +1 -1
- data/assets/samples/sample_activity_test.rb +2 -2
- data/assets/samples/sample_broadcast_receiver.rb +3 -3
- data/assets/samples/sample_broadcast_receiver_test.rb +1 -1
- data/assets/samples/sample_service.rb +2 -2
- data/assets/src/RubotoBroadcastReceiver.java +9 -0
- data/assets/src/org/ruboto/EntryPointActivity.java +3 -0
- data/assets/src/org/ruboto/JRubyAdapter.java +57 -23
- data/assets/src/org/ruboto/ScriptLoader.java +5 -2
- data/assets/src/ruboto/activity.rb +12 -13
- data/assets/src/ruboto/base.rb +2 -2
- data/assets/src/ruboto/broadcast_receiver.rb +1 -1
- data/assets/src/ruboto/package.rb +2 -2
- data/assets/src/ruboto/preference.rb +4 -4
- data/assets/src/ruboto/service.rb +9 -10
- data/assets/src/ruboto/util/stack.rb +10 -2
- data/assets/src/ruboto/widget.rb +5 -3
- data/lib/ruboto/sdk_versions.rb +1 -1
- data/lib/ruboto/util/update.rb +97 -52
- data/lib/ruboto/version.rb +1 -1
- data/lib/ruboto.rb +1 -1
- data/test/activity/image_button_activity.rb +1 -1
- data/test/activity/image_button_and_button_activity.rb +1 -1
- data/test/activity/json_activity.rb +1 -1
- data/test/activity/margins_activity.rb +1 -1
- data/test/activity/navigation_activity.rb +4 -4
- data/test/activity/navigation_target_activity.rb +1 -1
- data/test/activity/option_menu_activity.rb +2 -2
- data/test/activity/psych_activity.rb +1 -1
- data/test/activity/ruby_file_activity.rb +1 -1
- data/test/activity/stack_activity.rb +1 -1
- data/test/activity/startup_exception_activity.rb +31 -0
- data/test/activity/startup_exception_activity_test.rb +15 -0
- data/test/activity/subclass_activity.rb +2 -2
- data/test/activity/view_constants_activity.rb +1 -1
- data/test/app_test_methods.rb +1 -5
- data/test/broadcast_receiver_test.rb +4 -4
- data/test/minimal_app_test.rb +36 -8
- data/test/ruboto_gen_test.rb +5 -9
- data/test/service_test.rb +5 -5
- data/test/sqldroid_test.rb +1 -1
- data/test/test_helper.rb +13 -4
- metadata +67 -50
@@ -19,8 +19,8 @@ class BroadcastReceiverTest < Test::Unit::TestCase
|
|
19
19
|
activity_filename = 'src/ruboto_test_app_activity.rb'
|
20
20
|
activity_content = File.read(activity_filename)
|
21
21
|
|
22
|
-
assert activity_content.sub!(/ def
|
23
|
-
def
|
22
|
+
assert activity_content.sub!(/ def onCreate\(bundle\)\n/, <<EOF)
|
23
|
+
def onCreate(bundle)
|
24
24
|
super
|
25
25
|
$broadcast_test_activity = self
|
26
26
|
@receiver = $package.ClickReceiver.new
|
@@ -52,8 +52,8 @@ EOF
|
|
52
52
|
receiver_filename = 'src/click_receiver.rb'
|
53
53
|
receiver_content = File.read(receiver_filename)
|
54
54
|
|
55
|
-
assert receiver_content.sub!(/ def
|
56
|
-
def
|
55
|
+
assert receiver_content.sub!(/ def onReceive\(context, intent\)\n.*?^ end\n/m, <<EOF)
|
56
|
+
def onReceive(context, intent)
|
57
57
|
Log.d "RUBOTO TEST", "Changing UI text"
|
58
58
|
context.run_on_ui_thread{$broadcast_test_activity.find_view_by_id(42).text = '#{message}'}
|
59
59
|
Log.d "RUBOTO TEST", "UI text changed OK!"
|
data/test/minimal_app_test.rb
CHANGED
@@ -1,18 +1,47 @@
|
|
1
|
-
require File.expand_path(
|
1
|
+
require File.expand_path('test_helper', File.dirname(__FILE__))
|
2
2
|
|
3
3
|
if RubotoTest::RUBOTO_PLATFORM == 'STANDALONE'
|
4
4
|
require 'bigdecimal'
|
5
5
|
|
6
6
|
class MinimalAppTest < Test::Unit::TestCase
|
7
7
|
def setup
|
8
|
-
generate_app :
|
9
|
-
rubygems runit shell soap test uri webrick win32 wsdl xmlrpc xsd ../1.9}
|
8
|
+
generate_app :included_stdlibs => []
|
10
9
|
end
|
11
10
|
|
12
11
|
def teardown
|
13
12
|
cleanup_app
|
14
13
|
end
|
15
14
|
|
15
|
+
# APK was 3.5MB. JRuby: 1.6.7, ANDROID_TARGET: 15
|
16
|
+
# APK was 3.3MB. JRuby: 1.6.7.2, ANDROID_TARGET: 10
|
17
|
+
# APK was 4.7MB. JRuby: 1.7.0, ANDROID_TARGET: 15
|
18
|
+
# APK was 4.5MB. JRuby: 1.7.2, ANDROID_TARGET: 10
|
19
|
+
# APK was 4.5MB. JRuby: 1.7.2, ANDROID_TARGET: 15
|
20
|
+
# APK was 4.3MB. JRuby: 1.7.3, ANDROID_TARGET: 10
|
21
|
+
# APK was 4.2MB. JRuby: 1.7.3, ANDROID_TARGET: 15
|
22
|
+
# APK was 4.4MB. JRuby: 1.7.4.dev, ANDROID_TARGET: 10
|
23
|
+
|
24
|
+
def test_minimal_apk_is_within_limits
|
25
|
+
apk_size = BigDecimal(File.size("#{APP_DIR}/bin/RubotoTestApp-debug.apk").to_s) / (1024 * 1024)
|
26
|
+
upper_limit = {
|
27
|
+
'1.6.7' => 3.5,
|
28
|
+
'1.6.7.2' => 3.5,
|
29
|
+
'1.6.8' => 3.5,
|
30
|
+
'1.7.0' => ANDROID_TARGET < 15 ? 4.7 : 4.9,
|
31
|
+
'1.7.1' => ANDROID_TARGET < 15 ? 4.7 : 4.9,
|
32
|
+
'1.7.2' => ANDROID_TARGET < 15 ? 4.6 : 4.9,
|
33
|
+
'1.7.3' => ANDROID_TARGET < 15 ? 4.3 : 4.4,
|
34
|
+
}[JRUBY_JARS_VERSION.to_s] || 4.4
|
35
|
+
lower_limit = upper_limit * 0.9
|
36
|
+
version_message ="JRuby: #{JRUBY_JARS_VERSION}, ANDROID_TARGET: #{ANDROID_TARGET}"
|
37
|
+
assert apk_size <= upper_limit, "APK was larger than #{'%.1f' % upper_limit}MB: #{'%.1f' % apk_size.ceil(1)}MB. #{version_message}"
|
38
|
+
assert apk_size >= lower_limit, "APK was smaller than #{'%.1f' % lower_limit}MB: #{'%.1f' % apk_size.floor(1)}MB. You should lower the limit. #{version_message}"
|
39
|
+
end
|
40
|
+
|
41
|
+
def test_minimal_apk_succeeds_tests
|
42
|
+
run_app_tests
|
43
|
+
end
|
44
|
+
|
16
45
|
# APK was 3.5MB. JRuby: 1.6.7, ANDROID_TARGET: 15.
|
17
46
|
# APK was 3.3MB. JRuby: 1.6.7.2, ANDROID_TARGET: 10.
|
18
47
|
# APK was 4.7MB. JRuby: 1.7.0, ANDROID_TARGET: 15.
|
@@ -20,7 +49,10 @@ if RubotoTest::RUBOTO_PLATFORM == 'STANDALONE'
|
|
20
49
|
# APK was 4.5MB. JRuby: 1.7.2, ANDROID_TARGET: 15.
|
21
50
|
# APK was 4.6MB. JRuby: 1.7.3.dev, ANDROID_TARGET: 10.
|
22
51
|
# APK was 4.5MB. JRuby: 1.7.3.dev, ANDROID_TARGET: 15.
|
23
|
-
|
52
|
+
# FIXME(uwe): Remove when we remove the exclude feature
|
53
|
+
def test_minimal_apk_with_excludes_is_less_than_5_mb
|
54
|
+
generate_app :excluded_stdlibs => %w{ant cgi digest dl drb ffi irb net optparse racc rbconfig rdoc rexml rinda rss
|
55
|
+
rubygems runit shell soap test uri webrick win32 wsdl xmlrpc xsd ../1.9}
|
24
56
|
apk_size = BigDecimal(File.size("#{APP_DIR}/bin/RubotoTestApp-debug.apk").to_s) / (1024 * 1024)
|
25
57
|
upper_limit = {
|
26
58
|
'1.6.7' => 3.5,
|
@@ -36,9 +68,5 @@ if RubotoTest::RUBOTO_PLATFORM == 'STANDALONE'
|
|
36
68
|
assert apk_size >= lower_limit, "APK was smaller than #{'%.1f' % lower_limit}MB: #{'%.1f' % apk_size.floor(1)}MB. You should lower the limit. #{version_message}"
|
37
69
|
end
|
38
70
|
|
39
|
-
def test_minimal_apk_succeeds_tests
|
40
|
-
run_app_tests
|
41
|
-
end
|
42
|
-
|
43
71
|
end
|
44
72
|
end
|
data/test/ruboto_gen_test.rb
CHANGED
@@ -52,7 +52,7 @@ class RubotoGenTest < Test::Unit::TestCase
|
|
52
52
|
# APK was 56.4KB. PLATFORM: CURRENT, ANDROID_TARGET: 7
|
53
53
|
# APK was 61.9KB. PLATFORM: CURRENT, ANDROID_TARGET: 10
|
54
54
|
# APK was 67.2KB. PLATFORM: CURRENT, ANDROID_TARGET: 15
|
55
|
-
# APK was
|
55
|
+
# APK was 73.1KB. PLATFORM: CURRENT, ANDROID_TARGET: 16
|
56
56
|
# APK was 5879.2KB. PLATFORM: STANDALONE, ANDROID_TARGET: 15, JRuby: 1.6.7
|
57
57
|
# APK was 7380.0KB. PLATFORM: STANDALONE, ANDROID_TARGET: 15, JRuby: 1.7.0
|
58
58
|
# APK was 7310.1KB. PLATFORM: STANDALONE, ANDROID_TARGET: 10, JRuby: 1.7.2
|
@@ -80,7 +80,8 @@ class RubotoGenTest < Test::Unit::TestCase
|
|
80
80
|
7 => 62.0,
|
81
81
|
10 => 62.0,
|
82
82
|
15 => 63.0,
|
83
|
-
|
83
|
+
16 => 74.0,
|
84
|
+
}[ANDROID_TARGET] || 74.0
|
84
85
|
end
|
85
86
|
lower_limit = upper_limit * 0.9
|
86
87
|
assert apk_size <= upper_limit, "APK was larger than #{'%.1f' % upper_limit}KB: #{'%.1f' % apk_size.ceil(1)}KB.#{version}"
|
@@ -122,7 +123,7 @@ require 'ruboto/widget'
|
|
122
123
|
ruboto_import_widgets :LinearLayout, :ListView, :TextView
|
123
124
|
|
124
125
|
class RubotoTestAppActivity
|
125
|
-
def
|
126
|
+
def onCreate(bundle)
|
126
127
|
super
|
127
128
|
set_title 'ListView Example'
|
128
129
|
|
@@ -173,7 +174,7 @@ end
|
|
173
174
|
class RubotoArrayAdapter
|
174
175
|
import android.content.Context
|
175
176
|
|
176
|
-
def
|
177
|
+
def getView(position, convert_view, parent)
|
177
178
|
puts "IN get_view!!!"
|
178
179
|
@inflater = context.getSystemService(Context::LAYOUT_INFLATER_SERVICE) unless @inflater
|
179
180
|
if convert_view
|
@@ -216,11 +217,6 @@ class RubotoArrayAdapter
|
|
216
217
|
convert_view
|
217
218
|
end
|
218
219
|
|
219
|
-
def getView(position, convert_view, parent)
|
220
|
-
puts "IN get_view!!!"
|
221
|
-
get_view(position, convert_view, parent)
|
222
|
-
end
|
223
|
-
|
224
220
|
end
|
225
221
|
EOF
|
226
222
|
|
data/test/service_test.rb
CHANGED
@@ -25,7 +25,7 @@ require 'ruboto/widget'
|
|
25
25
|
ruboto_import_widgets :Button, :LinearLayout, :TextView
|
26
26
|
|
27
27
|
class RubotoTestAppActivity
|
28
|
-
def
|
28
|
+
def onCreate(bundle)
|
29
29
|
super
|
30
30
|
$ruboto_test_app_activity = self
|
31
31
|
set_title 'Domo arigato, Mr Ruboto!'
|
@@ -71,8 +71,8 @@ require 'ruboto/service'
|
|
71
71
|
class RubotoTestService
|
72
72
|
TARGET_TEXT = 'What hath Matz wrought!'
|
73
73
|
|
74
|
-
def
|
75
|
-
puts "service
|
74
|
+
def onCreate
|
75
|
+
puts "service onCreate"
|
76
76
|
Thread.start do
|
77
77
|
loop do
|
78
78
|
sleep 1
|
@@ -81,12 +81,12 @@ class RubotoTestService
|
|
81
81
|
end
|
82
82
|
puts "\#{self.class} started."
|
83
83
|
|
84
|
-
$ruboto_test_app_activity.set_title '
|
84
|
+
$ruboto_test_app_activity.set_title 'onCreate'
|
85
85
|
|
86
86
|
android.app.Service::START_STICKY
|
87
87
|
end
|
88
88
|
|
89
|
-
def
|
89
|
+
def onStartCommand(intent, flags, start_id)
|
90
90
|
puts "service on_start_command(\#{intent}, \#{flags}, \#{start_id})"
|
91
91
|
$ruboto_test_app_activity.set_title 'on_start_command'
|
92
92
|
$ruboto_test_app_activity.set_text TARGET_TEXT
|
data/test/sqldroid_test.rb
CHANGED
@@ -41,7 +41,7 @@ class MyArrayAdapter < android.widget.ArrayAdapter
|
|
41
41
|
end
|
42
42
|
|
43
43
|
class RubotoTestAppActivity
|
44
|
-
def
|
44
|
+
def onCreate(bundle)
|
45
45
|
super
|
46
46
|
setTitle File.basename(__FILE__).chomp('_activity.rb').split('_').map { |s| "\#{s[0..0].upcase}\#{s[1..-1]}" }.join(' ')
|
47
47
|
|
data/test/test_helper.rb
CHANGED
@@ -20,7 +20,7 @@ module RubotoTest
|
|
20
20
|
Gem.paths = GEM_PATH
|
21
21
|
Gem.refresh
|
22
22
|
`gem query -i -n bundler`
|
23
|
-
system 'gem install bundler
|
23
|
+
system 'gem install bundler --no-ri --no-rdoc' unless $? == 0
|
24
24
|
`bundle check`
|
25
25
|
system 'bundle --system' unless $? == 0
|
26
26
|
lib_path = File.expand_path('lib', File.dirname(File.dirname(__FILE__)))
|
@@ -111,7 +111,7 @@ module RubotoTest
|
|
111
111
|
install_jruby_jars_gem unless RUBOTO_PLATFORM == 'CURRENT'
|
112
112
|
|
113
113
|
if RUBOTO_PLATFORM == 'CURRENT'
|
114
|
-
JRUBY_JARS_VERSION = Gem::Version.new('1.7.
|
114
|
+
JRUBY_JARS_VERSION = Gem::Version.new('1.7.3')
|
115
115
|
else
|
116
116
|
# FIXME(uwe): Simplify when we stop supporting rubygems < 1.8.0
|
117
117
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.8.0')
|
@@ -164,8 +164,10 @@ class Test::Unit::TestCase
|
|
164
164
|
def generate_app(options = {})
|
165
165
|
example = options.delete(:example) || false
|
166
166
|
update = options.delete(:update) || false
|
167
|
+
# FIXME(uwe): Remove exclusion feature
|
167
168
|
excluded_stdlibs = options.delete(:excluded_stdlibs)
|
168
|
-
|
169
|
+
included_stdlibs = options.delete(:included_stdlibs)
|
170
|
+
standalone = options.delete(:standalone) || !!included_stdlibs || !!excluded_stdlibs || ENV['RUBOTO_PLATFORM'] == 'STANDALONE'
|
169
171
|
bundle = options.delete(:bundle)
|
170
172
|
raise "Unknown options: #{options.inspect}" unless options.empty?
|
171
173
|
Dir.mkdir TMP_DIR unless File.exists? TMP_DIR
|
@@ -177,6 +179,7 @@ class Test::Unit::TestCase
|
|
177
179
|
template_dir << '_updated' if update
|
178
180
|
template_dir << '_standalone' if standalone
|
179
181
|
template_dir << "_without_#{excluded_stdlibs.map { |ed| ed.gsub(/[.\/]/, '_') }.join('_')}" if excluded_stdlibs
|
182
|
+
template_dir << "_with_#{included_stdlibs.map { |ed| ed.gsub(/[.\/]/, '_') }.join('_')}" if included_stdlibs
|
180
183
|
if File.exists?(template_dir)
|
181
184
|
puts "Copying app from template #{template_dir}"
|
182
185
|
FileUtils.cp_r template_dir, APP_DIR, :preserve => true
|
@@ -210,6 +213,7 @@ class Test::Unit::TestCase
|
|
210
213
|
Dir.chdir APP_DIR do
|
211
214
|
write_gemfile(bundle) if bundle
|
212
215
|
if standalone
|
216
|
+
include_stdlibs(included_stdlibs) if included_stdlibs
|
213
217
|
exclude_stdlibs(excluded_stdlibs) if excluded_stdlibs
|
214
218
|
system "#{RUBOTO_CMD} gen jruby"
|
215
219
|
raise "update jruby failed with return code #$?" if $? != 0
|
@@ -275,6 +279,11 @@ class Test::Unit::TestCase
|
|
275
279
|
end
|
276
280
|
end
|
277
281
|
|
282
|
+
def include_stdlibs(included_stdlibs)
|
283
|
+
puts "Adding ruboto.yml: #{included_stdlibs.join(' ')}"
|
284
|
+
File.open('ruboto.yml', 'w') { |f| f << YAML.dump({:included_stdlibs => included_stdlibs}) }
|
285
|
+
end
|
286
|
+
|
278
287
|
def exclude_stdlibs(excluded_stdlibs)
|
279
288
|
puts "Adding ruboto.yml: #{excluded_stdlibs.join(' ')}"
|
280
289
|
File.open('ruboto.yml', 'w') { |f| f << YAML.dump({:excluded_stdlibs => excluded_stdlibs}) }
|
@@ -284,7 +293,7 @@ class Test::Unit::TestCase
|
|
284
293
|
gems = [*bundle]
|
285
294
|
puts "Adding Gemfile.apk: #{gems.join(' ')}"
|
286
295
|
File.open('Gemfile.apk', 'w') do |f|
|
287
|
-
f << "source
|
296
|
+
f << "source 'https://rubygems.org/'\n\n"
|
288
297
|
gems.each{|g| f << "gem '#{g}'\n"}
|
289
298
|
end
|
290
299
|
end
|
metadata
CHANGED
@@ -1,46 +1,61 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruboto
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.11.0.rc.0
|
5
|
+
prerelease: 7
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Daniel Jackoway
|
9
9
|
- Charles Nutter
|
10
10
|
- Scott Moyer
|
11
11
|
- Uwe Kubosch
|
12
|
-
autorequire:
|
12
|
+
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2013-
|
15
|
+
date: 2013-04-06 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: main
|
19
|
-
|
19
|
+
requirement: !ruby/object:Gem::Requirement
|
20
|
+
none: false
|
20
21
|
requirements:
|
21
|
-
- -
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version: '4.7'
|
24
|
-
- - ">="
|
22
|
+
- - ! '>='
|
25
23
|
- !ruby/object:Gem::Version
|
26
24
|
version: 4.7.2
|
25
|
+
type: :runtime
|
26
|
+
prerelease: false
|
27
|
+
version_requirements: !ruby/object:Gem::Requirement
|
27
28
|
none: false
|
28
|
-
requirement: !ruby/object:Gem::Requirement
|
29
29
|
requirements:
|
30
|
-
- -
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: '4.7'
|
33
|
-
- - ">="
|
30
|
+
- - ! '>='
|
34
31
|
- !ruby/object:Gem::Version
|
35
32
|
version: 4.7.2
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: rake
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
36
|
none: false
|
37
|
+
requirements:
|
38
|
+
- - ! '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
type: :development
|
37
42
|
prerelease: false
|
38
|
-
|
39
|
-
|
40
|
-
|
43
|
+
version_requirements: !ruby/object:Gem::Requirement
|
44
|
+
none: false
|
45
|
+
requirements:
|
46
|
+
- - ! '>='
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '0'
|
49
|
+
description: ! 'Ruboto (JRuby on Android) is a platform for developing full stand-alone
|
50
|
+
apps for
|
51
|
+
|
41
52
|
Android using the Ruby language and libraries. It includes support libraries
|
53
|
+
|
42
54
|
and generators for creating projects, classes, tests, and more. The complete
|
55
|
+
|
43
56
|
APIs of Android, Java, and Ruby are available to you using the Ruby language.
|
57
|
+
|
58
|
+
'
|
44
59
|
email: ruboto@googlegroups.com
|
45
60
|
executables:
|
46
61
|
- ruboto
|
@@ -52,8 +67,8 @@ files:
|
|
52
67
|
- LICENSE
|
53
68
|
- Rakefile
|
54
69
|
- README.md
|
55
|
-
- assets/Rakefile
|
56
70
|
- assets/libs/dx.jar
|
71
|
+
- assets/Rakefile
|
57
72
|
- assets/rakelib/ruboto.rake
|
58
73
|
- assets/res/drawable/get_ruboto_core.png
|
59
74
|
- assets/res/drawable-hdpi/ic_launcher.png
|
@@ -72,9 +87,6 @@ files:
|
|
72
87
|
- assets/src/InheritingBroadcastReceiver.java
|
73
88
|
- assets/src/InheritingClass.java
|
74
89
|
- assets/src/InheritingService.java
|
75
|
-
- assets/src/RubotoActivity.java
|
76
|
-
- assets/src/RubotoBroadcastReceiver.java
|
77
|
-
- assets/src/RubotoService.java
|
78
90
|
- assets/src/org/ruboto/EntryPointActivity.java
|
79
91
|
- assets/src/org/ruboto/JRubyAdapter.java
|
80
92
|
- assets/src/org/ruboto/Log.java
|
@@ -91,9 +103,12 @@ files:
|
|
91
103
|
- assets/src/ruboto/package.rb
|
92
104
|
- assets/src/ruboto/preference.rb
|
93
105
|
- assets/src/ruboto/service.rb
|
94
|
-
- assets/src/ruboto/widget.rb
|
95
106
|
- assets/src/ruboto/util/stack.rb
|
96
107
|
- assets/src/ruboto/util/toast.rb
|
108
|
+
- assets/src/ruboto/widget.rb
|
109
|
+
- assets/src/RubotoActivity.java
|
110
|
+
- assets/src/RubotoBroadcastReceiver.java
|
111
|
+
- assets/src/RubotoService.java
|
97
112
|
- assets/test/src/test_helper.rb
|
98
113
|
- assets/.DS_Store
|
99
114
|
- assets/.gitignore
|
@@ -102,16 +117,14 @@ files:
|
|
102
117
|
- bin/ruboto
|
103
118
|
- lib/DalvikProxyClassFactory.java
|
104
119
|
- lib/DexClient.java
|
105
|
-
- lib/ruboto.rb
|
106
120
|
- lib/java_class_gen/android_api.xml
|
107
121
|
- lib/ruboto/api.rb
|
108
|
-
- lib/ruboto/description.rb
|
109
|
-
- lib/ruboto/sdk_versions.rb
|
110
|
-
- lib/ruboto/version.rb
|
111
122
|
- lib/ruboto/commands/base.rb
|
112
123
|
- lib/ruboto/core_ext/array.rb
|
113
124
|
- lib/ruboto/core_ext/object.rb
|
114
125
|
- lib/ruboto/core_ext/rexml.rb
|
126
|
+
- lib/ruboto/description.rb
|
127
|
+
- lib/ruboto/sdk_versions.rb
|
115
128
|
- lib/ruboto/util/asset_copier.rb
|
116
129
|
- lib/ruboto/util/build.rb
|
117
130
|
- lib/ruboto/util/code_formatting.rb
|
@@ -122,18 +135,8 @@ files:
|
|
122
135
|
- lib/ruboto/util/update.rb
|
123
136
|
- lib/ruboto/util/verify.rb
|
124
137
|
- lib/ruboto/util/xml_element.rb
|
125
|
-
-
|
126
|
-
-
|
127
|
-
- test/gem_test.rb
|
128
|
-
- test/minimal_app_test.rb
|
129
|
-
- test/rake_test.rb
|
130
|
-
- test/ruboto_gen_test.rb
|
131
|
-
- test/ruboto_update_test.rb
|
132
|
-
- test/service_test.rb
|
133
|
-
- test/sqldroid_test.rb
|
134
|
-
- test/test_helper.rb
|
135
|
-
- test/update_test_methods.rb
|
136
|
-
- test/updated_example_test_methods.rb
|
138
|
+
- lib/ruboto/version.rb
|
139
|
+
- lib/ruboto.rb
|
137
140
|
- test/activity/call_super_activity.rb
|
138
141
|
- test/activity/call_super_activity_test.rb
|
139
142
|
- test/activity/dir_and_file_activity.rb
|
@@ -161,36 +164,50 @@ files:
|
|
161
164
|
- test/activity/ssl_activity_test.rb
|
162
165
|
- test/activity/stack_activity.rb
|
163
166
|
- test/activity/stack_activity_test.rb
|
167
|
+
- test/activity/startup_exception_activity.rb
|
168
|
+
- test/activity/startup_exception_activity_test.rb
|
164
169
|
- test/activity/subclass_activity.rb
|
165
170
|
- test/activity/subclass_activity_test.rb
|
166
171
|
- test/activity/view_constants_activity.rb
|
167
172
|
- test/activity/view_constants_activity_test.rb
|
173
|
+
- test/app_test_methods.rb
|
174
|
+
- test/broadcast_receiver_test.rb
|
175
|
+
- test/gem_test.rb
|
176
|
+
- test/minimal_app_test.rb
|
177
|
+
- test/rake_test.rb
|
178
|
+
- test/ruboto_gen_test.rb
|
179
|
+
- test/ruboto_update_test.rb
|
180
|
+
- test/service_test.rb
|
181
|
+
- test/sqldroid_test.rb
|
182
|
+
- test/test_helper.rb
|
183
|
+
- test/update_test_methods.rb
|
184
|
+
- test/updated_example_test_methods.rb
|
168
185
|
homepage: http://ruboto.org/
|
169
186
|
licenses:
|
170
187
|
- MIT
|
171
|
-
post_install_message:
|
188
|
+
post_install_message:
|
172
189
|
rdoc_options: []
|
173
190
|
require_paths:
|
174
191
|
- lib
|
175
192
|
required_ruby_version: !ruby/object:Gem::Requirement
|
193
|
+
none: false
|
176
194
|
requirements:
|
177
|
-
- -
|
195
|
+
- - ! '>='
|
178
196
|
- !ruby/object:Gem::Version
|
179
|
-
version:
|
180
|
-
|
181
|
-
|
197
|
+
version: '0'
|
198
|
+
segments:
|
199
|
+
- 0
|
200
|
+
hash: -1360630008982281470
|
182
201
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
202
|
+
none: false
|
183
203
|
requirements:
|
184
|
-
- -
|
204
|
+
- - ! '>'
|
185
205
|
- !ruby/object:Gem::Version
|
186
|
-
version:
|
187
|
-
MA==
|
188
|
-
none: false
|
206
|
+
version: 1.3.1
|
189
207
|
requirements: []
|
190
208
|
rubyforge_project: ruboto/ruboto
|
191
|
-
rubygems_version: 1.8.
|
192
|
-
signing_key:
|
209
|
+
rubygems_version: 1.8.25
|
210
|
+
signing_key:
|
193
211
|
specification_version: 3
|
194
212
|
summary: A platform for developing apps using JRuby on Android.
|
195
213
|
test_files: []
|
196
|
-
has_rdoc:
|