rhoconnect 3.0.2 → 3.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +7 -7
- data/LICENSE +4 -4
- data/Rakefile +1 -1
- data/doc/client-objc.txt +736 -0
- data/doc/client.txt +10 -0
- data/doc/deploying.txt +111 -0
- data/doc/heroku-addon.txt +13 -12
- data/doc/install.txt +3 -3
- data/doc/net-plugin.txt +3 -3
- data/doc/rails-plugin.txt +18 -7
- data/doc/web-console.txt +1 -1
- data/installer/utils/constants.rb +2 -3
- data/installer/utils/nix_install_test.rb +42 -42
- data/installer/utils/nix_installation.rake +1 -1
- data/lib/rhoconnect/client_sync.rb +9 -3
- data/lib/rhoconnect/read_state.rb +2 -0
- data/lib/rhoconnect/source.rb +37 -1
- data/lib/rhoconnect/source_sync.rb +8 -4
- data/lib/rhoconnect/store.rb +36 -15
- data/lib/rhoconnect/version.rb +1 -1
- data/rhoconnect.gemspec +1 -1
- data/spec/source_sync_spec.rb +78 -5
- data/spec/store_spec.rb +23 -0
- metadata +92 -153
- data/examples/simple/dump.rdb +0 -0
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
## 3.0.4 (not released)
|
2
|
+
|
3
|
+
## 3.0.3 (2011-10-13)
|
4
|
+
* #19304885 - fixing race condition in get_lock (lock is released between setnx and get calls)
|
5
|
+
* #18508155 - on failed syncs allow the user to retry it up to pre-defined number of times (another approach)
|
6
|
+
|
1
7
|
## 3.0.2 (2011-10-05)
|
2
8
|
* #19143845 - support sinatra 1.3.x
|
3
9
|
|
data/Gemfile.lock
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rhoconnect (3.0.
|
4
|
+
rhoconnect (3.0.3)
|
5
5
|
bundler (~> 1.0)
|
6
6
|
json (~> 1.5.0)
|
7
7
|
rake (= 0.9.2)
|
8
8
|
redis (>= 2.2.0)
|
9
|
-
resque (~> 1.
|
9
|
+
resque (~> 1.19.0)
|
10
10
|
rest-client (~> 1.6.1)
|
11
11
|
rubyzip (~> 0.9.4)
|
12
12
|
sinatra (~> 1.3)
|
@@ -54,7 +54,7 @@ GEM
|
|
54
54
|
redis (2.2.2)
|
55
55
|
redis-namespace (1.0.3)
|
56
56
|
redis (< 3.0.0)
|
57
|
-
resque (1.
|
57
|
+
resque (1.19.0)
|
58
58
|
multi_json (~> 1.0)
|
59
59
|
redis-namespace (~> 1.0.2)
|
60
60
|
sinatra (>= 0.9.2)
|
@@ -72,9 +72,9 @@ GEM
|
|
72
72
|
ruby-hmac (0.4.0)
|
73
73
|
rubyzip (0.9.4)
|
74
74
|
sinatra (1.3.1)
|
75
|
-
rack (
|
76
|
-
rack-protection (
|
77
|
-
tilt (
|
75
|
+
rack (~> 1.3, >= 1.3.4)
|
76
|
+
rack-protection (~> 1.1, >= 1.1.2)
|
77
|
+
tilt (~> 1.3, >= 1.3.3)
|
78
78
|
sqlite3 (1.3.4)
|
79
79
|
templater (1.0.0)
|
80
80
|
diff-lcs (>= 1.1.2)
|
@@ -86,7 +86,7 @@ GEM
|
|
86
86
|
vegas (0.1.8)
|
87
87
|
rack (>= 1.0.0)
|
88
88
|
webmock (1.6.4)
|
89
|
-
addressable (
|
89
|
+
addressable (~> 2.2, > 2.2.5)
|
90
90
|
crack (>= 0.1.7)
|
91
91
|
|
92
92
|
PLATFORMS
|
data/LICENSE
CHANGED
@@ -1,13 +1,13 @@
|
|
1
|
-
An online copy of the following license is available here: http://rhomobile.com/products/
|
1
|
+
An online copy of the following license is available here: http://rhomobile.com/products/rhoconnect/license/
|
2
2
|
|
3
|
-
This
|
3
|
+
This RhoConnect Commercial License Agreement is a legal agreement between Rhomobile Inc. ("Rhomobile"), and Licensee (either an individual or a legal entity, hereafter referred to as "Licensee") for the Licensed Software (as defined below). The Licensed Software is not open source software and this is not an open source license.
|
4
4
|
|
5
5
|
1. DEFINITIONS
|
6
6
|
Affiliate of a Party shall mean an entity (i) which is directly or indirectly controlling such Party; (ii) which is under the same direct or indirect ownership or control as such Party; or (iii) which is directly or indirectly owned or controlled by such Party.
|
7
7
|
|
8
8
|
Licensee Application shall mean an application (a) developed using a license under Rhomobile's Rhodes framework and (b) which runs on a Mobile Device and synchronizes through the Licensed Software running on a server.
|
9
9
|
|
10
|
-
Licensed Software shall mean the
|
10
|
+
Licensed Software shall mean the RhoConnect computer software, online or electronic documentation, associated media and printed materials, including the source code, example programs and the documentation delivered by Rhomobile to Licensee in conjunction with this Agreement.
|
11
11
|
|
12
12
|
Support shall mean standard developer support that is provided by Rhomobile to assist eligible Designated Users in using the Licensed Software in accordance with its established standard support procedures.
|
13
13
|
|
@@ -29,7 +29,7 @@ By installing, copying, or otherwise using the Licensed Software, Licensee agree
|
|
29
29
|
Subject to the terms and conditions of this Agreement, Rhomobile grants to Licensee a non-exclusive, non-transferable, non-sublicensable license to install and use the Licensed Software as contemplated in the applicable documentation and the applicable invoice for the Licensed Software. Licensee is not granted any rights or licenses in the Licensed Software other than those rights expressly granted in this Agreement. Unless otherwise provided in an invoice from Rhomobile or Rhomobile authorized third party sublicensor, Licensee may only install and use the Licensed Software on a single computer ("Server"). If Licensee is explicitly granted a multiple Server license by Rhomobile, or Rhomobile authorized third party sublicensor in an invoice, Licensee may install and use the Licensed Software on not more than the number of Servers listed in the applicable invoice. All uses of the Licensed Software must be in accordance with the documentation provided for the Licensed Software. The Licensed Software is licensed only to Licensee and may not be transferred to any other person or entity without Rhomobile's prior written authorization. Any authorized transferee of the Licensed Software shall be bound in writing by the terms and conditions of this Agreement. In no event may Licensee transfer, assign, rent, lease, sell, or otherwise dispose of the Licensed Software on a temporary or permanent basis except as expressly provided herein. The license granted herein will automatically terminate in the event of any violation of this Agreement by Licensee.
|
30
30
|
|
31
31
|
4.2 Capacity Restrictions
|
32
|
-
The Licensed Software shall only be used to support the number of Devices and the number of Licensee Applications set forth in the applicable invoice and paid for. To replace a Device with a new Device for purposes of determining how many Devices are being supported at any one time, the replaced Device must be removed from the
|
32
|
+
The Licensed Software shall only be used to support the number of Devices and the number of Licensee Applications set forth in the applicable invoice and paid for. To replace a Device with a new Device for purposes of determining how many Devices are being supported at any one time, the replaced Device must be removed from the RhoConnect directory. Increases in the number of Devices and/or the number of Licensee Applications being supported by the Licenses Software must be purchased in advance.
|
33
33
|
|
34
34
|
5 LIMITED WARRANTY AND WARRANTY DISCLAIMER
|
35
35
|
Rhomobile warrants to Licensee for a period of ninety (90) days from the date of Licensee's receipt of the Licensed Software (the "Warranty Period") that the Licensed Software as delivered will conform substantially to Rhomobile's then-current published functional specifications set forth in the documentation for the Licensed Software when installed and operated as contemplated in such documentation. In the event of any nonconformity, Rhomobile (or its designee) may, in its sole discretion, either (i) remedy the nonconformity within a reasonable period after notice and verification thereof or (ii) refund the amount Licensee paid for the Software and terminate this Agreement and the license granted herein; provided, however, that Licensee must return the original and all copies of the Licensed Software to Rhomobile or its authorized representative before Licensee will be entitled to receive any such refund. THIS SECTION 5 STATES LICENSEE'S SOLE REMEDY FOR A BREACH OF THE LIMITED WARRANTY OF THE LICENSED SOFTWARE.
|
data/Rakefile
CHANGED
@@ -145,7 +145,7 @@ task "build:deb" => :build do
|
|
145
145
|
"libcurl4-openssl-dev (>= 0)",
|
146
146
|
"libreadline5 (>= 0)", "libreadline5-dev (>= 0)",
|
147
147
|
# "libreadline6 (>= 0)", "libreadline6-dev (>= 0)",
|
148
|
-
"libsqlite3-0 (>= 3.
|
148
|
+
"libsqlite3-0 (>= 3.6.22-1)", "libsqlite3-dev (>= 3.6.22-1)"
|
149
149
|
]
|
150
150
|
|
151
151
|
build_pkg "deb", "all", deps
|