defcon 1.2.4 → 1.2.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c39ab8ce4771b44e1b3bc661b5667650f803a21b
4
- data.tar.gz: c77b8fe25504f86ca0366c77a6ef9861f528693f
3
+ metadata.gz: 98a59dbf75f6b50a034dcdcb3388d75b3f47971a
4
+ data.tar.gz: 7ce05c2154a866c8a8503361cdfbcd67daa28262
5
5
  SHA512:
6
- metadata.gz: b4c2f52dcaf92d8147b959992a7fd1f3fbb294fc05bcddde4ba982fd1b61c2f8289dc8e4741bf7a8d997d226ecf7fa59d0acdf45f3ba52c8411a1ae91674f9a9
7
- data.tar.gz: 239e04846937bed4dfc92617f867aeceee17521bbbb747a21b24cde15834aca6b11cf35196f3f988c07291e9cf54308986a29c3700c9522abd1603f7bb8977a5
6
+ metadata.gz: 5197a8fc006a9646be955ee73b2bbef9a8877476738d16428f920779e20ee2ea67303efed418cf97edd330188495f45c3dfc2722ac4c4a5fac955ee19cbc2452
7
+ data.tar.gz: e169283afc352f081c85ac165cc4b97a3c76fe37eb65945cb38cf24abd06ed1eb4a8897b7b56d0d7e04a452febf169d4b91923807a6ef27fa47bd3dfd6f34bf1
@@ -1,4 +1,8 @@
1
1
  module Defcon
2
2
  class ApplicationController < ActionController::Base
3
+ # Prevent CSRF attacks by raising an exception.
4
+ # For APIs, you may want to use :null_session instead.
5
+ protect_from_forgery with: :exception
6
+
3
7
  end
4
8
  end
@@ -1,3 +1,3 @@
1
1
  module Defcon
2
- VERSION = "1.2.4"
2
+ VERSION = "1.2.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: defcon
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.4
4
+ version: 1.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cleophus Robinson