seapig-server 0.0.8 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/bin/seapig-server +582 -189
  3. data/lib/seapig/version.rb +1 -1
  4. metadata +71 -123
  5. data/test/dummy/README.rdoc +0 -28
  6. data/test/dummy/Rakefile +0 -6
  7. data/test/dummy/app/assets/javascripts/application.js +0 -15
  8. data/test/dummy/app/assets/javascripts/json-patch.js +0 -392
  9. data/test/dummy/app/assets/stylesheets/application.css +0 -15
  10. data/test/dummy/app/controllers/application_controller.rb +0 -9
  11. data/test/dummy/app/helpers/application_helper.rb +0 -2
  12. data/test/dummy/app/views/application/index.html.slim +0 -10
  13. data/test/dummy/app/views/layouts/application.html.erb +0 -14
  14. data/test/dummy/bin/bundle +0 -3
  15. data/test/dummy/bin/rails +0 -4
  16. data/test/dummy/bin/rake +0 -4
  17. data/test/dummy/bin/setup +0 -29
  18. data/test/dummy/config.ru +0 -4
  19. data/test/dummy/config/application.rb +0 -26
  20. data/test/dummy/config/boot.rb +0 -5
  21. data/test/dummy/config/database.yml +0 -85
  22. data/test/dummy/config/environment.rb +0 -5
  23. data/test/dummy/config/environments/development.rb +0 -41
  24. data/test/dummy/config/environments/production.rb +0 -79
  25. data/test/dummy/config/environments/test.rb +0 -42
  26. data/test/dummy/config/initializers/assets.rb +0 -11
  27. data/test/dummy/config/initializers/backtrace_silencers.rb +0 -7
  28. data/test/dummy/config/initializers/cookies_serializer.rb +0 -3
  29. data/test/dummy/config/initializers/filter_parameter_logging.rb +0 -4
  30. data/test/dummy/config/initializers/inflections.rb +0 -16
  31. data/test/dummy/config/initializers/mime_types.rb +0 -4
  32. data/test/dummy/config/initializers/session_store.rb +0 -3
  33. data/test/dummy/config/initializers/wrap_parameters.rb +0 -14
  34. data/test/dummy/config/locales/en.yml +0 -23
  35. data/test/dummy/config/routes.rb +0 -56
  36. data/test/dummy/config/secrets.yml +0 -22
  37. data/test/dummy/lib/seapigs/random.rb +0 -14
  38. data/test/dummy/public/404.html +0 -67
  39. data/test/dummy/public/422.html +0 -67
  40. data/test/dummy/public/500.html +0 -66
  41. data/test/dummy/public/favicon.ico +0 -0
  42. data/test/integration/navigation_test.rb +0 -8
  43. data/test/seapig_test.rb +0 -7
  44. data/test/test_helper.rb +0 -20
@@ -1,3 +1,3 @@
1
1
  module Seapig
2
- VERSION = "0.0.8"
2
+ VERSION = "0.1.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: seapig-server
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - yunta
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-13 00:00:00.000000000 Z
11
+ date: 2016-09-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: websocket-eventmachine-server
@@ -25,7 +25,21 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
- name: jsondiff
28
+ name: narray
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: json-diff
29
43
  requirement: !ruby/object:Gem::Requirement
30
44
  requirements:
31
45
  - - ">="
@@ -52,6 +66,20 @@ dependencies:
52
66
  - - ">="
53
67
  - !ruby/object:Gem::Version
54
68
  version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: oj
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
55
83
  description: meh
56
84
  email:
57
85
  - maciej.blomberg@mikoton.com
@@ -66,44 +94,7 @@ files:
66
94
  - bin/seapig-server
67
95
  - lib/seapig-server.rb
68
96
  - lib/seapig/version.rb
69
- - test/dummy/README.rdoc
70
- - test/dummy/Rakefile
71
- - test/dummy/app/assets/javascripts/application.js
72
- - test/dummy/app/assets/javascripts/json-patch.js
73
- - test/dummy/app/assets/stylesheets/application.css
74
- - test/dummy/app/controllers/application_controller.rb
75
- - test/dummy/app/helpers/application_helper.rb
76
- - test/dummy/app/views/application/index.html.slim
77
- - test/dummy/app/views/layouts/application.html.erb
78
- - test/dummy/bin/bundle
79
- - test/dummy/bin/rails
80
- - test/dummy/bin/rake
81
- - test/dummy/bin/setup
82
- - test/dummy/config.ru
83
- - test/dummy/config/application.rb
84
- - test/dummy/config/boot.rb
85
- - test/dummy/config/database.yml
86
- - test/dummy/config/environment.rb
87
- - test/dummy/config/environments/development.rb
88
- - test/dummy/config/environments/production.rb
89
- - test/dummy/config/environments/test.rb
90
- - test/dummy/config/initializers/assets.rb
91
- - test/dummy/config/initializers/backtrace_silencers.rb
92
- - test/dummy/config/initializers/cookies_serializer.rb
93
- - test/dummy/config/initializers/filter_parameter_logging.rb
94
- - test/dummy/config/initializers/inflections.rb
95
- - test/dummy/config/initializers/mime_types.rb
96
- - test/dummy/config/initializers/session_store.rb
97
- - test/dummy/config/initializers/wrap_parameters.rb
98
- - test/dummy/config/locales/en.yml
99
- - test/dummy/config/routes.rb
100
- - test/dummy/config/secrets.yml
101
- - test/dummy/lib/seapigs/random.rb
102
97
  - test/dummy/log/development.log
103
- - test/dummy/public/404.html
104
- - test/dummy/public/422.html
105
- - test/dummy/public/500.html
106
- - test/dummy/public/favicon.ico
107
98
  - test/dummy/tmp/cache/assets/development/sprockets/v3.0/-o-ZYYvENmbyGnbDFt6qAW7obI2QzsO9rM9EA7XlUHg.cache
108
99
  - test/dummy/tmp/cache/assets/development/sprockets/v3.0/1PVg-zJVu7--eXgp92_OEGf9YMjumXrwhnEbNQdV4h8.cache
109
100
  - test/dummy/tmp/cache/assets/development/sprockets/v3.0/2R9FCEwuVplMI7I5GoTBtw2Er_ap6H5s2otDK-m5XCk.cache
@@ -154,9 +145,6 @@ files:
154
145
  - test/dummy/tmp/cache/assets/development/sprockets/v3.0/z9KVC85iQuroh2hLYTGZhgZHDlh7183qTlfed3Uhtnw.cache
155
146
  - test/dummy/tmp/cache/assets/development/sprockets/v3.0/znvRewDLwMSRAUjlQozzMBQ_IGWvw9fVVOh9aeaXxTA.cache
156
147
  - test/dummy/tmp/cache/assets/development/sprockets/v3.0/zxZcbwt4p6Q1Z7yZfuWYKTXjetmNZI8MgkKazd4PjoA.cache
157
- - test/integration/navigation_test.rb
158
- - test/seapig_test.rb
159
- - test/test_helper.rb
160
148
  homepage: https://github.com/yunta-mb/seapig-server
161
149
  licenses:
162
150
  - MIT
@@ -177,99 +165,59 @@ required_rubygems_version: !ruby/object:Gem::Requirement
177
165
  version: '0'
178
166
  requirements: []
179
167
  rubyforge_project:
180
- rubygems_version: 2.4.8
168
+ rubygems_version: 2.5.1
181
169
  signing_key:
182
170
  specification_version: 4
183
171
  summary: Transient object synchronization lib - server
184
172
  test_files:
185
- - test/integration/navigation_test.rb
186
- - test/dummy/config.ru
187
- - test/dummy/lib/seapigs/random.rb
188
- - test/dummy/app/assets/javascripts/json-patch.js
189
- - test/dummy/app/assets/javascripts/application.js
190
- - test/dummy/app/assets/stylesheets/application.css
191
- - test/dummy/app/helpers/application_helper.rb
192
- - test/dummy/app/controllers/application_controller.rb
193
- - test/dummy/app/views/layouts/application.html.erb
194
- - test/dummy/app/views/application/index.html.slim
195
- - test/dummy/README.rdoc
196
- - test/dummy/tmp/cache/assets/development/sprockets/v3.0/j4VcbkSejSElTiJk3ehlEcJE9HRTG7T14-wVhUDocaA.cache
173
+ - test/dummy/log/development.log
197
174
  - test/dummy/tmp/cache/assets/development/sprockets/v3.0/9Kel6H2jL5qJlsGHIcYRbxGaV-rMj_teA3CD1eaUVmk.cache
198
- - test/dummy/tmp/cache/assets/development/sprockets/v3.0/sX4-Kn9knBu7plHg7gUT-ryVktGvmZfacNm1cUysjWs.cache
199
- - test/dummy/tmp/cache/assets/development/sprockets/v3.0/9T1WawqT-S8RLLgLI4J-o5mcGyy-wwU2mYMBwTuTl4o.cache
200
- - test/dummy/tmp/cache/assets/development/sprockets/v3.0/_mxi_K1gl7n32DYq8bFfbWrIRQrU3QQiuukc63_UBb4.cache
201
- - test/dummy/tmp/cache/assets/development/sprockets/v3.0/beCZt_nFEyk5iX6v4bgC3qrdFMgSM0IgrwxaBTFEFA0.cache
202
- - test/dummy/tmp/cache/assets/development/sprockets/v3.0/Lgka3bEq-I8Y6xz-LVIYNVeNIWkmW1NKDnOHOkYcxtE.cache
203
- - test/dummy/tmp/cache/assets/development/sprockets/v3.0/98GLSy3KoIvHccw_zbxLg3FpmPEUKmGUr5oL7YZmvOU.cache
204
175
  - test/dummy/tmp/cache/assets/development/sprockets/v3.0/BXgyeZH3I-u535wy4F0jP3wmfV8m8WIWtXqHJKdBC2Q.cache
205
- - test/dummy/tmp/cache/assets/development/sprockets/v3.0/X5QxTUYFP4VOH_7p2Qh34msJtFA6fOnJ0mM7Zip7dRU.cache
206
- - test/dummy/tmp/cache/assets/development/sprockets/v3.0/66l7LMqenzmlIoboeeCMFEZ6J_6zFdXmqNs-gu79P94.cache
207
- - test/dummy/tmp/cache/assets/development/sprockets/v3.0/h2XCtwcdt21JcAtjhfoOuIjifaMeMaYwPcFGnmNc2ng.cache
176
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/PgVoTat4a0VNolKPJS5RtDX7XcbAGbsqhquIWgWBBWE.cache
177
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/9T1WawqT-S8RLLgLI4J-o5mcGyy-wwU2mYMBwTuTl4o.cache
178
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/vn6FA8BrDkisPSH4VFlc7tgmkzpx1DsOtDp5C3cdaRU.cache
179
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/3eEw6ayC9zVKEVm7sgtqdiFFsi-0w4VyeWxR-hk72xg.cache
180
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/sX4-Kn9knBu7plHg7gUT-ryVktGvmZfacNm1cUysjWs.cache
181
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/ETKdv5blZ86XWjAQcmxAQq2wK6RT9QvGqd7uV7DK1Iw.cache
208
182
  - test/dummy/tmp/cache/assets/development/sprockets/v3.0/VqL7bJxBiq13xYePLO71Spa6RfD5dFCeRRLGYb5jEqw.cache
209
- - test/dummy/tmp/cache/assets/development/sprockets/v3.0/KS-8mb2c29Zj9YWoyTAojF-sqg-aKMYQr6FkxGuoBWQ.cache
183
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/hZi1k6tpxxCGYxRe7zY74ItcOI8gZrREOpGuA8JSpGg.cache
184
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/z9KVC85iQuroh2hLYTGZhgZHDlh7183qTlfed3Uhtnw.cache
185
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/j3q-1jQzykD1sMeX9INl7jygCKtC0XJ8JkWkFQkL6qg.cache
186
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/X5QxTUYFP4VOH_7p2Qh34msJtFA6fOnJ0mM7Zip7dRU.cache
210
187
  - test/dummy/tmp/cache/assets/development/sprockets/v3.0/-o-ZYYvENmbyGnbDFt6qAW7obI2QzsO9rM9EA7XlUHg.cache
211
- - test/dummy/tmp/cache/assets/development/sprockets/v3.0/Tq5PhgpHymowY-e-a3airP7Q2OwxNuNC0792hdlAJRc.cache
212
- - test/dummy/tmp/cache/assets/development/sprockets/v3.0/bkclf1HVUxdntd8cKLvWGX5Pq-E12kwCwakqLo8RoN4.cache
213
- - test/dummy/tmp/cache/assets/development/sprockets/v3.0/zxZcbwt4p6Q1Z7yZfuWYKTXjetmNZI8MgkKazd4PjoA.cache
188
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/KS-8mb2c29Zj9YWoyTAojF-sqg-aKMYQr6FkxGuoBWQ.cache
189
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/umxcUEQeoCOqF0ZwXlNqJEOyT_vhMK8iGO4--jduIDU.cache
190
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/66l7LMqenzmlIoboeeCMFEZ6J_6zFdXmqNs-gu79P94.cache
191
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/VegRto_fFjOSBWQRgNRnnOiV3yByrpUI9b5IEhRvrDI.cache
214
192
  - test/dummy/tmp/cache/assets/development/sprockets/v3.0/_2P0GKBCbJ61e8RdTBx4rJr8TsUYKFJYd7N0ZhA7o6k.cache
215
193
  - test/dummy/tmp/cache/assets/development/sprockets/v3.0/6vXjezhMg67rV3BDCPOxLeOVbgCHn0aDwBXCA-N7_To.cache
216
- - test/dummy/tmp/cache/assets/development/sprockets/v3.0/jU_8gMY9eZiN785s1lakKFjnK5ox1EA-Na1fKxuYcjs.cache
217
- - test/dummy/tmp/cache/assets/development/sprockets/v3.0/a1-5JrPXbtVr0ytoeAR0GzDsG_rlYUHm_sKEC1VHrrM.cache
218
- - test/dummy/tmp/cache/assets/development/sprockets/v3.0/urzLHu3R3qKeFqygSDL0NVDcyw8BFEA6i9jFeweVZQ4.cache
219
- - test/dummy/tmp/cache/assets/development/sprockets/v3.0/aShHx921rUO4rZzH4135LWkt4TSWfqhpQMN8JsV2OqE.cache
194
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/csrXH9BNqM8JCRjroMFCt2hluEvIvM0neY_ZQySl58A.cache
195
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/vCljKmhe1Sy9j9TDIB9DrQRa8dYlkPg8nyvsZfqfCmw.cache
196
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/fsxRcZUqoELh6-D0RWowwDKHYmUkGzh5HMFuwMMWk1g.cache
220
197
  - test/dummy/tmp/cache/assets/development/sprockets/v3.0/wtuO4JuGsyO8emVQL7t1bm1fvl6YzGfBHc3tJJ49uvs.cache
198
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/zxZcbwt4p6Q1Z7yZfuWYKTXjetmNZI8MgkKazd4PjoA.cache
199
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/a1-5JrPXbtVr0ytoeAR0GzDsG_rlYUHm_sKEC1VHrrM.cache
200
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache
201
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/Lgka3bEq-I8Y6xz-LVIYNVeNIWkmW1NKDnOHOkYcxtE.cache
202
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/h2XCtwcdt21JcAtjhfoOuIjifaMeMaYwPcFGnmNc2ng.cache
203
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/BsW5E247kS632hUZ5-NHcjkfprM3AwsB8dksndomUAY.cache
204
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/b9Ac87wpHRTGZL-mBacNdb343KQ1426WdjSu03OVlz8.cache
205
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/beCZt_nFEyk5iX6v4bgC3qrdFMgSM0IgrwxaBTFEFA0.cache
221
206
  - test/dummy/tmp/cache/assets/development/sprockets/v3.0/HCc1doOYzZaBpAX7ozNMpo1ErZFli_aaKFQ73oRipH0.cache
222
- - test/dummy/tmp/cache/assets/development/sprockets/v3.0/Duqe6Cf2ThStcjIWL29RZnPilo1v6Vi7p86VOEBKqCs.cache
223
- - test/dummy/tmp/cache/assets/development/sprockets/v3.0/j3q-1jQzykD1sMeX9INl7jygCKtC0XJ8JkWkFQkL6qg.cache
224
- - test/dummy/tmp/cache/assets/development/sprockets/v3.0/fsxRcZUqoELh6-D0RWowwDKHYmUkGzh5HMFuwMMWk1g.cache
225
- - test/dummy/tmp/cache/assets/development/sprockets/v3.0/3eEw6ayC9zVKEVm7sgtqdiFFsi-0w4VyeWxR-hk72xg.cache
207
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/98GLSy3KoIvHccw_zbxLg3FpmPEUKmGUr5oL7YZmvOU.cache
208
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache
209
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/Tq5PhgpHymowY-e-a3airP7Q2OwxNuNC0792hdlAJRc.cache
210
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/urzLHu3R3qKeFqygSDL0NVDcyw8BFEA6i9jFeweVZQ4.cache
226
211
  - test/dummy/tmp/cache/assets/development/sprockets/v3.0/1PVg-zJVu7--eXgp92_OEGf9YMjumXrwhnEbNQdV4h8.cache
227
- - test/dummy/tmp/cache/assets/development/sprockets/v3.0/PgVoTat4a0VNolKPJS5RtDX7XcbAGbsqhquIWgWBBWE.cache
228
- - test/dummy/tmp/cache/assets/development/sprockets/v3.0/VegRto_fFjOSBWQRgNRnnOiV3yByrpUI9b5IEhRvrDI.cache
229
- - test/dummy/tmp/cache/assets/development/sprockets/v3.0/umxcUEQeoCOqF0ZwXlNqJEOyT_vhMK8iGO4--jduIDU.cache
230
- - test/dummy/tmp/cache/assets/development/sprockets/v3.0/hZi1k6tpxxCGYxRe7zY74ItcOI8gZrREOpGuA8JSpGg.cache
231
- - test/dummy/tmp/cache/assets/development/sprockets/v3.0/vCljKmhe1Sy9j9TDIB9DrQRa8dYlkPg8nyvsZfqfCmw.cache
232
- - test/dummy/tmp/cache/assets/development/sprockets/v3.0/2R9FCEwuVplMI7I5GoTBtw2Er_ap6H5s2otDK-m5XCk.cache
233
- - test/dummy/tmp/cache/assets/development/sprockets/v3.0/q3UrpsuPTq0hMrkTWoYoYEZL4u05PdVc4L5NXKuFDgQ.cache
234
- - test/dummy/tmp/cache/assets/development/sprockets/v3.0/BsW5E247kS632hUZ5-NHcjkfprM3AwsB8dksndomUAY.cache
212
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/CW1ly2CbYhIQ3PoOCrGTUOxS8a03kI-4spp4REHx6mc.cache
235
213
  - test/dummy/tmp/cache/assets/development/sprockets/v3.0/znvRewDLwMSRAUjlQozzMBQ_IGWvw9fVVOh9aeaXxTA.cache
236
- - test/dummy/tmp/cache/assets/development/sprockets/v3.0/z9KVC85iQuroh2hLYTGZhgZHDlh7183qTlfed3Uhtnw.cache
237
- - test/dummy/tmp/cache/assets/development/sprockets/v3.0/b9Ac87wpHRTGZL-mBacNdb343KQ1426WdjSu03OVlz8.cache
214
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/q3UrpsuPTq0hMrkTWoYoYEZL4u05PdVc4L5NXKuFDgQ.cache
238
215
  - test/dummy/tmp/cache/assets/development/sprockets/v3.0/7SWrjVR_xhTD9BCS4ifXzZIDn6dp3guSJjF8v5pYDRc.cache
239
- - test/dummy/tmp/cache/assets/development/sprockets/v3.0/vn6FA8BrDkisPSH4VFlc7tgmkzpx1DsOtDp5C3cdaRU.cache
216
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/j4VcbkSejSElTiJk3ehlEcJE9HRTG7T14-wVhUDocaA.cache
217
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/2R9FCEwuVplMI7I5GoTBtw2Er_ap6H5s2otDK-m5XCk.cache
218
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/aShHx921rUO4rZzH4135LWkt4TSWfqhpQMN8JsV2OqE.cache
219
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/bkclf1HVUxdntd8cKLvWGX5Pq-E12kwCwakqLo8RoN4.cache
220
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/Duqe6Cf2ThStcjIWL29RZnPilo1v6Vi7p86VOEBKqCs.cache
221
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/jU_8gMY9eZiN785s1lakKFjnK5ox1EA-Na1fKxuYcjs.cache
222
+ - test/dummy/tmp/cache/assets/development/sprockets/v3.0/_mxi_K1gl7n32DYq8bFfbWrIRQrU3QQiuukc63_UBb4.cache
240
223
  - test/dummy/tmp/cache/assets/development/sprockets/v3.0/pEhaat2KBd5SrT7szC_8R1_6hK17FTpvoRFkmCRSD3M.cache
241
- - test/dummy/tmp/cache/assets/development/sprockets/v3.0/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache
242
- - test/dummy/tmp/cache/assets/development/sprockets/v3.0/ETKdv5blZ86XWjAQcmxAQq2wK6RT9QvGqd7uV7DK1Iw.cache
243
- - test/dummy/tmp/cache/assets/development/sprockets/v3.0/CW1ly2CbYhIQ3PoOCrGTUOxS8a03kI-4spp4REHx6mc.cache
244
- - test/dummy/tmp/cache/assets/development/sprockets/v3.0/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache
245
- - test/dummy/tmp/cache/assets/development/sprockets/v3.0/csrXH9BNqM8JCRjroMFCt2hluEvIvM0neY_ZQySl58A.cache
246
- - test/dummy/config/environments/production.rb
247
- - test/dummy/config/environments/development.rb
248
- - test/dummy/config/environments/test.rb
249
- - test/dummy/config/initializers/wrap_parameters.rb
250
- - test/dummy/config/initializers/backtrace_silencers.rb
251
- - test/dummy/config/initializers/cookies_serializer.rb
252
- - test/dummy/config/initializers/inflections.rb
253
- - test/dummy/config/initializers/filter_parameter_logging.rb
254
- - test/dummy/config/initializers/session_store.rb
255
- - test/dummy/config/initializers/assets.rb
256
- - test/dummy/config/initializers/mime_types.rb
257
- - test/dummy/config/secrets.yml
258
- - test/dummy/config/routes.rb
259
- - test/dummy/config/environment.rb
260
- - test/dummy/config/boot.rb
261
- - test/dummy/config/database.yml
262
- - test/dummy/config/application.rb
263
- - test/dummy/config/locales/en.yml
264
- - test/dummy/bin/rake
265
- - test/dummy/bin/setup
266
- - test/dummy/bin/bundle
267
- - test/dummy/bin/rails
268
- - test/dummy/Rakefile
269
- - test/dummy/log/development.log
270
- - test/dummy/public/500.html
271
- - test/dummy/public/favicon.ico
272
- - test/dummy/public/422.html
273
- - test/dummy/public/404.html
274
- - test/test_helper.rb
275
- - test/seapig_test.rb
@@ -1,28 +0,0 @@
1
- == README
2
-
3
- This README would normally document whatever steps are necessary to get the
4
- application up and running.
5
-
6
- Things you may want to cover:
7
-
8
- * Ruby version
9
-
10
- * System dependencies
11
-
12
- * Configuration
13
-
14
- * Database creation
15
-
16
- * Database initialization
17
-
18
- * How to run the test suite
19
-
20
- * Services (job queues, cache servers, search engines, etc.)
21
-
22
- * Deployment instructions
23
-
24
- * ...
25
-
26
-
27
- Please feel free to use a different markup language if you do not plan to run
28
- <tt>rake doc:app</tt>.
@@ -1,6 +0,0 @@
1
- # Add your own tasks in files placed in lib/tasks ending in .rake,
2
- # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
3
-
4
- require File.expand_path('../config/application', __FILE__)
5
-
6
- Rails.application.load_tasks
@@ -1,15 +0,0 @@
1
- // This is a manifest file that'll be compiled into application.js, which will include all the files
2
- // listed below.
3
- //
4
- // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
5
- // or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
6
- //
7
- // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
8
- // compiled file.
9
- //
10
- // Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
11
- // about supported directives.
12
- //
13
- //= require_tree .
14
- //= require seapig/seapig
15
- //= require json-patch
@@ -1,392 +0,0 @@
1
- /*!
2
- * https://github.com/Starcounter-Jack/JSON-Patch
3
- * json-patch-duplex.js version: 0.5.4
4
- * (c) 2013 Joachim Wester
5
- * MIT license
6
- */
7
- var __extends = this.__extends || function (d, b) {
8
- for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
9
- function __() { this.constructor = d; }
10
- __.prototype = b.prototype;
11
- d.prototype = new __();
12
- };
13
- var OriginalError = Error;
14
-
15
- var jsonpatch;
16
- (function (jsonpatch) {
17
- /* Do nothing if module is already defined.
18
- Doesn't look nice, as we cannot simply put
19
- `!jsonpatch &&` before this immediate function call
20
- in TypeScript.
21
- */
22
- if (jsonpatch.apply) {
23
- return;
24
- }
25
-
26
- var _objectKeys = (function () {
27
- if (Object.keys)
28
- return Object.keys;
29
-
30
- return function (o) {
31
- var keys = [];
32
- for (var i in o) {
33
- if (o.hasOwnProperty(i)) {
34
- keys.push(i);
35
- }
36
- }
37
- return keys;
38
- };
39
- })();
40
-
41
- function _equals(a, b) {
42
- switch (typeof a) {
43
- case 'undefined':
44
- case 'boolean':
45
- case 'string':
46
- case 'number':
47
- return a === b;
48
- case 'object':
49
- if (a === null)
50
- return b === null;
51
- if (_isArray(a)) {
52
- if (!_isArray(b) || a.length !== b.length)
53
- return false;
54
-
55
- for (var i = 0, l = a.length; i < l; i++)
56
- if (!_equals(a[i], b[i]))
57
- return false;
58
-
59
- return true;
60
- }
61
-
62
- var bKeys = _objectKeys(b);
63
- var bLength = bKeys.length;
64
- if (_objectKeys(a).length !== bLength)
65
- return false;
66
-
67
- for (var i = 0; i < bLength; i++)
68
- if (!_equals(a[i], b[i]))
69
- return false;
70
-
71
- return true;
72
-
73
- default:
74
- return false;
75
- }
76
- }
77
-
78
- /* We use a Javascript hash to store each
79
- function. Each hash entry (property) uses
80
- the operation identifiers specified in rfc6902.
81
- In this way, we can map each patch operation
82
- to its dedicated function in efficient way.
83
- */
84
- /* The operations applicable to an object */
85
- var objOps = {
86
- add: function (obj, key) {
87
- obj[key] = this.value;
88
- return true;
89
- },
90
- remove: function (obj, key) {
91
- delete obj[key];
92
- return true;
93
- },
94
- replace: function (obj, key) {
95
- obj[key] = this.value;
96
- return true;
97
- },
98
- move: function (obj, key, tree) {
99
- var temp = { op: "_get", path: this.from };
100
- apply(tree, [temp]);
101
- apply(tree, [
102
- { op: "remove", path: this.from }
103
- ]);
104
- apply(tree, [
105
- { op: "add", path: this.path, value: temp.value }
106
- ]);
107
- return true;
108
- },
109
- copy: function (obj, key, tree) {
110
- var temp = { op: "_get", path: this.from };
111
- apply(tree, [temp]);
112
- apply(tree, [
113
- { op: "add", path: this.path, value: temp.value }
114
- ]);
115
- return true;
116
- },
117
- test: function (obj, key) {
118
- return _equals(obj[key], this.value);
119
- },
120
- _get: function (obj, key) {
121
- this.value = obj[key];
122
- }
123
- };
124
-
125
- /* The operations applicable to an array. Many are the same as for the object */
126
- var arrOps = {
127
- add: function (arr, i) {
128
- arr.splice(i, 0, this.value);
129
- return true;
130
- },
131
- remove: function (arr, i) {
132
- arr.splice(i, 1);
133
- return true;
134
- },
135
- replace: function (arr, i) {
136
- arr[i] = this.value;
137
- return true;
138
- },
139
- move: objOps.move,
140
- copy: objOps.copy,
141
- test: objOps.test,
142
- _get: objOps._get
143
- };
144
-
145
- /* The operations applicable to object root. Many are the same as for the object */
146
- var rootOps = {
147
- add: function (obj) {
148
- rootOps.remove.call(this, obj);
149
- for (var key in this.value) {
150
- if (this.value.hasOwnProperty(key)) {
151
- obj[key] = this.value[key];
152
- }
153
- }
154
- return true;
155
- },
156
- remove: function (obj) {
157
- for (var key in obj) {
158
- if (obj.hasOwnProperty(key)) {
159
- objOps.remove.call(this, obj, key);
160
- }
161
- }
162
- return true;
163
- },
164
- replace: function (obj) {
165
- apply(obj, [
166
- { op: "remove", path: this.path }
167
- ]);
168
- apply(obj, [
169
- { op: "add", path: this.path, value: this.value }
170
- ]);
171
- return true;
172
- },
173
- move: objOps.move,
174
- copy: objOps.copy,
175
- test: function (obj) {
176
- return (JSON.stringify(obj) === JSON.stringify(this.value));
177
- },
178
- _get: function (obj) {
179
- this.value = obj;
180
- }
181
- };
182
-
183
- var _isArray;
184
- if (Array.isArray) {
185
- _isArray = Array.isArray;
186
- } else {
187
- _isArray = function (obj) {
188
- return obj.push && typeof obj.length === 'number';
189
- };
190
- }
191
-
192
- //3x faster than cached /^\d+$/.test(str)
193
- function isInteger(str) {
194
- var i = 0;
195
- var len = str.length;
196
- var charCode;
197
- while (i < len) {
198
- charCode = str.charCodeAt(i);
199
- if (charCode >= 48 && charCode <= 57) {
200
- i++;
201
- continue;
202
- }
203
- return false;
204
- }
205
- return true;
206
- }
207
-
208
- /// Apply a json-patch operation on an object tree
209
- function apply(tree, patches, validate) {
210
- var result = false, p = 0, plen = patches.length, patch, key;
211
- while (p < plen) {
212
- patch = patches[p];
213
- p++;
214
-
215
- // Find the object
216
- var path = patch.path || "";
217
- var keys = path.split('/');
218
- var obj = tree;
219
- var t = 1;
220
- var len = keys.length;
221
- var existingPathFragment = undefined;
222
-
223
- while (true) {
224
- key = keys[t];
225
-
226
- if (validate) {
227
- if (existingPathFragment === undefined) {
228
- if (obj[key] === undefined) {
229
- existingPathFragment = keys.slice(0, t).join('/');
230
- } else if (t == len - 1) {
231
- existingPathFragment = patch.path;
232
- }
233
- if (existingPathFragment !== undefined) {
234
- this.validator(patch, p - 1, tree, existingPathFragment);
235
- }
236
- }
237
- }
238
-
239
- t++;
240
- if (key === undefined) {
241
- if (t >= len) {
242
- result = rootOps[patch.op].call(patch, obj, key, tree); // Apply patch
243
- break;
244
- }
245
- }
246
- if (_isArray(obj)) {
247
- if (key === '-') {
248
- key = obj.length;
249
- } else {
250
- if (validate && !isInteger(key)) {
251
- throw new JsonPatchError("Expected an unsigned base-10 integer value, making the new referenced value the array element with the zero-based index", "OPERATION_PATH_ILLEGAL_ARRAY_INDEX", p - 1, patch.path, patch);
252
- }
253
- key = parseInt(key, 10);
254
- }
255
- if (t >= len) {
256
- if (validate && patch.op === "add" && key > obj.length) {
257
- throw new JsonPatchError("The specified index MUST NOT be greater than the number of elements in the array", "OPERATION_VALUE_OUT_OF_BOUNDS", p - 1, patch.path, patch);
258
- }
259
- result = arrOps[patch.op].call(patch, obj, key, tree); // Apply patch
260
- break;
261
- }
262
- } else {
263
- if (key && key.indexOf('~') != -1)
264
- key = key.replace(/~1/g, '/').replace(/~0/g, '~'); // escape chars
265
- if (t >= len) {
266
- result = objOps[patch.op].call(patch, obj, key, tree); // Apply patch
267
- break;
268
- }
269
- }
270
- obj = obj[key];
271
- }
272
- }
273
- return result;
274
- }
275
- jsonpatch.apply = apply;
276
-
277
- var JsonPatchError = (function (_super) {
278
- __extends(JsonPatchError, _super);
279
- function JsonPatchError(message, name, index, operation, tree) {
280
- _super.call(this, message);
281
- this.message = message;
282
- this.name = name;
283
- this.index = index;
284
- this.operation = operation;
285
- this.tree = tree;
286
- }
287
- return JsonPatchError;
288
- })(OriginalError);
289
- jsonpatch.JsonPatchError = JsonPatchError;
290
-
291
- jsonpatch.Error = JsonPatchError;
292
-
293
- /**
294
- * Recursively checks whether an object has any undefined values inside.
295
- */
296
- function hasUndefined(obj) {
297
- if (obj === undefined) {
298
- return true;
299
- }
300
-
301
- if (typeof obj == "array" || typeof obj == "object") {
302
- for (var i in obj) {
303
- if (hasUndefined(obj[i])) {
304
- return true;
305
- }
306
- }
307
- }
308
-
309
- return false;
310
- }
311
-
312
- /**
313
- * Validates a single operation. Called from `jsonpatch.validate`. Throws `JsonPatchError` in case of an error.
314
- * @param {object} operation - operation object (patch)
315
- * @param {number} index - index of operation in the sequence
316
- * @param {object} [tree] - object where the operation is supposed to be applied
317
- * @param {string} [existingPathFragment] - comes along with `tree`
318
- */
319
- function validator(operation, index, tree, existingPathFragment) {
320
- if (typeof operation !== 'object' || operation === null || _isArray(operation)) {
321
- throw new JsonPatchError('Operation is not an object', 'OPERATION_NOT_AN_OBJECT', index, operation, tree);
322
- } else if (!objOps[operation.op]) {
323
- throw new JsonPatchError('Operation `op` property is not one of operations defined in RFC-6902', 'OPERATION_OP_INVALID', index, operation, tree);
324
- } else if (typeof operation.path !== 'string') {
325
- throw new JsonPatchError('Operation `path` property is not a string', 'OPERATION_PATH_INVALID', index, operation, tree);
326
- } else if ((operation.op === 'move' || operation.op === 'copy') && typeof operation.from !== 'string') {
327
- throw new JsonPatchError('Operation `from` property is not present (applicable in `move` and `copy` operations)', 'OPERATION_FROM_REQUIRED', index, operation, tree);
328
- } else if ((operation.op === 'add' || operation.op === 'replace' || operation.op === 'test') && operation.value === undefined) {
329
- throw new JsonPatchError('Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)', 'OPERATION_VALUE_REQUIRED', index, operation, tree);
330
- } else if ((operation.op === 'add' || operation.op === 'replace' || operation.op === 'test') && hasUndefined(operation.value)) {
331
- throw new JsonPatchError('Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)', 'OPERATION_VALUE_CANNOT_CONTAIN_UNDEFINED', index, operation, tree);
332
- } else if (tree) {
333
- if (operation.op == "add") {
334
- var pathLen = operation.path.split("/").length;
335
- var existingPathLen = existingPathFragment.split("/").length;
336
- if (pathLen !== existingPathLen + 1 && pathLen !== existingPathLen) {
337
- throw new JsonPatchError('Cannot perform an `add` operation at the desired path', 'OPERATION_PATH_CANNOT_ADD', index, operation, tree);
338
- }
339
- } else if (operation.op === 'replace' || operation.op === 'remove' || operation.op === '_get') {
340
- if (operation.path !== existingPathFragment) {
341
- throw new JsonPatchError('Cannot perform the operation at a path that does not exist', 'OPERATION_PATH_UNRESOLVABLE', index, operation, tree);
342
- }
343
- } else if (operation.op === 'move' || operation.op === 'copy') {
344
- var existingValue = { op: "_get", path: operation.from, value: undefined };
345
- var error = jsonpatch.validate([existingValue], tree);
346
- if (error && error.name === 'OPERATION_PATH_UNRESOLVABLE') {
347
- throw new JsonPatchError('Cannot perform the operation from a path that does not exist', 'OPERATION_FROM_UNRESOLVABLE', index, operation, tree);
348
- }
349
- }
350
- }
351
- }
352
- jsonpatch.validator = validator;
353
-
354
- /**
355
- * Validates a sequence of operations. If `tree` parameter is provided, the sequence is additionally validated against the object tree.
356
- * If error is encountered, returns a JsonPatchError object
357
- * @param sequence
358
- * @param tree
359
- * @returns {JsonPatchError|undefined}
360
- */
361
- function validate(sequence, tree) {
362
- try {
363
- if (!_isArray(sequence)) {
364
- throw new JsonPatchError('Patch sequence must be an array', 'SEQUENCE_NOT_AN_ARRAY');
365
- }
366
-
367
- if (tree) {
368
- tree = JSON.parse(JSON.stringify(tree)); //clone tree so that we can safely try applying operations
369
- apply.call(this, tree, sequence, true);
370
- } else {
371
- for (var i = 0; i < sequence.length; i++) {
372
- this.validator(sequence[i], i);
373
- }
374
- }
375
- } catch (e) {
376
- if (e instanceof JsonPatchError) {
377
- return e;
378
- } else {
379
- throw e;
380
- }
381
- }
382
- }
383
- jsonpatch.validate = validate;
384
- })(jsonpatch || (jsonpatch = {}));
385
-
386
- if (typeof exports !== "undefined") {
387
- exports.apply = jsonpatch.apply;
388
- exports.validate = jsonpatch.validate;
389
- exports.validator = jsonpatch.validator;
390
- exports.JsonPatchError = jsonpatch.JsonPatchError;
391
- exports.Error = jsonpatch.Error;
392
- }