social_rails 2.1.4 → 2.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8b0ef3b99d45df73170eb232d59766dba92b6a3f
4
- data.tar.gz: 58dde551c4d4bc53a0a5bed5458a6d3bb9d9b3bf
3
+ metadata.gz: 382c98167b81ef2eb5540a2a3967b5d41432c78f
4
+ data.tar.gz: 452ddc68d06784c9ea9ab8904648c9f5f4667275
5
5
  SHA512:
6
- metadata.gz: fa3473bea550fd73ded9b69b04f388d65084440f6d2e7616dde0371054d6503725fa5a2ebe3b614d81753d699fc9bfa1fbc429246c3ff84bc26b61114c57133c
7
- data.tar.gz: a80ce296bdfefbfeb2b94df753469811628aaeec87cffcc931ac71779105bad364561dade5d3680b9e1b28c92137d903bd37bcdbc9bf92cf9894e891e71e2d9c
6
+ metadata.gz: 2850c936194484c177bb30d4a5bd9f99e2f500c4b762fa3d8cb4060b210ed9b7fcbd6c1a920ec0a8dac1d307c73c7568570503e7ded69d32abd55fdf2407a75d
7
+ data.tar.gz: 40ac15d079df913b816c0e6b5aaece731b2898ba0fcd6711d739c5a97189eb7a521502b31277e5c714005862f0de1868642f06a3e5e7dadcf2e2683161b6b0e9
@@ -1,5 +1,9 @@
1
1
  module SocialRails
2
2
  class ApplicationController < ActionController::Base
3
3
  protect_from_forgery with: :exception
4
+
5
+ # Patch for the authoreyes gem
6
+ def redirect_if_unauthorized(document_role=nil)
7
+ end
4
8
  end
5
9
  end
@@ -1,9 +1,7 @@
1
- require_dependency "social_rails/application_controller"
2
-
3
1
  module SocialRails
4
2
  class SocialController < SocialRails::ApplicationController
5
3
  def latest
6
4
  render ["social_rails", params[:template], "latest"].compact.join("/"), layout: false
7
5
  end
8
6
  end
9
- end
7
+ end
@@ -1,3 +1,3 @@
1
1
  module SocialRails
2
- VERSION = '2.1.4'
2
+ VERSION = '2.1.5'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: social_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.4
4
+ version: 2.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Francis G
@@ -138,7 +138,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
138
138
  version: '0'
139
139
  requirements: []
140
140
  rubyforge_project:
141
- rubygems_version: 2.6.14
141
+ rubygems_version: 2.6.13
142
142
  signing_key:
143
143
  specification_version: 4
144
144
  summary: Ease the pain of integrating social media posts in a Rails app.