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,38 @@
1
+ Rails.application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb.
3
+
4
+ # The test environment is used exclusively to run your application's
5
+ # test suite. You never need to work with it otherwise. Remember that
6
+ # your test database is "scratch space" for the test suite and is wiped
7
+ # and recreated between test runs. Don't rely on the data there!
8
+ config.cache_classes = true
9
+
10
+ # Do not eager load code on boot. This avoids loading your whole application
11
+ # just for the purpose of running a single test. If you are using a tool that
12
+ # preloads Rails for running tests, you may have to set it to true.
13
+ config.eager_load = false
14
+
15
+ # Configure public file server for tests with Cache-Control for performance.
16
+ config.public_file_server.enabled = true
17
+ config.public_file_server.headers = {
18
+ 'Cache-Control' => "public, max-age=#{1.hour.seconds.to_i}"
19
+ }
20
+
21
+ # Show full error reports and disable caching.
22
+ config.consider_all_requests_local = true
23
+ config.action_controller.perform_caching = false
24
+
25
+ # Raise exceptions instead of rendering exception templates.
26
+ config.action_dispatch.show_exceptions = false
27
+
28
+ # Disable request forgery protection in test environment.
29
+ config.action_controller.allow_forgery_protection = false
30
+
31
+ # Print deprecation notices to the stderr.
32
+ config.active_support.deprecation = :stderr
33
+
34
+ # Raises error for missing translations
35
+ # config.action_view.raise_on_missing_translations = true
36
+
37
+ config.active_job.queue_adapter = :test
38
+ end
@@ -0,0 +1,6 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # ApplicationController.renderer.defaults.merge!(
4
+ # http_host: 'example.org',
5
+ # https: false
6
+ # )
@@ -0,0 +1,7 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
4
+ # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
5
+
6
+ # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
7
+ # Rails.backtrace_cleaner.remove_silencers!
@@ -0,0 +1,30 @@
1
+ bobot_config_path = Rails.root.join("config", "bobot.yml")
2
+ bobot_config = YAML.safe_load(ERB.new(File.read(bobot_config_path)).result)[Rails.env]
3
+
4
+ if bobot_config.present?
5
+ Bobot.configure do |config|
6
+ config.app_id = bobot_config["app_id"]
7
+ config.app_secret = bobot_config["app_secret"]
8
+ config.page_access_token = bobot_config["page_access_token"]
9
+ config.page_id = bobot_config["page_id"]
10
+ config.verify_token = bobot_config["verify_token"]
11
+ config.domains = bobot_config["domains"]
12
+ config.debug_log = bobot_config["debug_log"]
13
+ config.async = bobot_config["async"]
14
+ end
15
+ else
16
+ warn "#{bobot_config_path} not configured yet in #{Rails.env} environment."
17
+ end
18
+
19
+ unless Rails.env.production?
20
+ bot_files = Dir[Rails.root.join("app", "bobot", "**", "*.rb")]
21
+ bot_reloader = ActiveSupport::FileUpdateChecker.new(bot_files) do
22
+ bot_files.each { |file| require_dependency file }
23
+ end
24
+
25
+ ActiveSupport::Reloader.to_prepare do
26
+ bot_reloader.execute_if_updated
27
+ end
28
+
29
+ bot_files.each { |file| require_dependency file }
30
+ end
@@ -0,0 +1,16 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Avoid CORS issues when API is called from the frontend app.
4
+ # Handle Cross-Origin Resource Sharing (CORS) in order to accept cross-origin AJAX requests.
5
+
6
+ # Read more: https://github.com/cyu/rack-cors
7
+
8
+ # Rails.application.config.middleware.insert_before 0, Rack::Cors do
9
+ # allow do
10
+ # origins 'example.com'
11
+ #
12
+ # resource '*',
13
+ # headers: :any,
14
+ # methods: [:get, :post, :put, :patch, :delete, :options, :head]
15
+ # end
16
+ # end
@@ -0,0 +1,4 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Configure sensitive parameters which will be filtered from the log file.
4
+ Rails.application.config.filter_parameters += [:password]
@@ -0,0 +1,16 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new inflection rules using the following format. Inflections
4
+ # are locale specific, and you may define rules for as many different
5
+ # locales as you wish. All of these examples are active by default:
6
+ # ActiveSupport::Inflector.inflections(:en) do |inflect|
7
+ # inflect.plural /^(ox)$/i, '\1en'
8
+ # inflect.singular /^(ox)en/i, '\1'
9
+ # inflect.irregular 'person', 'people'
10
+ # inflect.uncountable %w( fish sheep )
11
+ # end
12
+
13
+ # These inflection rules are supported but not enabled by default:
14
+ # ActiveSupport::Inflector.inflections(:en) do |inflect|
15
+ # inflect.acronym 'RESTful'
16
+ # end
@@ -0,0 +1,4 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new mime types for use in respond_to blocks:
4
+ # Mime::Type.register "text/richtext", :rtf
@@ -0,0 +1,14 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # This file contains settings for ActionController::ParamsWrapper which
4
+ # is enabled by default.
5
+
6
+ # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
7
+ ActiveSupport.on_load(:action_controller) do
8
+ wrap_parameters format: [:json]
9
+ end
10
+
11
+ # To enable root element in JSON for ActiveRecord objects.
12
+ # ActiveSupport.on_load(:active_record) do
13
+ # self.include_root_in_json = true
14
+ # end
@@ -0,0 +1,28 @@
1
+ en:
2
+ bobot:
3
+ config:
4
+ facebook_locales:
5
+ - "en_US"
6
+ - "en_UD"
7
+ - "en_GB"
8
+ greeting_text: "Bobot is an intelligent robot."
9
+ persistent_menu:
10
+ composer_input_disabled: false
11
+ call_to_actions:
12
+ - title: "My Account"
13
+ type: "nested"
14
+ call_to_actions:
15
+ - title: "What is a chatbot?"
16
+ type: "postback"
17
+ payload: "WHAT_IS_A_CHATBOT"
18
+ - title: "History"
19
+ type: "postback"
20
+ payload: "HISTORY_PAYLOAD"
21
+ - title: "Contact Info"
22
+ type: "postback"
23
+ payload: "CONTACT_INFO_PAYLOAD"
24
+ - type: "web_url"
25
+ title: "Get some help"
26
+ url: "https://github.com/navidemad/bobot"
27
+ webview_height_ratio: "full"
28
+ what_is_a_chatbot: "A chatbot is a computer program which conducts a conversation via auditory or textual methods."
@@ -0,0 +1,27 @@
1
+ fr:
2
+ bobot:
3
+ config:
4
+ facebook_locales:
5
+ - "fr_FR"
6
+ - "fr_CA"
7
+ greeting_text: 'Bobot est un robot intelligent.'
8
+ persistent_menu:
9
+ composer_input_disabled: false
10
+ call_to_actions:
11
+ - title: "Mon compte"
12
+ type: "nested"
13
+ call_to_actions:
14
+ - title: "C'est quoi un chatbot ?"
15
+ type: "postback"
16
+ payload: "WHAT_IS_A_CHATBOT"
17
+ - title: "Historique"
18
+ type: "postback"
19
+ payload: "HISTORY_PAYLOAD"
20
+ - title: "Contact Info"
21
+ type: "postback"
22
+ payload: "CONTACT_INFO_PAYLOAD"
23
+ - type: "web_url"
24
+ title: "Obtenir de l'aide"
25
+ url: "https://github.com/navidemad/bobot"
26
+ webview_height_ratio: "full"
27
+ what_is_a_chatbot: "Un chatbot est un programme qui tente de converser avec une personne durant quelques minutes ou plus en lui donnant l'impression de converser elle-même avec une personne."
@@ -0,0 +1,33 @@
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
+ # The following keys must be escaped otherwise they will not be retrieved by
20
+ # the default I18n backend:
21
+ #
22
+ # true, false, on, off, yes, no
23
+ #
24
+ # Instead, surround them with single quotes.
25
+ #
26
+ # en:
27
+ # 'true': 'foo'
28
+ #
29
+ # To learn more, please read the Rails Internationalization guide
30
+ # available at http://guides.rubyonrails.org/i18n.html.
31
+
32
+ en:
33
+ hello: "Hello world"
@@ -0,0 +1,56 @@
1
+ # Puma can serve each request in a thread from an internal thread pool.
2
+ # The `threads` method setting takes two numbers: a minimum and maximum.
3
+ # Any libraries that use thread pools should be configured to match
4
+ # the maximum value specified for Puma. Default is set to 5 threads for minimum
5
+ # and maximum; this matches the default thread size of Active Record.
6
+ #
7
+ threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 }
8
+ threads threads_count, threads_count
9
+
10
+ # Specifies the `port` that Puma will listen on to receive requests; default is 3000.
11
+ #
12
+ port ENV.fetch("PORT") { 3000 }
13
+
14
+ # Specifies the `environment` that Puma will run in.
15
+ #
16
+ environment ENV.fetch("RAILS_ENV") { "development" }
17
+
18
+ # Specifies the number of `workers` to boot in clustered mode.
19
+ # Workers are forked webserver processes. If using threads and workers together
20
+ # the concurrency of the application would be max `threads` * `workers`.
21
+ # Workers do not work on JRuby or Windows (both of which do not support
22
+ # processes).
23
+ #
24
+ # workers ENV.fetch("WEB_CONCURRENCY") { 2 }
25
+
26
+ # Use the `preload_app!` method when specifying a `workers` number.
27
+ # This directive tells Puma to first boot the application and load code
28
+ # before forking the application. This takes advantage of Copy On Write
29
+ # process behavior so workers use less memory. If you use this option
30
+ # you need to make sure to reconnect any threads in the `on_worker_boot`
31
+ # block.
32
+ #
33
+ # preload_app!
34
+
35
+ # If you are preloading your application and using Active Record, it's
36
+ # recommended that you close any connections to the database before workers
37
+ # are forked to prevent connection leakage.
38
+ #
39
+ # before_fork do
40
+ # ActiveRecord::Base.connection_pool.disconnect! if defined?(ActiveRecord)
41
+ # end
42
+
43
+ # The code in the `on_worker_boot` will be called if you are using
44
+ # clustered mode by specifying a number of `workers`. After each worker
45
+ # process is booted, this block will be run. If you are using the `preload_app!`
46
+ # option, you will want to use this block to reconnect to any threads
47
+ # or connections that may have been created at application boot, as Ruby
48
+ # cannot share connections between processes.
49
+ #
50
+ # on_worker_boot do
51
+ # ActiveRecord::Base.establish_connection if defined?(ActiveRecord)
52
+ # end
53
+ #
54
+
55
+ # Allow puma to be restarted by `rails restart` command.
56
+ plugin :tmp_restart
@@ -0,0 +1,3 @@
1
+ Rails.application.routes.draw do
2
+ mount Bobot::Engine => '/bobot', as: 'bobot'
3
+ end
@@ -0,0 +1,32 @@
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 `rails 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
+ # Shared secrets are available across all environments.
14
+
15
+ # shared:
16
+ # api_key: a1B2c3D4e5F6
17
+
18
+ # Environmental secrets are only available for that specific environment.
19
+
20
+ development:
21
+ secret_key_base: 4bacd5b4c06821a6d4ede98c4580cb3107a5b0da461805673af89b4bdbffa32ccbf6cf28af193a6084e7a7fa2d20e9a72ced26d1562ef8683382cac3e4de9bd5
22
+
23
+ test:
24
+ secret_key_base: 5b1c674644a5f68b2e25bfee83235783496908ef0344dc80d2f523a3632bede3e9d5cda162f5aaef120f8ad12f7a250e320daf46216eaa261ded978f24ca952e
25
+
26
+ # Do not keep production secrets in the unencrypted secrets file.
27
+ # Instead, either read values from the environment.
28
+ # Or, use `bin/rails secrets:setup` to configure encrypted secrets
29
+ # and move the `production:` environment over there.
30
+
31
+ production:
32
+ secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
@@ -0,0 +1,6 @@
1
+ %w(
2
+ .ruby-version
3
+ .rbenv-vars
4
+ tmp/restart.txt
5
+ tmp/caching-dev.txt
6
+ ).each { |path| Spring.watch(path) }
@@ -0,0 +1,15 @@
1
+ # This file is auto-generated from the current state of the database. Instead
2
+ # of editing this file, please use the migrations feature of Active Record to
3
+ # incrementally modify your database, and then regenerate this schema definition.
4
+ #
5
+ # Note that this schema.rb definition is the authoritative source for your
6
+ # database schema. If you need to create the application database on another
7
+ # system, you should be using db:schema:load, not running all the migrations
8
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
9
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
10
+ #
11
+ # It's strongly recommended that you check this file into your version control system.
12
+
13
+ ActiveRecord::Schema.define(version: 0) do
14
+
15
+ end
@@ -0,0 +1,111 @@
1
+ example_id | status | run_time |
2
+ ------------------------------------------------- | ------ | --------------- |
3
+ ./spec/bobot/bobot_spec.rb[1:1:1] | passed | 0.00154 seconds |
4
+ ./spec/bobot/event/account_linking_spec.rb[1:1:1] | passed | 0.00132 seconds |
5
+ ./spec/bobot/event/account_linking_spec.rb[1:2:1] | passed | 0.00274 seconds |
6
+ ./spec/bobot/event/account_linking_spec.rb[1:3:1] | passed | 0.00254 seconds |
7
+ ./spec/bobot/event/account_linking_spec.rb[1:4:1] | passed | 0.00128 seconds |
8
+ ./spec/bobot/event/account_linking_spec.rb[1:5:1] | passed | 0.00106 seconds |
9
+ ./spec/bobot/event/account_linking_spec.rb[1:6:1] | passed | 0.0011 seconds |
10
+ ./spec/bobot/event/common_spec.rb[1:1:1] | passed | 0.00096 seconds |
11
+ ./spec/bobot/event/common_spec.rb[1:2:1] | passed | 0.00099 seconds |
12
+ ./spec/bobot/event/common_spec.rb[1:3:1] | passed | 0.00177 seconds |
13
+ ./spec/bobot/event/common_spec.rb[1:4:1] | passed | 0.00132 seconds |
14
+ ./spec/bobot/event/common_spec.rb[1:4:2] | passed | 0.0015 seconds |
15
+ ./spec/bobot/event/common_spec.rb[1:5:1] | passed | 0.00134 seconds |
16
+ ./spec/bobot/event/common_spec.rb[1:6:1] | passed | 0.00134 seconds |
17
+ ./spec/bobot/event/common_spec.rb[1:7:1] | passed | 0.0013 seconds |
18
+ ./spec/bobot/event/common_spec.rb[1:8:1] | passed | 0.00132 seconds |
19
+ ./spec/bobot/event/common_spec.rb[1:9:1] | passed | 0.00123 seconds |
20
+ ./spec/bobot/event/common_spec.rb[1:10:1] | passed | 0.00734 seconds |
21
+ ./spec/bobot/event/common_spec.rb[1:11:1] | passed | 0.00125 seconds |
22
+ ./spec/bobot/event/common_spec.rb[1:12:1] | passed | 0.0012 seconds |
23
+ ./spec/bobot/event/common_spec.rb[1:13:1] | passed | 0.00124 seconds |
24
+ ./spec/bobot/event/delivery_spec.rb[1:1:1] | passed | 0.00096 seconds |
25
+ ./spec/bobot/event/delivery_spec.rb[1:2:1] | passed | 0.00086 seconds |
26
+ ./spec/bobot/event/delivery_spec.rb[1:3:1] | passed | 0.00165 seconds |
27
+ ./spec/bobot/event/delivery_spec.rb[1:4:1] | passed | 0.00088 seconds |
28
+ ./spec/bobot/event/delivery_spec.rb[1:5:1] | passed | 0.00083 seconds |
29
+ ./spec/bobot/event/delivery_spec.rb[1:6:1] | passed | 0.00106 seconds |
30
+ ./spec/bobot/event/message_echo_spec.rb[1:1:1] | passed | 0.00084 seconds |
31
+ ./spec/bobot/event/message_echo_spec.rb[1:2:1] | passed | 0.00163 seconds |
32
+ ./spec/bobot/event/message_echo_spec.rb[1:3:1] | passed | 0.00089 seconds |
33
+ ./spec/bobot/event/message_echo_spec.rb[1:4:1] | passed | 0.00092 seconds |
34
+ ./spec/bobot/event/message_echo_spec.rb[1:5:1] | passed | 0.00089 seconds |
35
+ ./spec/bobot/event/message_echo_spec.rb[1:6:1] | passed | 0.00128 seconds |
36
+ ./spec/bobot/event/message_echo_spec.rb[1:7:1] | passed | 0.0014 seconds |
37
+ ./spec/bobot/event/message_echo_spec.rb[1:8:1] | passed | 0.00082 seconds |
38
+ ./spec/bobot/event/message_echo_spec.rb[1:9:1] | passed | 0.00093 seconds |
39
+ ./spec/bobot/event/message_echo_spec.rb[1:10:1] | passed | 0.00099 seconds |
40
+ ./spec/bobot/event/message_echo_spec.rb[1:11:1] | passed | 0.001 seconds |
41
+ ./spec/bobot/event/message_echo_spec.rb[1:12:1] | passed | 0.00113 seconds |
42
+ ./spec/bobot/event/message_echo_spec.rb[1:13:1] | passed | 0.00243 seconds |
43
+ ./spec/bobot/event/message_echo_spec.rb[1:14:1] | passed | 0.00105 seconds |
44
+ ./spec/bobot/event/message_echo_spec.rb[1:15:1] | passed | 0.00104 seconds |
45
+ ./spec/bobot/event/message_echo_spec.rb[1:16:1] | passed | 0.00096 seconds |
46
+ ./spec/bobot/event/message_echo_spec.rb[1:17:1] | passed | 0.00092 seconds |
47
+ ./spec/bobot/event/message_echo_spec.rb[1:18:1] | passed | 0.00086 seconds |
48
+ ./spec/bobot/event/message_echo_spec.rb[1:19:1:1] | passed | 0.00114 seconds |
49
+ ./spec/bobot/event/message_echo_spec.rb[1:19:2:1] | passed | 0.0012 seconds |
50
+ ./spec/bobot/event/message_spec.rb[1:1:1] | passed | 0.00098 seconds |
51
+ ./spec/bobot/event/message_spec.rb[1:2:1] | passed | 0.00109 seconds |
52
+ ./spec/bobot/event/message_spec.rb[1:3:1] | passed | 0.00087 seconds |
53
+ ./spec/bobot/event/message_spec.rb[1:4:1] | passed | 0.00085 seconds |
54
+ ./spec/bobot/event/message_spec.rb[1:5:1] | passed | 0.00097 seconds |
55
+ ./spec/bobot/event/message_spec.rb[1:6:1] | passed | 0.00147 seconds |
56
+ ./spec/bobot/event/message_spec.rb[1:7:1] | passed | 0.00094 seconds |
57
+ ./spec/bobot/event/message_spec.rb[1:8:1] | passed | 0.00095 seconds |
58
+ ./spec/bobot/event/message_spec.rb[1:9:1] | passed | 0.00103 seconds |
59
+ ./spec/bobot/event/message_spec.rb[1:10:1] | passed | 0.00134 seconds |
60
+ ./spec/bobot/event/message_spec.rb[1:11:1] | passed | 0.00116 seconds |
61
+ ./spec/bobot/event/message_spec.rb[1:12:1] | passed | 0.00093 seconds |
62
+ ./spec/bobot/event/message_spec.rb[1:13:1] | passed | 0.00094 seconds |
63
+ ./spec/bobot/event/message_spec.rb[1:14:1] | passed | 0.00096 seconds |
64
+ ./spec/bobot/event/message_spec.rb[1:15:1] | passed | 0.00096 seconds |
65
+ ./spec/bobot/event/message_spec.rb[1:16:1] | passed | 0.00108 seconds |
66
+ ./spec/bobot/event/message_spec.rb[1:17:1] | passed | 0.0009 seconds |
67
+ ./spec/bobot/event/message_spec.rb[1:18:1] | passed | 0.00104 seconds |
68
+ ./spec/bobot/event/message_spec.rb[1:19:1:1] | passed | 0.00158 seconds |
69
+ ./spec/bobot/event/message_spec.rb[1:19:2:1] | passed | 0.00106 seconds |
70
+ ./spec/bobot/event/optin_spec.rb[1:1:1] | passed | 0.001 seconds |
71
+ ./spec/bobot/event/optin_spec.rb[1:2:1] | passed | 0.00083 seconds |
72
+ ./spec/bobot/event/optin_spec.rb[1:3:1] | passed | 0.00109 seconds |
73
+ ./spec/bobot/event/optin_spec.rb[1:4:1] | passed | 0.00101 seconds |
74
+ ./spec/bobot/event/optin_spec.rb[1:5:1] | passed | 0.0014 seconds |
75
+ ./spec/bobot/event/postback_spec.rb[1:1:1] | passed | 0.00081 seconds |
76
+ ./spec/bobot/event/postback_spec.rb[1:2:1] | passed | 0.00083 seconds |
77
+ ./spec/bobot/event/postback_spec.rb[1:3:1] | passed | 0.00163 seconds |
78
+ ./spec/bobot/event/postback_spec.rb[1:4:1] | passed | 0.00124 seconds |
79
+ ./spec/bobot/event/postback_spec.rb[1:5:1] | passed | 0.00248 seconds |
80
+ ./spec/bobot/event/postback_spec.rb[1:6:1] | passed | 0.00089 seconds |
81
+ ./spec/bobot/event/postback_spec.rb[1:6:2] | passed | 0.00089 seconds |
82
+ ./spec/bobot/event/postback_spec.rb[1:6:3] | passed | 0.00091 seconds |
83
+ ./spec/bobot/event/postback_spec.rb[1:6:4:1] | passed | 0.00095 seconds |
84
+ ./spec/bobot/event/read_spec.rb[1:1:1] | passed | 0.00078 seconds |
85
+ ./spec/bobot/event/read_spec.rb[1:2:1] | passed | 0.00091 seconds |
86
+ ./spec/bobot/event/read_spec.rb[1:3:1] | passed | 0.0009 seconds |
87
+ ./spec/bobot/event/read_spec.rb[1:4:1] | passed | 0.00094 seconds |
88
+ ./spec/bobot/event/read_spec.rb[1:5:1] | passed | 0.00083 seconds |
89
+ ./spec/bobot/event/referral_spec.rb[1:1:1] | passed | 0.00088 seconds |
90
+ ./spec/bobot/event/referral_spec.rb[1:2:1] | passed | 0.00098 seconds |
91
+ ./spec/bobot/event/referral_spec.rb[1:3:1] | passed | 0.00152 seconds |
92
+ ./spec/bobot/event/referral_spec.rb[1:4:1] | passed | 0.00103 seconds |
93
+ ./spec/bobot/event/referral_spec.rb[1:5:1] | passed | 0.00085 seconds |
94
+ ./spec/bobot/event/referral_spec.rb[1:5:2] | passed | 0.0009 seconds |
95
+ ./spec/bobot/event/referral_spec.rb[1:5:3] | passed | 0.00091 seconds |
96
+ ./spec/bobot/event/referral_spec.rb[1:6:1] | passed | 0.00096 seconds |
97
+ ./spec/bobot/event_spec.rb[1:1:1:1] | passed | 0.00296 seconds |
98
+ ./spec/bobot/event_spec.rb[1:1:2:1] | passed | 0.00163 seconds |
99
+ ./spec/bobot/event_spec.rb[1:1:3:1] | passed | 0.00104 seconds |
100
+ ./spec/bobot/event_spec.rb[1:1:4:1] | passed | 0.00105 seconds |
101
+ ./spec/bobot/event_spec.rb[1:1:5:1] | passed | 0.00098 seconds |
102
+ ./spec/bobot/event_spec.rb[1:1:6:1] | passed | 0.00084 seconds |
103
+ ./spec/bobot/event_spec.rb[1:1:7:1] | passed | 0.00092 seconds |
104
+ ./spec/bobot/install_generator_spec.rb[1:1] | passed | 0.00741 seconds |
105
+ ./spec/bobot/profile_spec.rb[1:1:1:1] | failed | 0.00108 seconds |
106
+ ./spec/bobot/profile_spec.rb[1:1:2:1] | failed | 0.00111 seconds |
107
+ ./spec/bobot/profile_spec.rb[1:2:1:1] | failed | 0.00113 seconds |
108
+ ./spec/bobot/profile_spec.rb[1:2:2:1] | failed | 0.0012 seconds |
109
+ ./spec/bobot/user_spec.rb[1:1:1:1] | failed | 0.00094 seconds |
110
+ ./spec/jobs/bobot/hook_job_spec.rb[1:1] | failed | 0.00225 seconds |
111
+ ./spec/lint/rubocop_spec.rb[1:1] | passed | 1.72 seconds |