bobot 1.0.52

Sign up to get free protection for your applications and to get access to all the features.
Files changed (109) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +66 -0
  4. data/Rakefile +19 -0
  5. data/app/controllers/bobot/application_controller.rb +5 -0
  6. data/app/controllers/bobot/webhook_controller.rb +76 -0
  7. data/app/jobs/bobot/application_job.rb +4 -0
  8. data/app/jobs/bobot/commander_job.rb +9 -0
  9. data/app/jobs/bobot/deliver_job.rb +16 -0
  10. data/app/mailers/bobot/application_mailer.rb +6 -0
  11. data/app/models/bobot/application_record.rb +5 -0
  12. data/config/locales/bobot.en.yml +28 -0
  13. data/config/routes.rb +6 -0
  14. data/lib/bobot.rb +18 -0
  15. data/lib/bobot/buttons.rb +168 -0
  16. data/lib/bobot/commander.rb +68 -0
  17. data/lib/bobot/configuration.rb +206 -0
  18. data/lib/bobot/engine.rb +33 -0
  19. data/lib/bobot/error_parser.rb +102 -0
  20. data/lib/bobot/event.rb +40 -0
  21. data/lib/bobot/events/account_linking.rb +15 -0
  22. data/lib/bobot/events/common.rb +170 -0
  23. data/lib/bobot/events/delivery.rb +20 -0
  24. data/lib/bobot/events/message.rb +72 -0
  25. data/lib/bobot/events/message_echo.rb +8 -0
  26. data/lib/bobot/events/optin.rb +11 -0
  27. data/lib/bobot/events/postback.rb +20 -0
  28. data/lib/bobot/events/read.rb +15 -0
  29. data/lib/bobot/events/referral.rb +33 -0
  30. data/lib/bobot/exceptions.rb +73 -0
  31. data/lib/bobot/graph_facebook.rb +90 -0
  32. data/lib/bobot/profile.rb +23 -0
  33. data/lib/bobot/subscription.rb +19 -0
  34. data/lib/bobot/user.rb +13 -0
  35. data/lib/bobot/version.rb +14 -0
  36. data/lib/generators/bobot/install_generator.rb +28 -0
  37. data/lib/generators/bobot/templates/app/bobot/message.rb +3 -0
  38. data/lib/generators/bobot/templates/app/bobot/postback.rb +22 -0
  39. data/lib/generators/bobot/templates/app/bobot/workflow.rb +17 -0
  40. data/lib/generators/bobot/templates/config/bobot.yml +39 -0
  41. data/lib/generators/bobot/templates/config/initializers/bobot.rb +30 -0
  42. data/lib/generators/bobot/templates/config/locales/bobot.en.yml +30 -0
  43. data/lib/generators/bobot/templates/config/locales/bobot.fr.yml +29 -0
  44. data/lib/generators/bobot/uninstall_generator.rb +24 -0
  45. data/lib/generators/bobot/utils.rb +30 -0
  46. data/lib/tasks/bobot_tasks.rake +11 -0
  47. data/spec/bobot/bobot_spec.rb +24 -0
  48. data/spec/bobot/event/account_linking_spec.rb +59 -0
  49. data/spec/bobot/event/common_spec.rb +259 -0
  50. data/spec/bobot/event/delivery_spec.rb +62 -0
  51. data/spec/bobot/event/message_echo_spec.rb +276 -0
  52. data/spec/bobot/event/message_spec.rb +276 -0
  53. data/spec/bobot/event/optin_spec.rb +50 -0
  54. data/spec/bobot/event/postback_spec.rb +94 -0
  55. data/spec/bobot/event/read_spec.rb +51 -0
  56. data/spec/bobot/event/referral_spec.rb +66 -0
  57. data/spec/bobot/event_spec.rb +167 -0
  58. data/spec/bobot/install_generator_spec.rb +43 -0
  59. data/spec/bobot/profile_spec.rb +170 -0
  60. data/spec/bobot/subscription_spec.rb +139 -0
  61. data/spec/bobot/user_spec.rb +91 -0
  62. data/spec/controllers/bobot/application_controller_spec.rb +4 -0
  63. data/spec/controllers/bobot/webhook_controller_spec.rb +5 -0
  64. data/spec/dummy/Rakefile +6 -0
  65. data/spec/dummy/app/assets/config/manifest.js +3 -0
  66. data/spec/dummy/app/assets/javascripts/application.js +13 -0
  67. data/spec/dummy/app/assets/stylesheets/application.css +15 -0
  68. data/spec/dummy/app/bobot/workflow.rb +17 -0
  69. data/spec/dummy/app/controllers/application_controller.rb +2 -0
  70. data/spec/dummy/app/jobs/application_job.rb +2 -0
  71. data/spec/dummy/app/models/application_record.rb +3 -0
  72. data/spec/dummy/bin/bundle +3 -0
  73. data/spec/dummy/bin/rails +4 -0
  74. data/spec/dummy/bin/rake +4 -0
  75. data/spec/dummy/bin/setup +35 -0
  76. data/spec/dummy/bin/update +29 -0
  77. data/spec/dummy/config.ru +5 -0
  78. data/spec/dummy/config/application.rb +30 -0
  79. data/spec/dummy/config/bobot.yml +27 -0
  80. data/spec/dummy/config/boot.rb +5 -0
  81. data/spec/dummy/config/database.yml +19 -0
  82. data/spec/dummy/config/environment.rb +5 -0
  83. data/spec/dummy/config/environments/development.rb +42 -0
  84. data/spec/dummy/config/environments/production.rb +78 -0
  85. data/spec/dummy/config/environments/test.rb +38 -0
  86. data/spec/dummy/config/initializers/application_controller_renderer.rb +6 -0
  87. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  88. data/spec/dummy/config/initializers/bobot.rb +30 -0
  89. data/spec/dummy/config/initializers/cors.rb +16 -0
  90. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  91. data/spec/dummy/config/initializers/inflections.rb +16 -0
  92. data/spec/dummy/config/initializers/mime_types.rb +4 -0
  93. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  94. data/spec/dummy/config/locales/bobot.en.yml +28 -0
  95. data/spec/dummy/config/locales/bobot.fr.yml +27 -0
  96. data/spec/dummy/config/locales/en.yml +33 -0
  97. data/spec/dummy/config/puma.rb +56 -0
  98. data/spec/dummy/config/routes.rb +3 -0
  99. data/spec/dummy/config/secrets.yml +32 -0
  100. data/spec/dummy/config/spring.rb +6 -0
  101. data/spec/dummy/db/schema.rb +15 -0
  102. data/spec/examples.txt +111 -0
  103. data/spec/helpers/graph_api_helpers.rb +6 -0
  104. data/spec/jobs/bobot/commander_job_spec.rb +31 -0
  105. data/spec/lint/rubocop_spec.rb +8 -0
  106. data/spec/rails_helper.rb +67 -0
  107. data/spec/spec_helper.rb +105 -0
  108. data/spec/travis/database.travis.mysql.yml +19 -0
  109. metadata +251 -0
@@ -0,0 +1,6 @@
1
+ def default_graph_api_response_headers
2
+ {
3
+ 'Accept' => 'application/json',
4
+ 'Content-Type' => 'application/json; charset=utf-8',
5
+ }
6
+ end
@@ -0,0 +1,31 @@
1
+ # FIX ERROR: uninitialized constant ApplicationCable::ActionCable
2
+ require 'rails_helper'
3
+
4
+ module Bobot
5
+ RSpec.describe CommanderJob, type: :job do
6
+ subject(:job) { described_class.perform_later(payload) }
7
+
8
+ let :payload do
9
+ {
10
+ 'sender' => {
11
+ 'id' => '2'
12
+ },
13
+ 'recipient' => {
14
+ 'id' => '3'
15
+ },
16
+ 'timestamp' => 145_776_419_762_7,
17
+ 'message' => {
18
+ 'mid' => 'mid.1457764197618:41d102a3e1ae206a38',
19
+ 'seq' => 73,
20
+ 'text' => 'Hello, bot!'
21
+ }
22
+ }
23
+ end
24
+
25
+ it 'queues the job' do
26
+ expect { job }.to have_enqueued_job(described_class)
27
+ .with(payload)
28
+ .on_queue("default")
29
+ end
30
+ end
31
+ end
@@ -0,0 +1,8 @@
1
+ require 'rails_helper'
2
+
3
+ RSpec.describe 'Check that the files we have changed have correct syntax' do
4
+ it 'runs rubocop on changed ruby files' do
5
+ result = system "bundle exec rubocop --config .rubocop.yml --fail-level warn"
6
+ expect(result).to be(true)
7
+ end
8
+ end
@@ -0,0 +1,67 @@
1
+ # This file is copied to spec/ when you run 'rails generate rspec:install'
2
+ require 'spec_helper'
3
+ ENV['RAILS_ENV'] ||= 'test'
4
+ require File.expand_path('../dummy/config/environment', __FILE__)
5
+ # Prevent database truncation if the environment is production
6
+ abort("The Rails environment is running in production mode!") if Rails.env.production?
7
+ require 'rspec/rails'
8
+ # Add additional requires below this line. Rails is not loaded until this point!
9
+
10
+ # Set queue test for ActiveJob
11
+ ActiveJob::Base.queue_adapter = :test
12
+
13
+ # Requires supporting ruby files with custom matchers and macros, etc, in
14
+ # spec/support/ and its subdirectories. Files matching `spec/**/*_spec.rb` are
15
+ # run as spec files by default. This means that files in spec/support that end
16
+ # in _spec.rb will both be required and run as specs, causing the specs to be
17
+ # run twice. It is recommended that you do not name files matching this glob to
18
+ # end with _spec.rb. You can configure this pattern with the --pattern
19
+ # option on the command line or in ~/.rspec, .rspec or `.rspec-local`.
20
+ #
21
+ # The following line is provided for convenience purposes. It has the downside
22
+ # of increasing the boot-up time by auto-requiring all files in the support
23
+ # directory. Alternatively, in the individual `*_spec.rb` files, manually
24
+ # require only the support files necessary.
25
+ #
26
+ # Dir[Rails.root.join('spec/support/**/*.rb')].each { |f| require f }
27
+
28
+ # Checks for pending migration and applies them before tests are run.
29
+ # If you are not using ActiveRecord, you can remove this line.
30
+ ActiveRecord::Migration.maintain_test_schema!
31
+
32
+ # ActiveRecord::Schema.verbose = false
33
+ load 'dummy/db/schema.rb' # db agnostic
34
+
35
+ RSpec.configure do |config|
36
+ # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
37
+ config.fixture_path = "#{::Rails.root}/spec/fixtures"
38
+
39
+ # If you're not using ActiveRecord, or you'd prefer not to run each of your
40
+ # examples within a transaction, remove the following line or assign false
41
+ # instead of true.
42
+ config.use_transactional_fixtures = true
43
+
44
+ # RSpec Rails can automatically mix in different behaviours to your tests
45
+ # based on their file location, for example enabling you to call `get` and
46
+ # `post` in specs under `spec/controllers`.
47
+ #
48
+ # You can disable this behaviour by removing the line below, and instead
49
+ # explicitly tag your specs with their type, e.g.:
50
+ #
51
+ # RSpec.describe UsersController, :type => :controller do
52
+ # # ...
53
+ # end
54
+ #
55
+ # The different available types are documented in the features, such as in
56
+ # https://relishapp.com/rspec/rspec-rails/docs
57
+ config.infer_spec_type_from_file_location!
58
+
59
+ # Filter lines from Rails gems in backtraces.
60
+ config.filter_rails_from_backtrace!
61
+ # arbitrary gems may also be filtered via:
62
+ # config.filter_gems_from_backtrace("gem name")
63
+
64
+ config.include RSpec::Matchers
65
+ config.include Bobot::Engine.routes.url_helpers
66
+ config.before { |_| Bobot.reset! }
67
+ end
@@ -0,0 +1,105 @@
1
+ # Test coverage app
2
+ require 'simplecov'
3
+
4
+ # Disable all remote connections
5
+ require 'webmock/rspec'
6
+ WebMock.disable_net_connect!(allow_localhost: true)
7
+
8
+ # This file was generated by the `rails generate rspec:install` command. Conventionally, all
9
+ # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
10
+ # The generated `.rspec` file contains `--require spec_helper` which will cause
11
+ # this file to always be loaded, without a need to explicitly require it in any
12
+ # files.
13
+ #
14
+ # Given that it is always loaded, you are encouraged to keep this file as
15
+ # light-weight as possible. Requiring heavyweight dependencies from this file
16
+ # will add to the boot time of your test suite on EVERY test run, even for an
17
+ # individual file that may not need all of that loaded. Instead, consider making
18
+ # a separate helper file that requires the additional dependencies and performs
19
+ # the additional setup, and require it from the spec files that actually need
20
+ # it.
21
+ #
22
+ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
23
+ RSpec.configure do |config|
24
+ # rspec-expectations config goes here. You can use an alternate
25
+ # assertion/expectation library such as wrong or the stdlib/minitest
26
+ # assertions if you prefer.
27
+ config.expect_with :rspec do |expectations|
28
+ # This option will default to `true` in RSpec 4. It makes the `description`
29
+ # and `failure_message` of custom matchers include text for helper methods
30
+ # defined using `chain`, e.g.:
31
+ # be_bigger_than(2).and_smaller_than(4).description
32
+ # # => "be bigger than 2 and smaller than 4"
33
+ # ...rather than:
34
+ # # => "be bigger than 2"
35
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
36
+ expectations.syntax = :expect
37
+ end
38
+
39
+ # rspec-mocks config goes here. You can use an alternate test double
40
+ # library (such as bogus or mocha) by changing the `mock_with` option here.
41
+ config.mock_with :rspec do |mocks|
42
+ # Prevents you from mocking or stubbing a method that does not exist on
43
+ # a real object. This is generally recommended, and will default to
44
+ # `true` in RSpec 4.
45
+ mocks.verify_partial_doubles = true
46
+ end
47
+
48
+ # This option will default to `:apply_to_host_groups` in RSpec 4 (and will
49
+ # have no way to turn it off -- the option exists only for backwards
50
+ # compatibility in RSpec 3). It causes shared context metadata to be
51
+ # inherited by the metadata hash of host groups and examples, rather than
52
+ # triggering implicit auto-inclusion in groups with matching metadata.
53
+ config.shared_context_metadata_behavior = :apply_to_host_groups
54
+
55
+ # The settings below are suggested to provide a good initial experience
56
+ # with RSpec, but feel free to customize to your heart's content.
57
+
58
+ # This allows you to limit a spec run to individual examples or groups
59
+ # you care about by tagging them with `:focus` metadata. When nothing
60
+ # is tagged with `:focus`, all examples get run. RSpec also provides
61
+ # aliases for `it`, `describe`, and `context` that include `:focus`
62
+ # metadata: `fit`, `fdescribe` and `fcontext`, respectively.
63
+ config.filter_run_when_matching :focus
64
+
65
+ # Allows RSpec to persist some state between runs in order to support
66
+ # the `--only-failures` and `--next-failure` CLI options. We recommend
67
+ # you configure your source control system to ignore this file.
68
+ # config.example_status_persistence_file_path = "spec/examples.txt"
69
+
70
+ # Limits the available syntax to the non-monkey patched syntax that is
71
+ # recommended. For more details, see:
72
+ # - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
73
+ # - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
74
+ # - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
75
+ config.disable_monkey_patching!
76
+
77
+ # Many RSpec users commonly either run the entire suite or an individual
78
+ # file, and it's useful to allow more verbose output when running an
79
+ # individual spec file.
80
+ if config.files_to_run.one?
81
+ # Use the documentation formatter for detailed output,
82
+ # unless a formatter has already been configured
83
+ # (e.g. via a command-line flag).
84
+ config.default_formatter = "doc"
85
+ end
86
+
87
+ # Print the 10 slowest examples and example groups at the
88
+ # end of the spec run, to help surface which specs are running
89
+ # particularly slow.
90
+ # config.profile_examples = 10
91
+
92
+ # Run specs in random order to surface order dependencies. If you find an
93
+ # order dependency and want to debug it, you can fix the order by providing
94
+ # the seed, which is printed after each run.
95
+ # --seed 1234
96
+ config.order = :random
97
+
98
+ # Seed global randomization in this process using the `--seed` CLI option.
99
+ # Setting this allows you to use `--seed` to deterministically reproduce
100
+ # test failures related to randomization by passing the same `--seed` value
101
+ # as the one that triggered the failure.
102
+ Kernel.srand config.seed
103
+
104
+ config.color = true
105
+ end
@@ -0,0 +1,19 @@
1
+ default: &default
2
+ adapter: mysql2
3
+ encoding: utf8mb4
4
+ collation: utf8mb4_bin
5
+ pool: 5
6
+ username: travis
7
+ password:
8
+
9
+ development:
10
+ <<: *default
11
+ database: bobot_development
12
+
13
+ test:
14
+ <<: *default
15
+ database: bobot_test
16
+
17
+ production:
18
+ <<: *default
19
+ database: bobot_production
metadata ADDED
@@ -0,0 +1,251 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: bobot
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.52
5
+ platform: ruby
6
+ authors:
7
+ - Navid EMAD
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2017-10-27 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '5'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '6'
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '5'
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '6'
33
+ - !ruby/object:Gem::Dependency
34
+ name: i18n
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ">="
38
+ - !ruby/object:Gem::Version
39
+ version: '0'
40
+ type: :runtime
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: '0'
47
+ description: Bobot is a Ruby wrapped framework to build easily a Facebook Messenger
48
+ Bot.
49
+ email:
50
+ - contact@navidemad.net
51
+ executables: []
52
+ extensions: []
53
+ extra_rdoc_files:
54
+ - MIT-LICENSE
55
+ - README.md
56
+ files:
57
+ - MIT-LICENSE
58
+ - README.md
59
+ - Rakefile
60
+ - app/controllers/bobot/application_controller.rb
61
+ - app/controllers/bobot/webhook_controller.rb
62
+ - app/jobs/bobot/application_job.rb
63
+ - app/jobs/bobot/commander_job.rb
64
+ - app/jobs/bobot/deliver_job.rb
65
+ - app/mailers/bobot/application_mailer.rb
66
+ - app/models/bobot/application_record.rb
67
+ - config/locales/bobot.en.yml
68
+ - config/routes.rb
69
+ - lib/bobot.rb
70
+ - lib/bobot/buttons.rb
71
+ - lib/bobot/commander.rb
72
+ - lib/bobot/configuration.rb
73
+ - lib/bobot/engine.rb
74
+ - lib/bobot/error_parser.rb
75
+ - lib/bobot/event.rb
76
+ - lib/bobot/events/account_linking.rb
77
+ - lib/bobot/events/common.rb
78
+ - lib/bobot/events/delivery.rb
79
+ - lib/bobot/events/message.rb
80
+ - lib/bobot/events/message_echo.rb
81
+ - lib/bobot/events/optin.rb
82
+ - lib/bobot/events/postback.rb
83
+ - lib/bobot/events/read.rb
84
+ - lib/bobot/events/referral.rb
85
+ - lib/bobot/exceptions.rb
86
+ - lib/bobot/graph_facebook.rb
87
+ - lib/bobot/profile.rb
88
+ - lib/bobot/subscription.rb
89
+ - lib/bobot/user.rb
90
+ - lib/bobot/version.rb
91
+ - lib/generators/bobot/install_generator.rb
92
+ - lib/generators/bobot/templates/app/bobot/message.rb
93
+ - lib/generators/bobot/templates/app/bobot/postback.rb
94
+ - lib/generators/bobot/templates/app/bobot/workflow.rb
95
+ - lib/generators/bobot/templates/config/bobot.yml
96
+ - lib/generators/bobot/templates/config/initializers/bobot.rb
97
+ - lib/generators/bobot/templates/config/locales/bobot.en.yml
98
+ - lib/generators/bobot/templates/config/locales/bobot.fr.yml
99
+ - lib/generators/bobot/uninstall_generator.rb
100
+ - lib/generators/bobot/utils.rb
101
+ - lib/tasks/bobot_tasks.rake
102
+ - spec/bobot/bobot_spec.rb
103
+ - spec/bobot/event/account_linking_spec.rb
104
+ - spec/bobot/event/common_spec.rb
105
+ - spec/bobot/event/delivery_spec.rb
106
+ - spec/bobot/event/message_echo_spec.rb
107
+ - spec/bobot/event/message_spec.rb
108
+ - spec/bobot/event/optin_spec.rb
109
+ - spec/bobot/event/postback_spec.rb
110
+ - spec/bobot/event/read_spec.rb
111
+ - spec/bobot/event/referral_spec.rb
112
+ - spec/bobot/event_spec.rb
113
+ - spec/bobot/install_generator_spec.rb
114
+ - spec/bobot/profile_spec.rb
115
+ - spec/bobot/subscription_spec.rb
116
+ - spec/bobot/user_spec.rb
117
+ - spec/controllers/bobot/application_controller_spec.rb
118
+ - spec/controllers/bobot/webhook_controller_spec.rb
119
+ - spec/dummy/Rakefile
120
+ - spec/dummy/app/assets/config/manifest.js
121
+ - spec/dummy/app/assets/javascripts/application.js
122
+ - spec/dummy/app/assets/stylesheets/application.css
123
+ - spec/dummy/app/bobot/workflow.rb
124
+ - spec/dummy/app/controllers/application_controller.rb
125
+ - spec/dummy/app/jobs/application_job.rb
126
+ - spec/dummy/app/models/application_record.rb
127
+ - spec/dummy/bin/bundle
128
+ - spec/dummy/bin/rails
129
+ - spec/dummy/bin/rake
130
+ - spec/dummy/bin/setup
131
+ - spec/dummy/bin/update
132
+ - spec/dummy/config.ru
133
+ - spec/dummy/config/application.rb
134
+ - spec/dummy/config/bobot.yml
135
+ - spec/dummy/config/boot.rb
136
+ - spec/dummy/config/database.yml
137
+ - spec/dummy/config/environment.rb
138
+ - spec/dummy/config/environments/development.rb
139
+ - spec/dummy/config/environments/production.rb
140
+ - spec/dummy/config/environments/test.rb
141
+ - spec/dummy/config/initializers/application_controller_renderer.rb
142
+ - spec/dummy/config/initializers/backtrace_silencers.rb
143
+ - spec/dummy/config/initializers/bobot.rb
144
+ - spec/dummy/config/initializers/cors.rb
145
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
146
+ - spec/dummy/config/initializers/inflections.rb
147
+ - spec/dummy/config/initializers/mime_types.rb
148
+ - spec/dummy/config/initializers/wrap_parameters.rb
149
+ - spec/dummy/config/locales/bobot.en.yml
150
+ - spec/dummy/config/locales/bobot.fr.yml
151
+ - spec/dummy/config/locales/en.yml
152
+ - spec/dummy/config/puma.rb
153
+ - spec/dummy/config/routes.rb
154
+ - spec/dummy/config/secrets.yml
155
+ - spec/dummy/config/spring.rb
156
+ - spec/dummy/db/schema.rb
157
+ - spec/examples.txt
158
+ - spec/helpers/graph_api_helpers.rb
159
+ - spec/jobs/bobot/commander_job_spec.rb
160
+ - spec/lint/rubocop_spec.rb
161
+ - spec/rails_helper.rb
162
+ - spec/spec_helper.rb
163
+ - spec/travis/database.travis.mysql.yml
164
+ homepage: https://github.com/navidemad/bobot
165
+ licenses:
166
+ - MIT
167
+ metadata: {}
168
+ post_install_message:
169
+ rdoc_options:
170
+ - "--charset=UTF-8"
171
+ require_paths:
172
+ - lib
173
+ required_ruby_version: !ruby/object:Gem::Requirement
174
+ requirements:
175
+ - - ">="
176
+ - !ruby/object:Gem::Version
177
+ version: 2.3.1
178
+ required_rubygems_version: !ruby/object:Gem::Requirement
179
+ requirements:
180
+ - - ">="
181
+ - !ruby/object:Gem::Version
182
+ version: '0'
183
+ requirements: []
184
+ rubyforge_project:
185
+ rubygems_version: 2.6.13
186
+ signing_key:
187
+ specification_version: 4
188
+ summary: Facebook Messenger Bot
189
+ test_files:
190
+ - spec/bobot/bobot_spec.rb
191
+ - spec/bobot/event/account_linking_spec.rb
192
+ - spec/bobot/event/common_spec.rb
193
+ - spec/bobot/event/delivery_spec.rb
194
+ - spec/bobot/event/message_echo_spec.rb
195
+ - spec/bobot/event/message_spec.rb
196
+ - spec/bobot/event/optin_spec.rb
197
+ - spec/bobot/event/postback_spec.rb
198
+ - spec/bobot/event/read_spec.rb
199
+ - spec/bobot/event/referral_spec.rb
200
+ - spec/bobot/event_spec.rb
201
+ - spec/bobot/install_generator_spec.rb
202
+ - spec/bobot/profile_spec.rb
203
+ - spec/bobot/subscription_spec.rb
204
+ - spec/bobot/user_spec.rb
205
+ - spec/controllers/bobot/application_controller_spec.rb
206
+ - spec/controllers/bobot/webhook_controller_spec.rb
207
+ - spec/dummy/app/assets/config/manifest.js
208
+ - spec/dummy/app/assets/javascripts/application.js
209
+ - spec/dummy/app/assets/stylesheets/application.css
210
+ - spec/dummy/app/bobot/workflow.rb
211
+ - spec/dummy/app/controllers/application_controller.rb
212
+ - spec/dummy/app/jobs/application_job.rb
213
+ - spec/dummy/app/models/application_record.rb
214
+ - spec/dummy/bin/bundle
215
+ - spec/dummy/bin/rails
216
+ - spec/dummy/bin/rake
217
+ - spec/dummy/bin/setup
218
+ - spec/dummy/bin/update
219
+ - spec/dummy/config/application.rb
220
+ - spec/dummy/config/bobot.yml
221
+ - spec/dummy/config/boot.rb
222
+ - spec/dummy/config/database.yml
223
+ - spec/dummy/config/environment.rb
224
+ - spec/dummy/config/environments/development.rb
225
+ - spec/dummy/config/environments/production.rb
226
+ - spec/dummy/config/environments/test.rb
227
+ - spec/dummy/config/initializers/application_controller_renderer.rb
228
+ - spec/dummy/config/initializers/backtrace_silencers.rb
229
+ - spec/dummy/config/initializers/bobot.rb
230
+ - spec/dummy/config/initializers/cors.rb
231
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
232
+ - spec/dummy/config/initializers/inflections.rb
233
+ - spec/dummy/config/initializers/mime_types.rb
234
+ - spec/dummy/config/initializers/wrap_parameters.rb
235
+ - spec/dummy/config/locales/bobot.en.yml
236
+ - spec/dummy/config/locales/bobot.fr.yml
237
+ - spec/dummy/config/locales/en.yml
238
+ - spec/dummy/config/puma.rb
239
+ - spec/dummy/config/routes.rb
240
+ - spec/dummy/config/secrets.yml
241
+ - spec/dummy/config/spring.rb
242
+ - spec/dummy/config.ru
243
+ - spec/dummy/db/schema.rb
244
+ - spec/dummy/Rakefile
245
+ - spec/examples.txt
246
+ - spec/helpers/graph_api_helpers.rb
247
+ - spec/jobs/bobot/commander_job_spec.rb
248
+ - spec/lint/rubocop_spec.rb
249
+ - spec/rails_helper.rb
250
+ - spec/spec_helper.rb
251
+ - spec/travis/database.travis.mysql.yml