rhoconnect 3.0.4 → 3.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +5 -0
- data/Gemfile +1 -0
- data/Gemfile.lock +7 -1
- data/Rakefile +1 -0
- data/doc/blob-sync.txt +9 -2
- data/doc/client-objc.txt +108 -42
- data/doc/deploying.txt +60 -94
- data/doc/install.txt +1 -1
- data/doc/push.txt +9 -1
- data/doc/rails-plugin.txt +8 -10
- data/doc/settings.txt +21 -0
- data/installer/unix-like/rho_connect_install_constants.rb +1 -1
- data/installer/utils/package_upload/repos.rake +5 -0
- data/installer/utils/package_upload/repos.rb +83 -0
- data/installer/utils/package_upload/s3_upload.rb +104 -0
- data/installer/windows/rhosync.nsi +5 -5
- data/lib/rhoconnect/api/application/clientregister.rb +9 -2
- data/lib/rhoconnect/client.rb +1 -1
- data/lib/rhoconnect/ping/android.rb +82 -22
- data/lib/rhoconnect/version.rb +1 -1
- data/spec/client_spec.rb +2 -0
- data/spec/client_sync_spec.rb +1 -0
- data/spec/jobs/ping_job_spec.rb +4 -0
- data/spec/ping/android_spec.rb +46 -8
- data/spec/server/server_spec.rb +13 -0
- data/spec/user_spec.rb +1 -0
- data/tasks/redis.rake +2 -2
- metadata +8 -5
data/spec/server/server_spec.rb
CHANGED
@@ -160,6 +160,19 @@ describe "Server" do
|
|
160
160
|
@c.device_pin.should == 'abcd'
|
161
161
|
@c.id.length.should == 32
|
162
162
|
end
|
163
|
+
|
164
|
+
it "should respond to clientregister without clientcreate" do
|
165
|
+
Store.flash_data("client*")
|
166
|
+
client_id = @c.id.clone
|
167
|
+
@c = nil
|
168
|
+
do_post "/api/application/clientregister",
|
169
|
+
"device_type" => "iPhone", "device_pin" => 'abcd', "client_id" => client_id
|
170
|
+
last_response.should be_ok
|
171
|
+
@c = Client.load(client_id, {:source_name => '*'})
|
172
|
+
@c.device_type.should == 'iPhone'
|
173
|
+
@c.device_pin.should == 'abcd'
|
174
|
+
@c.id.length.should == 32
|
175
|
+
end
|
163
176
|
|
164
177
|
it "should respond to clientreset" do
|
165
178
|
set_state(@c.docname(:cd) => @data)
|
data/spec/user_spec.rb
CHANGED
data/tasks/redis.rake
CHANGED
@@ -7,7 +7,7 @@ def windows?
|
|
7
7
|
end
|
8
8
|
|
9
9
|
if windows?
|
10
|
-
$redis_ver = "redis-2.
|
10
|
+
$redis_ver = "redis-2.4.1"
|
11
11
|
$redis_zip = "C:/#{$redis_ver}.zip"
|
12
12
|
$redis_dest = "C:/"
|
13
13
|
end
|
@@ -181,7 +181,7 @@ namespace :redis do
|
|
181
181
|
else
|
182
182
|
sh 'rm -rf /tmp/redis/' if File.exists?("#{RedisRunner.redisdir}")
|
183
183
|
sh 'git clone git://github.com/antirez/redis.git /tmp/redis -n'
|
184
|
-
sh "cd #{RedisRunner.redisdir} && git reset --hard && git checkout 2.
|
184
|
+
sh "cd #{RedisRunner.redisdir} && git reset --hard && git checkout 2.4.1"
|
185
185
|
end
|
186
186
|
end
|
187
187
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rhoconnect
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 13
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 3
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 3.0.
|
9
|
+
- 5
|
10
|
+
version: 3.0.5
|
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-
|
18
|
+
date: 2011-10-21 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
version_requirements: &id001 !ruby/object:Gem::Requirement
|
@@ -327,6 +327,9 @@ files:
|
|
327
327
|
- installer/utils/constants.rb
|
328
328
|
- installer/utils/nix_install_test.rb
|
329
329
|
- installer/utils/nix_installation.rake
|
330
|
+
- installer/utils/package_upload/repos.rake
|
331
|
+
- installer/utils/package_upload/repos.rb
|
332
|
+
- installer/utils/package_upload/s3_upload.rb
|
330
333
|
- installer/windows/configUi.ini
|
331
334
|
- installer/windows/EnvVarUpdate.nsh
|
332
335
|
- installer/windows/icon.ico
|
@@ -589,7 +592,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
589
592
|
requirements: []
|
590
593
|
|
591
594
|
rubyforge_project:
|
592
|
-
rubygems_version: 1.8.
|
595
|
+
rubygems_version: 1.8.11
|
593
596
|
signing_key:
|
594
597
|
specification_version: 3
|
595
598
|
summary: RhoConnect App Integration Server
|