alchemy-json_api 0.8.0 → 0.8.1

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: d820e87bf877fa770b6145ca3e2e50b907bb673d917a416723ad13b3edb72158
4
- data.tar.gz: 907f95e93d6bbe7bcd57e64b768d86ad459dd7fb5fd957692e16eaf251369be0
3
+ metadata.gz: 2b1269b8e437c65d60a003b841a419b781cecab6016e4223f3155527ad1a34ba
4
+ data.tar.gz: e609d9c70e773e0127ffbf1df8ef371da279ba4f0a947be3a35767b5128c9f7c
5
5
  SHA512:
6
- metadata.gz: c1119df682cb6a9cb82447da59a3f24afc59c7dad9fb44c65dd8a16dbfdc74826ebab74d65e2b697e2fc7117519d71d8dafc149b71f035f32b7da4be02edce03
7
- data.tar.gz: 0d83f06aa5aeeaf44712096197324bab31be452196d795504ee2ec0b3d34006de68b41ce20c3ad6a2fff84251d13184a953d165b7cf06b32b9c9df7849f5d24d
6
+ metadata.gz: 71312720acf10f2e4111d5c466776d6dd7d24f91b169286f30c8661223eaf352eccea017e0aa1c074e96677882ad3a41f892916cbc26f72075e93408fe38e547
7
+ data.tar.gz: 02f734815c61de4c0a6a819595926ed12982e80fdb5a8f5a3e9b63b7f66b799c1cb2d04bd97b1f2cd636fab7c3e026fce3b746add74898eb48385616d7f3befd
@@ -50,7 +50,7 @@ module Alchemy
50
50
  if can?(:edit_content, Page)
51
51
  pages = Page.all
52
52
  else
53
- pages = Page.accessible_by(current_ability, :index)
53
+ pages = Page.published
54
54
  end
55
55
  pages.
56
56
  with_language(Language.current).
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
  module Alchemy
3
3
  module JsonApi
4
- VERSION = "0.8.0"
4
+ VERSION = "0.8.1"
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alchemy-json_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Meyerhoff
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-16 00:00:00.000000000 Z
11
+ date: 2020-11-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: alchemy_cms