alchemy-json_api 0.12.0 → 0.12.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: ec8c154e4f6ac5ba72d6d96b39a60475acf9b0d411d3a4e2d34c81fc271d1489
4
- data.tar.gz: c0cc273e02b2038e5462428fa1f7d0960be37ccf8225abd76af7343ca4f76ec0
3
+ metadata.gz: 50b6ab14e92599ee97e7e337688a6cc8ff36e7f82d0eccb589caa97a529e78ab
4
+ data.tar.gz: 4e031aef41f45e7733e1a07ff47dc058f8b083e53da25315e7c5eefa638c86f9
5
5
  SHA512:
6
- metadata.gz: 2f0ebd08816a2d97347555eaf114735b429ec7c1e2592f9c1ff0b652be9f0799c782489987eac5d3142d5f5246ac6f02375460d62931ef4cfcca4f8a3e9ad809
7
- data.tar.gz: '08c7a5e5570c995b3495844bcceb9a145173cb3e224fce0051a5b672eae408aee58850e1b612fb25051c0896c571365481daabe28d7e4766b62742e1b0363e34'
6
+ metadata.gz: 29faa1ddb7bcf46660148824c14d8af8b59a89f41d93df308c26bf0eba08bb975d85906bf9438691aba39142353dfd1ce4a4d97bfca9f0933ee2a3cc738ddacd
7
+ data.tar.gz: d9bec282c23b43dcdc4ac24b001d2c862e60c6bff3d0c9b92e335fe1dc303803c3dcf4ffcdd2e0ee3b160c770e8a5c07f066b6e8e787057cdb3ec019bc5d1adf
@@ -11,6 +11,15 @@ RSpec.shared_examples "an essence serializer" do
11
11
  context "a deprecated content" do
12
12
  let(:content) { FactoryBot.create(:alchemy_content, name: "intro", element: element) }
13
13
 
14
+ before do
15
+ expect(content).to receive(:definition).at_least(:once) do
16
+ {
17
+ name: "intro",
18
+ deprecated: true,
19
+ }
20
+ end
21
+ end
22
+
14
23
  it "has deprecated attribute set to true" do
15
24
  expect(subject[:deprecated]).to eq(true)
16
25
  end
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
  module Alchemy
3
3
  module JsonApi
4
- VERSION = "0.12.0"
4
+ VERSION = "0.12.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.12.0
4
+ version: 0.12.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: 2021-01-25 00:00:00.000000000 Z
11
+ date: 2021-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: alchemy_cms