rhodes 3.0.1.beta.7 → 3.0.1.beta.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -474,6 +474,8 @@ public class RhodesActivity extends BaseActivity {
474
474
 
475
475
  Intent intent = getIntent();
476
476
  String startParams = (intent.getData() != null) ? intent.toUri(0) : "";
477
+
478
+
477
479
  Uri uri = Uri.parse(startParams);
478
480
  String scheme = uri.getScheme();
479
481
  if(startParams.compareTo("") != 0)
@@ -482,7 +484,9 @@ public class RhodesActivity extends BaseActivity {
482
484
  if(startParams.startsWith("//"))
483
485
  startParams = startParams.substring(2);
484
486
  }
485
-
487
+ if (startParams.lastIndexOf("#") >= 0) {
488
+ startParams = startParams.substring(0, startParams.lastIndexOf("#"));
489
+ }
486
490
  if(!RhodesApplication.canStart(startParams))
487
491
  {
488
492
  Logger.E(TAG, "This is hidden app and can be started only with security key.");
@@ -1638,6 +1638,7 @@ end
1638
1638
 
1639
1639
  def logcat(device_flag = '-e', log_path = $applog_path)
1640
1640
  if !log_path.nil?
1641
+ rm_rf log_path unless !File.exist(log_path)
1641
1642
  Thread.new { Jake.run($adb, [device_flag, 'logcat', '>>', log_path], nil, true) }
1642
1643
  end
1643
1644
  end
data/rhodes.gemspec CHANGED
@@ -3,7 +3,7 @@ require "lib/rhodes.rb"
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = %q{rhodes}
6
- s.version = "3.0.1.beta.7"
6
+ s.version = "3.0.1.beta.8"
7
7
 
8
8
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
9
9
  s.authors = ["Rhomobile"]
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: 62196421
4
+ hash: 62196443
5
5
  prerelease: true
6
6
  segments:
7
7
  - 3
8
8
  - 0
9
9
  - 1
10
10
  - beta
11
- - 7
12
- version: 3.0.1.beta.7
11
+ - 8
12
+ version: 3.0.1.beta.8
13
13
  platform: ruby
14
14
  authors:
15
15
  - Rhomobile