halitosis 0.3.0 → 0.3.1

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
  SHA256:
3
- metadata.gz: 0576b2d1e7ce15303f1bdc4a845bc7e81d1f2e497d3e49b220f1dd68920938cb
4
- data.tar.gz: 79a5d29e8ec21cf3f035719dab8ef719216424a8514c2ff045d8f0f0d1cbe552
3
+ metadata.gz: 132a48c57ab46ecf35fe607abea9b4cb5fe1239093847c7881529d6e9ee24432
4
+ data.tar.gz: cca910ac243034a3207ea29d49fcbfb89a0cdca40d144210172bb6620a309a0d
5
5
  SHA512:
6
- metadata.gz: '02779ecf3fd87d66cab25c245c1ca82a2eee370241088d1af6fcc72bde1f3e7917687119260e4d5d04f22dfb363c1d8d9b54730caece6a82825d2ca65f6d9ef5'
7
- data.tar.gz: 2e77dae400e7f5ece72aa1604898444b90c43cca04694b495f23dda4aaf38e4b62b05bc1cdd67b1f32d1e5c1014924756e2b242bd4c5a648df944bee18d61520
6
+ metadata.gz: c7a567c4147e4755a43c374142dc7a6d7a316c6f73990ca0560fe0d8aad90bcfec3262f3da5950a7a7e1d723d2427ac34d8c59941d2792c1ea2de7585319b8f0
7
+ data.tar.gz: 71e056347098a5399605c14a95afbf8eeb25b4d938521d739f86571a67324daba2042b58996993ca7ee5f0f5dd296f4974506572c93ad2dae1aa69cd2e88b6dc
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Halitosis
4
- VERSION = "0.3.0"
4
+ VERSION = "0.3.1"
5
5
  end
data/lib/halitosis.rb CHANGED
@@ -33,31 +33,28 @@ module Halitosis
33
33
  base.extend ClassMethods
34
34
 
35
35
  base.include Base
36
+ base.include Identifiers
36
37
  base.include Attributes
38
+ base.include Links
39
+ base.include Meta
40
+ base.include Permissions
41
+ base.include Relationships
42
+ base.include RootLinks
43
+ base.include RootMeta
44
+ base.include RootPermissions
37
45
 
38
46
  config.extensions.each { |extension| base.send :include, extension }
39
47
  end
40
48
 
41
49
  module ClassMethods
42
50
  def resource(name)
43
- include Identifiers
44
- include Links
45
- include Meta
46
- include Permissions
47
- include Relationships
48
51
  include Halitosis::Resource
49
- include RootLinks
50
- include RootMeta
51
- include RootPermissions
52
52
 
53
53
  define_resource(name)
54
54
  end
55
55
 
56
56
  def collection(name, ...)
57
57
  include Halitosis::Collection
58
- include RootLinks
59
- include RootMeta
60
- include RootPermissions
61
58
 
62
59
  define_collection(name, ...)
63
60
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: halitosis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Morrall