sweet_actions 0.2.2 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f9e6b84092d8aaeeaf6249a8f5cf538ccae5eb53
4
- data.tar.gz: 9185abe50542cef3bbc83b70c34ffcfacf4ce523
3
+ metadata.gz: e0809b068a9b243aefd5d33e2e6d0a50e2f7c0b7
4
+ data.tar.gz: 24c98401b4b7b6b3a1649f964d75fe2d79bb37a1
5
5
  SHA512:
6
- metadata.gz: e6d93b31fbe5055163bd63638f7f4d46dace29d01266690fcf1957959a4f3525f9a883b8f1830135fcb78b2095c921f1704f2c8d49b9f4fa393028dacc164eda
7
- data.tar.gz: bf4f7e09c60bff522990e48b32770f7ea35e2b1221b0650215e3d9b563b5cb07cb8a3c24932f9e30acefee5f6539296964ab18c5bfccab9503e8a497a3b37442
6
+ metadata.gz: ce6c6848c5b364d4c658e84c2d697f6d056cd29cf5ee96a5f8b96a510d641656aa82c5ec51911faab2ccea37b61106b2b92b6794abfcc7e73541460dbe82b48b
7
+ data.tar.gz: 635b56d42ec2a170c671ebd7b0968eaf69cfe58db0023f1713dba2900254ca7991ba070597214de7aa2ae2dd61172bcc339561bbe1ba9bfc01b09c0cac5cb749
@@ -13,9 +13,11 @@ module SweetActions
13
13
  def serialize
14
14
  return serialize_destroyed_resource if destroyed?
15
15
 
16
- {
17
- type: root_key,
18
- attributes: serialized_attributes
16
+ {
17
+ data: {
18
+ type: root_key,
19
+ attributes: serialized_attributes
20
+ }
19
21
  }
20
22
  end
21
23
 
@@ -1,3 +1,3 @@
1
1
  module SweetActions
2
- VERSION = "0.2.2"
2
+ VERSION = "0.3.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sweet_actions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Francis
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-05-17 00:00:00.000000000 Z
11
+ date: 2018-05-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport