benhoskings-hammock 0.2.11.3 → 0.2.11.4
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +4 -0
- data/hammock.gemspec +1 -1
- data/lib/hammock.rb +1 -1
- data/lib/hammock/ajaxinate.rb +1 -1
- metadata +1 -1
data/History.txt
CHANGED
data/hammock.gemspec
CHANGED
data/lib/hammock.rb
CHANGED
@@ -8,7 +8,7 @@ Dir.glob("#{File.dirname __FILE__}/hammock/**/*.rb").each {|dep|
|
|
8
8
|
} if defined?(RAILS_ROOT) # Loading Hammock components under 'rake package' fails.
|
9
9
|
|
10
10
|
module Hammock
|
11
|
-
VERSION = '0.2.11.
|
11
|
+
VERSION = '0.2.11.4'
|
12
12
|
|
13
13
|
def self.included base # :nodoc:
|
14
14
|
Hammock.constants.map {|constant_name|
|
data/lib/hammock/ajaxinate.rb
CHANGED
@@ -145,7 +145,7 @@ module Hammock
|
|
145
145
|
if !protect_against_forgery? || (:get == (request_method || request.method))
|
146
146
|
'{ }'
|
147
147
|
else
|
148
|
-
"{ '#{request_forgery_protection_token}':
|
148
|
+
"{ '#{request_forgery_protection_token}': '#{escape_javascript(form_authenticity_token)}' }"
|
149
149
|
end
|
150
150
|
end
|
151
151
|
|