foreign_office 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.rdoc +3 -0
  4. data/Rakefile +32 -0
  5. data/app/assets/javascripts/debug_logger.js +22 -0
  6. data/app/assets/javascripts/foreign_office.js +229 -0
  7. data/lib/foreign_office.rb +68 -0
  8. data/lib/foreign_office/busses/generic_bus.rb +4 -0
  9. data/lib/foreign_office/busses/pubnub_bus.rb +34 -0
  10. data/lib/foreign_office/busses/pusher_bus.rb +2 -0
  11. data/lib/foreign_office/version.rb +3 -0
  12. data/lib/tasks/foreign_office_tasks.rake +4 -0
  13. data/test/dummy/README.rdoc +28 -0
  14. data/test/dummy/Rakefile +6 -0
  15. data/test/dummy/app/assets/javascripts/application.js +13 -0
  16. data/test/dummy/app/assets/stylesheets/application.css +15 -0
  17. data/test/dummy/app/controllers/application_controller.rb +5 -0
  18. data/test/dummy/app/helpers/application_helper.rb +2 -0
  19. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  20. data/test/dummy/bin/bundle +3 -0
  21. data/test/dummy/bin/rails +4 -0
  22. data/test/dummy/bin/rake +4 -0
  23. data/test/dummy/config.ru +4 -0
  24. data/test/dummy/config/application.rb +23 -0
  25. data/test/dummy/config/boot.rb +5 -0
  26. data/test/dummy/config/database.yml +25 -0
  27. data/test/dummy/config/environment.rb +5 -0
  28. data/test/dummy/config/environments/development.rb +37 -0
  29. data/test/dummy/config/environments/production.rb +82 -0
  30. data/test/dummy/config/environments/test.rb +39 -0
  31. data/test/dummy/config/initializers/assets.rb +8 -0
  32. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  33. data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
  34. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  35. data/test/dummy/config/initializers/inflections.rb +16 -0
  36. data/test/dummy/config/initializers/mime_types.rb +4 -0
  37. data/test/dummy/config/initializers/session_store.rb +3 -0
  38. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  39. data/test/dummy/config/locales/en.yml +23 -0
  40. data/test/dummy/config/routes.rb +56 -0
  41. data/test/dummy/config/secrets.yml +22 -0
  42. data/test/dummy/db/test.sqlite3 +0 -0
  43. data/test/dummy/log/test.log +288 -0
  44. data/test/dummy/public/404.html +67 -0
  45. data/test/dummy/public/422.html +67 -0
  46. data/test/dummy/public/500.html +66 -0
  47. data/test/dummy/public/favicon.ico +0 -0
  48. data/test/foreign_office_test.rb +51 -0
  49. data/test/test_helper.rb +18 -0
  50. metadata +188 -0
@@ -0,0 +1,56 @@
1
+ Rails.application.routes.draw do
2
+ # The priority is based upon order of creation: first created -> highest priority.
3
+ # See how all your routes lay out with "rake routes".
4
+
5
+ # You can have the root of your site routed with "root"
6
+ # root 'welcome#index'
7
+
8
+ # Example of regular route:
9
+ # get 'products/:id' => 'catalog#view'
10
+
11
+ # Example of named route that can be invoked with purchase_url(id: product.id)
12
+ # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
13
+
14
+ # Example resource route (maps HTTP verbs to controller actions automatically):
15
+ # resources :products
16
+
17
+ # Example resource route with options:
18
+ # resources :products do
19
+ # member do
20
+ # get 'short'
21
+ # post 'toggle'
22
+ # end
23
+ #
24
+ # collection do
25
+ # get 'sold'
26
+ # end
27
+ # end
28
+
29
+ # Example resource route with sub-resources:
30
+ # resources :products do
31
+ # resources :comments, :sales
32
+ # resource :seller
33
+ # end
34
+
35
+ # Example resource route with more complex sub-resources:
36
+ # resources :products do
37
+ # resources :comments
38
+ # resources :sales do
39
+ # get 'recent', on: :collection
40
+ # end
41
+ # end
42
+
43
+ # Example resource route with concerns:
44
+ # concern :toggleable do
45
+ # post 'toggle'
46
+ # end
47
+ # resources :posts, concerns: :toggleable
48
+ # resources :photos, concerns: :toggleable
49
+
50
+ # Example resource route within a namespace:
51
+ # namespace :admin do
52
+ # # Directs /admin/products/* to Admin::ProductsController
53
+ # # (app/controllers/admin/products_controller.rb)
54
+ # resources :products
55
+ # end
56
+ end
@@ -0,0 +1,22 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Your secret key is used for verifying the integrity of signed cookies.
4
+ # If you change this key, all old signed cookies will become invalid!
5
+
6
+ # Make sure the secret is at least 30 characters and all random,
7
+ # no regular words or you'll be exposed to dictionary attacks.
8
+ # You can use `rake secret` to generate a secure secret key.
9
+
10
+ # Make sure the secrets in this file are kept private
11
+ # if you're sharing your code publicly.
12
+
13
+ development:
14
+ secret_key_base: 99e999f3f6861211e5c03e64befc40b62f31a48653684f6c247ce3180cda7f91d0735fa5edd5a9f52a9f50d287e4d39f6f65ba3d56c07097b5d9f3f1b10cb74f
15
+
16
+ test:
17
+ secret_key_base: b3e3d8003cb24eedac74288aebb15813172ab3ff6de0d978c4e5ebd518e52f25360f2c2e02e183549957520e58a9133b329759e23dbbbea0f03364863b65500d
18
+
19
+ # Do not keep production secrets in the repository,
20
+ # instead read values from the environment.
21
+ production:
22
+ secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
File without changes
@@ -0,0 +1,288 @@
1
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
2
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is another test"}}
3
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
4
+ ForeignOffice.publish: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
5
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
6
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is another test"}}
7
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
8
+ ForeignOffice.publish: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
9
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
10
+ ForeignOffice.publish: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
11
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
12
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is another test"}}
13
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
14
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is another test"}}
15
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
16
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is another test"}}
17
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
18
+ ForeignOffice.publish: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
19
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
20
+ ForeignOffice.publish: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
21
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
22
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is another test"}}
23
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
24
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is another test"}}
25
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
26
+ ForeignOffice.publish: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
27
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
28
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is another test"}}
29
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
30
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is another test"}}
31
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
32
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is another test"}}
33
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
34
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is another test"}}
35
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
36
+ ForeignOffice.publish: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
37
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
38
+ ForeignOffice.publish: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
39
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
40
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is another test"}}
41
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
42
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is another test"}}
43
+ ForeignOffice#publish! attempt: 1 message: {"channel"=>"TestMe", "object"=>{:this=>"is another test"}}
44
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
45
+ ForeignOffice.publish: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
46
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
47
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is another test"}}
48
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
49
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is another test"}}
50
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
51
+ ForeignOffice.publish: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
52
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
53
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is another test"}}
54
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
55
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is another test"}}
56
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
57
+ ForeignOffice.publish: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
58
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
59
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is another test"}}
60
+ ForeignOffice#publish! attempt: 1 message: {"channel"=>"TestMe", "object"=>{:this=>"is another test"}}
61
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
62
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is another test"}}
63
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
64
+ ForeignOffice.publish: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
65
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
66
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is another test"}}
67
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
68
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is another test"}}
69
+ ForeignOffice#publish! attempt: 1 message: {"channel"=>"TestMe", "object"=>{:this=>"is another test"}}
70
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
71
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is another test"}}
72
+ ForeignOffice#publish! attempt: 1 message: {"channel"=>"TestMe", "object"=>{:this=>"is another test"}}
73
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
74
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is another test"}}
75
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
76
+ ForeignOffice.publish: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
77
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
78
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is another test"}}
79
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
80
+ ForeignOffice.publish: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
81
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
82
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is another test"}}
83
+ ForeignOffice#publish! attempt: 1 message: {"channel"=>"TestMe", "object"=>{:this=>"is another test"}}
84
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
85
+ ForeignOffice.publish: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
86
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
87
+ ForeignOffice.publish: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
88
+ ForeignOffice#publish! attempt: 1 message: {"channel"=>"TestMe", "object"=>{:this=>"is a test"}}
89
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
90
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is another test"}}
91
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
92
+ ForeignOffice.publish: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
93
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
94
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is another test"}}
95
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
96
+ ForeignOffice.publish: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
97
+ ForeignOffice#publish! attempt: 1 message: {"channel"=>"TestMe", "object"=>{:this=>"is a test"}}
98
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
99
+ ForeignOffice.publish: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
100
+ ForeignOffice#publish! attempt: 1 message: {"channel"=>"TestMe", "object"=>{:this=>"is a test"}}
101
+ ForeignOffice#publish! attempt: 1 message: {"channel"=>"TestMeAgain", "object"=>{:this=>"is another test"}}
102
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
103
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is another test"}}
104
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
105
+ ForeignOffice.publish: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
106
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
107
+ ForeignOffice.publish: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
108
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
109
+ ForeignOffice.publish: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
110
+ ForeignOffice#publish! attempt: 1 message: {"channel"=>"TestMe", "object"=>{:this=>"is a test"}}
111
+ ForeignOffice#publish! attempt: 1 message: {"channel"=>"TestMeAgain", "object"=>{:this=>"is another test"}}
112
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
113
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is another test"}}
114
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
115
+ ForeignOffice.publish: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
116
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
117
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is another test"}}
118
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
119
+ ForeignOffice.publish: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
120
+ ForeignOffice#publish! attempt: 1 message: {"channel"=>"TestMe", "object"=>{:this=>"is a test"}}
121
+ ForeignOffice#publish! attempt: 1 message: {"channel"=>"TestMeAgain", "object"=>{:this=>"is another test"}}
122
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
123
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
124
+ ForeignOffice#publish! attempt: 1 message: {"channel"=>"TestMe", "object"=>{:this=>"is a test"}}
125
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
126
+ ForeignOffice#publish! attempt: 1 message: {"channel"=>"TestMe", "object"=>{:this=>"is a test"}}
127
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
128
+ ForeignOffice.publish: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
129
+ ForeignOffice#publish! attempt: 1 message: {"channel"=>"TestMe", "object"=>{:this=>"is a test"}}
130
+ ForeignOffice#publish! attempt: 1 message: {"channel"=>"TestMeAgain", "object"=>{:this=>"is another test"}}
131
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
132
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is another test"}}
133
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
134
+ ForeignOffice.publish: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
135
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
136
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
137
+ ForeignOffice.publish: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
138
+ ForeignOffice#publish! attempt: 1 message: {"channel"=>"TestMe", "object"=>{:this=>"is a test"}}
139
+ ForeignOffice#publish! attempt: 1 message: {"channel"=>"TestMeAgain", "object"=>{:this=>"is another test"}}
140
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
141
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is another test"}}
142
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
143
+ ForeignOffice.publish: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
144
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
145
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
146
+ ForeignOffice#publish! attempt: 1 message: {"channel"=>"TestMe", "object"=>{:this=>"is a test"}}
147
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
148
+ ForeignOffice.publish: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
149
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
150
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is another test"}}
151
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
152
+ ForeignOffice.publish: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
153
+ ForeignOffice#publish! attempt: 1 message: {"channel"=>"TestMe", "object"=>{:this=>"is a test"}}
154
+ ForeignOffice#publish! attempt: 1 message: {"channel"=>"TestMeAgain", "object"=>{:this=>"is another test"}}
155
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
156
+ ForeignOffice.publish: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
157
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
158
+ ForeignOffice.publish: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
159
+ ForeignOffice#publish! attempt: 1 message: {"channel"=>"TestMe", "object"=>{:this=>"is a test"}}
160
+ ForeignOffice#publish! attempt: 1 message: {"channel"=>"TestMeAgain", "object"=>{:this=>"is another test"}}
161
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
162
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is another test"}}
163
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
164
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
165
+ ForeignOffice#publish! attempt: 1 message: {"channel"=>"TestMe", "object"=>{:this=>"is a test"}}
166
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
167
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is another test"}}
168
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
169
+ ForeignOffice.publish: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
170
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
171
+ ForeignOffice.publish: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
172
+ ForeignOffice#publish! attempt: 1 message: {"channel"=>"TestMe", "object"=>{:this=>"is a test"}}
173
+ ForeignOffice#publish! attempt: 1 message: {"channel"=>"TestMeAgain", "object"=>{:this=>"is another test"}}
174
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
175
+ ForeignOffice#publish! attempt: 1 message: {"channel"=>"TestMe", "object"=>{:this=>"is a test"}}
176
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
177
+ ForeignOffice.publish: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
178
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
179
+ ForeignOffice.publish: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
180
+ ForeignOffice#publish! attempt: 1 message: {"channel"=>"TestMe", "object"=>{:this=>"is a test"}}
181
+ ForeignOffice#publish! attempt: 1 message: {"channel"=>"TestMeAgain", "object"=>{:this=>"is another test"}}
182
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
183
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is another test"}}
184
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
185
+ ForeignOffice.publish: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
186
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
187
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is another test"}}
188
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
189
+ ForeignOffice.publish: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
190
+ ForeignOffice#publish! attempt: 1 message: {"channel"=>"TestMe", "object"=>{:this=>"is a test"}}
191
+ ForeignOffice#publish! attempt: 1 message: {"channel"=>"TestMeAgain", "object"=>{:this=>"is another test"}}
192
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
193
+ ForeignOffice#publish! attempt: 1 message: {"channel"=>"TestMe", "object"=>{:this=>"is a test"}}
194
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
195
+ ForeignOffice#publish! attempt: 1 message: {"channel"=>"TestMe", "object"=>{:this=>"is a test"}}
196
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
197
+ ForeignOffice.publish: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
198
+ ForeignOffice#publish! attempt: 1 message: {"channel"=>"TestMe", "object"=>{:this=>"is a test"}}
199
+ ForeignOffice#publish! attempt: 1 message: {"channel"=>"TestMeAgain", "object"=>{:this=>"is another test"}}
200
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
201
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is another test"}}
202
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
203
+ ForeignOffice.publish: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
204
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
205
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
206
+ ForeignOffice.publish: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
207
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
208
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is another test"}}
209
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
210
+ ForeignOffice.publish: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
211
+ ForeignOffice#publish! attempt: 1 message: {"channel"=>"TestMe", "object"=>{:this=>"is a test"}}
212
+ ForeignOffice#publish! attempt: 1 message: {"channel"=>"TestMeAgain", "object"=>{:this=>"is another test"}}
213
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
214
+ ForeignOffice#publish! attempt: 1 message: {"channel"=>"TestMe", "object"=>{:this=>"is a test"}}
215
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
216
+ ForeignOffice#publish! attempt: 1 message: {"channel"=>"TestMe", "object"=>{:this=>"is a test"}}
217
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
218
+ ForeignOffice#publish! attempt: 1 message: {"channel"=>"TestMe", "object"=>{:this=>"is a test"}}
219
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
220
+ ForeignOffice#publish! attempt: 1 message: {"channel"=>"TestMe", "object"=>{:this=>"is a test"}}
221
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
222
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is another test"}}
223
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
224
+ ForeignOffice.publish: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
225
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
226
+ ForeignOffice.publish: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
227
+ ForeignOffice#publish! attempt: 1 message: {"channel"=>"TestMe", "object"=>{:this=>"is a test"}}
228
+ ForeignOffice#publish! attempt: 1 message: {"channel"=>"TestMeAgain", "object"=>{:this=>"is another test"}}
229
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
230
+ ForeignOffice#publish! attempt: 1 message: {"channel"=>"TestMe", "object"=>{:this=>"is a test"}}
231
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
232
+ ForeignOffice.publish: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
233
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
234
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is another test"}}
235
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
236
+ ForeignOffice.publish: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
237
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
238
+ ForeignOffice#publish! attempt: 1 message: {"channel"=>"TestMe", "object"=>{:this=>"is a test"}}
239
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
240
+ ForeignOffice#publish! attempt: 1 message: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
241
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
242
+ ForeignOffice.publish: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
243
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
244
+ ForeignOffice.publish: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
245
+ ForeignOffice#publish! attempt: 1 message: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
246
+ ForeignOffice#publish! attempt: 1 message: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
247
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
248
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is another test"}}
249
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
250
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
251
+ ForeignOffice#publish! attempt: 1 message: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
252
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
253
+ ForeignOffice.publish: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
254
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
255
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is another test"}}
256
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
257
+ ForeignOffice.publish: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
258
+ ForeignOffice#publish! attempt: 1 message: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
259
+ ForeignOffice#publish! attempt: 1 message: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
260
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
261
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
262
+ ForeignOffice#publish! attempt: 1 message: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
263
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
264
+ ForeignOffice.publish: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
265
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
266
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is another test"}}
267
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
268
+ ForeignOffice.publish: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
269
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
270
+ ForeignOffice#publish! attempt: 1 message: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
271
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
272
+ ForeignOffice#publish! attempt: 1 message: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
273
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
274
+ ForeignOffice#publish! attempt: 1 message: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
275
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
276
+ ForeignOffice#publish! attempt: 1 message: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
277
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
278
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
279
+ ForeignOffice.publish: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
280
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
281
+ ForeignOffice.publish: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
282
+ ForeignOffice#publish! attempt: 1 message: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
283
+ ForeignOffice#publish! attempt: 1 message: {:channel=>"TestMeAgain", :object=>{:this=>"is another test"}}
284
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
285
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is another test"}}
286
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
287
+ ForeignOffice#publish! attempt: 1 message: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
288
+ ForeignOffice.publish: {:channel=>"TestMe", :object=>{:this=>"is a test"}}
@@ -0,0 +1,67 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The page you were looking for doesn't exist (404)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/404.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>The page you were looking for doesn't exist.</h1>
62
+ <p>You may have mistyped the address or the page may have moved.</p>
63
+ </div>
64
+ <p>If you are the application owner check the logs for more information.</p>
65
+ </div>
66
+ </body>
67
+ </html>
@@ -0,0 +1,67 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The change you wanted was rejected (422)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/422.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>The change you wanted was rejected.</h1>
62
+ <p>Maybe you tried to change something you didn't have access to.</p>
63
+ </div>
64
+ <p>If you are the application owner check the logs for more information.</p>
65
+ </div>
66
+ </body>
67
+ </html>