cangaroo 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/Rakefile +32 -0
- data/app/controllers/cangaroo/application_controller.rb +4 -0
- data/app/controllers/cangaroo/endpoint_controller.rb +49 -0
- data/app/interactors/cangaroo/authenticate_connection.rb +19 -0
- data/app/interactors/cangaroo/count_json_object.rb +20 -0
- data/app/interactors/cangaroo/handle_request.rb +10 -0
- data/app/interactors/cangaroo/perform_jobs.rb +31 -0
- data/app/interactors/cangaroo/validate_json_schema.rb +31 -0
- data/app/jobs/cangaroo/job.rb +63 -0
- data/app/models/cangaroo/connection.rb +12 -0
- data/config/routes.rb +3 -0
- data/db/migrate/20151028172151_create_cangaroo_connections.rb +12 -0
- data/db/migrate/20151030140821_add_parameters_to_cangaroo_connection.rb +5 -0
- data/lib/cangaroo.rb +10 -0
- data/lib/cangaroo/engine.rb +17 -0
- data/lib/cangaroo/version.rb +3 -0
- data/lib/cangaroo/webhook/client.rb +44 -0
- data/lib/cangaroo/webhook/error.rb +6 -0
- data/lib/tasks/cangaroo_tasks.rake +4 -0
- data/spec/controllers/cangaroo/endpoint_controller_spec.rb +72 -0
- data/spec/dummy/README.rdoc +28 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/javascripts/application.js +13 -0
- data/spec/dummy/app/assets/stylesheets/application.css +15 -0
- data/spec/dummy/app/controllers/application_controller.rb +5 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/bin/bundle +3 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/bin/setup +29 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/config/application.rb +31 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/database.yml +11 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +41 -0
- data/spec/dummy/config/environments/production.rb +79 -0
- data/spec/dummy/config/environments/test.rb +42 -0
- data/spec/dummy/config/initializers/assets.rb +11 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +4 -0
- data/spec/dummy/config/initializers/session_store.rb +3 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +9 -0
- data/spec/dummy/config/locales/en.yml +23 -0
- data/spec/dummy/config/routes.rb +4 -0
- data/spec/dummy/config/secrets.yml +22 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/schema.rb +29 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/cangaroo.log +0 -0
- data/spec/dummy/log/development.log +3466 -0
- data/spec/dummy/log/test.log +139640 -0
- data/spec/dummy/public/404.html +67 -0
- data/spec/dummy/public/422.html +67 -0
- data/spec/dummy/public/500.html +66 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/factories/cangaroo_connections.rb +9 -0
- data/spec/fixtures/json_payload_no_id.json +21 -0
- data/spec/fixtures/json_payload_ok.json +22 -0
- data/spec/fixtures/json_payload_wrong_key.json +22 -0
- data/spec/interactors/cangaroo/authenticate_connection_spec.rb +46 -0
- data/spec/interactors/cangaroo/count_json_object_spec.rb +17 -0
- data/spec/interactors/cangaroo/handle_request_spec.rb +18 -0
- data/spec/interactors/cangaroo/perform_jobs_spec.rb +42 -0
- data/spec/interactors/cangaroo/validate_json_schema_spec.rb +51 -0
- data/spec/jobs/cangaroo/job_spec.rb +55 -0
- data/spec/lib/cangaroo/webhook/client_spec.rb +69 -0
- data/spec/models/cangaroo/connection_spec.rb +15 -0
- data/spec/rails_helper.rb +85 -0
- data/spec/spec_helper.rb +9 -0
- data/spec/support/spec_helpers.rb +11 -0
- metadata +345 -0
There are too many changes on this page to be displayed.
The amount of changes on this page would crash your brower.
You can still verify the content by downloading the gem file manually.