rest_rails 1.1.4 → 1.1.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e8b6432f33edd284597125d028daf6a2d3e8d99fb3be32f5942a24661f1de68d
4
- data.tar.gz: d044c206a90b679b02afbb91d93394be1b0023fe19468555a047215d5e13eadf
3
+ metadata.gz: 37bef45a003d48ac892e1108b2c60943013d79deb1cac771f5f3be33969aa37f
4
+ data.tar.gz: 3aa3996113d78bc65fdc167b44ec5b1287b3626a7a3eafc9c9c3707fc6d57c9f
5
5
  SHA512:
6
- metadata.gz: bced5b85c30350d6df6457470a17ef4ad771fcc081512f214e304c1112b8c836ba7339ce508afa576ebc813de7c785574c35bf8379e11923ce20ca85aeee4851
7
- data.tar.gz: 59ded15da6a4ee151440615f94c70e410bd043375f25b8be32165e2afdd6fb9e995b76b4fe5b37b77ac21d36d67b593415e2507b577a792daa4a4ab9019929d9
6
+ metadata.gz: a950feac58f26f179c37f370887529491d7ddf8153211d5a17f20ebfca691695ba955bf2621ee2fcca4401e3248437687d40a0c8ea2bccf5e7aa697e917bb870
7
+ data.tar.gz: 1132938c2b68cce52130c22cc7ec0370ba46e0def6ae29e08d2886253e1f6464ba8393599d333f945570aa412ff4fbda1253dd1a3b4a5b3c61503fa7d5ac0193
@@ -9,6 +9,10 @@ module RestRails
9
9
 
10
10
  private
11
11
 
12
+ def verify_authenticity_token
13
+ true
14
+ end
15
+
12
16
  def not_found(exception)
13
17
  if RestRails.debug
14
18
  raise exception
@@ -2,7 +2,7 @@ require 'json'
2
2
  module RestRails
3
3
  class DataController < ::ApplicationController
4
4
  include ApplicationHelper
5
- skip_before_action :verify_authenticity_token, if: -> {self.respond_to?("verify_authenticity_token")}
5
+ # skip_before_action :verify_authenticity_token, if: -> {self.respond_to?("verify_authenticity_token")}
6
6
  before_action :verify_table_permissions!, only: [:create, :update, :destroy, :attach, :unattach]
7
7
  before_action :set_model
8
8
  before_action :set_object, only: [:show, :update, :destroy, :fetch_column, :attach, :unattach]
@@ -1,3 +1,3 @@
1
1
  module RestRails
2
- VERSION = '1.1.4'
2
+ VERSION = '1.1.5'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rest_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.4
4
+ version: 1.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergio Rivas