rhoconnect 3.1.1 → 3.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (76) hide show
  1. data/CHANGELOG.md +7 -0
  2. data/Gemfile +3 -3
  3. data/Gemfile.lock +26 -45
  4. data/Rakefile +2 -3
  5. data/bench/bench_runner.rb +37 -37
  6. data/bench/benchapp/Gemfile.lock +4 -5
  7. data/bench/benchapp/config.ru +1 -5
  8. data/bench/benchapp/spec/spec_helper.rb +0 -13
  9. data/bench/blobapp/Gemfile.lock +8 -9
  10. data/bench/blobapp/config.ru +1 -2
  11. data/bench/blobapp/spec/spec_helper.rb +0 -13
  12. data/bench/lib/bench/aws_utils.rb +0 -1
  13. data/bench/spec/bench_spec_helper.rb +1 -1
  14. data/doc/java-plugin.txt +176 -49
  15. data/doc/net-plugin.txt +150 -70
  16. data/doc/plugin-intro.txt +2 -2
  17. data/doc/supported-platforms.txt +12 -11
  18. data/generators/templates/application/config.ru +1 -2
  19. data/generators/templates/application/spec/spec_helper.rb +0 -15
  20. data/install.sh +3 -3
  21. data/installer/unix-like/create_texts.rb +2 -2
  22. data/installer/unix-like/rho_connect_install_constants.rb +3 -3
  23. data/installer/unix-like/rho_connect_install_utilities.rb +0 -1
  24. data/installer/utils/constants.rb +5 -5
  25. data/installer/utils/create_sha1.rb +26 -0
  26. data/installer/utils/delete_from_s3.rb +32 -0
  27. data/installer/utils/download_from_s3.rb +55 -0
  28. data/installer/utils/nix_install_test.rb +29 -19
  29. data/installer/utils/package_upload/repos.rake +52 -40
  30. data/installer/utils/package_upload/s3_upload.rb +7 -28
  31. data/installer/utils/verify_checksum.rb +33 -0
  32. data/installer/windows/rhosync.nsi +5 -5
  33. data/lib/rhoconnect.rb +1 -1
  34. data/lib/rhoconnect/app.rb +0 -3
  35. data/lib/rhoconnect/predefined_adapters/bench_adapter.rb +6 -0
  36. data/lib/rhoconnect/server.rb +27 -24
  37. data/lib/rhoconnect/stats/middleware.rb +13 -8
  38. data/lib/rhoconnect/store.rb +12 -10
  39. data/lib/rhoconnect/version.rb +1 -1
  40. data/rhoconnect.gemspec +2 -2
  41. data/spec/api/admin/api_token_spec.rb +0 -1
  42. data/spec/api/admin/stats_spec.rb +3 -0
  43. data/spec/api/api_helper.rb +2 -2
  44. data/spec/api/user/list_users_spec.rb +2 -2
  45. data/spec/api_token_spec.rb +0 -1
  46. data/spec/app_spec.rb +0 -1
  47. data/spec/bulk_data/bulk_data_spec.rb +0 -1
  48. data/spec/client_spec.rb +0 -1
  49. data/spec/client_sync_spec.rb +0 -2
  50. data/spec/document_spec.rb +0 -1
  51. data/spec/dynamic_adapter_spec.rb +0 -2
  52. data/spec/jobs/bulk_data_job_spec.rb +0 -1
  53. data/spec/jobs/ping_job_spec.rb +0 -1
  54. data/spec/jobs/source_job_spec.rb +0 -1
  55. data/spec/license_spec.rb +0 -1
  56. data/spec/perf/perf_spec_helper.rb +0 -1
  57. data/spec/ping/android_spec.rb +0 -1
  58. data/spec/ping/apple_spec.rb +0 -1
  59. data/spec/ping/blackberry_spec.rb +0 -1
  60. data/spec/read_state_spec.rb +0 -1
  61. data/spec/rhoconnect_spec.rb +0 -1
  62. data/spec/server/server_spec.rb +1 -12
  63. data/spec/source_adapter_spec.rb +0 -1
  64. data/spec/source_spec.rb +0 -1
  65. data/spec/source_sync_spec.rb +0 -1
  66. data/spec/spec_helper.rb +8 -19
  67. data/spec/stats/middleware_spec.rb +9 -0
  68. data/spec/stats/record_spec.rb +1 -0
  69. data/spec/store_spec.rb +6 -1
  70. data/spec/sync_states_spec.rb +0 -1
  71. data/spec/test_methods_spec.rb +0 -1
  72. data/spec/user_spec.rb +0 -1
  73. data/tasks/redis.rake +4 -2
  74. metadata +421 -436
  75. data/bin/thorhoconnect +0 -79
  76. data/installer/utils/package_upload/auto-repo.rb +0 -136
@@ -1,6 +1,4 @@
1
1
  require File.join(File.dirname(__FILE__),'spec_helper')
2
- require File.join(File.dirname(__FILE__), 'support', 'shared_examples')
3
-
4
2
 
5
3
  describe "DynamicAdapter" do
6
4
  it_behaves_like "SharedRhoconnectHelper", :rhoconnect_data => true do
@@ -1,5 +1,4 @@
1
1
  require File.join(File.dirname(__FILE__),'..','spec_helper')
2
- require File.join(File.dirname(__FILE__), '..', 'support', 'shared_examples')
3
2
 
4
3
  describe "BulkDataJob" do
5
4
  it_behaves_like "SharedRhoconnectHelper", :rhoconnect_data => true do
@@ -1,5 +1,4 @@
1
1
  require File.join(File.dirname(__FILE__),'..','spec_helper')
2
- require File.join(File.dirname(__FILE__), '..', 'support', 'shared_examples')
3
2
 
4
3
  describe "PingJob" do
5
4
  it_behaves_like "SharedRhoconnectHelper", :rhoconnect_data => true do
@@ -1,5 +1,4 @@
1
1
  require File.join(File.dirname(__FILE__),'..','spec_helper')
2
- require File.join(File.dirname(__FILE__), '..', 'support', 'shared_examples')
3
2
 
4
3
  describe "SourceJob" do
5
4
  it_behaves_like "SharedRhoconnectHelper", :rhoconnect_data => true do
@@ -1,5 +1,4 @@
1
1
  require File.join(File.dirname(__FILE__),'spec_helper')
2
- require File.join(File.dirname(__FILE__), 'support', 'shared_examples')
3
2
 
4
3
  describe "License" do
5
4
  it_behaves_like "SharedRhoconnectHelper", :rhoconnect_data => false do
@@ -1,5 +1,4 @@
1
1
  require File.join(File.dirname(__FILE__),'..','spec_helper')
2
- require File.join(File.dirname(__FILE__), '..', 'support', 'shared_examples')
3
2
  require 'ffaker'
4
3
 
5
4
  def get_test_data(num=1000)
@@ -1,5 +1,4 @@
1
1
  require File.join(File.dirname(__FILE__),'..','spec_helper')
2
- require File.join(File.dirname(__FILE__), '..', 'support', 'shared_examples')
3
2
 
4
3
  describe "Ping Android" do
5
4
  it_behaves_like "SharedRhoconnectHelper", :rhoconnect_data => false do
@@ -1,5 +1,4 @@
1
1
  require File.join(File.dirname(__FILE__),'..','spec_helper')
2
- require File.join(File.dirname(__FILE__), '..', 'support', 'shared_examples')
3
2
 
4
3
  describe "Ping Apple" do
5
4
  it_behaves_like "SharedRhoconnectHelper", :rhoconnect_data => false do
@@ -1,5 +1,4 @@
1
1
  require File.join(File.dirname(__FILE__),'..','spec_helper')
2
- require File.join(File.dirname(__FILE__), '..', 'support', 'shared_examples')
3
2
 
4
3
  describe "Ping Blackberry" do
5
4
  it_behaves_like "SharedRhoconnectHelper", :rhoconnect_data => false do
@@ -1,5 +1,4 @@
1
1
  require File.join(File.dirname(__FILE__),'spec_helper')
2
- require File.join(File.dirname(__FILE__), 'support', 'shared_examples')
3
2
 
4
3
  describe "ReadState" do
5
4
  it_behaves_like "SharedRhoconnectHelper", :rhoconnect_data => false do
@@ -1,5 +1,4 @@
1
1
  require File.join(File.dirname(__FILE__),'spec_helper')
2
- require File.join(File.dirname(__FILE__), 'support', 'shared_examples')
3
2
 
4
3
  describe "Rhoconnect" do
5
4
  include TestHelpers
@@ -1,8 +1,7 @@
1
1
  require 'rack/test'
2
2
 
3
- require File.join(File.dirname(__FILE__),'..','..','lib','rhoconnect','server.rb')
4
3
  require File.join(File.dirname(__FILE__),'..','spec_helper')
5
- require File.join(File.dirname(__FILE__), '..', 'support', 'shared_examples')
4
+ require File.join(File.dirname(__FILE__),'..','..','lib','rhoconnect','server.rb')
6
5
 
7
6
  describe "Server" do
8
7
  include Rack::Test::Methods
@@ -55,16 +54,6 @@ describe "Server" do
55
54
  Rhoconnect::Server.secret.should == "secure!"
56
55
  end
57
56
 
58
- it "should use Stats::Middleware if stats enabled" do
59
- Rhoconnect::Server.server = nil
60
- Rhoconnect::Server.enable :stats
61
- Rhoconnect::Server.new
62
- Rhoconnect.stats.should == true
63
- Rhoconnect.stats = nil
64
- Rhoconnect::Server.disable :stats
65
- Rhoconnect::Server.server = nil
66
- end
67
-
68
57
  it "should update session secret to default" do
69
58
  Rhoconnect::Server.set :secret, "<changeme>"
70
59
  Rhoconnect::Server.secret.should == "<changeme>"
@@ -1,5 +1,4 @@
1
1
  require File.join(File.dirname(__FILE__),'spec_helper')
2
- require File.join(File.dirname(__FILE__), 'support', 'shared_examples')
3
2
 
4
3
  class Rhoconnect::SourceAdapter
5
4
  def inject_result(result)
@@ -1,5 +1,4 @@
1
1
  require File.join(File.dirname(__FILE__),'spec_helper')
2
- require File.join(File.dirname(__FILE__), 'support', 'shared_examples')
3
2
 
4
3
  describe "Source" do
5
4
  it_behaves_like "SharedRhoconnectHelper", :rhoconnect_data => false do
@@ -1,5 +1,4 @@
1
1
  require File.join(File.dirname(__FILE__),'spec_helper')
2
- require File.join(File.dirname(__FILE__), 'support', 'shared_examples')
3
2
 
4
3
  describe "SourceSync" do
5
4
  it_behaves_like "SharedRhoconnectHelper", :rhoconnect_data => true do
@@ -1,7 +1,7 @@
1
1
  require 'rubygems'
2
- require 'webmock/rspec'
3
2
  require 'rspec'
4
-
3
+ require 'webmock/rspec'
4
+ require 'rspec/autorun' # Required for Rcov to run with rspec '~> 2.8.0'
5
5
  if RUBY_VERSION =~ /1.9/ || defined?(JRUBY_VERSION)
6
6
  require 'simplecov'
7
7
  SimpleCov.start
@@ -9,25 +9,14 @@ end
9
9
 
10
10
  require 'rhoconnect'
11
11
  include Rhoconnect
12
- ENV['RACK_ENV'] = 'test'
13
12
 
14
- ERROR = '0_broken_object_id' unless defined? ERROR
15
-
16
- # Monkey patch to fix the following issue:
17
- # /usr/local/rvm/gems/ruby-1.8.7-p352/gems/rspec-core-2.6.4/lib/rspec/core/shared_example_group.rb:59:
18
- # in `ensure_shared_example_group_name_not_taken': Shared example group 'SharedRhoconnectHelper' already exists (ArgumentError)
19
- if RUBY_VERSION =~ /1.8/
20
- module RSpec
21
- module Core
22
- module SharedExampleGroup
23
- private
24
- def ensure_shared_example_group_name_not_taken(name)
25
- end
26
- end
27
- end
28
- end
29
- end
13
+ # require RSpec shared examples
14
+ SPEC_PATH = File.expand_path(File.dirname(__FILE__))
15
+ Dir["#{SPEC_PATH}/support/**/*.rb"].each { |f| require f }
30
16
 
17
+ ENV['RACK_ENV'] = 'test'
18
+ ERROR = '0_broken_object_id' unless defined? ERROR
19
+
31
20
  module TestHelpers
32
21
  def get_testapp_path
33
22
  File.expand_path(File.join(File.dirname(__FILE__),'apps','rhotestapp'))
@@ -1,5 +1,7 @@
1
1
  require 'rhoconnect'
2
2
  require File.join(File.dirname(__FILE__),'..','spec_helper')
3
+ require File.join(File.dirname(__FILE__),'..','..','lib','rhoconnect','server.rb')
4
+
3
5
  STATS_RECORD_RESOLUTION = 2 unless defined? STATS_RECORD_RESOLUTION
4
6
  STATS_RECORD_SIZE = 8 unless defined? STATS_RECORD_SIZE
5
7
 
@@ -13,10 +15,17 @@ describe "Middleware" do
13
15
  Store.db.flushdb
14
16
  app = mock('app')
15
17
  app.stub!(:call)
18
+ Rhoconnect.stats = true
19
+ Rhoconnect::Server.enable :stats
16
20
  @middleware_new_routes = Middleware.new(app)
17
21
  Store.stub!(:lock).and_yield
18
22
  end
19
23
 
24
+ after(:each) do
25
+ Rhoconnect.stats = false
26
+ Rhoconnect::Server.disable :stats
27
+ end
28
+
20
29
  it "should compute http average" do
21
30
  Time.stub!(:now).and_return { @now += 0.3; @now }
22
31
  env = {
@@ -1,5 +1,6 @@
1
1
  require 'rhoconnect'
2
2
  require File.join(File.dirname(__FILE__),'..','spec_helper')
3
+
3
4
  STATS_RECORD_RESOLUTION = 2 unless defined? STATS_RECORD_RESOLUTION
4
5
  STATS_RECORD_SIZE = 8 unless defined? STATS_RECORD_SIZE
5
6
 
@@ -1,5 +1,4 @@
1
1
  require File.join(File.dirname(__FILE__),'spec_helper')
2
- require File.join(File.dirname(__FILE__), 'support', 'shared_examples')
3
2
 
4
3
  describe "Store" do
5
4
  it_behaves_like "SharedRhoconnectHelper", :rhoconnect_data => true do
@@ -214,6 +213,12 @@ describe "Store" do
214
213
  keys.should == [assoc_key,assoc_key]
215
214
  end
216
215
 
216
+ it "should return empty list on non-existing get_zdata" do
217
+ zdata,keys = Store.get_zdata('wrong_doc2')
218
+ zdata.should == []
219
+ keys.should == []
220
+ end
221
+
217
222
  it "should flush_zdata" do
218
223
  create_doc = {'1' => {'foo' => 'bar'}}
219
224
  assoc_key = 'my_assoc_key'
@@ -1,5 +1,4 @@
1
1
  require File.join(File.dirname(__FILE__),'spec_helper')
2
- require File.join(File.dirname(__FILE__), 'support', 'shared_examples')
3
2
 
4
3
  describe "Sync Server States" do
5
4
  it_behaves_like "SharedRhoconnectHelper", :rhoconnect_data => true do
@@ -1,6 +1,5 @@
1
1
  require 'rhoconnect/test_methods'
2
2
  require File.join(File.dirname(__FILE__),'spec_helper')
3
- require File.join(File.dirname(__FILE__), 'support', 'shared_examples')
4
3
 
5
4
  describe "TestMethods" do
6
5
  # The module we're testing
@@ -1,5 +1,4 @@
1
1
  require File.join(File.dirname(__FILE__),'spec_helper')
2
- require File.join(File.dirname(__FILE__), 'support', 'shared_examples')
3
2
 
4
3
  STATS_RECORD_RESOLUTION = 2 unless defined? STATS_RECORD_RESOLUTION
5
4
  STATS_RECORD_SIZE = 8 unless defined? STATS_RECORD_SIZE
@@ -2,12 +2,14 @@
2
2
  require 'fileutils'
3
3
  require 'open-uri'
4
4
 
5
+ REDIS_RELEASE = "2.4.10"
6
+
5
7
  def windows?
6
8
  RUBY_PLATFORM =~ /(win|w)32$/
7
9
  end
8
10
 
9
11
  if windows?
10
- $redis_ver = "redis-2.4.6"
12
+ $redis_ver = "redis-#{REDIS_RELEASE}"
11
13
  $redis_zip = "C:/#{$redis_ver}.zip"
12
14
  $redis_dest = "C:/"
13
15
  end
@@ -181,7 +183,7 @@ namespace :redis do
181
183
  else
182
184
  sh 'rm -rf /tmp/redis/' if File.exists?("#{RedisRunner.redisdir}")
183
185
  sh 'git clone git://github.com/antirez/redis.git /tmp/redis -n'
184
- sh "cd #{RedisRunner.redisdir} && git reset --hard && git checkout 2.4.6"
186
+ sh "cd #{RedisRunner.redisdir} && git reset --hard && git checkout #{REDIS_RELEASE}"
185
187
  end
186
188
  end
187
189
 
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: 1
4
+ hash: 7
5
5
  prerelease:
6
6
  segments:
7
7
  - 3
8
8
  - 1
9
- - 1
10
- version: 3.1.1
9
+ - 2
10
+ version: 3.1.2
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: 2012-02-07 00:00:00 Z
18
+ date: 2012-04-02 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  version_requirements: &id001 !ruby/object:Gem::Requirement
@@ -29,27 +29,11 @@ dependencies:
29
29
  - 0
30
30
  version: "1.0"
31
31
  requirement: *id001
32
- type: :runtime
33
32
  prerelease: false
34
33
  name: bundler
35
- - !ruby/object:Gem::Dependency
36
- version_requirements: &id002 !ruby/object:Gem::Requirement
37
- none: false
38
- requirements:
39
- - - ~>
40
- - !ruby/object:Gem::Version
41
- hash: 23
42
- segments:
43
- - 1
44
- - 3
45
- - 6
46
- version: 1.3.6
47
- requirement: *id002
48
34
  type: :runtime
49
- prerelease: false
50
- name: rack
51
35
  - !ruby/object:Gem::Dependency
52
- version_requirements: &id003 !ruby/object:Gem::Requirement
36
+ version_requirements: &id002 !ruby/object:Gem::Requirement
53
37
  none: false
54
38
  requirements:
55
39
  - - ~>
@@ -59,12 +43,12 @@ dependencies:
59
43
  - 1
60
44
  - 3
61
45
  version: "1.3"
62
- requirement: *id003
63
- type: :runtime
46
+ requirement: *id002
64
47
  prerelease: false
65
48
  name: sinatra
49
+ type: :runtime
66
50
  - !ruby/object:Gem::Dependency
67
- version_requirements: &id004 !ruby/object:Gem::Requirement
51
+ version_requirements: &id003 !ruby/object:Gem::Requirement
68
52
  none: false
69
53
  requirements:
70
54
  - - ~>
@@ -75,12 +59,12 @@ dependencies:
75
59
  - 9
76
60
  - 2
77
61
  version: 0.9.2
78
- requirement: *id004
79
- type: :runtime
62
+ requirement: *id003
80
63
  prerelease: false
81
64
  name: rake
65
+ type: :runtime
82
66
  - !ruby/object:Gem::Dependency
83
- version_requirements: &id005 !ruby/object:Gem::Requirement
67
+ version_requirements: &id004 !ruby/object:Gem::Requirement
84
68
  none: false
85
69
  requirements:
86
70
  - - ~>
@@ -91,12 +75,12 @@ dependencies:
91
75
  - 6
92
76
  - 0
93
77
  version: 1.6.0
94
- requirement: *id005
95
- type: :runtime
78
+ requirement: *id004
96
79
  prerelease: false
97
80
  name: json
81
+ type: :runtime
98
82
  - !ruby/object:Gem::Dependency
99
- version_requirements: &id006 !ruby/object:Gem::Requirement
83
+ version_requirements: &id005 !ruby/object:Gem::Requirement
100
84
  none: false
101
85
  requirements:
102
86
  - - ~>
@@ -107,12 +91,12 @@ dependencies:
107
91
  - 9
108
92
  - 4
109
93
  version: 0.9.4
110
- requirement: *id006
111
- type: :runtime
94
+ requirement: *id005
112
95
  prerelease: false
113
96
  name: rubyzip
97
+ type: :runtime
114
98
  - !ruby/object:Gem::Dependency
115
- version_requirements: &id007 !ruby/object:Gem::Requirement
99
+ version_requirements: &id006 !ruby/object:Gem::Requirement
116
100
  none: false
117
101
  requirements:
118
102
  - - ">="
@@ -123,12 +107,12 @@ dependencies:
123
107
  - 1
124
108
  - 1
125
109
  version: 2.1.1
126
- requirement: *id007
127
- type: :runtime
110
+ requirement: *id006
128
111
  prerelease: false
129
112
  name: uuidtools
113
+ type: :runtime
130
114
  - !ruby/object:Gem::Dependency
131
- version_requirements: &id008 !ruby/object:Gem::Requirement
115
+ version_requirements: &id007 !ruby/object:Gem::Requirement
132
116
  none: false
133
117
  requirements:
134
118
  - - ">="
@@ -139,28 +123,28 @@ dependencies:
139
123
  - 2
140
124
  - 0
141
125
  version: 2.2.0
142
- requirement: *id008
143
- type: :runtime
126
+ requirement: *id007
144
127
  prerelease: false
145
128
  name: redis
129
+ type: :runtime
146
130
  - !ruby/object:Gem::Dependency
147
- version_requirements: &id009 !ruby/object:Gem::Requirement
131
+ version_requirements: &id008 !ruby/object:Gem::Requirement
148
132
  none: false
149
133
  requirements:
150
134
  - - ~>
151
135
  - !ruby/object:Gem::Version
152
- hash: 91
136
+ hash: 71
153
137
  segments:
154
138
  - 1
155
- - 19
139
+ - 20
156
140
  - 0
157
- version: 1.19.0
158
- requirement: *id009
159
- type: :runtime
141
+ version: 1.20.0
142
+ requirement: *id008
160
143
  prerelease: false
161
144
  name: resque
145
+ type: :runtime
162
146
  - !ruby/object:Gem::Dependency
163
- version_requirements: &id010 !ruby/object:Gem::Requirement
147
+ version_requirements: &id009 !ruby/object:Gem::Requirement
164
148
  none: false
165
149
  requirements:
166
150
  - - ~>
@@ -171,12 +155,12 @@ dependencies:
171
155
  - 6
172
156
  - 1
173
157
  version: 1.6.1
174
- requirement: *id010
175
- type: :runtime
158
+ requirement: *id009
176
159
  prerelease: false
177
160
  name: rest-client
161
+ type: :runtime
178
162
  - !ruby/object:Gem::Dependency
179
- version_requirements: &id011 !ruby/object:Gem::Requirement
163
+ version_requirements: &id010 !ruby/object:Gem::Requirement
180
164
  none: false
181
165
  requirements:
182
166
  - - ~>
@@ -187,16 +171,15 @@ dependencies:
187
171
  - 0
188
172
  - 0
189
173
  version: 1.0.0
190
- requirement: *id011
191
- type: :runtime
174
+ requirement: *id010
192
175
  prerelease: false
193
176
  name: templater
177
+ type: :runtime
194
178
  description: RhoConnect App Integration Server and related command-line utilities
195
179
  email: dev@rhomobile.com
196
180
  executables:
197
181
  - rhoconnect
198
182
  - rhoconnect-benchmark
199
- - thorhoconnect
200
183
  extensions: []
201
184
 
202
185
  extra_rdoc_files:
@@ -212,398 +195,400 @@ files:
212
195
  - Rakefile
213
196
  - LICENSE
214
197
  - rhoconnect.gemspec
215
- - bench/bench
216
- - bench/bench_runner.rb
217
- - bench/benchapp/application.rb
218
- - bench/benchapp/config.ru
219
- - bench/benchapp/Gemfile
220
- - bench/benchapp/Gemfile.lock
221
- - bench/benchapp/Rakefile
222
- - bench/benchapp/settings/license.key
223
- - bench/benchapp/settings/settings.yml
224
- - bench/benchapp/sources/mock_adapter.rb
225
- - bench/benchapp/sources/queue_mock_adapter.rb
226
- - bench/benchapp/spec/sources/mock_adapter_spec.rb
227
- - bench/benchapp/spec/sources/queue_mock_adapter_spec.rb
228
- - bench/benchapp/spec/spec_helper.rb
229
- - bench/blobapp/application.rb
230
- - bench/blobapp/config.ru
231
- - bench/blobapp/Gemfile
232
- - bench/blobapp/Gemfile.lock
233
- - bench/blobapp/Rakefile
234
- - bench/blobapp/settings/license.key
235
- - bench/blobapp/settings/settings.yml
236
- - bench/blobapp/sources/blob_adapter.rb
237
- - bench/blobapp/spec/sources/blob_adapter_spec.rb
238
- - bench/blobapp/spec/spec_helper.rb
239
- - bench/distr_bench/distr_bench
240
- - bench/distr_bench/distr_bench_main
241
- - bench/distr_bench/run_distr_client.sh
242
- - bench/distr_bench/run_test_query_script.sh
243
- - bench/lib/bench/aws_utils.rb
244
- - bench/lib/bench/bench_result_processor.rb
198
+ - bench/run_bench.sh
199
+ - bench/prepare_bench
200
+ - bench/run_test_query_script.sh
201
+ - bench/run_cud_script.sh
202
+ - bench/lib/bench.rb
245
203
  - bench/lib/bench/cli.rb
246
- - bench/lib/bench/distr_runner.rb
204
+ - bench/lib/bench/statistics.rb
247
205
  - bench/lib/bench/logging.rb
248
- - bench/lib/bench/mock_client.rb
249
- - bench/lib/bench/result.rb
206
+ - bench/lib/bench/bench_result_processor.rb
207
+ - bench/lib/bench/test_data.rb
208
+ - bench/lib/bench/aws_utils.rb
209
+ - bench/lib/bench/distr_runner.rb
210
+ - bench/lib/bench/utils.rb
250
211
  - bench/lib/bench/runner.rb
212
+ - bench/lib/bench/result.rb
251
213
  - bench/lib/bench/session.rb
252
- - bench/lib/bench/statistics.rb
253
- - bench/lib/bench/test_data.rb
214
+ - bench/lib/bench/mock_client.rb
254
215
  - bench/lib/bench/timer.rb
255
- - bench/lib/bench/utils.rb
256
- - bench/lib/bench.rb
257
- - bench/lib/testdata/100-data.txt
258
- - bench/lib/testdata/5-data.txt
259
- - bench/lib/testdata/images/icon.ico
260
- - bench/lib/testdata/images/icon.png
261
216
  - bench/lib/testdata/images/loading-Landscape.png
262
- - bench/lib/testdata/images/loading-LandscapeLeft.png
263
- - bench/lib/testdata/images/loading-LandscapeRight.png
264
217
  - bench/lib/testdata/images/loading-Portrait.png
218
+ - bench/lib/testdata/images/icon.png
219
+ - bench/lib/testdata/images/loading-LandscapeLeft.png
265
220
  - bench/lib/testdata/images/loading-PortraitUpsideDown.png
266
- - bench/lib/testdata/images/loading.png
221
+ - bench/lib/testdata/images/loading-LandscapeRight.png
267
222
  - bench/lib/testdata/images/loading@2x.png
268
- - bench/prepare_bench
269
- - bench/run_bench.sh
270
- - bench/run_blob_script.sh
271
- - bench/run_cud_script.sh
272
- - bench/run_query_md_script.sh
223
+ - bench/lib/testdata/images/icon.ico
224
+ - bench/lib/testdata/images/loading.png
225
+ - bench/lib/testdata/100-data.txt
226
+ - bench/lib/testdata/5-data.txt
227
+ - bench/benchapp/application.rb
228
+ - bench/benchapp/sources/queue_mock_adapter.rb
229
+ - bench/benchapp/sources/mock_adapter.rb
230
+ - bench/benchapp/settings/license.key
231
+ - bench/benchapp/settings/settings.yml
232
+ - bench/benchapp/Gemfile
233
+ - bench/benchapp/spec/sources/queue_mock_adapter_spec.rb
234
+ - bench/benchapp/spec/sources/mock_adapter_spec.rb
235
+ - bench/benchapp/spec/spec_helper.rb
236
+ - bench/benchapp/config.ru
237
+ - bench/benchapp/Gemfile.lock
238
+ - bench/benchapp/Rakefile
273
239
  - bench/run_query_only_script.sh
274
- - bench/run_query_script.sh
275
- - bench/run_test_query_script.sh
276
- - bench/run_test_source_script.sh
240
+ - bench/spec/bench_spec_helper.rb
241
+ - bench/spec/result_spec.rb
242
+ - bench/spec/mock_client_spec.rb
243
+ - bench/spec/logging_spec.rb
244
+ - bench/spec/utils_spec.rb
245
+ - bench/spec/mock_adapter_spec.rb
246
+ - bench/run_query_md_script.sh
247
+ - bench/scripts/query_md_script.rb
248
+ - bench/scripts/test_source_script.rb
277
249
  - bench/scripts/blob_cud_script.rb
250
+ - bench/scripts/test_query_script.rb
278
251
  - bench/scripts/cud_script.rb
279
252
  - bench/scripts/helpers.rb
280
- - bench/scripts/query_md_script.rb
281
253
  - bench/scripts/query_only_script.rb
282
254
  - bench/scripts/query_script.rb
283
- - bench/scripts/test_query_script.rb
284
- - bench/scripts/test_source_script.rb
285
- - bench/spec/bench_spec_helper.rb
286
- - bench/spec/logging_spec.rb
287
- - bench/spec/mock_adapter_spec.rb
288
- - bench/spec/mock_client_spec.rb
289
- - bench/spec/result_spec.rb
290
- - bench/spec/utils_spec.rb
291
- - doc/adapters-crm.txt
292
- - doc/adapters-intro.txt
293
- - doc/async-jobs.txt
294
- - doc/authentication.txt
255
+ - bench/run_query_script.sh
256
+ - bench/run_test_source_script.sh
257
+ - bench/bench_runner.rb
258
+ - bench/bench
259
+ - bench/blobapp/application.rb
260
+ - bench/blobapp/sources/blob_adapter.rb
261
+ - bench/blobapp/settings/license.key
262
+ - bench/blobapp/settings/settings.yml
263
+ - bench/blobapp/Gemfile
264
+ - bench/blobapp/spec/sources/blob_adapter_spec.rb
265
+ - bench/blobapp/spec/spec_helper.rb
266
+ - bench/blobapp/config.ru
267
+ - bench/blobapp/Gemfile.lock
268
+ - bench/blobapp/Rakefile
269
+ - bench/run_blob_script.sh
270
+ - bench/distr_bench/run_test_query_script.sh
271
+ - bench/distr_bench/run_distr_client.sh
272
+ - bench/distr_bench/distr_bench_main
273
+ - bench/distr_bench/distr_bench
295
274
  - doc/benchmarks-running.txt
296
- - doc/benchmarks.txt
297
- - doc/blob-sync.txt
298
- - doc/bulk-sync.txt
299
- - doc/client-java.txt
300
- - doc/client-objc.txt
275
+ - doc/rest-api.txt
276
+ - doc/web-console.txt
301
277
  - doc/client.txt
302
278
  - doc/command-line.txt
279
+ - doc/blob-sync.txt
280
+ - doc/introduction.txt
281
+ - doc/async-jobs.txt
282
+ - doc/migration.txt
283
+ - doc/client-objc.txt
303
284
  - doc/contributing.txt
304
- - doc/cud-conflicts.txt
285
+ - doc/release.txt
286
+ - doc/settings.txt
287
+ - doc/tutorial.txt
288
+ - doc/benchmarks.txt
289
+ - doc/bulk-sync.txt
290
+ - doc/preparing-production.txt
291
+ - doc/stats-middleware.txt
292
+ - doc/adapters-intro.txt
293
+ - doc/rhoconnect-redis-stack.txt
294
+ - doc/metadata.txt
295
+ - doc/testing.txt
296
+ - doc/install.txt
297
+ - doc/net-plugin.txt
305
298
  - doc/deploying.txt
306
- - doc/extending-rhoconnect-server.txt
307
299
  - doc/heroku-addon.txt
308
- - doc/hosting-rhohub.txt
309
- - doc/install.txt
310
- - doc/introduction.txt
311
- - doc/java-plugin.txt
312
300
  - doc/licensing.txt
313
- - doc/metadata.txt
314
- - doc/migration.txt
315
- - doc/net-plugin.txt
316
- - doc/plugin-intro.txt
317
- - doc/preparing-production.txt
301
+ - doc/rails-plugin.txt
302
+ - doc/supported-platforms.txt
303
+ - doc/public/css/style.css
318
304
  - doc/public/css/print.css
319
305
  - doc/public/css/screen.css
320
- - doc/public/css/style.css
321
- - doc/push.txt
322
- - doc/rails-plugin.txt
323
- - doc/release.txt
324
- - doc/rest-api.txt
325
- - doc/rhoconnect-redis-stack.txt
326
- - doc/settings.txt
306
+ - doc/hosting-rhohub.txt
307
+ - doc/adapters-crm.txt
327
308
  - doc/source-adapters.txt
328
- - doc/stats-middleware.txt
329
- - doc/supported-platforms.txt
330
- - doc/testing.txt
331
- - doc/tutorial.txt
332
- - doc/web-console.txt
309
+ - doc/java-plugin.txt
310
+ - doc/extending-rhoconnect-server.txt
311
+ - doc/cud-conflicts.txt
312
+ - doc/plugin-intro.txt
313
+ - doc/authentication.txt
314
+ - doc/push.txt
315
+ - doc/client-java.txt
333
316
  - examples/simple/application.rb
334
- - examples/simple/config.ru
335
- - examples/simple/Rakefile
336
- - examples/simple/settings/license.key
337
- - examples/simple/settings/settings.yml
338
317
  - examples/simple/sources/sample_adapter.rb
339
318
  - examples/simple/sources/simple_adapter.rb
319
+ - examples/simple/settings/license.key
320
+ - examples/simple/settings/settings.yml
321
+ - examples/simple/config.ru
322
+ - examples/simple/Rakefile
340
323
  - generators/rhoconnect.rb
341
324
  - generators/templates/application/application.rb
342
- - generators/templates/application/config.ru
343
- - generators/templates/application/Gemfile
344
- - generators/templates/application/gitignore
345
- - generators/templates/application/Rakefile
346
325
  - generators/templates/application/settings/license.key
347
326
  - generators/templates/application/settings/settings.yml
327
+ - generators/templates/application/Gemfile
348
328
  - generators/templates/application/spec/spec_helper.rb
349
- - generators/templates/source/source_adapter.rb
329
+ - generators/templates/application/gitignore
330
+ - generators/templates/application/config.ru
331
+ - generators/templates/application/Rakefile
350
332
  - generators/templates/source/source_spec.rb
333
+ - generators/templates/source/source_adapter.rb
334
+ - installer/unix-like/pre_uninstall.sh
335
+ - installer/unix-like/rho_connect_install_utilities.rb
336
+ - installer/unix-like/rho_connect_install_debian.rb
351
337
  - installer/unix-like/create_texts.rb
352
338
  - installer/unix-like/post_install.sh
353
- - installer/unix-like/post_uninstall.sh
354
- - installer/unix-like/pre_install.sh
355
- - installer/unix-like/pre_uninstall.sh
356
339
  - installer/unix-like/rho_connect_install_checkers.rb
357
- - installer/unix-like/rho_connect_install_constants.rb
358
- - installer/unix-like/rho_connect_install_debian.rb
359
- - installer/unix-like/rho_connect_install_dnd.rb
340
+ - installer/unix-like/rhoinstaller.rb
360
341
  - installer/unix-like/rho_connect_install_get_params.rb
361
- - installer/unix-like/rho_connect_install_installers.rb
362
- - installer/unix-like/rho_connect_install_utilities.rb
342
+ - installer/unix-like/post_uninstall.sh
343
+ - installer/unix-like/pre_install.sh
363
344
  - installer/unix-like/rho_connect_install_yum.rb
364
- - installer/unix-like/rhoinstaller.rb
365
- - installer/utils/constants.rb
366
- - installer/utils/nix_install_test.rb
367
- - installer/utils/nix_installation.rake
368
- - installer/utils/package_upload/auto-repo.rb
369
- - installer/utils/package_upload/repos.rake
370
- - installer/utils/package_upload/s3_upload.rb
371
- - installer/windows/configUi.ini
345
+ - installer/unix-like/rho_connect_install_installers.rb
346
+ - installer/unix-like/rho_connect_install_dnd.rb
347
+ - installer/unix-like/rho_connect_install_constants.rb
348
+ - installer/windows/rhosync.nsi
349
+ - installer/windows/uninstall.bat
372
350
  - installer/windows/EnvVarUpdate.nsh
373
351
  - installer/windows/icon.ico
374
- - installer/windows/rhosync.nsi
352
+ - installer/windows/configUi.ini
375
353
  - installer/windows/ServiceLib.nsh
376
- - installer/windows/uninstall.bat
377
- - lib/rhoconnect/api/admin/get_api_token.rb
378
- - lib/rhoconnect/api/admin/get_license_info.rb
379
- - lib/rhoconnect/api/admin/login.rb
380
- - lib/rhoconnect/api/admin/reset.rb
381
- - lib/rhoconnect/api/admin/stats.rb
382
- - lib/rhoconnect/api/application/bulk_data.rb
383
- - lib/rhoconnect/api/application/clientcreate.rb
384
- - lib/rhoconnect/api/application/clientlogin.rb
385
- - lib/rhoconnect/api/application/clientregister.rb
386
- - lib/rhoconnect/api/application/clientreset.rb
387
- - lib/rhoconnect/api/application/query.rb
388
- - lib/rhoconnect/api/application/queue_updates.rb
389
- - lib/rhoconnect/api/application/search.rb
390
- - lib/rhoconnect/api/client/create_client.rb
391
- - lib/rhoconnect/api/client/delete_client.rb
392
- - lib/rhoconnect/api/client/get_client_params.rb
393
- - lib/rhoconnect/api/client/list_client_docs.rb
394
- - lib/rhoconnect/api/client/list_clients.rb
395
- - lib/rhoconnect/api/client/ping.rb
396
- - lib/rhoconnect/api/source/get_adapter.rb
397
- - lib/rhoconnect/api/source/get_db_doc.rb
398
- - lib/rhoconnect/api/source/get_source_params.rb
399
- - lib/rhoconnect/api/source/list_source_docs.rb
400
- - lib/rhoconnect/api/source/list_sources.rb
401
- - lib/rhoconnect/api/source/push_deletes.rb
402
- - lib/rhoconnect/api/source/push_objects.rb
403
- - lib/rhoconnect/api/source/save_adapter.rb
404
- - lib/rhoconnect/api/source/set_db_doc.rb
405
- - lib/rhoconnect/api/source/set_refresh_time.rb
406
- - lib/rhoconnect/api/source/upload_file.rb
407
- - lib/rhoconnect/api/user/create_user.rb
408
- - lib/rhoconnect/api/user/delete_user.rb
409
- - lib/rhoconnect/api/user/list_users.rb
410
- - lib/rhoconnect/api/user/update_user.rb
411
- - lib/rhoconnect/api_token.rb
412
- - lib/rhoconnect/app.rb
413
- - lib/rhoconnect/body_content_type_parser.rb
414
- - lib/rhoconnect/bulk_data/bulk_data.rb
415
- - lib/rhoconnect/bulk_data/syncdb.index.schema
416
- - lib/rhoconnect/bulk_data/syncdb.schema
417
- - lib/rhoconnect/bulk_data.rb
354
+ - installer/utils/constants.rb
355
+ - installer/utils/package_upload/repos.rake
356
+ - installer/utils/package_upload/s3_upload.rb
357
+ - installer/utils/download_from_s3.rb
358
+ - installer/utils/verify_checksum.rb
359
+ - installer/utils/nix_installation.rake
360
+ - installer/utils/nix_install_test.rb
361
+ - installer/utils/delete_from_s3.rb
362
+ - installer/utils/create_sha1.rb
363
+ - lib/rhoconnect/license.rb
364
+ - lib/rhoconnect/source_sync.rb
365
+ - lib/rhoconnect/server.rb
366
+ - lib/rhoconnect/stats/record.rb
367
+ - lib/rhoconnect/stats/middleware.rb
368
+ - lib/rhoconnect/document.rb
369
+ - lib/rhoconnect/db_adapter.rb
418
370
  - lib/rhoconnect/client.rb
419
- - lib/rhoconnect/client_sync.rb
371
+ - lib/rhoconnect/lock_ops.rb
372
+ - lib/rhoconnect/body_content_type_parser.rb
373
+ - lib/rhoconnect/console/server.rb
374
+ - lib/rhoconnect/console/rhoconnect_api.rb
375
+ - lib/rhoconnect/console/app/views/jqplot.erb
376
+ - lib/rhoconnect/console/app/views/docdata.erb
377
+ - lib/rhoconnect/console/app/views/newuser.erb
378
+ - lib/rhoconnect/console/app/views/user.erb
379
+ - lib/rhoconnect/console/app/views/docs.erb
380
+ - lib/rhoconnect/console/app/views/headermenu.erb
381
+ - lib/rhoconnect/console/app/views/result.erb
382
+ - lib/rhoconnect/console/app/views/login.erb
383
+ - lib/rhoconnect/console/app/views/select_doc.erb
384
+ - lib/rhoconnect/console/app/views/layout.erb
385
+ - lib/rhoconnect/console/app/views/adapter.erb
386
+ - lib/rhoconnect/console/app/views/doc.erb
387
+ - lib/rhoconnect/console/app/views/client.erb
388
+ - lib/rhoconnect/console/app/views/rightboxlinks.erb
389
+ - lib/rhoconnect/console/app/views/edituser.erb
390
+ - lib/rhoconnect/console/app/views/content.erb
391
+ - lib/rhoconnect/console/app/views/home.erb
392
+ - lib/rhoconnect/console/app/views/ping.erb
393
+ - lib/rhoconnect/console/app/views/users.erb
394
+ - lib/rhoconnect/console/app/views/upload_doc.erb
395
+ - lib/rhoconnect/console/app/views/index.erb
420
396
  - lib/rhoconnect/console/app/helpers/auth_helper.rb
421
- - lib/rhoconnect/console/app/helpers/extensions.rb
422
397
  - lib/rhoconnect/console/app/helpers/helpers.rb
423
- - lib/rhoconnect/console/app/public/home.css
424
- - lib/rhoconnect/console/app/public/images/foot_logo_rhoconnect.png
398
+ - lib/rhoconnect/console/app/helpers/extensions.rb
399
+ - lib/rhoconnect/console/app/routes/home.rb
400
+ - lib/rhoconnect/console/app/routes/docs.rb
401
+ - lib/rhoconnect/console/app/routes/client.rb
402
+ - lib/rhoconnect/console/app/routes/user.rb
403
+ - lib/rhoconnect/console/app/routes/adapter.rb
404
+ - lib/rhoconnect/console/app/routes/heroku.rb
405
+ - lib/rhoconnect/console/app/routes/timing.rb
406
+ - lib/rhoconnect/console/app/routes/auth.rb
407
+ - lib/rhoconnect/console/app/public/ThickBox.css
408
+ - lib/rhoconnect/console/app/public/images/tabs_separator.png
425
409
  - lib/rhoconnect/console/app/public/images/header_halo.jpg
426
- - lib/rhoconnect/console/app/public/images/land_separator.gif
427
410
  - lib/rhoconnect/console/app/public/images/landing_header.jpg
428
411
  - lib/rhoconnect/console/app/public/images/logo_rhoconnect.png
429
- - lib/rhoconnect/console/app/public/images/tabs_separator.png
430
- - lib/rhoconnect/console/app/public/jqplot/excanvas.min.js
431
- - lib/rhoconnect/console/app/public/jqplot/jqplot.barRenderer.min.js
432
- - lib/rhoconnect/console/app/public/jqplot/jqplot.canvasAxisLabelRenderer.js
433
- - lib/rhoconnect/console/app/public/jqplot/jqplot.canvasAxisTickRenderer.js
434
- - lib/rhoconnect/console/app/public/jqplot/jqplot.canvasTextRenderer.js
435
- - lib/rhoconnect/console/app/public/jqplot/jqplot.categoryAxisRenderer.min.js
412
+ - lib/rhoconnect/console/app/public/images/land_separator.gif
413
+ - lib/rhoconnect/console/app/public/images/foot_logo_rhoconnect.png
414
+ - lib/rhoconnect/console/app/public/reset.css
415
+ - lib/rhoconnect/console/app/public/style.css
436
416
  - lib/rhoconnect/console/app/public/jqplot/jqplot.cursor.js
437
- - lib/rhoconnect/console/app/public/jqplot/jqplot.dateAxisRenderer.js
438
- - lib/rhoconnect/console/app/public/jqplot/jqplot.dateAxisRenderer.min.js
417
+ - lib/rhoconnect/console/app/public/jqplot/jqplot.canvasAxisTickRenderer.js
418
+ - lib/rhoconnect/console/app/public/jqplot/jqplot.canvasAxisLabelRenderer.js
439
419
  - lib/rhoconnect/console/app/public/jqplot/jqplot.pointLabels.min.js
440
- - lib/rhoconnect/console/app/public/jqplot/jquery-1.4.2.min.js
441
- - lib/rhoconnect/console/app/public/jqplot/jquery.jqplot.min.css
442
420
  - lib/rhoconnect/console/app/public/jqplot/jquery.jqplot.min.js
421
+ - lib/rhoconnect/console/app/public/jqplot/jqplot.dateAxisRenderer.min.js
422
+ - lib/rhoconnect/console/app/public/jqplot/excanvas.min.js
423
+ - lib/rhoconnect/console/app/public/jqplot/jqplot.dateAxisRenderer.js
424
+ - lib/rhoconnect/console/app/public/jqplot/jquery.jqplot.min.css
425
+ - lib/rhoconnect/console/app/public/jqplot/jquery-1.4.2.min.js
426
+ - lib/rhoconnect/console/app/public/jqplot/jqplot.canvasTextRenderer.js
427
+ - lib/rhoconnect/console/app/public/jqplot/jqplot.barRenderer.min.js
428
+ - lib/rhoconnect/console/app/public/jqplot/jqplot.categoryAxisRenderer.min.js
443
429
  - lib/rhoconnect/console/app/public/main.css
444
- - lib/rhoconnect/console/app/public/reset.css
445
- - lib/rhoconnect/console/app/public/style.css
446
430
  - lib/rhoconnect/console/app/public/text.txt
447
- - lib/rhoconnect/console/app/public/ThickBox.css
448
- - lib/rhoconnect/console/app/routes/adapter.rb
449
- - lib/rhoconnect/console/app/routes/auth.rb
450
- - lib/rhoconnect/console/app/routes/client.rb
451
- - lib/rhoconnect/console/app/routes/docs.rb
452
- - lib/rhoconnect/console/app/routes/heroku.rb
453
- - lib/rhoconnect/console/app/routes/home.rb
454
- - lib/rhoconnect/console/app/routes/timing.rb
455
- - lib/rhoconnect/console/app/routes/user.rb
456
- - lib/rhoconnect/console/app/views/adapter.erb
457
- - lib/rhoconnect/console/app/views/client.erb
458
- - lib/rhoconnect/console/app/views/content.erb
459
- - lib/rhoconnect/console/app/views/doc.erb
460
- - lib/rhoconnect/console/app/views/docdata.erb
461
- - lib/rhoconnect/console/app/views/docs.erb
462
- - lib/rhoconnect/console/app/views/edituser.erb
463
- - lib/rhoconnect/console/app/views/headermenu.erb
464
- - lib/rhoconnect/console/app/views/home.erb
465
- - lib/rhoconnect/console/app/views/index.erb
466
- - lib/rhoconnect/console/app/views/jqplot.erb
467
- - lib/rhoconnect/console/app/views/layout.erb
468
- - lib/rhoconnect/console/app/views/login.erb
469
- - lib/rhoconnect/console/app/views/newuser.erb
470
- - lib/rhoconnect/console/app/views/ping.erb
471
- - lib/rhoconnect/console/app/views/result.erb
472
- - lib/rhoconnect/console/app/views/rightboxlinks.erb
473
- - lib/rhoconnect/console/app/views/select_doc.erb
474
- - lib/rhoconnect/console/app/views/upload_doc.erb
475
- - lib/rhoconnect/console/app/views/user.erb
476
- - lib/rhoconnect/console/app/views/users.erb
477
- - lib/rhoconnect/console/rhoconnect_api.rb
478
- - lib/rhoconnect/console/server.rb
479
- - lib/rhoconnect/console.rb
480
- - lib/rhoconnect/cors.rb
481
- - lib/rhoconnect/credential.rb
482
- - lib/rhoconnect/db_adapter.rb
483
- - lib/rhoconnect/document.rb
484
- - lib/rhoconnect/dynamic_adapter.rb
485
- - lib/rhoconnect/generator.rb
486
- - lib/rhoconnect/jobs/bulk_data_job.rb
431
+ - lib/rhoconnect/console/app/public/home.css
432
+ - lib/rhoconnect/server/views/index.erb
433
+ - lib/rhoconnect/api/client/get_client_params.rb
434
+ - lib/rhoconnect/api/client/list_clients.rb
435
+ - lib/rhoconnect/api/client/create_client.rb
436
+ - lib/rhoconnect/api/client/list_client_docs.rb
437
+ - lib/rhoconnect/api/client/delete_client.rb
438
+ - lib/rhoconnect/api/client/ping.rb
439
+ - lib/rhoconnect/api/application/clientlogin.rb
440
+ - lib/rhoconnect/api/application/clientcreate.rb
441
+ - lib/rhoconnect/api/application/clientregister.rb
442
+ - lib/rhoconnect/api/application/queue_updates.rb
443
+ - lib/rhoconnect/api/application/query.rb
444
+ - lib/rhoconnect/api/application/search.rb
445
+ - lib/rhoconnect/api/application/bulk_data.rb
446
+ - lib/rhoconnect/api/application/clientreset.rb
447
+ - lib/rhoconnect/api/user/create_user.rb
448
+ - lib/rhoconnect/api/user/list_users.rb
449
+ - lib/rhoconnect/api/user/delete_user.rb
450
+ - lib/rhoconnect/api/user/update_user.rb
451
+ - lib/rhoconnect/api/source/upload_file.rb
452
+ - lib/rhoconnect/api/source/set_refresh_time.rb
453
+ - lib/rhoconnect/api/source/save_adapter.rb
454
+ - lib/rhoconnect/api/source/get_adapter.rb
455
+ - lib/rhoconnect/api/source/push_objects.rb
456
+ - lib/rhoconnect/api/source/get_db_doc.rb
457
+ - lib/rhoconnect/api/source/push_deletes.rb
458
+ - lib/rhoconnect/api/source/set_db_doc.rb
459
+ - lib/rhoconnect/api/source/list_source_docs.rb
460
+ - lib/rhoconnect/api/source/list_sources.rb
461
+ - lib/rhoconnect/api/source/get_source_params.rb
462
+ - lib/rhoconnect/api/admin/get_api_token.rb
463
+ - lib/rhoconnect/api/admin/login.rb
464
+ - lib/rhoconnect/api/admin/stats.rb
465
+ - lib/rhoconnect/api/admin/get_license_info.rb
466
+ - lib/rhoconnect/api/admin/reset.rb
467
+ - lib/rhoconnect/bulk_data/syncdb.index.schema
468
+ - lib/rhoconnect/bulk_data/bulk_data.rb
469
+ - lib/rhoconnect/bulk_data/syncdb.schema
470
+ - lib/rhoconnect/user.rb
487
471
  - lib/rhoconnect/jobs/ping_job.rb
472
+ - lib/rhoconnect/jobs/bulk_data_job.rb
488
473
  - lib/rhoconnect/jobs/source_job.rb
489
- - lib/rhoconnect/license.rb
490
- - lib/rhoconnect/lock_ops.rb
491
- - lib/rhoconnect/model.rb
492
- - lib/rhoconnect/ping/android.rb
474
+ - lib/rhoconnect/tasks.rb
475
+ - lib/rhoconnect/predefined_adapters/bench_adapter.rb
493
476
  - lib/rhoconnect/ping/apple.rb
494
477
  - lib/rhoconnect/ping/blackberry.rb
495
- - lib/rhoconnect/ping.rb
496
- - lib/rhoconnect/predefined_adapters/bench_adapter.rb
497
- - lib/rhoconnect/read_state.rb
498
- - lib/rhoconnect/rho_indifferent_access.rb
499
- - lib/rhoconnect/server/views/index.erb
500
- - lib/rhoconnect/server.rb
501
- - lib/rhoconnect/source.rb
478
+ - lib/rhoconnect/ping/android.rb
502
479
  - lib/rhoconnect/source_adapter.rb
503
- - lib/rhoconnect/source_sync.rb
504
- - lib/rhoconnect/stats/middleware.rb
505
- - lib/rhoconnect/stats/record.rb
506
- - lib/rhoconnect/store.rb
507
- - lib/rhoconnect/tasks.rb
508
- - lib/rhoconnect/test_methods.rb
509
- - lib/rhoconnect/user.rb
480
+ - lib/rhoconnect/cors.rb
481
+ - lib/rhoconnect/generator.rb
510
482
  - lib/rhoconnect/version.rb
483
+ - lib/rhoconnect/rho_indifferent_access.rb
511
484
  - lib/rhoconnect/x_domain_session_wrapper.rb
485
+ - lib/rhoconnect/credential.rb
486
+ - lib/rhoconnect/test_methods.rb
487
+ - lib/rhoconnect/bulk_data.rb
488
+ - lib/rhoconnect/api_token.rb
489
+ - lib/rhoconnect/ping.rb
490
+ - lib/rhoconnect/client_sync.rb
491
+ - lib/rhoconnect/store.rb
492
+ - lib/rhoconnect/dynamic_adapter.rb
493
+ - lib/rhoconnect/app.rb
494
+ - lib/rhoconnect/model.rb
495
+ - lib/rhoconnect/source.rb
496
+ - lib/rhoconnect/console.rb
497
+ - lib/rhoconnect/read_state.rb
512
498
  - lib/rhoconnect.rb
513
499
  - tasks/redis.rake
514
- - spec/api/admin/api_token_spec.rb
515
- - spec/api/admin/get_api_token_spec.rb
500
+ - spec/support/shared_examples.rb
501
+ - spec/source_adapter_spec.rb
502
+ - spec/license_spec.rb
503
+ - spec/user_spec.rb
504
+ - spec/stats/record_spec.rb
505
+ - spec/stats/middleware_spec.rb
506
+ - spec/spec_helper.rb
507
+ - spec/read_state_spec.rb
508
+ - spec/spec.opts
509
+ - spec/dynamic_adapter_spec.rb
510
+ - spec/server/cors_spec.rb
511
+ - spec/server/x_domain_session_wrapper_spec.rb
512
+ - spec/server/server_spec.rb
513
+ - spec/api/client/get_client_params_spec.rb
514
+ - spec/api/client/ping_spec.rb
515
+ - spec/api/client/delete_client_spec.rb
516
+ - spec/api/client/list_client_docs_spec.rb
517
+ - spec/api/client/create_client_spec.rb
518
+ - spec/api/client/list_clients_spec.rb
519
+ - spec/api/application/rhoconnect_api_spec.rb
520
+ - spec/api/user/delete_user_spec.rb
521
+ - spec/api/user/create_user_spec.rb
522
+ - spec/api/user/list_users_spec.rb
523
+ - spec/api/user/update_user_spec.rb
524
+ - spec/api/source/set_db_doc_spec.rb
525
+ - spec/api/source/set_refresh_time_spec.rb
526
+ - spec/api/source/upload_file_spec.rb
527
+ - spec/api/source/list_sources_spec.rb
528
+ - spec/api/source/push_objects_spec.rb
529
+ - spec/api/source/adapter_spec.rb
530
+ - spec/api/source/list_source_docs_spec.rb
531
+ - spec/api/source/push_deletes_spec.rb
532
+ - spec/api/source/get_db_doc_spec.rb
533
+ - spec/api/source/get_source_params_spec.rb
516
534
  - spec/api/admin/get_license_info_spec.rb
517
535
  - spec/api/admin/reset_spec.rb
536
+ - spec/api/admin/api_token_spec.rb
537
+ - spec/api/admin/get_api_token_spec.rb
518
538
  - spec/api/admin/stats_spec.rb
519
539
  - spec/api/api_helper.rb
520
- - spec/api/application/rhoconnect_api_spec.rb
521
- - spec/api/client/create_client_spec.rb
522
- - spec/api/client/delete_client_spec.rb
523
- - spec/api/client/get_client_params_spec.rb
524
- - spec/api/client/list_client_docs_spec.rb
525
- - spec/api/client/list_clients_spec.rb
526
- - spec/api/client/ping_spec.rb
527
- - spec/api/source/adapter_spec.rb
528
- - spec/api/source/get_db_doc_spec.rb
529
- - spec/api/source/get_source_params_spec.rb
530
- - spec/api/source/list_source_docs_spec.rb
531
- - spec/api/source/list_sources_spec.rb
532
- - spec/api/source/push_deletes_spec.rb
533
- - spec/api/source/push_objects_spec.rb
534
- - spec/api/source/set_db_doc_spec.rb
535
- - spec/api/source/set_refresh_time_spec.rb
536
- - spec/api/source/upload_file_spec.rb
537
- - spec/api/user/create_user_spec.rb
538
- - spec/api/user/delete_user_spec.rb
539
- - spec/api/user/list_users_spec.rb
540
- - spec/api/user/update_user_spec.rb
540
+ - spec/bulk_data/bulk_data_spec.rb
541
541
  - spec/api_token_spec.rb
542
542
  - spec/app_spec.rb
543
- - spec/apps/emptyapp/application.rb
544
- - spec/apps/emptyapp/settings/license.key
545
- - spec/apps/emptyapp/settings/settings.yml
543
+ - spec/source_spec.rb
544
+ - spec/jobs/source_job_spec.rb
545
+ - spec/jobs/ping_job_spec.rb
546
+ - spec/jobs/bulk_data_job_spec.rb
547
+ - spec/store_spec.rb
548
+ - spec/ping/blackberry_spec.rb
549
+ - spec/ping/apple_spec.rb
550
+ - spec/ping/android_spec.rb
551
+ - spec/rhoconnect_spec.rb
552
+ - spec/perf/perf_spec_helper.rb
553
+ - spec/perf/bulk_data_perf_spec.rb
554
+ - spec/perf/store_perf_spec.rb
555
+ - spec/factories/factories.rb
556
+ - spec/document_spec.rb
557
+ - spec/doc/header.html
558
+ - spec/doc/footer.html
559
+ - spec/doc/base.html
560
+ - spec/doc/doc_spec.rb
561
+ - spec/test_methods_spec.rb
546
562
  - spec/apps/rhotestapp/application.rb
547
- - spec/apps/rhotestapp/config.ru
548
- - spec/apps/rhotestapp/Rakefile
549
- - spec/apps/rhotestapp/settings/apple_fake_cert.pem
550
- - spec/apps/rhotestapp/settings/license.key
551
- - spec/apps/rhotestapp/settings/settings.yml
563
+ - spec/apps/rhotestapp/sources/sub_adapter.rb
552
564
  - spec/apps/rhotestapp/sources/base_adapter.rb
565
+ - spec/apps/rhotestapp/sources/sample_adapter.rb
553
566
  - spec/apps/rhotestapp/sources/fixed_schema_adapter.rb
554
567
  - spec/apps/rhotestapp/sources/other_adapter.rb
555
- - spec/apps/rhotestapp/sources/sample_adapter.rb
556
568
  - spec/apps/rhotestapp/sources/simple_adapter.rb
557
- - spec/apps/rhotestapp/sources/sub_adapter.rb
558
- - spec/apps/rhotestapp/vendor/mygem-0.1.0/lib/mygem/mygem.rb
569
+ - spec/apps/rhotestapp/settings/apple_fake_cert.pem
570
+ - spec/apps/rhotestapp/settings/license.key
571
+ - spec/apps/rhotestapp/settings/settings.yml
559
572
  - spec/apps/rhotestapp/vendor/mygem-0.1.0/lib/mygem.rb
560
- - spec/bulk_data/bulk_data_spec.rb
561
- - spec/client_spec.rb
562
- - spec/client_sync_spec.rb
563
- - spec/doc/base.html
564
- - spec/doc/doc_spec.rb
565
- - spec/doc/footer.html
566
- - spec/doc/header.html
567
- - spec/document_spec.rb
568
- - spec/dynamic_adapter_spec.rb
569
- - spec/factories/factories.rb
570
- - spec/generator/generator_spec.rb
571
- - spec/generator/generator_spec_helper.rb
572
- - spec/jobs/bulk_data_job_spec.rb
573
- - spec/jobs/ping_job_spec.rb
574
- - spec/jobs/source_job_spec.rb
575
- - spec/license_spec.rb
576
- - spec/model_spec.rb
577
- - spec/perf/bulk_data_perf_spec.rb
578
- - spec/perf/perf_spec_helper.rb
579
- - spec/perf/store_perf_spec.rb
580
- - spec/ping/android_spec.rb
581
- - spec/ping/apple_spec.rb
582
- - spec/ping/blackberry_spec.rb
583
- - spec/read_state_spec.rb
584
- - spec/rhoconnect_spec.rb
585
- - spec/server/cors_spec.rb
586
- - spec/server/server_spec.rb
587
- - spec/server/x_domain_session_wrapper_spec.rb
588
- - spec/source_adapter_spec.rb
589
- - spec/source_spec.rb
590
- - spec/source_sync_spec.rb
591
- - spec/spec.opts
592
- - spec/spec_helper.rb
593
- - spec/stats/middleware_spec.rb
594
- - spec/stats/record_spec.rb
595
- - spec/store_spec.rb
596
- - spec/support/shared_examples.rb
573
+ - spec/apps/rhotestapp/vendor/mygem-0.1.0/lib/mygem/mygem.rb
574
+ - spec/apps/rhotestapp/config.ru
575
+ - spec/apps/rhotestapp/Rakefile
576
+ - spec/apps/emptyapp/application.rb
577
+ - spec/apps/emptyapp/settings/license.key
578
+ - spec/apps/emptyapp/settings/settings.yml
597
579
  - spec/sync_states_spec.rb
598
- - spec/test_methods_spec.rb
599
- - spec/testdata/1000-data.txt
580
+ - spec/client_spec.rb
600
581
  - spec/testdata/compressed/compress-data.txt
601
582
  - spec/testdata/upload1.txt
602
583
  - spec/testdata/upload2.txt
603
- - spec/user_spec.rb
584
+ - spec/testdata/1000-data.txt
585
+ - spec/client_sync_spec.rb
586
+ - spec/source_sync_spec.rb
587
+ - spec/model_spec.rb
588
+ - spec/generator/generator_spec_helper.rb
589
+ - spec/generator/generator_spec.rb
604
590
  - bin/rhoconnect
605
591
  - bin/rhoconnect-benchmark
606
- - bin/thorhoconnect
607
592
  homepage: http://rhomobile.com/products/rhoconnect
608
593
  licenses: []
609
594
 
@@ -633,98 +618,98 @@ required_rubygems_version: !ruby/object:Gem::Requirement
633
618
  requirements: []
634
619
 
635
620
  rubyforge_project:
636
- rubygems_version: 1.8.10
621
+ rubygems_version: 1.8.11
637
622
  signing_key:
638
623
  specification_version: 3
639
624
  summary: RhoConnect App Integration Server
640
625
  test_files:
641
- - spec/api/admin/api_token_spec.rb
642
- - spec/api/admin/get_api_token_spec.rb
643
- - spec/api/admin/get_license_info_spec.rb
644
- - spec/api/admin/reset_spec.rb
645
- - spec/api/admin/stats_spec.rb
646
- - spec/api/api_helper.rb
647
- - spec/api/application/rhoconnect_api_spec.rb
648
- - spec/api/client/create_client_spec.rb
649
- - spec/api/client/delete_client_spec.rb
626
+ - spec/support/shared_examples.rb
627
+ - spec/source_adapter_spec.rb
628
+ - spec/license_spec.rb
629
+ - spec/user_spec.rb
630
+ - spec/stats/record_spec.rb
631
+ - spec/stats/middleware_spec.rb
632
+ - spec/spec_helper.rb
633
+ - spec/read_state_spec.rb
634
+ - spec/spec.opts
635
+ - spec/dynamic_adapter_spec.rb
636
+ - spec/server/cors_spec.rb
637
+ - spec/server/x_domain_session_wrapper_spec.rb
638
+ - spec/server/server_spec.rb
650
639
  - spec/api/client/get_client_params_spec.rb
640
+ - spec/api/client/ping_spec.rb
641
+ - spec/api/client/delete_client_spec.rb
651
642
  - spec/api/client/list_client_docs_spec.rb
643
+ - spec/api/client/create_client_spec.rb
652
644
  - spec/api/client/list_clients_spec.rb
653
- - spec/api/client/ping_spec.rb
654
- - spec/api/source/adapter_spec.rb
655
- - spec/api/source/get_db_doc_spec.rb
656
- - spec/api/source/get_source_params_spec.rb
657
- - spec/api/source/list_source_docs_spec.rb
658
- - spec/api/source/list_sources_spec.rb
659
- - spec/api/source/push_deletes_spec.rb
660
- - spec/api/source/push_objects_spec.rb
661
- - spec/api/source/set_db_doc_spec.rb
662
- - spec/api/source/set_refresh_time_spec.rb
663
- - spec/api/source/upload_file_spec.rb
664
- - spec/api/user/create_user_spec.rb
645
+ - spec/api/application/rhoconnect_api_spec.rb
665
646
  - spec/api/user/delete_user_spec.rb
647
+ - spec/api/user/create_user_spec.rb
666
648
  - spec/api/user/list_users_spec.rb
667
649
  - spec/api/user/update_user_spec.rb
650
+ - spec/api/source/set_db_doc_spec.rb
651
+ - spec/api/source/set_refresh_time_spec.rb
652
+ - spec/api/source/upload_file_spec.rb
653
+ - spec/api/source/list_sources_spec.rb
654
+ - spec/api/source/push_objects_spec.rb
655
+ - spec/api/source/adapter_spec.rb
656
+ - spec/api/source/list_source_docs_spec.rb
657
+ - spec/api/source/push_deletes_spec.rb
658
+ - spec/api/source/get_db_doc_spec.rb
659
+ - spec/api/source/get_source_params_spec.rb
660
+ - spec/api/admin/get_license_info_spec.rb
661
+ - spec/api/admin/reset_spec.rb
662
+ - spec/api/admin/api_token_spec.rb
663
+ - spec/api/admin/get_api_token_spec.rb
664
+ - spec/api/admin/stats_spec.rb
665
+ - spec/api/api_helper.rb
666
+ - spec/bulk_data/bulk_data_spec.rb
668
667
  - spec/api_token_spec.rb
669
668
  - spec/app_spec.rb
670
- - spec/apps/emptyapp/application.rb
671
- - spec/apps/emptyapp/settings/license.key
672
- - spec/apps/emptyapp/settings/settings.yml
669
+ - spec/source_spec.rb
670
+ - spec/jobs/source_job_spec.rb
671
+ - spec/jobs/ping_job_spec.rb
672
+ - spec/jobs/bulk_data_job_spec.rb
673
+ - spec/store_spec.rb
674
+ - spec/ping/blackberry_spec.rb
675
+ - spec/ping/apple_spec.rb
676
+ - spec/ping/android_spec.rb
677
+ - spec/rhoconnect_spec.rb
678
+ - spec/perf/perf_spec_helper.rb
679
+ - spec/perf/bulk_data_perf_spec.rb
680
+ - spec/perf/store_perf_spec.rb
681
+ - spec/factories/factories.rb
682
+ - spec/document_spec.rb
683
+ - spec/doc/header.html
684
+ - spec/doc/footer.html
685
+ - spec/doc/base.html
686
+ - spec/doc/doc_spec.rb
687
+ - spec/test_methods_spec.rb
673
688
  - spec/apps/rhotestapp/application.rb
674
- - spec/apps/rhotestapp/config.ru
675
- - spec/apps/rhotestapp/Rakefile
676
- - spec/apps/rhotestapp/settings/apple_fake_cert.pem
677
- - spec/apps/rhotestapp/settings/license.key
678
- - spec/apps/rhotestapp/settings/settings.yml
689
+ - spec/apps/rhotestapp/sources/sub_adapter.rb
679
690
  - spec/apps/rhotestapp/sources/base_adapter.rb
691
+ - spec/apps/rhotestapp/sources/sample_adapter.rb
680
692
  - spec/apps/rhotestapp/sources/fixed_schema_adapter.rb
681
693
  - spec/apps/rhotestapp/sources/other_adapter.rb
682
- - spec/apps/rhotestapp/sources/sample_adapter.rb
683
694
  - spec/apps/rhotestapp/sources/simple_adapter.rb
684
- - spec/apps/rhotestapp/sources/sub_adapter.rb
685
- - spec/apps/rhotestapp/vendor/mygem-0.1.0/lib/mygem/mygem.rb
695
+ - spec/apps/rhotestapp/settings/apple_fake_cert.pem
696
+ - spec/apps/rhotestapp/settings/license.key
697
+ - spec/apps/rhotestapp/settings/settings.yml
686
698
  - spec/apps/rhotestapp/vendor/mygem-0.1.0/lib/mygem.rb
687
- - spec/bulk_data/bulk_data_spec.rb
688
- - spec/client_spec.rb
689
- - spec/client_sync_spec.rb
690
- - spec/doc/base.html
691
- - spec/doc/doc_spec.rb
692
- - spec/doc/footer.html
693
- - spec/doc/header.html
694
- - spec/document_spec.rb
695
- - spec/dynamic_adapter_spec.rb
696
- - spec/factories/factories.rb
697
- - spec/generator/generator_spec.rb
698
- - spec/generator/generator_spec_helper.rb
699
- - spec/jobs/bulk_data_job_spec.rb
700
- - spec/jobs/ping_job_spec.rb
701
- - spec/jobs/source_job_spec.rb
702
- - spec/license_spec.rb
703
- - spec/model_spec.rb
704
- - spec/perf/bulk_data_perf_spec.rb
705
- - spec/perf/perf_spec_helper.rb
706
- - spec/perf/store_perf_spec.rb
707
- - spec/ping/android_spec.rb
708
- - spec/ping/apple_spec.rb
709
- - spec/ping/blackberry_spec.rb
710
- - spec/read_state_spec.rb
711
- - spec/rhoconnect_spec.rb
712
- - spec/server/cors_spec.rb
713
- - spec/server/server_spec.rb
714
- - spec/server/x_domain_session_wrapper_spec.rb
715
- - spec/source_adapter_spec.rb
716
- - spec/source_spec.rb
717
- - spec/source_sync_spec.rb
718
- - spec/spec.opts
719
- - spec/spec_helper.rb
720
- - spec/stats/middleware_spec.rb
721
- - spec/stats/record_spec.rb
722
- - spec/store_spec.rb
723
- - spec/support/shared_examples.rb
699
+ - spec/apps/rhotestapp/vendor/mygem-0.1.0/lib/mygem/mygem.rb
700
+ - spec/apps/rhotestapp/config.ru
701
+ - spec/apps/rhotestapp/Rakefile
702
+ - spec/apps/emptyapp/application.rb
703
+ - spec/apps/emptyapp/settings/license.key
704
+ - spec/apps/emptyapp/settings/settings.yml
724
705
  - spec/sync_states_spec.rb
725
- - spec/test_methods_spec.rb
726
- - spec/testdata/1000-data.txt
706
+ - spec/client_spec.rb
727
707
  - spec/testdata/compressed/compress-data.txt
728
708
  - spec/testdata/upload1.txt
729
709
  - spec/testdata/upload2.txt
730
- - spec/user_spec.rb
710
+ - spec/testdata/1000-data.txt
711
+ - spec/client_sync_spec.rb
712
+ - spec/source_sync_spec.rb
713
+ - spec/model_spec.rb
714
+ - spec/generator/generator_spec_helper.rb
715
+ - spec/generator/generator_spec.rb