jipe 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Jipe
2
- VERSION = "2.0.0"
2
+ VERSION = "2.0.1"
3
3
  end
metadata CHANGED
@@ -2,14 +2,14 @@
2
2
  name: jipe
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 2.0.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-14 00:00:00.000000000 Z
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
@@ -1,17 +0,0 @@
1
- class JipeController < ApplicationController
2
- unloadable
3
- layout nil
4
- caches_page :jester, :jipe
5
-
6
- def jester
7
- respond_to do |format|
8
- format.js {}
9
- end
10
- end
11
-
12
- def jipe
13
- respond_to do |format|
14
- format.js {}
15
- end
16
- end
17
- end