canvas-embed 0.1.4 → 0.1.5

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 (45) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +5 -5
  3. data/Gemfile.lock +3 -3
  4. data/{LICENSE.txt → LICENSE} +1 -1
  5. data/README.md +0 -12
  6. data/Rakefile +3 -3
  7. data/bin/console +3 -3
  8. data/canvas-embed.gemspec +15 -14
  9. data/example/Gemfile +20 -19
  10. data/example/Gemfile.lock +2 -2
  11. data/example/README.md +16 -3
  12. data/example/Rakefile +3 -1
  13. data/example/app/controllers/application_controller.rb +5 -5
  14. data/example/bin/bundle +22 -18
  15. data/example/bin/importmap +3 -2
  16. data/example/bin/rails +5 -3
  17. data/example/bin/rake +4 -2
  18. data/example/bin/setup +10 -8
  19. data/example/config/application.rb +5 -3
  20. data/example/config/boot.rb +5 -3
  21. data/example/config/environment.rb +3 -1
  22. data/example/config/environments/development.rb +5 -3
  23. data/example/config/initializers/cors.rb +10 -8
  24. data/example/config/puma.rb +11 -9
  25. data/example/config/routes.rb +4 -2
  26. data/example/config.ru +3 -1
  27. data/example/log/development.log +10 -2667
  28. data/example/tmp/cache/bootsnap/compile-cache-iseq/01/2f863f8d7ff70d +0 -0
  29. data/example/tmp/cache/bootsnap/compile-cache-iseq/0a/707c6e76401f50 +0 -0
  30. data/example/tmp/cache/bootsnap/compile-cache-iseq/24/4134f174d68291 +0 -0
  31. data/example/tmp/cache/bootsnap/compile-cache-iseq/3b/64ba0c52596b87 +0 -0
  32. data/example/tmp/cache/bootsnap/compile-cache-iseq/4c/837c8a08879a20 +0 -0
  33. data/example/tmp/cache/bootsnap/compile-cache-iseq/68/a73620fd7d4284 +0 -0
  34. data/example/tmp/cache/bootsnap/compile-cache-iseq/79/1a2ebed1814cfa +0 -0
  35. data/example/tmp/cache/bootsnap/compile-cache-iseq/ee/02ad963145723a +0 -0
  36. data/example/tmp/cache/bootsnap/compile-cache-iseq/fb/4f5abf058e6979 +0 -0
  37. data/example/tmp/cache/bootsnap/load-path-cache +0 -0
  38. data/example/tmp/pids/server.pid +1 -0
  39. data/lib/canvas/embed/version.rb +1 -1
  40. data/lib/canvas/embed.rb +27 -11
  41. data/spec/canvas/embed_spec.rb +44 -7
  42. data/spec/spec_helper.rb +2 -2
  43. metadata +12 -4
  44. data/pkg/canvas-embed-0.1.2.gem +0 -0
  45. data/pkg/canvas-embed-0.1.3.gem +0 -0
@@ -1,10 +1,12 @@
1
+ # frozen_string_literal: true
2
+
1
3
  Rails.application.routes.draw do
2
4
  # Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html
3
5
 
4
6
  # Reveal health status on /up that returns 200 if the app boots with no exceptions, otherwise 500.
5
7
  # Can be used by load balancers and uptime monitors to verify that the app is live.
6
- get "up" => "rails/health#show", as: :rails_health_check
7
- get "/generate_token", to: "application#generate_token"
8
+ get 'up' => 'rails/health#show', as: :rails_health_check
9
+ get '/generate_token', to: 'application#generate_token'
8
10
 
9
11
  # Defines the root path route ("/")
10
12
  # root "posts#index"
data/example/config.ru CHANGED
@@ -1,6 +1,8 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # This file is used by Rack-based servers to start the application.
2
4
 
3
- require_relative "config/environment"
5
+ require_relative 'config/environment'
4
6
 
5
7
  run Rails.application
6
8
  Rails.application.load_server