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 CHANGED
@@ -1,3 +1,7 @@
1
+ ## 3.2.1
2
+ * Add migrate-rhodes-app command that updates build.yml to use latest Rhodes gem
3
+ * Change set-rhodes-sdk command to set sdk path at build.yml only
4
+
1
5
  ## 3.2
2
6
  * Migrate to Ruby 1.9.2
3
7
  * Support reset selected models
data/Manifest.txt CHANGED
@@ -1,6 +1,8 @@
1
1
  bin/c2dm.rb
2
2
  bin/get-rhodes-info
3
3
  bin/get-rhodes-info.bat
4
+ bin/migrate-rhodes-app
5
+ bin/migrate-rhodes-app.bat
4
6
  bin/rhodes
5
7
  bin/rhodes-setup
6
8
  bin/rhodes-setup.bat
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
@@ -0,0 +1,2 @@
1
+ @echo off
2
+ ruby %~dp0migrate-rhodes-app
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
- unless $app_config["sdk"].nil?
12
- $app_config["sdk"] = nil
11
+ $app_config["sdk"] = File.expand_path(File.dirname(__FILE__) + "/../")
13
12
 
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, '.'
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 can also open a command line window, navigate to the directory of your Rhodes application, and run the following command:
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
- $ set-rhodes-sdk
63
+ $ migrate-rhodes-app
64
64
 
65
- The set-rhodes-sdk command will remove sdk line from your build.yml to use latest Rhodes gem, it also upgrade application Rakefile.
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
 
@@ -1,6 +1,6 @@
1
1
  module Rhodes
2
2
  unless defined? Rhodes::VERSION
3
- VERSION = '3.2.0'
3
+ VERSION = '3.2.1'
4
4
  end
5
5
  unless defined? Rhodes::DBVERSION
6
6
  DBVERSION = '2.2.0'
@@ -1,6 +1,6 @@
1
1
  module RhodesFramework
2
2
  unless defined? RhodesFramework::VERSION
3
- VERSION = '3.2.0'
3
+ VERSION = '3.2.1'
4
4
  end
5
5
  unless defined? RhodesFramework::DBVERSION
6
6
  DBVERSION = '2.2.2'
data/lib/rhodes.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  module Rhodes
2
2
  unless defined? Rhodes::VERSION
3
- VERSION = '3.2.0'
3
+ VERSION = '3.2.1'
4
4
  end
5
5
  unless defined? Rhodes::DBVERSION
6
6
  DBVERSION = '2.2.0'
@@ -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="35"
6
- android:versionName="3.2.0">
5
+ android:versionCode="36"
6
+ android:versionName="3.2.1">
7
7
 
8
8
  <uses-sdk android:minSdkVersion="8" />
9
9
 
@@ -38,7 +38,7 @@
38
38
  <key>CFBundleSignature</key>
39
39
  <string>????</string>
40
40
  <key>CFBundleVersion</key>
41
- <string>3.2.0</string>
41
+ <string>3.2.1</string>
42
42
  <key>LSRequiresIPhoneOS</key>
43
43
  <true/>
44
44
  <key>UILaunchImageFile</key>
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.0
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: 15
5
- prerelease: false
4
+ hash: 13
5
+ prerelease:
6
6
  segments:
7
7
  - 3
8
8
  - 2
9
- - 0
10
- version: 3.2.0
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-21 00:00:00 -07:00
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.3.7
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.