rhoconnect 3.0.4 → 3.0.5

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.
@@ -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
@@ -24,6 +24,7 @@ describe "User" do
24
24
  end
25
25
 
26
26
  it "should delete seats for user's clients" do
27
+ @c_fields.delete(:id)
27
28
  Client.create(@c_fields,{:source_name => @s_fields[:name]})
28
29
  c_size = @u.clients.members.size
29
30
  current = Store.get_value(License::CLIENT_DOCKEY).to_i
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.2.14"
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.2.14"
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: 15
4
+ hash: 13
5
5
  prerelease:
6
6
  segments:
7
7
  - 3
8
8
  - 0
9
- - 4
10
- version: 3.0.4
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-13 00:00:00 Z
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.10
595
+ rubygems_version: 1.8.11
593
596
  signing_key:
594
597
  specification_version: 3
595
598
  summary: RhoConnect App Integration Server