rhodes 2.2.1 → 2.2.2.beta.1

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/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
+ ## 2.2.2
2
+ * #5822056 - bad login locks up the app
3
+
1
4
  ## 2.2.1
2
5
  * #5681741 - Android push: support alert,sync,sound,vibrate commands
3
6
 
@@ -1,9 +1,9 @@
1
1
  module Rhodes
2
2
  unless defined? Rhodes::VERSION
3
- VERSION = '2.2.1'
3
+ VERSION = '2.2.2'
4
4
  end
5
5
  unless defined? Rhodes::DBVERSION
6
- DBVERSION = '2.2.1'
6
+ DBVERSION = '2.2.2'
7
7
  end
8
8
 
9
9
  end
@@ -1,8 +1,8 @@
1
1
  module RhodesFramework
2
2
  unless defined? RhodesFramework::VERSION
3
- VERSION = '2.2.1'
3
+ VERSION = '2.2.2'
4
4
  end
5
5
  unless defined? RhodesFramework::DBVERSION
6
- DBVERSION = '2.2.1'
6
+ DBVERSION = '2.2.2'
7
7
  end
8
8
  end
data/lib/rhodes.rb CHANGED
@@ -1,9 +1,9 @@
1
1
  module Rhodes
2
2
  unless defined? Rhodes::VERSION
3
- VERSION = '2.2.1'
3
+ VERSION = '2.2.2'
4
4
  end
5
5
  unless defined? Rhodes::DBVERSION
6
- DBVERSION = '2.2.1'
6
+ DBVERSION = '2.2.2'
7
7
  end
8
8
 
9
9
  end
@@ -1,8 +1,8 @@
1
1
  <?xml version="1.0" encoding="utf-8"?>
2
2
  <manifest xmlns:android="http://schemas.android.com/apk/res/android"
3
3
  package="com.rhomobile.rhodes"
4
- android:versionCode="23"
5
- android:versionName="2.2.1">
4
+ android:versionCode="24"
5
+ android:versionName="2.2.2">
6
6
  <uses-sdk android:minSdkVersion="3" />
7
7
  <application android:icon="@drawable/icon"
8
8
  android:multiprocess="true"
@@ -896,7 +896,6 @@ public class SyncEngine implements NetRequest.IRhoSession
896
896
 
897
897
  public void logout()throws Exception
898
898
  {
899
- m_bStopByUser = true;
900
899
  if(m_NetRequest!=null)
901
900
  m_NetRequest.cancel();
902
901
 
@@ -584,6 +584,7 @@ public class SyncThread extends RhoThread
584
584
 
585
585
  try{
586
586
  stopSync();
587
+ getSyncEngine().stopSyncByUser();
587
588
  getSyncEngine().logout();
588
589
  }catch(Exception e)
589
590
  {
@@ -27,7 +27,7 @@
27
27
  <key>CFBundleSignature</key>
28
28
  <string>????</string>
29
29
  <key>CFBundleVersion</key>
30
- <string>2.2.1</string>
30
+ <string>2.2.2</string>
31
31
  <key>LSRequiresIPhoneOS</key>
32
32
  <true/>
33
33
  </dict>
@@ -784,7 +784,6 @@ String CSyncEngine::loadSession()
784
784
 
785
785
  void CSyncEngine::logout()
786
786
  {
787
- m_bStopByUser = true;
788
787
  if(m_NetRequest)
789
788
  m_NetRequest->cancel();
790
789
 
@@ -316,6 +316,7 @@ void rho_sync_logout()
316
316
  rho_sync_stop();
317
317
 
318
318
  //CDBAdapter& db = CDBAdapter::getUserDB();
319
+ CSyncThread::getSyncEngine().stopSyncByUser();
319
320
  CSyncThread::getSyncEngine().logout();
320
321
  }
321
322
 
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 = '2.2.1'
6
+ s.version = '2.2.2.beta.1'
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,13 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rhodes
3
3
  version: !ruby/object:Gem::Version
4
- hash: 5
5
- prerelease: false
4
+ hash: 62196433
5
+ prerelease: true
6
6
  segments:
7
7
  - 2
8
8
  - 2
9
+ - 2
10
+ - beta
9
11
  - 1
10
- version: 2.2.1
12
+ version: 2.2.2.beta.1
11
13
  platform: ruby
12
14
  authors:
13
15
  - Rhomobile
@@ -15,7 +17,7 @@ autorequire:
15
17
  bindir: bin
16
18
  cert_chain: []
17
19
 
18
- date: 2010-10-20 00:00:00 -07:00
20
+ date: 2010-10-22 00:00:00 -07:00
19
21
  default_executable:
20
22
  dependencies:
21
23
  - !ruby/object:Gem::Dependency