effective_pages 2.0.3 → 2.0.4

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
- SHA1:
3
- metadata.gz: 1313a671f8759b405908b4f96fd751cf574cb45b
4
- data.tar.gz: 5f1c2fbf5474523ab5aefd8d539fa0ce73bd1c62
2
+ SHA256:
3
+ metadata.gz: aa25e6c6803b56faa0afafb0310ecde789f8497f5e108073a164b4287d287b0c
4
+ data.tar.gz: 77d79c019d3520c265ad17a1f371edfaaab844728e8f9ed0b72303f813f1522a
5
5
  SHA512:
6
- metadata.gz: 0a6285b1193fa4ff849cdc4854fe40294408afdc51302b729321e10f3710cf522f2e35397cd3f272d42030196d54546840af5e7eb4a5f9dab23a821d169bce2e
7
- data.tar.gz: 391184f49850291e497bc1871e3a2db9edcbf3f442ffcc8829ed6e22b34157b1dd8dd7501598ed054186275f9373bbe4c5fd099b36d49b28a25bf12a200d6e1c
6
+ metadata.gz: 6408c38dbc2a63a58f20da32d24e737d42fd8ef98e4df6d6bb4599bbcb07ff2c5bd6e3cab2b155280be3059622a976cf6049c4338c20c7a528571ff40437924a
7
+ data.tar.gz: cd20fa624610912dddb08c99bfe6debee93acab00ef402f600faed0edf9daf5e5aab820a7731c8846ce3306560f13164ac2663772cbecda6026200ae72c80f58
@@ -2,7 +2,7 @@ module Effective
2
2
  class PagesController < ApplicationController
3
3
  def show
4
4
  @pages = Effective::Page.all
5
- @pages = @pages.published unless EffectivePosts.authorized?(self, :admin, :effective_pages)
5
+ @pages = @pages.published unless EffectivePages.authorized?(self, :admin, :effective_pages)
6
6
 
7
7
  @page = @pages.find(params[:id])
8
8
 
@@ -1,3 +1,3 @@
1
1
  module EffectivePages
2
- VERSION = '2.0.3'.freeze
2
+ VERSION = '2.0.4'.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.3
4
+ version: 2.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-02 00:00:00.000000000 Z
11
+ date: 2019-05-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -147,8 +147,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
147
147
  - !ruby/object:Gem::Version
148
148
  version: '0'
149
149
  requirements: []
150
- rubyforge_project:
151
- rubygems_version: 2.4.5.1
150
+ rubygems_version: 3.0.3
152
151
  signing_key:
153
152
  specification_version: 4
154
153
  summary: Content pages for your rails app