ruby_captivate 1.1.4 → 1.1.5

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.
@@ -32,7 +32,7 @@ Add the gem to your gemfile and then run the generator:
32
32
 
33
33
  <b>rails generate ruby_captivate:install</b>
34
34
 
35
- This will create a route, a captivate_results_controller, and a process_results view file. The view file is only a stub file as Adobe Captivate will show your users an 'unknown error' popup without one due to Rails complaining about the lack of a view template.
35
+ This will create a route, a captivate_results_controller, and a process_results view file. The view file is only a stub file as Adobe Captivate will show your users an 'unknown error' popup without one due to Rails complaining about the lack of a view template. A 'skip_before_filter' is added to the controller, otherwise Rails won't be able to verify the CSRF token coming from Captivate.
36
36
 
37
37
  == LICENSE:
38
38
 
@@ -1,4 +1,5 @@
1
1
  class CaptivateResultsController < ApplicationController
2
+ skip_before_filter :verify_authenticity_token, :only => [:process_results]
2
3
 
3
4
  def process_results
4
5
  company_name = params[:CompanyName]
Binary file
@@ -2,7 +2,7 @@ $:.push File.expand_path("../lib", __FILE__)
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "ruby_captivate"
5
- s.version = "1.1.4"
5
+ s.version = "1.1.5"
6
6
  s.authors = ["Michael Leveton"]
7
7
  s.date = %q{2012-01-27}
8
8
  s.description = 'Adobe Captivate reporting for Rails 3.0+'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_captivate
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.4
4
+ version: 1.1.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-01-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: thor
16
- requirement: &13500980 !ruby/object:Gem::Requirement
16
+ requirement: &6785400 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *13500980
24
+ version_requirements: *6785400
25
25
  description: Adobe Captivate reporting for Rails 3.0+
26
26
  email: mleveton@prepcloud.com
27
27
  executables: []
@@ -35,7 +35,7 @@ files:
35
35
  - lib/generators/ruby_captivate/install/install_generator.rb
36
36
  - lib/generators/ruby_captivate/templates/captivate_results_controller.rb
37
37
  - lib/generators/ruby_captivate/templates/process_results.html.erb
38
- - ruby_captivate-1.1.3.gem
38
+ - ruby_captivate-1.1.4.gem
39
39
  - ruby_captivate.gemspec
40
40
  - test/test_ruby_captivate.rb
41
41
  homepage: https://github.com/Leveton/ruby_captivate
Binary file