ruboto 0.5.2 → 0.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Gemfile.lock +5 -5
- data/README.md +2 -2
- data/Rakefile +5 -6
- data/assets/Rakefile +32 -11
- data/assets/res/drawable/get_ruboto_core.png +0 -0
- data/assets/res/layout/get_ruboto_core.xml +1 -1
- data/assets/samples/sample_activity.rb +13 -11
- data/assets/samples/sample_broadcast_receiver.rb +6 -3
- data/assets/samples/sample_service.rb +10 -7
- data/assets/src/InheritingActivity.java +1 -186
- data/assets/src/RubotoActivity.java +9 -11
- data/assets/src/RubotoBroadcastReceiver.java +34 -27
- data/assets/src/RubotoService.java +9 -2
- data/assets/src/org/ruboto/EntryPointActivity.java +194 -0
- data/assets/src/org/ruboto/Script.java +29 -15
- data/assets/src/org/ruboto/test/InstrumentationTestRunner.java +17 -16
- data/assets/src/ruboto.rb +11 -608
- data/assets/src/ruboto/activity.rb +84 -0
- data/assets/src/ruboto/base.rb +88 -0
- data/assets/src/ruboto/broadcast_receiver.rb +31 -0
- data/assets/src/ruboto/legacy.rb +223 -0
- data/assets/src/ruboto/menu.rb +89 -0
- data/assets/src/ruboto/preference.rb +78 -0
- data/assets/src/ruboto/service.rb +74 -0
- data/assets/src/ruboto/util/stack.rb +34 -0
- data/assets/src/ruboto/util/toast.rb +18 -0
- data/assets/src/ruboto/widget.rb +188 -0
- data/assets/test/{assets/scripts → src}/test_helper.rb +4 -0
- data/bin/ruboto +7 -0
- data/lib/ruboto/commands/base.rb +4 -18
- data/lib/ruboto/util/build.rb +1 -2
- data/lib/ruboto/util/update.rb +77 -70
- data/lib/ruboto/version.rb +1 -1
- data/test/activity/psych_activity.rb +25 -0
- data/test/activity/psych_activity_test.rb +16 -0
- data/test/activity/stack_activity_test.rb +1 -1
- data/test/app_test_methods.rb +8 -4
- data/test/minimal_app_test.rb +6 -3
- data/test/rake_test.rb +1 -1
- data/test/ruboto_gen_test.rb +10 -1
- data/test/test_helper.rb +3 -5
- data/test/update_test_methods.rb +2 -2
- metadata +20 -8
- data/test/ruboto_gen_with_psych_test.rb +0 -16
- data/test/ruboto_update_with_psych_test.rb +0 -18
@@ -1,16 +0,0 @@
|
|
1
|
-
require File.expand_path("ruboto_gen_test", File.dirname(__FILE__))
|
2
|
-
|
3
|
-
if not RubotoTest::ON_JRUBY_JARS_1_5_6
|
4
|
-
class RubotoGenWithPsychTest < RubotoGenTest
|
5
|
-
def setup
|
6
|
-
generate_app :with_psych => true
|
7
|
-
end
|
8
|
-
|
9
|
-
def test_psych_jar_exists
|
10
|
-
assert File.exists?("#{APP_DIR}/libs/psych.jar"), "Failed to generate psych jar"
|
11
|
-
end
|
12
|
-
|
13
|
-
end
|
14
|
-
else
|
15
|
-
puts "Skipping Psych tests on jruby-jars-1.5.6"
|
16
|
-
end
|
@@ -1,18 +0,0 @@
|
|
1
|
-
require File.expand_path("update_test_methods", File.dirname(__FILE__))
|
2
|
-
|
3
|
-
if not RubotoTest::ON_JRUBY_JARS_1_5_6
|
4
|
-
class RubotoUpdateWithPsychTest < Test::Unit::TestCase
|
5
|
-
include UpdateTestMethods
|
6
|
-
|
7
|
-
def setup
|
8
|
-
super(true)
|
9
|
-
end
|
10
|
-
|
11
|
-
def test_psych_jar_exists
|
12
|
-
assert File.exists?("#{APP_DIR}/libs/psych.jar"), "Failed to generate psych jar"
|
13
|
-
end
|
14
|
-
|
15
|
-
end
|
16
|
-
else
|
17
|
-
puts "Skipping Psych tests on jruby-jars-1.5.6"
|
18
|
-
end
|