hyper-operation 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (291) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +49 -0
  3. data/CODE_OF_CONDUCT.md +49 -0
  4. data/Gemfile +3 -0
  5. data/Gemfile.lock +324 -0
  6. data/LICENSE.txt +21 -0
  7. data/README.md +708 -0
  8. data/Rakefile +4 -0
  9. data/examples/chat-app/.gitignore +21 -0
  10. data/examples/chat-app/Gemfile +57 -0
  11. data/examples/chat-app/Gemfile.lock +282 -0
  12. data/examples/chat-app/README.md +3 -0
  13. data/examples/chat-app/Rakefile +6 -0
  14. data/examples/chat-app/app/assets/config/manifest.js +3 -0
  15. data/examples/chat-app/app/assets/images/.keep +0 -0
  16. data/examples/chat-app/app/assets/javascripts/application.js +3 -0
  17. data/examples/chat-app/app/assets/javascripts/cable.js +13 -0
  18. data/examples/chat-app/app/assets/javascripts/channels/.keep +0 -0
  19. data/examples/chat-app/app/assets/stylesheets/application.css +15 -0
  20. data/examples/chat-app/app/channels/application_cable/channel.rb +4 -0
  21. data/examples/chat-app/app/channels/application_cable/connection.rb +4 -0
  22. data/examples/chat-app/app/controllers/application_controller.rb +3 -0
  23. data/examples/chat-app/app/controllers/concerns/.keep +0 -0
  24. data/examples/chat-app/app/controllers/home_controller.rb +5 -0
  25. data/examples/chat-app/app/helpers/application_helper.rb +2 -0
  26. data/examples/chat-app/app/hyperloop/components/app.rb +11 -0
  27. data/examples/chat-app/app/hyperloop/components/formatted_div.rb +13 -0
  28. data/examples/chat-app/app/hyperloop/components/input_box.rb +29 -0
  29. data/examples/chat-app/app/hyperloop/components/message.rb +29 -0
  30. data/examples/chat-app/app/hyperloop/components/messages.rb +9 -0
  31. data/examples/chat-app/app/hyperloop/components/nav.rb +30 -0
  32. data/examples/chat-app/app/hyperloop/operations/operations.rb +56 -0
  33. data/examples/chat-app/app/hyperloop/stores/message_store.rb +23 -0
  34. data/examples/chat-app/app/models/application_record.rb +3 -0
  35. data/examples/chat-app/app/models/concerns/.keep +0 -0
  36. data/examples/chat-app/app/models/models.rb +2 -0
  37. data/examples/chat-app/app/models/public/.keep +0 -0
  38. data/examples/chat-app/app/models/public/announcement.rb +8 -0
  39. data/examples/chat-app/app/policies/application_policy.rb +5 -0
  40. data/examples/chat-app/app/views/layouts/application.html.erb +51 -0
  41. data/examples/chat-app/bin/bundle +3 -0
  42. data/examples/chat-app/bin/rails +9 -0
  43. data/examples/chat-app/bin/rake +9 -0
  44. data/examples/chat-app/bin/setup +34 -0
  45. data/examples/chat-app/bin/spring +17 -0
  46. data/examples/chat-app/bin/update +29 -0
  47. data/examples/chat-app/config.ru +5 -0
  48. data/examples/chat-app/config/application.rb +13 -0
  49. data/examples/chat-app/config/boot.rb +3 -0
  50. data/examples/chat-app/config/cable.yml +9 -0
  51. data/examples/chat-app/config/database.yml +25 -0
  52. data/examples/chat-app/config/environment.rb +5 -0
  53. data/examples/chat-app/config/environments/development.rb +56 -0
  54. data/examples/chat-app/config/environments/production.rb +86 -0
  55. data/examples/chat-app/config/environments/test.rb +42 -0
  56. data/examples/chat-app/config/initializers/application_controller_renderer.rb +6 -0
  57. data/examples/chat-app/config/initializers/assets.rb +11 -0
  58. data/examples/chat-app/config/initializers/backtrace_silencers.rb +7 -0
  59. data/examples/chat-app/config/initializers/cookies_serializer.rb +5 -0
  60. data/examples/chat-app/config/initializers/filter_parameter_logging.rb +4 -0
  61. data/examples/chat-app/config/initializers/hyperloop.rb +4 -0
  62. data/examples/chat-app/config/initializers/inflections.rb +16 -0
  63. data/examples/chat-app/config/initializers/mime_types.rb +4 -0
  64. data/examples/chat-app/config/initializers/new_framework_defaults.rb +24 -0
  65. data/examples/chat-app/config/initializers/session_store.rb +3 -0
  66. data/examples/chat-app/config/initializers/wrap_parameters.rb +14 -0
  67. data/examples/chat-app/config/locales/en.yml +23 -0
  68. data/examples/chat-app/config/puma.rb +47 -0
  69. data/examples/chat-app/config/routes.rb +5 -0
  70. data/examples/chat-app/config/secrets.yml +22 -0
  71. data/examples/chat-app/config/spring.rb +6 -0
  72. data/examples/chat-app/db/seeds.rb +7 -0
  73. data/examples/chat-app/lib/assets/.keep +0 -0
  74. data/examples/chat-app/lib/tasks/.keep +0 -0
  75. data/examples/chat-app/log/.keep +0 -0
  76. data/examples/chat-app/public/404.html +67 -0
  77. data/examples/chat-app/public/422.html +67 -0
  78. data/examples/chat-app/public/500.html +66 -0
  79. data/examples/chat-app/public/apple-touch-icon-precomposed.png +0 -0
  80. data/examples/chat-app/public/apple-touch-icon.png +0 -0
  81. data/examples/chat-app/public/favicon.ico +0 -0
  82. data/examples/chat-app/public/robots.txt +5 -0
  83. data/examples/chat-app/test/controllers/.keep +0 -0
  84. data/examples/chat-app/test/fixtures/.keep +0 -0
  85. data/examples/chat-app/test/fixtures/files/.keep +0 -0
  86. data/examples/chat-app/test/helpers/.keep +0 -0
  87. data/examples/chat-app/test/integration/.keep +0 -0
  88. data/examples/chat-app/test/mailers/.keep +0 -0
  89. data/examples/chat-app/test/models/.keep +0 -0
  90. data/examples/chat-app/test/test_helper.rb +10 -0
  91. data/examples/chat-app/tmp/.keep +0 -0
  92. data/examples/chat-app/vendor/assets/javascripts/.keep +0 -0
  93. data/examples/chat-app/vendor/assets/stylesheets/.keep +0 -0
  94. data/examples/five-letter-word-game/.gitignore +21 -0
  95. data/examples/five-letter-word-game/Gemfile +57 -0
  96. data/examples/five-letter-word-game/Gemfile.lock +282 -0
  97. data/examples/five-letter-word-game/README.md +24 -0
  98. data/examples/five-letter-word-game/Rakefile +6 -0
  99. data/examples/five-letter-word-game/app/assets/config/manifest.js +3 -0
  100. data/examples/five-letter-word-game/app/assets/images/.keep +0 -0
  101. data/examples/five-letter-word-game/app/assets/javascripts/application.js +3 -0
  102. data/examples/five-letter-word-game/app/assets/javascripts/cable.js +13 -0
  103. data/examples/five-letter-word-game/app/assets/javascripts/channels/.keep +0 -0
  104. data/examples/five-letter-word-game/app/assets/stylesheets/application.css +15 -0
  105. data/examples/five-letter-word-game/app/channels/application_cable/channel.rb +4 -0
  106. data/examples/five-letter-word-game/app/channels/application_cable/connection.rb +4 -0
  107. data/examples/five-letter-word-game/app/controllers/application_controller.rb +14 -0
  108. data/examples/five-letter-word-game/app/controllers/concerns/.keep +0 -0
  109. data/examples/five-letter-word-game/app/controllers/home_controller.rb +5 -0
  110. data/examples/five-letter-word-game/app/helpers/application_helper.rb +2 -0
  111. data/examples/five-letter-word-game/app/hyperloop/components/app.rb +65 -0
  112. data/examples/five-letter-word-game/app/hyperloop/components/guesses.rb +8 -0
  113. data/examples/five-letter-word-game/app/hyperloop/components/input_word.rb +13 -0
  114. data/examples/five-letter-word-game/app/hyperloop/models/user.rb +27 -0
  115. data/examples/five-letter-word-game/app/hyperloop/operations/ops.rb +115 -0
  116. data/examples/five-letter-word-game/app/hyperloop/stores/store.rb +120 -0
  117. data/examples/five-letter-word-game/app/jobs/application_job.rb +2 -0
  118. data/examples/five-letter-word-game/app/mailers/application_mailer.rb +4 -0
  119. data/examples/five-letter-word-game/app/models/application_record.rb +3 -0
  120. data/examples/five-letter-word-game/app/models/concerns/.keep +0 -0
  121. data/examples/five-letter-word-game/app/policies/user_policy.rb +4 -0
  122. data/examples/five-letter-word-game/app/views/layouts/application.html.erb +14 -0
  123. data/examples/five-letter-word-game/app/views/layouts/mailer.html.erb +13 -0
  124. data/examples/five-letter-word-game/app/views/layouts/mailer.text.erb +1 -0
  125. data/examples/five-letter-word-game/bin/bundle +3 -0
  126. data/examples/five-letter-word-game/bin/rails +9 -0
  127. data/examples/five-letter-word-game/bin/rake +9 -0
  128. data/examples/five-letter-word-game/bin/setup +34 -0
  129. data/examples/five-letter-word-game/bin/spring +17 -0
  130. data/examples/five-letter-word-game/bin/update +29 -0
  131. data/examples/five-letter-word-game/config.ru +5 -0
  132. data/examples/five-letter-word-game/config/application.rb +12 -0
  133. data/examples/five-letter-word-game/config/boot.rb +3 -0
  134. data/examples/five-letter-word-game/config/cable.yml +9 -0
  135. data/examples/five-letter-word-game/config/database.yml +25 -0
  136. data/examples/five-letter-word-game/config/environment.rb +5 -0
  137. data/examples/five-letter-word-game/config/environments/development.rb +56 -0
  138. data/examples/five-letter-word-game/config/environments/production.rb +86 -0
  139. data/examples/five-letter-word-game/config/environments/test.rb +42 -0
  140. data/examples/five-letter-word-game/config/initializers/application_controller_renderer.rb +6 -0
  141. data/examples/five-letter-word-game/config/initializers/assets.rb +11 -0
  142. data/examples/five-letter-word-game/config/initializers/backtrace_silencers.rb +7 -0
  143. data/examples/five-letter-word-game/config/initializers/cookies_serializer.rb +5 -0
  144. data/examples/five-letter-word-game/config/initializers/filter_parameter_logging.rb +4 -0
  145. data/examples/five-letter-word-game/config/initializers/hyperloop.rb +3 -0
  146. data/examples/five-letter-word-game/config/initializers/inflections.rb +16 -0
  147. data/examples/five-letter-word-game/config/initializers/mime_types.rb +4 -0
  148. data/examples/five-letter-word-game/config/initializers/new_framework_defaults.rb +24 -0
  149. data/examples/five-letter-word-game/config/initializers/session_store.rb +3 -0
  150. data/examples/five-letter-word-game/config/initializers/wrap_parameters.rb +14 -0
  151. data/examples/five-letter-word-game/config/locales/en.yml +23 -0
  152. data/examples/five-letter-word-game/config/puma.rb +47 -0
  153. data/examples/five-letter-word-game/config/routes.rb +5 -0
  154. data/examples/five-letter-word-game/config/secrets.yml +22 -0
  155. data/examples/five-letter-word-game/config/spring.rb +6 -0
  156. data/examples/five-letter-word-game/db/schema.rb +28 -0
  157. data/examples/five-letter-word-game/db/seeds.rb +7 -0
  158. data/examples/five-letter-word-game/lib/assets/.keep +0 -0
  159. data/examples/five-letter-word-game/lib/tasks/.keep +0 -0
  160. data/examples/five-letter-word-game/log/.keep +0 -0
  161. data/examples/five-letter-word-game/public/404.html +67 -0
  162. data/examples/five-letter-word-game/public/422.html +67 -0
  163. data/examples/five-letter-word-game/public/500.html +66 -0
  164. data/examples/five-letter-word-game/public/apple-touch-icon-precomposed.png +0 -0
  165. data/examples/five-letter-word-game/public/apple-touch-icon.png +0 -0
  166. data/examples/five-letter-word-game/public/favicon.ico +0 -0
  167. data/examples/five-letter-word-game/public/robots.txt +5 -0
  168. data/examples/five-letter-word-game/test/controllers/.keep +0 -0
  169. data/examples/five-letter-word-game/test/fixtures/.keep +0 -0
  170. data/examples/five-letter-word-game/test/fixtures/files/.keep +0 -0
  171. data/examples/five-letter-word-game/test/helpers/.keep +0 -0
  172. data/examples/five-letter-word-game/test/integration/.keep +0 -0
  173. data/examples/five-letter-word-game/test/mailers/.keep +0 -0
  174. data/examples/five-letter-word-game/test/models/.keep +0 -0
  175. data/examples/five-letter-word-game/test/test_helper.rb +10 -0
  176. data/examples/five-letter-word-game/tmp/.keep +0 -0
  177. data/examples/five-letter-word-game/vendor/assets/javascripts/.keep +0 -0
  178. data/examples/five-letter-word-game/vendor/assets/stylesheets/.keep +0 -0
  179. data/examples/smoke_test/.gitignore +21 -0
  180. data/examples/smoke_test/Gemfile +59 -0
  181. data/examples/smoke_test/Gemfile.lock +289 -0
  182. data/examples/smoke_test/README.md +24 -0
  183. data/examples/smoke_test/Rakefile +6 -0
  184. data/examples/smoke_test/app/assets/config/manifest.js +3 -0
  185. data/examples/smoke_test/app/assets/images/.keep +0 -0
  186. data/examples/smoke_test/app/assets/javascripts/application.js +15 -0
  187. data/examples/smoke_test/app/assets/javascripts/cable.js +13 -0
  188. data/examples/smoke_test/app/assets/javascripts/channels/.keep +0 -0
  189. data/examples/smoke_test/app/assets/stylesheets/application.css +15 -0
  190. data/examples/smoke_test/app/channels/application_cable/channel.rb +4 -0
  191. data/examples/smoke_test/app/channels/application_cable/connection.rb +4 -0
  192. data/examples/smoke_test/app/controllers/app_controller.rb +5 -0
  193. data/examples/smoke_test/app/controllers/application_controller.rb +3 -0
  194. data/examples/smoke_test/app/helpers/application_helper.rb +2 -0
  195. data/examples/smoke_test/app/hyperloop/components/hello.rb +25 -0
  196. data/examples/smoke_test/app/hyperloop/operations/operations/nested_send_to_all.rb +7 -0
  197. data/examples/smoke_test/app/hyperloop/operations/send_to_all.rb +6 -0
  198. data/examples/smoke_test/app/hyperloop/stores/messages.rb +4 -0
  199. data/examples/smoke_test/app/jobs/application_job.rb +2 -0
  200. data/examples/smoke_test/app/mailers/application_mailer.rb +4 -0
  201. data/examples/smoke_test/app/models/application_record.rb +3 -0
  202. data/examples/smoke_test/app/models/concerns/.keep +0 -0
  203. data/examples/smoke_test/app/policies/application_policy.rb +8 -0
  204. data/examples/smoke_test/app/views/layouts/application.html.erb +14 -0
  205. data/examples/smoke_test/app/views/layouts/mailer.html.erb +13 -0
  206. data/examples/smoke_test/app/views/layouts/mailer.text.erb +1 -0
  207. data/examples/smoke_test/bin/bundle +3 -0
  208. data/examples/smoke_test/bin/rails +9 -0
  209. data/examples/smoke_test/bin/rake +9 -0
  210. data/examples/smoke_test/bin/setup +34 -0
  211. data/examples/smoke_test/bin/spring +17 -0
  212. data/examples/smoke_test/bin/update +29 -0
  213. data/examples/smoke_test/config.ru +5 -0
  214. data/examples/smoke_test/config/application.rb +15 -0
  215. data/examples/smoke_test/config/boot.rb +3 -0
  216. data/examples/smoke_test/config/cable.yml +9 -0
  217. data/examples/smoke_test/config/database.yml +25 -0
  218. data/examples/smoke_test/config/environment.rb +5 -0
  219. data/examples/smoke_test/config/environments/development.rb +54 -0
  220. data/examples/smoke_test/config/environments/production.rb +86 -0
  221. data/examples/smoke_test/config/environments/test.rb +42 -0
  222. data/examples/smoke_test/config/initializers/application_controller_renderer.rb +6 -0
  223. data/examples/smoke_test/config/initializers/assets.rb +11 -0
  224. data/examples/smoke_test/config/initializers/backtrace_silencers.rb +7 -0
  225. data/examples/smoke_test/config/initializers/cookies_serializer.rb +5 -0
  226. data/examples/smoke_test/config/initializers/filter_parameter_logging.rb +4 -0
  227. data/examples/smoke_test/config/initializers/hyperloop.rb +32 -0
  228. data/examples/smoke_test/config/initializers/inflections.rb +16 -0
  229. data/examples/smoke_test/config/initializers/mime_types.rb +4 -0
  230. data/examples/smoke_test/config/initializers/new_framework_defaults.rb +24 -0
  231. data/examples/smoke_test/config/initializers/session_store.rb +3 -0
  232. data/examples/smoke_test/config/initializers/wrap_parameters.rb +14 -0
  233. data/examples/smoke_test/config/locales/en.yml +23 -0
  234. data/examples/smoke_test/config/puma.rb +47 -0
  235. data/examples/smoke_test/config/routes.rb +5 -0
  236. data/examples/smoke_test/config/secrets.yml +22 -0
  237. data/examples/smoke_test/config/spring.rb +6 -0
  238. data/examples/smoke_test/db/seeds.rb +7 -0
  239. data/examples/smoke_test/lib/assets/.keep +0 -0
  240. data/examples/smoke_test/lib/tasks/.keep +0 -0
  241. data/examples/smoke_test/log/.keep +0 -0
  242. data/examples/smoke_test/public/404.html +67 -0
  243. data/examples/smoke_test/public/422.html +67 -0
  244. data/examples/smoke_test/public/500.html +66 -0
  245. data/examples/smoke_test/public/apple-touch-icon-precomposed.png +0 -0
  246. data/examples/smoke_test/public/apple-touch-icon.png +0 -0
  247. data/examples/smoke_test/public/favicon.ico +0 -0
  248. data/examples/smoke_test/public/robots.txt +5 -0
  249. data/examples/smoke_test/test/controllers/.keep +0 -0
  250. data/examples/smoke_test/test/fixtures/.keep +0 -0
  251. data/examples/smoke_test/test/fixtures/files/.keep +0 -0
  252. data/examples/smoke_test/test/helpers/.keep +0 -0
  253. data/examples/smoke_test/test/integration/.keep +0 -0
  254. data/examples/smoke_test/test/mailers/.keep +0 -0
  255. data/examples/smoke_test/test/models/.keep +0 -0
  256. data/examples/smoke_test/test/test_helper.rb +10 -0
  257. data/examples/smoke_test/tmp/.keep +0 -0
  258. data/examples/smoke_test/vendor/assets/javascripts/.keep +0 -0
  259. data/examples/smoke_test/vendor/assets/stylesheets/.keep +0 -0
  260. data/hyper-operation.gemspec +44 -0
  261. data/lib/hyper-operation.rb +59 -0
  262. data/lib/hyper-operation/api.rb +154 -0
  263. data/lib/hyper-operation/boot.rb +24 -0
  264. data/lib/hyper-operation/call_by_class_name.rb +60 -0
  265. data/lib/hyper-operation/delay_and_interval.rb +9 -0
  266. data/lib/hyper-operation/engine.rb +11 -0
  267. data/lib/hyper-operation/exception.rb +13 -0
  268. data/lib/hyper-operation/filters/acting_user.rb +19 -0
  269. data/lib/hyper-operation/filters/outbound_filter.rb +9 -0
  270. data/lib/hyper-operation/filters/simple_hash.rb +22 -0
  271. data/lib/hyper-operation/opal_patches.rb +39 -0
  272. data/lib/hyper-operation/promise.rb +347 -0
  273. data/lib/hyper-operation/railway.rb +5 -0
  274. data/lib/hyper-operation/railway/dispatcher.rb +31 -0
  275. data/lib/hyper-operation/railway/operation_wrapper.rb +106 -0
  276. data/lib/hyper-operation/railway/params_wrapper.rb +124 -0
  277. data/lib/hyper-operation/railway/run.rb +140 -0
  278. data/lib/hyper-operation/railway/validations.rb +63 -0
  279. data/lib/hyper-operation/server_op.rb +98 -0
  280. data/lib/hyper-operation/transport/acting_user.rb +6 -0
  281. data/lib/hyper-operation/transport/action_cable.rb +39 -0
  282. data/lib/hyper-operation/transport/active_record.rb +15 -0
  283. data/lib/hyper-operation/transport/client_drivers.rb +210 -0
  284. data/lib/hyper-operation/transport/connection.rb +170 -0
  285. data/lib/hyper-operation/transport/hyperloop.rb +165 -0
  286. data/lib/hyper-operation/transport/hyperloop_controller.rb +184 -0
  287. data/lib/hyper-operation/transport/pluck.rb +6 -0
  288. data/lib/hyper-operation/transport/policy.rb +535 -0
  289. data/lib/hyper-operation/version.rb +5 -0
  290. data/lib/sources/hyperloop/pusher.js +98 -0
  291. metadata +628 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 80b83a4beab429639a9f927f1cc6e805110d1c55
4
+ data.tar.gz: 7a7a984505e2fd86a66c0decd841c1519acc2de3
5
+ SHA512:
6
+ metadata.gz: 2a41d6614df0f291c77c5d4fbb46ff85a6ea6cbcfc67893eb0529c9c13eee07402980ec2573351b5a87a81fb885dccd3d1ba9b825a633867f20ef2875ae68dc7
7
+ data.tar.gz: 067a0db897dbc9e7cdc4494314e13b05d44ed2e3c00a8630f7c2e0d48a31cd706e81a2c03afdc87ad5ccef29c54e25617c6b2fe56b61850d5978bfebd1286b04
data/.gitignore ADDED
@@ -0,0 +1,49 @@
1
+ *.rbc
2
+ capybara-*.html
3
+ .rspec
4
+ /log
5
+ /tmp
6
+ /db/*.sqlite3
7
+ /db/*.sqlite3-journal
8
+ /public/system
9
+ /coverage/
10
+ /spec/tmp
11
+ **.orig
12
+ rerun.txt
13
+ pickle-email-*.html
14
+
15
+ # TODO Comment out these rules if you are OK with secrets being uploaded to the repo
16
+ config/initializers/secret_token.rb
17
+ config/secrets.yml
18
+
19
+ # dotenv
20
+ # TODO Comment out this rule if environment variables can be committed
21
+ .env
22
+
23
+ ## Environment normalization:
24
+ /.bundle
25
+ /vendor/bundle
26
+
27
+ # these should all be checked in to normalize the environment:
28
+ # Gemfile.lock, .ruby-version, .ruby-gemset
29
+
30
+ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
31
+ .rvmrc
32
+
33
+ # if using bower-rails ignore default bower_components path bower.json files
34
+ /vendor/assets/bower_components
35
+ *.bowerrc
36
+ bower.json
37
+
38
+ # Ignore pow environment settings
39
+ .powenv
40
+
41
+ # Ignore Byebug command history file.
42
+ .byebug_history
43
+
44
+ # Ignore test app files
45
+ /spec/test_app/log/
46
+ /spec/test_app/tmp/
47
+
48
+ # Ignore built gem
49
+ *.gem
@@ -0,0 +1,49 @@
1
+ # Contributor Code of Conduct
2
+
3
+ As contributors and maintainers of this project, and in the interest of
4
+ fostering an open and welcoming community, we pledge to respect all people who
5
+ contribute through reporting issues, posting feature requests, updating
6
+ documentation, submitting pull requests or patches, and other activities.
7
+
8
+ We are committed to making participation in this project a harassment-free
9
+ experience for everyone, regardless of level of experience, gender, gender
10
+ identity and expression, sexual orientation, disability, personal appearance,
11
+ body size, race, ethnicity, age, religion, or nationality.
12
+
13
+ Examples of unacceptable behavior by participants include:
14
+
15
+ * The use of sexualized language or imagery
16
+ * Personal attacks
17
+ * Trolling or insulting/derogatory comments
18
+ * Public or private harassment
19
+ * Publishing other's private information, such as physical or electronic
20
+ addresses, without explicit permission
21
+ * Other unethical or unprofessional conduct
22
+
23
+ Project maintainers have the right and responsibility to remove, edit, or
24
+ reject comments, commits, code, wiki edits, issues, and other contributions
25
+ that are not aligned to this Code of Conduct, or to ban temporarily or
26
+ permanently any contributor for other behaviors that they deem inappropriate,
27
+ threatening, offensive, or harmful.
28
+
29
+ By adopting this Code of Conduct, project maintainers commit themselves to
30
+ fairly and consistently applying these principles to every aspect of managing
31
+ this project. Project maintainers who do not follow or enforce the Code of
32
+ Conduct may be permanently removed from the project team.
33
+
34
+ This code of conduct applies both within project spaces and in public spaces
35
+ when an individual is representing the project or its community.
36
+
37
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
38
+ reported by contacting a project maintainer at mitch@catprint.com. All
39
+ complaints will be reviewed and investigated and will result in a response that
40
+ is deemed necessary and appropriate to the circumstances. Maintainers are
41
+ obligated to maintain confidentiality with regard to the reporter of an
42
+ incident.
43
+
44
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
45
+ version 1.3.0, available at
46
+ [http://contributor-covenant.org/version/1/3/0/][version]
47
+
48
+ [homepage]: http://contributor-covenant.org
49
+ [version]: http://contributor-covenant.org/version/1/3/0/
data/Gemfile ADDED
@@ -0,0 +1,3 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,324 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ hyper-operation (0.1.0)
5
+ activerecord (>= 0.3.0)
6
+ hyper-component (>= 0.12.2)
7
+ hyperloop-config (>= 0.9.2)
8
+ mutations
9
+ opal-activesupport
10
+ pusher
11
+ pusher-fake
12
+
13
+ GEM
14
+ remote: https://rubygems.org/
15
+ specs:
16
+ abstract_type (0.0.7)
17
+ actioncable (5.0.2)
18
+ actionpack (= 5.0.2)
19
+ nio4r (>= 1.2, < 3.0)
20
+ websocket-driver (~> 0.6.1)
21
+ actionmailer (5.0.2)
22
+ actionpack (= 5.0.2)
23
+ actionview (= 5.0.2)
24
+ activejob (= 5.0.2)
25
+ mail (~> 2.5, >= 2.5.4)
26
+ rails-dom-testing (~> 2.0)
27
+ actionpack (5.0.2)
28
+ actionview (= 5.0.2)
29
+ activesupport (= 5.0.2)
30
+ rack (~> 2.0)
31
+ rack-test (~> 0.6.3)
32
+ rails-dom-testing (~> 2.0)
33
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
34
+ actionview (5.0.2)
35
+ activesupport (= 5.0.2)
36
+ builder (~> 3.1)
37
+ erubis (~> 2.7.0)
38
+ rails-dom-testing (~> 2.0)
39
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
40
+ activejob (5.0.2)
41
+ activesupport (= 5.0.2)
42
+ globalid (>= 0.3.6)
43
+ activemodel (5.0.2)
44
+ activesupport (= 5.0.2)
45
+ activerecord (5.0.2)
46
+ activemodel (= 5.0.2)
47
+ activesupport (= 5.0.2)
48
+ arel (~> 7.0)
49
+ activesupport (5.0.2)
50
+ concurrent-ruby (~> 1.0, >= 1.0.2)
51
+ i18n (~> 0.7)
52
+ minitest (~> 5.1)
53
+ tzinfo (~> 1.1)
54
+ adamantium (0.2.0)
55
+ ice_nine (~> 0.11.0)
56
+ memoizable (~> 0.4.0)
57
+ addressable (2.5.0)
58
+ public_suffix (~> 2.0, >= 2.0.2)
59
+ arel (7.1.4)
60
+ ast (2.3.0)
61
+ babel-source (5.8.35)
62
+ babel-transpiler (0.7.0)
63
+ babel-source (>= 4.0, < 6)
64
+ execjs (~> 2.0)
65
+ builder (3.2.3)
66
+ capybara (2.12.1)
67
+ addressable
68
+ mime-types (>= 1.16)
69
+ nokogiri (>= 1.3.3)
70
+ rack (>= 1.0.0)
71
+ rack-test (>= 0.5.4)
72
+ xpath (~> 2.0)
73
+ childprocess (0.6.2)
74
+ ffi (~> 1.0, >= 1.0.11)
75
+ cliver (0.3.2)
76
+ coderay (1.1.1)
77
+ coffee-script-source (1.12.2)
78
+ concord (0.1.5)
79
+ adamantium (~> 0.2.0)
80
+ equalizer (~> 0.0.9)
81
+ concurrent-ruby (1.0.5)
82
+ connection_pool (2.2.1)
83
+ cookiejar (0.3.3)
84
+ daemons (1.2.4)
85
+ database_cleaner (1.5.3)
86
+ diff-lcs (1.2.5)
87
+ em-http-request (1.1.5)
88
+ addressable (>= 2.3.4)
89
+ cookiejar (!= 0.3.1)
90
+ em-socksify (>= 0.3)
91
+ eventmachine (>= 1.0.3)
92
+ http_parser.rb (>= 0.6.0)
93
+ em-socksify (0.3.1)
94
+ eventmachine (>= 1.0.0.beta.4)
95
+ em-websocket (0.5.1)
96
+ eventmachine (>= 0.12.9)
97
+ http_parser.rb (~> 0.6.0)
98
+ equalizer (0.0.11)
99
+ erubis (2.7.0)
100
+ eventmachine (1.2.3)
101
+ execjs (2.7.0)
102
+ ffi (1.9.18)
103
+ globalid (0.3.7)
104
+ activesupport (>= 4.1.0)
105
+ hike (1.2.3)
106
+ http_parser.rb (0.6.0)
107
+ httpclient (2.8.3)
108
+ hyper-component (0.12.2)
109
+ hyper-react (>= 0.12.0)
110
+ hyperloop-config (>= 0.9.2)
111
+ opal-rails (~> 0.9.0)
112
+ react-rails (< 1.10.0)
113
+ hyper-react (0.12.2)
114
+ hyper-store (>= 0.2.1)
115
+ hyperloop-config (>= 0.9.2)
116
+ opal (>= 0.8.0)
117
+ opal-activesupport (>= 0.2.0)
118
+ hyper-spec (0.1.0)
119
+ capybara
120
+ opal
121
+ parser
122
+ poltergeist
123
+ pry
124
+ rspec-rails
125
+ selenium-webdriver (= 2.53.4)
126
+ timecop
127
+ unparser (= 0.2.5)
128
+ hyper-store (0.2.1)
129
+ hyperloop-config (>= 0.9.2)
130
+ hyperloop-config (0.9.2)
131
+ opal
132
+ i18n (0.8.1)
133
+ ice_nine (0.11.2)
134
+ jquery-rails (4.2.2)
135
+ rails-dom-testing (>= 1, < 3)
136
+ railties (>= 4.2.0)
137
+ thor (>= 0.14, < 2.0)
138
+ loofah (2.0.3)
139
+ nokogiri (>= 1.5.9)
140
+ mail (2.6.4)
141
+ mime-types (>= 1.16, < 4)
142
+ memoizable (0.4.2)
143
+ thread_safe (~> 0.3, >= 0.3.1)
144
+ method_source (0.8.2)
145
+ mime-types (3.1)
146
+ mime-types-data (~> 3.2015)
147
+ mime-types-data (3.2016.0521)
148
+ mini_portile2 (2.1.0)
149
+ minitest (5.10.1)
150
+ multi_json (1.12.1)
151
+ mutations (0.8.1)
152
+ activesupport
153
+ nio4r (2.0.0)
154
+ nokogiri (1.7.0.1)
155
+ mini_portile2 (~> 2.1.0)
156
+ opal (0.10.3)
157
+ hike (~> 1.2)
158
+ sourcemap (~> 0.1.0)
159
+ sprockets (~> 3.1)
160
+ tilt (>= 1.4)
161
+ opal-activesupport (0.3.0)
162
+ opal (>= 0.5.0, < 1.0.0)
163
+ opal-browser (0.2.0)
164
+ opal
165
+ paggio
166
+ opal-jquery (0.4.2)
167
+ opal (>= 0.7.0, < 0.11.0)
168
+ opal-rails (0.9.1)
169
+ jquery-rails
170
+ opal (>= 0.8.0, < 0.11)
171
+ opal-activesupport (>= 0.0.5)
172
+ opal-jquery (~> 0.4.0)
173
+ opal-sprockets (~> 0.4.0)
174
+ rails (>= 4.0, < 6.0)
175
+ sprockets-rails (< 3.0)
176
+ opal-sprockets (0.4.0.0.10.0.3.0.0)
177
+ opal (~> 0.10.0)
178
+ sprockets (~> 3.0)
179
+ tilt (>= 1.4)
180
+ paggio (0.2.6)
181
+ parser (2.3.3.1)
182
+ ast (~> 2.2)
183
+ poltergeist (1.13.0)
184
+ capybara (~> 2.1)
185
+ cliver (~> 0.3.1)
186
+ websocket-driver (>= 0.2.0)
187
+ procto (0.0.3)
188
+ pry (0.10.4)
189
+ coderay (~> 1.1.0)
190
+ method_source (~> 0.8.1)
191
+ slop (~> 3.4)
192
+ public_suffix (2.0.5)
193
+ puma (3.8.2)
194
+ pusher (1.3.1)
195
+ httpclient (~> 2.7)
196
+ multi_json (~> 1.0)
197
+ pusher-signature (~> 0.1.8)
198
+ pusher-fake (1.8.0)
199
+ em-http-request (~> 1.1)
200
+ em-websocket (~> 0.5)
201
+ multi_json (~> 1.6)
202
+ thin (~> 1.5)
203
+ pusher-signature (0.1.8)
204
+ rack (2.0.1)
205
+ rack-test (0.6.3)
206
+ rack (>= 1.0)
207
+ rails (5.0.2)
208
+ actioncable (= 5.0.2)
209
+ actionmailer (= 5.0.2)
210
+ actionpack (= 5.0.2)
211
+ actionview (= 5.0.2)
212
+ activejob (= 5.0.2)
213
+ activemodel (= 5.0.2)
214
+ activerecord (= 5.0.2)
215
+ activesupport (= 5.0.2)
216
+ bundler (>= 1.3.0, < 2.0)
217
+ railties (= 5.0.2)
218
+ sprockets-rails (>= 2.0.0)
219
+ rails-dom-testing (2.0.2)
220
+ activesupport (>= 4.2.0, < 6.0)
221
+ nokogiri (~> 1.6)
222
+ rails-html-sanitizer (1.0.3)
223
+ loofah (~> 2.0)
224
+ railties (5.0.2)
225
+ actionpack (= 5.0.2)
226
+ activesupport (= 5.0.2)
227
+ method_source
228
+ rake (>= 0.8.7)
229
+ thor (>= 0.18.1, < 2.0)
230
+ rake (10.5.0)
231
+ react-rails (1.9.0)
232
+ babel-transpiler (>= 0.7.0)
233
+ coffee-script-source (~> 1.8)
234
+ connection_pool
235
+ execjs
236
+ railties (>= 3.2)
237
+ tilt
238
+ rspec (3.5.0)
239
+ rspec-core (~> 3.5.0)
240
+ rspec-expectations (~> 3.5.0)
241
+ rspec-mocks (~> 3.5.0)
242
+ rspec-core (3.5.4)
243
+ rspec-support (~> 3.5.0)
244
+ rspec-expectations (3.5.0)
245
+ diff-lcs (>= 1.2.0, < 2.0)
246
+ rspec-support (~> 3.5.0)
247
+ rspec-mocks (3.5.0)
248
+ diff-lcs (>= 1.2.0, < 2.0)
249
+ rspec-support (~> 3.5.0)
250
+ rspec-rails (3.5.2)
251
+ actionpack (>= 3.0)
252
+ activesupport (>= 3.0)
253
+ railties (>= 3.0)
254
+ rspec-core (~> 3.5.0)
255
+ rspec-expectations (~> 3.5.0)
256
+ rspec-mocks (~> 3.5.0)
257
+ rspec-support (~> 3.5.0)
258
+ rspec-steps (2.1.1)
259
+ rspec (>= 3.0, < 3.99)
260
+ rspec-support (3.5.0)
261
+ rspec-wait (0.0.9)
262
+ rspec (>= 3, < 4)
263
+ rubyzip (1.2.1)
264
+ selenium-webdriver (2.53.4)
265
+ childprocess (~> 0.5)
266
+ rubyzip (~> 1.0)
267
+ websocket (~> 1.0)
268
+ slop (3.6.0)
269
+ sourcemap (0.1.1)
270
+ sprockets (3.7.1)
271
+ concurrent-ruby (~> 1.0)
272
+ rack (> 1, < 3)
273
+ sprockets-rails (2.3.3)
274
+ actionpack (>= 3.0)
275
+ activesupport (>= 3.0)
276
+ sprockets (>= 2.8, < 4.0)
277
+ sqlite3 (1.3.10)
278
+ thin (1.7.0)
279
+ daemons (~> 1.0, >= 1.0.9)
280
+ eventmachine (~> 1.0, >= 1.0.4)
281
+ rack (>= 1, < 3)
282
+ thor (0.19.4)
283
+ thread_safe (0.3.6)
284
+ tilt (2.0.6)
285
+ timecop (0.8.1)
286
+ tzinfo (1.2.2)
287
+ thread_safe (~> 0.1)
288
+ unparser (0.2.5)
289
+ abstract_type (~> 0.0.7)
290
+ adamantium (~> 0.2.0)
291
+ concord (~> 0.1.5)
292
+ diff-lcs (~> 1.2.5)
293
+ equalizer (~> 0.0.9)
294
+ parser (~> 2.3.0)
295
+ procto (~> 0.0.2)
296
+ websocket (1.2.4)
297
+ websocket-driver (0.6.5)
298
+ websocket-extensions (>= 0.1.0)
299
+ websocket-extensions (0.1.2)
300
+ xpath (2.0.0)
301
+ nokogiri (~> 1.3)
302
+
303
+ PLATFORMS
304
+ ruby
305
+
306
+ DEPENDENCIES
307
+ bundler (~> 1.8)
308
+ database_cleaner
309
+ hyper-operation!
310
+ hyper-react
311
+ hyper-spec
312
+ opal-browser
313
+ opal-rails
314
+ pry
315
+ puma
316
+ rails (~> 5.0.0)
317
+ rake (~> 10.0)
318
+ rspec-rails
319
+ rspec-steps
320
+ rspec-wait
321
+ sqlite3 (= 1.3.10)
322
+
323
+ BUNDLED WITH
324
+ 1.12.5
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2017 Mitch VanDuyn
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.