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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 50b6ab14e92599ee97e7e337688a6cc8ff36e7f82d0eccb589caa97a529e78ab
|
4
|
+
data.tar.gz: 4e031aef41f45e7733e1a07ff47dc058f8b083e53da25315e7c5eefa638c86f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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.
|
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-
|
11
|
+
date: 2021-01-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: alchemy_cms
|