messenger_platform_rails 0.2.0 → 0.3.0

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.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +2 -15
  3. data/lib/messenger_platform/contact.rb +2 -2
  4. data/lib/messenger_platform/inbound_message.rb +7 -7
  5. data/lib/messenger_platform/version.rb +1 -1
  6. metadata +17 -85
  7. data/test/controllers/messenger_platform/webhook_controller_test.rb +0 -13
  8. data/test/dummy/README.rdoc +0 -28
  9. data/test/dummy/Rakefile +0 -6
  10. data/test/dummy/app/assets/javascripts/application.js +0 -13
  11. data/test/dummy/app/assets/stylesheets/application.css +0 -15
  12. data/test/dummy/app/controllers/application_controller.rb +0 -5
  13. data/test/dummy/app/helpers/application_helper.rb +0 -2
  14. data/test/dummy/app/models/message_processor.rb +0 -13
  15. data/test/dummy/app/views/layouts/application.html.erb +0 -14
  16. data/test/dummy/bin/bundle +0 -3
  17. data/test/dummy/bin/rails +0 -4
  18. data/test/dummy/bin/rake +0 -4
  19. data/test/dummy/bin/setup +0 -29
  20. data/test/dummy/config/application.rb +0 -12
  21. data/test/dummy/config/boot.rb +0 -5
  22. data/test/dummy/config/environment.rb +0 -5
  23. data/test/dummy/config/environments/development.rb +0 -35
  24. data/test/dummy/config/environments/production.rb +0 -77
  25. data/test/dummy/config/environments/test.rb +0 -41
  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/messenger_platform.rb +0 -6
  32. data/test/dummy/config/initializers/mime_types.rb +0 -4
  33. data/test/dummy/config/initializers/session_store.rb +0 -3
  34. data/test/dummy/config/initializers/wrap_parameters.rb +0 -14
  35. data/test/dummy/config/locales/en.yml +0 -23
  36. data/test/dummy/config/routes.rb +0 -5
  37. data/test/dummy/config/secrets.yml +0 -22
  38. data/test/dummy/config.ru +0 -4
  39. data/test/dummy/db/development.sqlite3 +0 -0
  40. data/test/dummy/log/development.log +0 -788
  41. data/test/dummy/public/404.html +0 -67
  42. data/test/dummy/public/422.html +0 -67
  43. data/test/dummy/public/500.html +0 -66
  44. data/test/dummy/public/favicon.ico +0 -0
  45. data/test/integration/navigation_test.rb +0 -8
  46. data/test/messenger_platform_test.rb +0 -7
  47. data/test/test_helper.rb +0 -20
@@ -1,23 +0,0 @@
1
- # Files in the config/locales directory are used for internationalization
2
- # and are automatically loaded by Rails. If you want to use locales other
3
- # than English, add the necessary files in this directory.
4
- #
5
- # To use the locales, use `I18n.t`:
6
- #
7
- # I18n.t 'hello'
8
- #
9
- # In views, this is aliased to just `t`:
10
- #
11
- # <%= t('hello') %>
12
- #
13
- # To use a different locale, set it with `I18n.locale`:
14
- #
15
- # I18n.locale = :es
16
- #
17
- # This would use the information in config/locales/es.yml.
18
- #
19
- # To learn more, please read the Rails Internationalization guide
20
- # available at http://guides.rubyonrails.org/i18n.html.
21
-
22
- en:
23
- hello: "Hello world"
@@ -1,5 +0,0 @@
1
- Rails.application.routes.draw do
2
-
3
- mount MessengerPlatform::Engine, at: "/hookie_hook"
4
-
5
- end
@@ -1,22 +0,0 @@
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: 998923b56715b730f66e40d4a2a068cddb860be7cd1e39045260a91db75383ea029f68ae33d9691d640a634a131d2046b8cfb83ecdea950d03634931ec0fc77e
15
-
16
- test:
17
- secret_key_base: c76487c88db0df9bd50fb2d537616b02d3eee6c6f7082f5a58f3125f57f7e4ddb44777a84889b1e2f5e04c553005690077d13b83bcf6881b51352f4da14cdc97
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"] %>
data/test/dummy/config.ru DELETED
@@ -1,4 +0,0 @@
1
- # This file is used by Rack-based servers to start the application.
2
-
3
- require ::File.expand_path('../config/environment', __FILE__)
4
- run Rails.application
File without changes