rest_rails 1.1.3 → 1.1.4

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: 60b6019aea028d00e144562305984f31b6ac4af2385bff5bad20a0aa3ff044d2
4
- data.tar.gz: 158bc89830f2fb70db8976569a556ccbeaff3fb8830a46af7973ac61b5b38949
3
+ metadata.gz: e8b6432f33edd284597125d028daf6a2d3e8d99fb3be32f5942a24661f1de68d
4
+ data.tar.gz: d044c206a90b679b02afbb91d93394be1b0023fe19468555a047215d5e13eadf
5
5
  SHA512:
6
- metadata.gz: 289e7d1dcaa27a61db391ab3ce1f32d89081d29508d82a1a822a57751091d2e1434c128daf16246c1de8df35518ca7b387632d65d20474b0fc441cd37d8640a8
7
- data.tar.gz: 874249aabd0149a3ebfd25f7672fb26871a03a9432431adfa1b162e1a6e776a58950afcf9f0f8653c91c4bda8f9ad5a550411342ec7077dbcfe3769fa4224505
6
+ metadata.gz: bced5b85c30350d6df6457470a17ef4ad771fcc081512f214e304c1112b8c836ba7339ce508afa576ebc813de7c785574c35bf8379e11923ce20ca85aeee4851
7
+ data.tar.gz: 59ded15da6a4ee151440615f94c70e410bd043375f25b8be32165e2afdd6fb9e995b76b4fe5b37b77ac21d36d67b593415e2507b577a792daa4a4ab9019929d9
@@ -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
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.3'
2
+ VERSION = '1.1.4'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rest_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergio Rivas
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-30 00:00:00.000000000 Z
11
+ date: 2020-04-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -82,8 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
82
82
  - !ruby/object:Gem::Version
83
83
  version: '0'
84
84
  requirements: []
85
- rubyforge_project:
86
- rubygems_version: 2.7.6
85
+ rubygems_version: 3.0.3
87
86
  signing_key:
88
87
  specification_version: 4
89
88
  summary: Simple, Mountable, rails REST API