effective_pages 2.0.7 → 2.0.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dc4146ba84bf916d768ba60fd5b81cdad9d9fed5ca0183f587f7366f97f2734c
4
- data.tar.gz: d1ba1a9841c8a9950109b719c08102305c9024ebd94dc0389bf9dfc9475c39bd
3
+ metadata.gz: 215d1a7ca112ac8f5f799b186fa6fab449340ea338e77da1676cb5c4745fff0c
4
+ data.tar.gz: 6332e9e8799752a6ff3d93117fb7f0b10b78ef3691e6b62faccf73a76e4da587
5
5
  SHA512:
6
- metadata.gz: bb0468bf139a9ea55c238bdfb15a1e73bb5c580b7f50d827b0962a7771fa09216e7a9ea4a84be6fea3f1bca579104e57dd74403531d085cfffce8dba24e927b7
7
- data.tar.gz: 0f70822d70b8ea025a9bc96f0899051792659e5e454052c48f44890f6a2cbe9ec2328f61dba60322920accce49463a5627695b6c5d104d844e72d0e235da170d
6
+ metadata.gz: 3c2329ad44abe3d85007d94e4e76e487a9b2decda4e4ea91f9f7c61676a576ac20b6a77dc7b1b1481904903611152e024b3b7aadcd9ea1a9767ac91d9b7a8c85
7
+ data.tar.gz: fb1f224d1b1696c7f4bacbc9a0563760d1d7e4727a9d35b9cc842cae1ebeb5f87e453fa59ed2ff66dc2b8e8bc01c4baa1998838e277fbd066a7ff65777ad9f51
@@ -2,7 +2,7 @@ module EffectivePagesHelper
2
2
 
3
3
  def effective_pages_body_classes
4
4
  [
5
- params[:controller].parameterize,
5
+ params[:controller].to_s.parameterize,
6
6
  params[:action],
7
7
  ((user_signed_in? ? 'signed-in'.freeze : 'not-signed-in'.freeze) rescue nil),
8
8
  (@page.template rescue nil),
@@ -1,3 +1,3 @@
1
1
  module EffectivePages
2
- VERSION = '2.0.7'.freeze
2
+ VERSION = '2.0.8'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_pages
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.7
4
+ version: 2.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-31 00:00:00.000000000 Z
11
+ date: 2020-07-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -132,7 +132,7 @@ homepage: https://github.com/code-and-effect/effective_pages
132
132
  licenses:
133
133
  - MIT
134
134
  metadata: {}
135
- post_install_message:
135
+ post_install_message:
136
136
  rdoc_options: []
137
137
  require_paths:
138
138
  - lib
@@ -147,8 +147,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
147
147
  - !ruby/object:Gem::Version
148
148
  version: '0'
149
149
  requirements: []
150
- rubygems_version: 3.0.3
151
- signing_key:
150
+ rubygems_version: 3.1.2
151
+ signing_key:
152
152
  specification_version: 4
153
153
  summary: Content pages for your rails app
154
154
  test_files: []