facebook_canvas 0.6.0 → 0.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c19485850a28e8afec2a32ed1431bcee627ccf7e
4
- data.tar.gz: d4ba302ed9de31748119c13349f3c8545b4fc54c
3
+ metadata.gz: '01149bb04b4d501e7c8184a7fdd3859a15d0aee2'
4
+ data.tar.gz: 275c76ebbc404235cc10fb7d4ca5902a0f59cc3f
5
5
  SHA512:
6
- metadata.gz: 6bb95c7f64c1cee957d4240fc2ea2b38d3caeecdc81b75369e49ec5291b4412b9d615a750afb76f54371199b5dc3a78369e5e57581dff9a2733914f2c1a6dc54
7
- data.tar.gz: 53befb7de98be6ab8802033cc20774f848e6e10db49c247ac50051629c5b781364061bd33cf418ad35f50493916f7f93e203edc68b2fc4fb0ec26b0f6ba8002b
6
+ metadata.gz: 71ea9beb7d7f5b55ea48db512f03a7edb6d1ec931768219393af843d0f2484ce650591f91b4dba37ef9cd9dc7334fce3f305b04120ff55d04d99fc95ae620318
7
+ data.tar.gz: fc5252d673289c4279b583e8a1005c9060f23e9a89118630ce4596808450ff4c57d6543568f0c62717291db8f9aa15e76f995e6bb76c8fc9073d6259a01fc13a
@@ -1,3 +1,3 @@
1
1
  module FacebookCanvas
2
- VERSION = "0.6.0"
2
+ VERSION = "0.6.1"
3
3
  end
@@ -1740,3 +1740,82 @@ FacebookCanvas::SignedRequestTest: test_no_access_token_from_signed_request
1740
1740
  -------------------------------------------------------------
1741
1741
  with Rails' XHR requests: test_does_not_change_request_method
1742
1742
  -------------------------------------------------------------
1743
+ ---------------------------------------------------------------------------
1744
+ FacebookCanvas::IntegrationMiddlewareTest: test_convert_post_to_get_request
1745
+ ---------------------------------------------------------------------------
1746
+ Started POST "/foo/index" for 127.0.0.1 at 2018-05-28 12:53:19 +0200
1747
+ Processing by FooController#index as HTML
1748
+ Completed 200 OK in 0ms
1749
+ -------------------------------------------------------------------
1750
+ FacebookCanvas::IntegrationMiddlewareTest: test_do_not_convert_post
1751
+ -------------------------------------------------------------------
1752
+ Started POST "/foo/create" for 127.0.0.1 at 2018-05-28 12:53:19 +0200
1753
+ Processing by FooController#create as HTML
1754
+ Parameters: {"utf8"=>"utf"}
1755
+ Completed 200 OK in 0ms
1756
+ ---------------------------------------------------------------------------
1757
+ FacebookCanvas::IntegrationMiddlewareTest: test_do_not_convert_xhr_requests
1758
+ ---------------------------------------------------------------------------
1759
+ Started POST "/foo/create" for 127.0.0.1 at 2018-05-28 12:53:19 +0200
1760
+ Processing by FooController#create as JS
1761
+ Completed 200 OK in 0ms
1762
+ --------------------------------------------------------------------
1763
+ request_host::matching via proc: test_does_not_change_request_method
1764
+ --------------------------------------------------------------------
1765
+ --------------------------------------------------------------------
1766
+ request_host::matching via proc: test_modifies_request_method_to_GET
1767
+ --------------------------------------------------------------------
1768
+ --------------------------------------------------
1769
+ FacebookCanvas::SignedRequestTest: test_initialize
1770
+ --------------------------------------------------
1771
+ -----------------------------------------------------------------------
1772
+ FacebookCanvas::SignedRequestTest: test_get_user_id_from_signed_request
1773
+ -----------------------------------------------------------------------
1774
+ ---------------------------------------------------------------------------
1775
+ FacebookCanvas::SignedRequestTest: test_no_access_token_from_signed_request
1776
+ ---------------------------------------------------------------------------
1777
+ ----------------------------------------------------------------------
1778
+ FacebookCanvas::SignedRequestTest: test_no_user_id_from_signed_request
1779
+ ----------------------------------------------------------------------
1780
+ ----------------------------------------------------------------------------
1781
+ FacebookCanvas::SignedRequestTest: test_get_access_token_from_signed_request
1782
+ ----------------------------------------------------------------------------
1783
+ -----------------------------------------------------------------------------------------
1784
+ request_host::matching via regexp::matching any host: test_modifies_request_method_to_GET
1785
+ -----------------------------------------------------------------------------------------
1786
+ ----------------------------------------------------------------------------------------------
1787
+ request_host::matching via regexp::matching speficic host: test_does_not_change_request_method
1788
+ ----------------------------------------------------------------------------------------------
1789
+ ---------------------------------------------------------------------------------------------------------
1790
+ request_host::matching via regexp::matching speficic host: test_modifies_request_method_to_GET_if_matched
1791
+ ---------------------------------------------------------------------------------------------------------
1792
+ ------------------------------
1793
+ FacebookCanvasTest: test_truth
1794
+ ------------------------------
1795
+ --------------------------------------------------------------------------------
1796
+ inside_filter::is set::denied by the filter: test_does_not_change_request_method
1797
+ --------------------------------------------------------------------------------
1798
+ ------------------------------------------------------------------------------
1799
+ inside_filter::is set::accepted by the filter: test_.inside?(env)_returns_true
1800
+ ------------------------------------------------------------------------------
1801
+ ---------------------------------------------------------------------------------------------
1802
+ inside_filter::is set::accepted by the filter: test_modifies_request_method_to_GET_if_matched
1803
+ ---------------------------------------------------------------------------------------------
1804
+ -------------------------------------------------------------
1805
+ with Rails' XHR requests: test_does_not_change_request_method
1806
+ -------------------------------------------------------------
1807
+ -------------------------------------------------------------
1808
+ custom_filter: test_modifies_request_method_to_GET_if_matched
1809
+ -------------------------------------------------------------
1810
+ -----------------------------------------------------
1811
+ custom_filter: test_prevents_change_of_request_method
1812
+ -----------------------------------------------------
1813
+ --------------------------------------------------------------------------------------
1814
+ request_host::matching via other objects: test_fails_initialization_with_ArgumentError
1815
+ --------------------------------------------------------------------------------------
1816
+ --------------------------------------------------------------------------
1817
+ inside_filter::is optional: test_modifies_request_method_to_GET_if_matched
1818
+ --------------------------------------------------------------------------
1819
+ -------------------------------------------------------------
1820
+ with Rails' POST request: test_does_not_change_request_method
1821
+ -------------------------------------------------------------
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: facebook_canvas
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - André Stuhrmann
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-16 00:00:00.000000000 Z
11
+ date: 2018-05-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -31,7 +31,7 @@ dependencies:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
- type: :runtime
34
+ type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
@@ -45,7 +45,7 @@ dependencies:
45
45
  - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
- type: :runtime
48
+ type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
@@ -139,48 +139,48 @@ signing_key:
139
139
  specification_version: 4
140
140
  summary: Rails engine for Facebook's canvas integration.
141
141
  test_files:
142
- - test/facebook_canvas/signed_request_test.rb
142
+ - test/fixtures/signed_request.txt
143
+ - test/fixtures/signed_request_with_user_id.txt
144
+ - test/test_helper.rb
145
+ - test/support/http_method_compatibility.rb
146
+ - test/integration/middleware_test.rb
143
147
  - test/facebook_canvas/middleware_test.rb
148
+ - test/facebook_canvas/signed_request_test.rb
144
149
  - test/facebook_canvas_test.rb
145
- - test/dummy/README.rdoc
146
- - test/dummy/app/assets/stylesheets/application.css
147
- - test/dummy/app/assets/javascripts/application.js
148
- - test/dummy/app/controllers/foo_controller.rb
149
- - test/dummy/app/controllers/application_controller.rb
150
+ - test/dummy/public/404.html
151
+ - test/dummy/public/500.html
152
+ - test/dummy/public/422.html
153
+ - test/dummy/public/favicon.ico
150
154
  - test/dummy/app/views/foo/create.haml
151
155
  - test/dummy/app/views/layouts/application.html.erb
156
+ - test/dummy/app/controllers/application_controller.rb
157
+ - test/dummy/app/controllers/foo_controller.rb
158
+ - test/dummy/app/assets/javascripts/application.js
159
+ - test/dummy/app/assets/stylesheets/application.css
152
160
  - test/dummy/app/helpers/application_helper.rb
153
- - test/dummy/config/application.rb
154
- - test/dummy/config/initializers/session_store.rb
161
+ - test/dummy/Rakefile
162
+ - test/dummy/config/secrets.yml
163
+ - test/dummy/config/initializers/mime_types.rb
164
+ - test/dummy/config/initializers/backtrace_silencers.rb
165
+ - test/dummy/config/initializers/cookies_serializer.rb
155
166
  - test/dummy/config/initializers/wrap_parameters.rb
156
- - test/dummy/config/initializers/assets.rb
157
167
  - test/dummy/config/initializers/filter_parameter_logging.rb
158
- - test/dummy/config/initializers/cookies_serializer.rb
168
+ - test/dummy/config/initializers/session_store.rb
159
169
  - test/dummy/config/initializers/inflections.rb
160
- - test/dummy/config/initializers/backtrace_silencers.rb
161
- - test/dummy/config/initializers/mime_types.rb
162
- - test/dummy/config/locales/en.yml
163
- - test/dummy/config/routes.rb
170
+ - test/dummy/config/initializers/assets.rb
171
+ - test/dummy/config/environment.rb
172
+ - test/dummy/config/boot.rb
164
173
  - test/dummy/config/environments/development.rb
165
- - test/dummy/config/environments/test.rb
166
174
  - test/dummy/config/environments/production.rb
167
- - test/dummy/config/environment.rb
175
+ - test/dummy/config/environments/test.rb
176
+ - test/dummy/config/application.rb
177
+ - test/dummy/config/locales/en.yml
178
+ - test/dummy/config/routes.rb
168
179
  - test/dummy/config/database.yml
169
- - test/dummy/config/boot.rb
170
- - test/dummy/config/secrets.yml
171
- - test/dummy/Rakefile
172
- - test/dummy/public/favicon.ico
173
- - test/dummy/public/422.html
174
- - test/dummy/public/404.html
175
- - test/dummy/public/500.html
176
- - test/dummy/log/test.log
180
+ - test/dummy/README.rdoc
181
+ - test/dummy/bin/bundle
182
+ - test/dummy/bin/rails
177
183
  - test/dummy/bin/setup
178
184
  - test/dummy/bin/rake
179
- - test/dummy/bin/rails
180
- - test/dummy/bin/bundle
181
185
  - test/dummy/config.ru
182
- - test/fixtures/signed_request.txt
183
- - test/fixtures/signed_request_with_user_id.txt
184
- - test/test_helper.rb
185
- - test/integration/middleware_test.rb
186
- - test/support/http_method_compatibility.rb
186
+ - test/dummy/log/test.log