jipe 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/jipe.rb +2 -2
- data/lib/jipe/version.rb +1 -1
- metadata +2 -3
- data/app/controllers/jipe_controller.rb +0 -17
data/lib/jipe.rb
CHANGED
@@ -93,7 +93,7 @@ module Jipe
|
|
93
93
|
js_options = {}
|
94
94
|
js_options['onComplete'] = options.delete(:on_complete) if options[:on_complete]
|
95
95
|
if protect_against_forgery?
|
96
|
-
js_options["authenticityToken"] = form_authenticity_token
|
96
|
+
js_options["authenticityToken"] = form_authenticity_token.to_json
|
97
97
|
end
|
98
98
|
options.each do |k, v|
|
99
99
|
if v.nil?
|
@@ -126,7 +126,7 @@ module Jipe
|
|
126
126
|
js_options = {}
|
127
127
|
js_options['onComplete'] = options[:on_complete] if options[:on_complete]
|
128
128
|
if protect_against_forgery?
|
129
|
-
js_options["authenticityToken"] = form_authenticity_token
|
129
|
+
js_options["authenticityToken"] = form_authenticity_token.to_json
|
130
130
|
end
|
131
131
|
|
132
132
|
outstr = <<-ENDDOC
|
data/lib/jipe/version.rb
CHANGED
metadata
CHANGED
@@ -2,14 +2,14 @@
|
|
2
2
|
name: jipe
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 2.0.
|
5
|
+
version: 2.0.1
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Nat Budin
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-06-
|
12
|
+
date: 2013-06-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -75,7 +75,6 @@ files:
|
|
75
75
|
- Rakefile
|
76
76
|
- app/assets/images/edit-field.png
|
77
77
|
- app/assets/javascripts/jipe.js
|
78
|
-
- app/controllers/jipe_controller.rb
|
79
78
|
- generators/jipe/USAGE
|
80
79
|
- generators/jipe/jipe_generator.rb
|
81
80
|
- generators/jipe/templates/edit-field.png
|