rhodes 3.2.0 → 3.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +4 -0
- data/Manifest.txt +2 -0
- data/Rakefile +1 -1
- data/bin/migrate-rhodes-app +22 -0
- data/bin/migrate-rhodes-app.bat +2 -0
- data/bin/set-rhodes-sdk +3 -9
- data/doc/build.txt +3 -3
- data/lib/framework/rhodes.rb +1 -1
- data/lib/framework/version.rb +1 -1
- data/lib/rhodes.rb +1 -1
- data/platform/android/Rhodes/AndroidManifest.xml +2 -2
- data/platform/iphone/Info.plist +1 -1
- data/rakefile.rb +1 -1
- data/rhodes.gemspec +1 -0
- data/version +1 -1
- metadata +9 -6
data/CHANGELOG
CHANGED
data/Manifest.txt
CHANGED
data/Rakefile
CHANGED
@@ -1100,7 +1100,7 @@ namespace "run" do
|
|
1100
1100
|
$appname = $app_config["name"].nil? ? "Rhodes" : $app_config["name"]
|
1101
1101
|
if !File.exists?($path)
|
1102
1102
|
puts "Cannot find RhoSimulator: '#{$path}' does not exists"
|
1103
|
-
puts "Check sdk path in build.yml - it should point to latest rhodes (run set-rhodes-sdk in application folder) OR"
|
1103
|
+
puts "Check sdk path in build.yml - it should point to latest rhodes (run 'set-rhodes-sdk' in application folder) OR"
|
1104
1104
|
|
1105
1105
|
if $config['env']['paths']['rhosimulator'] and $config['env']['paths']['rhosimulator'].length() > 0
|
1106
1106
|
puts "Check 'env:paths:rhosimulator' path in '<rhodes>/rhobuild.yml' OR"
|
@@ -0,0 +1,22 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
require 'rubygems'
|
3
|
+
require 'yaml'
|
4
|
+
require 'fileutils'
|
5
|
+
include FileUtils
|
6
|
+
puts File.dirname(__FILE__)
|
7
|
+
|
8
|
+
if File.exists? "build.yml"
|
9
|
+
$app_config = YAML::load_file("build.yml")
|
10
|
+
|
11
|
+
unless $app_config["sdk"].nil?
|
12
|
+
$app_config["sdk"] = nil
|
13
|
+
|
14
|
+
File.open( 'build.yml', 'w' ) do |out|
|
15
|
+
YAML.dump( $app_config, out )
|
16
|
+
end
|
17
|
+
|
18
|
+
rakefilepath = File.join( `get-rhodes-info --rhodes-path`.chomp(), 'res/generators/templates/application/Rakefile' )
|
19
|
+
puts "Application Rakefile has been updated to use latest Rhodes gem."
|
20
|
+
cp rakefilepath, '.'
|
21
|
+
end
|
22
|
+
end
|
data/bin/set-rhodes-sdk
CHANGED
@@ -8,15 +8,9 @@ puts File.dirname(__FILE__)
|
|
8
8
|
if File.exists? "build.yml"
|
9
9
|
$app_config = YAML::load_file("build.yml")
|
10
10
|
|
11
|
-
|
12
|
-
$app_config["sdk"] = nil
|
11
|
+
$app_config["sdk"] = File.expand_path(File.dirname(__FILE__) + "/../")
|
13
12
|
|
14
|
-
|
15
|
-
|
16
|
-
end
|
17
|
-
|
18
|
-
rakefilepath = File.join( `get-rhodes-info --rhodes-path`.chomp(), 'res/generators/templates/application/Rakefile' )
|
19
|
-
puts "Application Rakefile has been updated to use latest Rhodes gem."
|
20
|
-
cp rakefilepath, '.'
|
13
|
+
File.open( 'build.yml', 'w' ) do |out|
|
14
|
+
YAML.dump( $app_config, out )
|
21
15
|
end
|
22
16
|
end
|
data/doc/build.txt
CHANGED
@@ -57,12 +57,12 @@ If you wish to use special version of Rhodes or use Rhodes git sources :
|
|
57
57
|
|
58
58
|
sdk: ~/Projects/rhodes
|
59
59
|
|
60
|
-
After installing new Rhodes gem(3.2.x over any version less then 3.2.x), you
|
60
|
+
After installing new Rhodes gem(3.2.x over any version less then 3.2.x), you need also open a command line window, navigate to the directory of your Rhodes application, and run the following command:
|
61
61
|
|
62
62
|
:::term
|
63
|
-
|
63
|
+
$ migrate-rhodes-app
|
64
64
|
|
65
|
-
The
|
65
|
+
The migrate-rhodes-app will remove sdk line from your build.yml to use latest Rhodes gem, it also will upgrade application Rakefile.
|
66
66
|
|
67
67
|
## Building a Rhodes Application for iPhone/iPad
|
68
68
|
|
data/lib/framework/rhodes.rb
CHANGED
data/lib/framework/version.rb
CHANGED
data/lib/rhodes.rb
CHANGED
@@ -2,8 +2,8 @@
|
|
2
2
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
3
3
|
package="com.rhomobile.rhodes"
|
4
4
|
android:installLocation="auto"
|
5
|
-
android:versionCode="
|
6
|
-
android:versionName="3.2.
|
5
|
+
android:versionCode="36"
|
6
|
+
android:versionName="3.2.1">
|
7
7
|
|
8
8
|
<uses-sdk android:minSdkVersion="8" />
|
9
9
|
|
data/platform/iphone/Info.plist
CHANGED
data/rakefile.rb
CHANGED
@@ -1100,7 +1100,7 @@ namespace "run" do
|
|
1100
1100
|
$appname = $app_config["name"].nil? ? "Rhodes" : $app_config["name"]
|
1101
1101
|
if !File.exists?($path)
|
1102
1102
|
puts "Cannot find RhoSimulator: '#{$path}' does not exists"
|
1103
|
-
puts "Check sdk path in build.yml - it should point to latest rhodes (run set-rhodes-sdk in application folder) OR"
|
1103
|
+
puts "Check sdk path in build.yml - it should point to latest rhodes (run 'set-rhodes-sdk' in application folder) OR"
|
1104
1104
|
|
1105
1105
|
if $config['env']['paths']['rhosimulator'] and $config['env']['paths']['rhosimulator'].length() > 0
|
1106
1106
|
puts "Check 'env:paths:rhosimulator' path in '<rhodes>/rhobuild.yml' OR"
|
data/rhodes.gemspec
CHANGED
@@ -29,6 +29,7 @@ Gem::Specification.new do |s|
|
|
29
29
|
s.executables << 'upgrade-rhodes-app'
|
30
30
|
s.executables << 'rhodes-setup'
|
31
31
|
s.executables << 'set-rhodes-sdk'
|
32
|
+
s.executables << 'migrate-rhodes-app'
|
32
33
|
s.executables << 'get-rhodes-info'
|
33
34
|
#this is a hack, we dont have an extension, but we want to run postinstall code. It's done via the 'building' of an extension
|
34
35
|
s.extensions << 'ext/extconf.rb'
|
data/version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.2.
|
1
|
+
3.2.1
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rhodes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 13
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 3
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 3.2.
|
9
|
+
- 1
|
10
|
+
version: 3.2.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Rhomobile
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-10-
|
18
|
+
date: 2011-10-26 00:00:00 -07:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -106,6 +106,7 @@ executables:
|
|
106
106
|
- upgrade-rhodes-app
|
107
107
|
- rhodes-setup
|
108
108
|
- set-rhodes-sdk
|
109
|
+
- migrate-rhodes-app
|
109
110
|
- get-rhodes-info
|
110
111
|
extensions:
|
111
112
|
- ext/extconf.rb
|
@@ -116,6 +117,8 @@ files:
|
|
116
117
|
- bin/c2dm.rb
|
117
118
|
- bin/get-rhodes-info
|
118
119
|
- bin/get-rhodes-info.bat
|
120
|
+
- bin/migrate-rhodes-app
|
121
|
+
- bin/migrate-rhodes-app.bat
|
119
122
|
- bin/rhodes
|
120
123
|
- bin/rhodes-setup
|
121
124
|
- bin/rhodes-setup.bat
|
@@ -7959,7 +7962,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
7959
7962
|
requirements: []
|
7960
7963
|
|
7961
7964
|
rubyforge_project: rhodes
|
7962
|
-
rubygems_version: 1.
|
7965
|
+
rubygems_version: 1.6.2
|
7963
7966
|
signing_key:
|
7964
7967
|
specification_version: 2
|
7965
7968
|
summary: The Rhodes framework is the easiest way to develop NATIVE apps with full device capabilities (GPS, PIM, camera, etc.) for any smartphone.
|