rhoconnect 4.0.4 → 5.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (151) hide show
  1. checksums.yaml +5 -13
  2. data/CHANGELOG.md +54 -5
  3. data/CREDITS +219 -219
  4. data/Gemfile +2 -2
  5. data/Gemfile.lock +68 -79
  6. data/Rakefile +1 -2
  7. data/bench/benchapp/spec/models/ruby/mock_adapter_spec.rb +17 -17
  8. data/bench/benchapp/spec/models/ruby/queue_mock_adapter_spec.rb +17 -17
  9. data/bench/benchapp/spec/spec_helper.rb +3 -3
  10. data/bench/blobapp/spec/models/ruby/blob_adapter_spec.rb +17 -17
  11. data/bench/blobapp/spec/spec_helper.rb +3 -3
  12. data/bench/lib/bench/runner.rb +1 -69
  13. data/bench/lib/bench.rb +18 -18
  14. data/bench/spec/mock_adapter_spec.rb +54 -55
  15. data/bench/spec/mock_client_spec.rb +47 -48
  16. data/bench/spec/result_spec.rb +41 -44
  17. data/bench/spec/utils_spec.rb +24 -25
  18. data/commands/generators/app.rb +7 -5
  19. data/commands/generators/controller.rb +7 -5
  20. data/commands/generators/model.rb +7 -5
  21. data/commands/generators/source.rb +7 -5
  22. data/commands/parser.rb +1 -1
  23. data/commands/redis/redis_download.rb +1 -1
  24. data/doc/async-jobs.txt +9 -9
  25. data/doc/supported-platforms.txt +0 -2
  26. data/generators/rhoconnect.rb +92 -212
  27. data/generators/templates/application/rcgemfile +3 -3
  28. data/generators/templates/application/spec/application_controller_spec.rb +14 -16
  29. data/generators/templates/application/spec/js_spec.rb +20 -20
  30. data/generators/templates/application/spec/spec_helper.rb +1 -1
  31. data/generators/templates/source/controllers/ruby/controller_spec.rb +18 -19
  32. data/generators/templates/source/models/ruby/model_spec.rb +17 -17
  33. data/install.sh +10 -21
  34. data/installer/unix-like/rho_connect_install_constants.rb +5 -5
  35. data/installer/unix-like/rho_connect_install_installers.rb +4 -4
  36. data/installer/utils/constants.rb +6 -6
  37. data/installer/utils/nix_install_test.rb +29 -29
  38. data/installer/utils/package_upload/repos.rake +16 -26
  39. data/js-adapters/node.rb +4 -4
  40. data/js-adapters/node_channel.rb +4 -8
  41. data/lib/rhoconnect/db_adapter.rb +13 -13
  42. data/lib/rhoconnect/handler/changes/engine.rb +1 -1
  43. data/lib/rhoconnect/jobs/bulk_data_job.rb +29 -29
  44. data/lib/rhoconnect/license.rb +7 -7
  45. data/lib/rhoconnect/model/helpers/find_duplicates_on_update.rb +13 -13
  46. data/lib/rhoconnect/ping/apple.rb +4 -4
  47. data/lib/rhoconnect/server.rb +2 -2
  48. data/lib/rhoconnect/source.rb +2 -2
  49. data/lib/rhoconnect/store.rb +12 -6
  50. data/lib/rhoconnect/utilities.rb +2 -2
  51. data/lib/rhoconnect/version.rb +1 -1
  52. data/lib/rhoconnect.rb +6 -4
  53. data/rhoconnect.gemspec +5 -6
  54. data/spec/api/api_helper.rb +1 -1
  55. data/spec/api/app/fast_delete_spec.rb +22 -22
  56. data/spec/api/app/fast_insert_spec.rb +23 -23
  57. data/spec/api/app/fast_update_spec.rb +63 -63
  58. data/spec/api/app/push_deletes_spec.rb +11 -13
  59. data/spec/api/app/push_objects_spec.rb +39 -39
  60. data/spec/api/client/client_get_db_doc_spec.rb +29 -29
  61. data/spec/api/client/client_set_db_doc_spec.rb +11 -11
  62. data/spec/api/client/get_client_params_spec.rb +29 -29
  63. data/spec/api/client/list_client_docs_spec.rb +32 -34
  64. data/spec/api/client/reset_spec.rb +30 -30
  65. data/spec/api/readstate/set_refresh_time_spec.rb +43 -43
  66. data/spec/api/source/get_source_params_spec.rb +32 -34
  67. data/spec/api/source/list_sources_spec.rb +13 -13
  68. data/spec/api/source/update_source_params_spec.rb +19 -19
  69. data/spec/api/store/get_db_doc_spec.rb +27 -27
  70. data/spec/api/store/set_db_doc_spec.rb +38 -38
  71. data/spec/api/system/adapter_spec.rb +27 -29
  72. data/spec/api/system/get_license_info_spec.rb +11 -11
  73. data/spec/api/system/login_spec.rb +37 -37
  74. data/spec/api/system/reset_spec.rb +15 -15
  75. data/spec/api/system/stats_spec.rb +70 -71
  76. data/spec/api/user/create_user_spec.rb +37 -37
  77. data/spec/api/user/delete_client_spec.rb +7 -7
  78. data/spec/api/user/delete_user_spec.rb +62 -62
  79. data/spec/api/user/list_clients_spec.rb +24 -24
  80. data/spec/api/user/list_source_docs_spec.rb +29 -29
  81. data/spec/api/user/list_users_spec.rb +22 -22
  82. data/spec/api/user/ping_spec.rb +18 -18
  83. data/spec/api/user/show_user_spec.rb +10 -10
  84. data/spec/api/user/update_user_spec.rb +43 -43
  85. data/spec/api/user/user_get_db_doc_spec.rb +12 -12
  86. data/spec/api/user/user_set_db_doc_spec.rb +37 -37
  87. data/spec/api_token_spec.rb +8 -8
  88. data/spec/app_spec.rb +18 -17
  89. data/spec/apps/jstestapp/settings/settings.yml +2 -0
  90. data/spec/async_spec.rb +9 -11
  91. data/spec/bulk_data/bulk_data_spec.rb +120 -120
  92. data/spec/cli/cli_spec.rb +50 -53
  93. data/spec/client_spec.rb +105 -105
  94. data/spec/client_sync_spec.rb +529 -528
  95. data/spec/controllers/js_base_spec.rb +147 -141
  96. data/spec/doc/doc_spec.rb +51 -52
  97. data/spec/document_spec.rb +58 -58
  98. data/spec/dynamic_adapter_spec.rb +33 -36
  99. data/spec/generator/generator_spec.rb +76 -42
  100. data/spec/jobs/bulk_data_job_spec.rb +101 -102
  101. data/spec/jobs/ping_job_spec.rb +176 -177
  102. data/spec/jobs/source_job_spec.rb +24 -25
  103. data/spec/license_spec.rb +54 -55
  104. data/spec/models/js_base_spec.rb +121 -120
  105. data/spec/perf/bulk_data_perf_spec.rb +23 -24
  106. data/spec/perf/perf_spec_helper.rb +7 -7
  107. data/spec/perf/store_perf_spec.rb +139 -140
  108. data/spec/ping/apple_spec.rb +65 -65
  109. data/spec/ping/gcm_spec.rb +83 -84
  110. data/spec/ping/rhoconnect_push_spec.rb +52 -53
  111. data/spec/predefined_adapters/rho_internal_bench_adapter_controller_js_spec.rb +100 -101
  112. data/spec/predefined_adapters/rho_internal_js_bench_adapter_js_spec.rb +29 -31
  113. data/spec/read_state_spec.rb +24 -25
  114. data/spec/rhoconnect_spec.rb +7 -7
  115. data/spec/server/server_spec.rb +664 -662
  116. data/spec/server/stats_spec.rb +12 -12
  117. data/spec/source_adapter_spec.rb +124 -125
  118. data/spec/source_spec.rb +148 -149
  119. data/spec/source_sync_spec.rb +736 -736
  120. data/spec/spec_helper.rb +4 -5
  121. data/spec/stats/record_spec.rb +22 -21
  122. data/spec/store_orm_spec.rb +48 -48
  123. data/spec/store_spec.rb +428 -426
  124. data/spec/support/shared_examples.rb +5 -7
  125. data/spec/sync_states_spec.rb +67 -67
  126. data/spec/test_methods_spec.rb +121 -123
  127. data/spec/testdata/10000-data.txt +0 -0
  128. data/spec/testdata/5000-data.txt +0 -0
  129. data/spec/user_spec.rb +102 -102
  130. data/tasks/redis.rake +3 -3
  131. metadata +154 -195
  132. data/bench/benchapp/tmp/pids/passenger.9292.pid.lock +0 -0
  133. data/bench/benchapp/tmp/restart.txt +0 -0
  134. data/bench/blobapp/settings/license.key.bak +0 -2
  135. data/bench/blobapp/tmp/restart.txt +0 -0
  136. data/bench/lib/testdata/1-data.txt +0 -0
  137. data/bench/lib/testdata/10-data.txt +0 -0
  138. data/bench/lib/testdata/2-data.txt +0 -0
  139. data/bench/lib/testdata/250-data.txt +0 -0
  140. data/bench/lib/testdata/5-blob_data.txt +0 -0
  141. data/bench/lib/testdata/5-data.txt +0 -0
  142. data/bench/lib/testdata/50-data.txt +0 -0
  143. data/bench/lib/testdata/500-data.txt +0 -0
  144. data/doc/protocol.html +0 -1993
  145. data/spec/coverage/rcov/assets/0.2.3/jquery-1.3.2.min.js +0 -19
  146. data/spec/coverage/rcov/assets/0.2.3/jquery.tablesorter.min.js +0 -15
  147. data/spec/coverage/rcov/assets/0.2.3/print.css +0 -12
  148. data/spec/coverage/rcov/assets/0.2.3/rcov.js +0 -42
  149. data/spec/coverage/rcov/assets/0.2.3/screen.css +0 -270
  150. data/spec/coverage/rcov/index.html +0 -88
  151. data/spec/generator/generator_spec_helper.rb +0 -9
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- MDBhM2NiYzg5N2I5NzRmNjg1ODk3ZjM4MDI5ZmFmN2IyOTJiOWZjNQ==
5
- data.tar.gz: !binary |-
6
- YTRlNDA1ZmIzZDQ3OTZkMWQ5MmQyOTlmNDdhYjM0NThhNDgzY2U1NA==
2
+ SHA1:
3
+ metadata.gz: 042fad5d4b373983509814a7aae26c61d08aa84c
4
+ data.tar.gz: d024bc8837e52c6a07867af00b0d5ac02fb832d6
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- ZDhkMjVlMjI0NDk3N2I4YzY5M2ExMzA0MmNjMzNkZTU0NGIyMmU2YzVkYWM3
10
- YjdlZDIwMmFiZjM2OTU4MDc0ZjIzNGExYjdkN2MxMmE1ZDhhMDY4OTYwOTAx
11
- OWExZGZkY2NkM2QwODFmYTgxYWY5NGUyMWU4NzZiMjIzY2U5N2U=
12
- data.tar.gz: !binary |-
13
- ZWVkODNmMTVlYTc2ODhjM2JmN2JkNzVkY2ZjMDAyMzdjZjg3OTE2M2Q2OTk2
14
- NzY3OTZjODQ2Njk3N2QxY2Y5OWJlMDMxODczYjRlYWJhYTU4NDgyMDU0NTEz
15
- MzM2NDFhNjdhY2Y0NWVjZmNmNjdjNDA0ZDAwNDcyOTliZWM2ZjY=
6
+ metadata.gz: 395b7272162ec66a86a580214d44dedacb4c6793a9e885f14125e390adb7b12c4b63d6dca67aece742ab3ed917cd2438cf1c17bb9b45d23fbcad9ede6797da2c
7
+ data.tar.gz: e71d883418f583d9ea936678a5ec985910d341bc901e7261dd8809aa67c3f2d66a66c592d7e7f85c8e7f88f125f6fe3fc7a1f5c9c9623f6bff12f26a2ce55c3c
data/CHANGELOG.md CHANGED
@@ -1,15 +1,64 @@
1
- ## 4.0.4 (2014-03-26)
1
+ ## 5.1.1 (2015-03-13)
2
+ * Update production stack to ruby-2.2.1.
3
+
4
+ ## 5.1.0 (2015-02-9)
5
+ * Final v5.1.0 stable release
6
+ * Updated eventmachine gem to latest version 1.0.5. See https://github.com/eventmachine/eventmachine/issues/457
7
+
8
+ ## 5.1.0.beta.2 - 4.1.0.beta.3 (skipped for RMS version parity)
9
+
10
+ ## 5.1.0.beta.1 (2014-12-29)
11
+ * Update production stack to ruby-2.2.0.
12
+
13
+ ## 5.0.25 (2014-12-16)
14
+ * Final v5.0.25 stable release based on beta.25
15
+ * 80477192 - Make node_channel TIMEOUT configurable
16
+
17
+ ## 5.0.beta.25 (2014-12-5)
18
+ * Update production stack to ruby-2.1.5, node v0.10.33, redis-2.8.17, and nginx-1.6.2.
19
+
20
+ ## 5.0.0 (2014-07-03)
21
+ * Final v5.0.0 stable release
22
+
23
+ ## 4.2.0.beta.1 (not available yet)
24
+ * Update production stack to ruby-2.1.2, support Ubuntu 14.04 LTS
25
+ * Update build tools to use Amazon Ubuntu 14.04 image
26
+ * [EMBPD00128816] Fix iOS push to allow non-String passphrases
27
+ * Upgrade Amazon Cent OS build images to latest stable versions (5.10 and 6.5)
28
+
29
+ ## 4.1.1 (2014-03-26)
2
30
  * 68317450 - 'query' SourceJob infinite loop
3
31
 
4
- ## 4.0.3 (2014-03-07)
5
- * Fixing redis connection string for windows (backport from master)
6
- * #66902274: CUD operations alter user between login-cud-logoff sequence
32
+ ## 4.1.0 (2014-03-11)
33
+ * Fix for login/create different user issue
7
34
 
8
- ## 4.0.2 (2013-12-06)
35
+ ## 4.1.0.beta.32 (2014-03-06)
36
+ * Update production stack to ruby-2.1.1, redis-2.8.7, node v0.10.26, and nginx-1.4.6.
37
+
38
+ ## 4.1.0.beta.26 - 4.1.0.beta.31 (skipped for RMS version parity)
39
+
40
+ ## 4.1.0.beta.25 (2014-02-20)
41
+ * Fixing redis connection string for windows
42
+
43
+ ## 4.1.0.beta.21 - 4.1.0.beta.24 (skipped for RMS version parity)
44
+
45
+ ## 4.1.beta.20 (2014-02-10)
46
+ * Fixed broken 'rake spec:server' task
47
+ * Ruby 2.1.0 support
48
+ * Fixed `rhoconnect set-admin-password` results in Could not find command (#65307462)
49
+
50
+ ## 4.1.0.beta.9 - 4.1.0.beta.19 (skipped for RMS version parity)
51
+
52
+ ## 4.1.0.beta.8 (2013-12-10)
53
+ * rspec upgrade to latest version
54
+ * obsolete gem 'templater' is removed and all generator commands implemented on 'thor' API
55
+ * ruby 2.0 support
9
56
  * Fixed npm installation failure in rhoconnect generator for js apps with JRuby
10
57
  * Per-source settings for JS adapters (#60477032)
11
58
  * Update production stack to ruby-1.9.3-p484, redis-2.6.16, node v0.10.22, and nginx-1.4.4.
12
59
 
60
+ ## 4.1.0.beta.1 - 4.1.0.beta.7 (skipped for RMS version parity)
61
+
13
62
  ## 4.0.1 (2013-10-29)
14
63
  * fixed issue with loading JS Store api from controller context
15
64
  * spelling mistakes in docs