ruboto 0.15.0 → 0.16.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +4 -1
  3. data/README.md +44 -43
  4. data/RELEASE_CANDICATE_DOC +10 -12
  5. data/RELEASE_DOC +69 -37
  6. data/Rakefile +47 -27
  7. data/assets/rakelib/ruboto.rake +69 -26
  8. data/assets/src/RubotoActivity.java +17 -4
  9. data/assets/src/RubotoService.java +18 -0
  10. data/assets/src/org/ruboto/EntryPointActivity.java +1 -1
  11. data/assets/src/org/ruboto/JRubyAdapter.java +3 -1
  12. data/assets/src/org/ruboto/ScriptLoader.java +27 -4
  13. data/assets/src/ruboto/activity.rb +4 -3
  14. data/assets/src/ruboto/activity/reload.rb +17 -12
  15. data/assets/src/ruboto/widget.rb +18 -18
  16. data/bin/elevate.exe +0 -0
  17. data/bin/elevate_32.exe +0 -0
  18. data/lib/java_class_gen/android_api.xml +1 -1
  19. data/lib/ruboto/commands/base.rb +3 -5
  20. data/lib/ruboto/util/build.rb +1 -1
  21. data/lib/ruboto/util/emulator.rb +31 -5
  22. data/lib/ruboto/util/setup.rb +183 -68
  23. data/lib/ruboto/util/update.rb +35 -42
  24. data/lib/ruboto/util/xml_element.rb +45 -33
  25. data/lib/ruboto/version.rb +1 -1
  26. data/test/activity/call_super_activity.rb +1 -1
  27. data/test/activity/dialog_fragment_activity.rb +37 -0
  28. data/test/activity/dialog_fragment_activity_test.rb +19 -0
  29. data/test/activity/image_button_activity.rb +2 -1
  30. data/test/activity/navigation_activity_test.rb +2 -1
  31. data/test/activity/no_on_create_activity.rb +17 -0
  32. data/test/activity/no_on_create_activity_test.rb +15 -0
  33. data/test/activity/spinner_activity.rb +51 -0
  34. data/test/activity/spinner_activity_test.rb +65 -0
  35. data/test/activity/stack_activity_test.rb +14 -7
  36. data/test/activity/startup_exception_activity.rb +7 -5
  37. data/test/activity/startup_exception_activity_test.rb +2 -2
  38. data/test/app_test_methods.rb +4 -0
  39. data/test/git_based_gem_test.rb +64 -0
  40. data/test/minimal_app_test.rb +12 -13
  41. data/test/rake_test.rb +1 -0
  42. data/test/ruboto_gen_test.rb +21 -15
  43. data/test/ruboto_update_test.rb +23 -6
  44. data/test/sqldroid_test.rb +0 -1
  45. data/test/test_helper.rb +37 -19
  46. metadata +25 -2
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruboto
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.16.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Jackoway
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2013-10-03 00:00:00.000000000 Z
14
+ date: 2013-11-23 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: main
@@ -41,6 +41,20 @@ dependencies:
41
41
  - - '>='
42
42
  - !ruby/object:Gem::Version
43
43
  version: '0'
44
+ - !ruby/object:Gem::Dependency
45
+ name: rubyzip
46
+ requirement: !ruby/object:Gem::Requirement
47
+ requirements:
48
+ - - '>='
49
+ - !ruby/object:Gem::Version
50
+ version: 1.0.0
51
+ type: :runtime
52
+ prerelease: false
53
+ version_requirements: !ruby/object:Gem::Requirement
54
+ requirements:
55
+ - - '>='
56
+ - !ruby/object:Gem::Version
57
+ version: 1.0.0
44
58
  description: |
45
59
  Ruboto (JRuby on Android) is a platform for developing full stand-alone apps for
46
60
  Android using the Ruby language and libraries. It includes support libraries
@@ -109,6 +123,8 @@ files:
109
123
  - assets/src/ruboto/util/toast.rb
110
124
  - assets/src/ruboto/widget.rb
111
125
  - assets/test/src/test_helper.rb
126
+ - bin/elevate.exe
127
+ - bin/elevate_32.exe
112
128
  - bin/ruboto
113
129
  - lib/DalvikProxyClassFactory.java
114
130
  - lib/DexClient.java
@@ -137,6 +153,8 @@ files:
137
153
  - lib/ruboto/version.rb
138
154
  - test/activity/call_super_activity.rb
139
155
  - test/activity/call_super_activity_test.rb
156
+ - test/activity/dialog_fragment_activity.rb
157
+ - test/activity/dialog_fragment_activity_test.rb
140
158
  - test/activity/dir_and_file_activity.rb
141
159
  - test/activity/dir_and_file_activity_test.rb
142
160
  - test/activity/image_button_activity.rb
@@ -153,11 +171,15 @@ files:
153
171
  - test/activity/navigation_activity_test.rb
154
172
  - test/activity/navigation_target_activity.rb
155
173
  - test/activity/navigation_target_activity_test.rb
174
+ - test/activity/no_on_create_activity.rb
175
+ - test/activity/no_on_create_activity_test.rb
156
176
  - test/activity/option_menu_activity.rb
157
177
  - test/activity/option_menu_activity_test.rb
158
178
  - test/activity/psych_activity.rb
159
179
  - test/activity/psych_activity_test.rb
160
180
  - test/activity/ruby_file_activity.rb
181
+ - test/activity/spinner_activity.rb
182
+ - test/activity/spinner_activity_test.rb
161
183
  - test/activity/ssl_activity.rb
162
184
  - test/activity/ssl_activity_test.rb
163
185
  - test/activity/stack_activity.rb
@@ -171,6 +193,7 @@ files:
171
193
  - test/app_test_methods.rb
172
194
  - test/broadcast_receiver_test.rb
173
195
  - test/gem_test.rb
196
+ - test/git_based_gem_test.rb
174
197
  - test/minimal_app_test.rb
175
198
  - test/rake_test.rb
176
199
  - test/ruboto_activity_test.rb