hooch 0.6.2 → 0.6.3

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
  SHA1:
3
- metadata.gz: 8b128ed1d8877c2da7f3475fb3be03814da5e95d
4
- data.tar.gz: 334c0c4d06d7fb8507e5d052770a6b50a9baab5e
3
+ metadata.gz: 8705a701f4a27a828003d4f03849bd85a349c1ed
4
+ data.tar.gz: 39ffcb5992bb7cbdbade204797b483187b0f927e
5
5
  SHA512:
6
- metadata.gz: 2947e3efbadb510d0b7467ddfca7928f102c4b95178a41b43a0ab3b639749a8a77ab46951ac101b03d0695b6e821980249f6253f29e07cc6d7938da91c32357c
7
- data.tar.gz: 9085e0b5bf7385275a29521d524865765d438bab4fac81b4eaae1e9fdf89aa2ac281ec5831fa1b4e3a3f8cef96e855f321a4bbc76db966ef282bf8ebb8a56ac8
6
+ metadata.gz: ff9336b4e5e4e7a069ac237c59c24adff0ba078170c2a6513992dca314beb242865a4ad052f3a5e4756dce8ea66aef1bb1fd8ca8697890826d9a8c0969fda81c
7
+ data.tar.gz: 25de0bb8ea8f9b0020bbb6a87c99ec16a8e2eb1b83865343476b524377a66ac4ee8fb399f8985ab2833b5d1f9d81f49c330f11f42851081102da74742752f78a
@@ -933,6 +933,10 @@ var initHooch = function(){
933
933
  if(this.$sorter.data('sort-field')){
934
934
  form_data['sort_field'] = this.$sorter.data('sort-field')
935
935
  }
936
+ var csrf_token = $('[name="csrf-token"]').attr('content')
937
+ if(csrf_token){
938
+ form_data['authenticity_token'] = csrf_token
939
+ }
936
940
  return form_data
937
941
  },
938
942
  removePlaceholder: function(){
@@ -1,3 +1,3 @@
1
1
  module Hooch
2
- VERSION = "0.6.2"
2
+ VERSION = "0.6.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hooch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 0.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Draut