rhodes 3.2.0.beta.6 → 3.2.0.beta.7

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -944,6 +944,7 @@ task :gem do
944
944
  File.open("Manifest.txt",'w') {|f| f.write(out)}
945
945
 
946
946
  puts "Loading gemspec"
947
+ require 'rubygems'
947
948
  spec = Gem::Specification.load('rhodes.gemspec')
948
949
 
949
950
  puts "Building gem"
data/bin/get-rhodes-info CHANGED
@@ -1,7 +1,10 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  if ARGV && ARGV.size > 0 && ARGV[0] == "--rhodes-path"
4
- puts File.dirname(__FILE__)
4
+ currDir = File.dirname(__FILE__)
5
+ Dir.chdir(currDir)
6
+ Dir.chdir("..")
7
+ puts Dir.pwd
5
8
  exit(0)
6
9
  end
7
10
 
@@ -8,6 +8,9 @@ QT -= gui
8
8
  DEFINES += HAVE_SOCKADDR_STORAGE=1\
9
9
  RHO_SYMBIAN _LIB STATIC_LINKED __BSD_VISIBLE
10
10
 
11
+ DEFINES -= UNICODE
12
+ DEFINES -= _UNICODE
13
+
11
14
  TARGET = rubylib
12
15
  TEMPLATE = lib
13
16
  CONFIG += staticlib warn_on
data/rakefile.rb CHANGED
@@ -944,6 +944,7 @@ task :gem do
944
944
  File.open("Manifest.txt",'w') {|f| f.write(out)}
945
945
 
946
946
  puts "Loading gemspec"
947
+ require 'rubygems'
947
948
  spec = Gem::Specification.load('rhodes.gemspec')
948
949
 
949
950
  puts "Building gem"
@@ -14,7 +14,7 @@ if ENV["RHO_HOME"].nil?
14
14
  rakefilepath = "#{$app_config["sdk"]}/Rakefile"
15
15
  else
16
16
  begin
17
- rakefilepath = File.dirname(`get-rhodes-info --rhodes-path`)
17
+ rakefilepath = `get-rhodes-info --rhodes-path`.chomp
18
18
  rakefilepath = File.join(rakefilepath, "Rakefile")
19
19
  rescue
20
20
  rakefilepath = ""
@@ -34,8 +34,10 @@
34
34
  });
35
35
 
36
36
  $.ajaxPrefilter(function(options, originalOptions, jqXHR){
37
- var origSuccess = options.success;
37
+ // we may have no explicit success handler!
38
+ if (!options.success) return;
38
39
 
40
+ var origSuccess = options.success;
39
41
  options.success = function(html, textStatus, jqXHR) {
40
42
  if (jqXHR.getResponseHeader('Wait-Page')) {
41
43
  // We cannot just do nothing on wait-page being received, because
data/version CHANGED
@@ -1 +1 @@
1
- 3.2.0.beta.6
1
+ 3.2.0.beta.7
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rhodes
3
3
  version: !ruby/object:Gem::Version
4
- hash: 62196463
4
+ hash: 62196461
5
5
  prerelease: true
6
6
  segments:
7
7
  - 3
8
8
  - 2
9
9
  - 0
10
10
  - beta
11
- - 6
12
- version: 3.2.0.beta.6
11
+ - 7
12
+ version: 3.2.0.beta.7
13
13
  platform: ruby
14
14
  authors:
15
15
  - Rhomobile