entitize 0.1.2 → 0.1.3

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: eb09f08b447c679a16ea5cde94685f37b16288df
4
- data.tar.gz: 348c5016692fd28e971d9f106ee190f27a360fd4
3
+ metadata.gz: 443e1b5fa15eab768fa470076871dc146e340aa2
4
+ data.tar.gz: 8582a8b8bd1cd8c6ca1e7bf7460dc717ee1cf7b1
5
5
  SHA512:
6
- metadata.gz: 43d8117eb010bab9d1d294401e7f58009d0e8b48c4a6c4dc345965da2138660e6c9d3ee8a6896d87b7864928329d6d5e042f773967e8bf3d7bc15d49c45314e7
7
- data.tar.gz: 5f2d87b6bcf5bff355879eaa14d348df82b49c82157256329655a793e787c50d52516d643196d51ac4a0df6832afa7a2483c1c05ed71f384a71a8ed7c0c5d4ed
6
+ metadata.gz: ada499bcfcf98ca19af7167b114bcf9e89ec872b1f9c4f780f84e299a7dd7695c74a0fa8a5940a40dd011bed43b7d943e9ec7fe385d13f08cd760cefb670836c
7
+ data.tar.gz: 57c62747e57926b46ea5388dd840df7b036c3fc21155f491014d26e42278e0bd68ff1a1b41880553dd7648f7dd6702b5d64205315a8a7e32c201e81781cb329a
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- entitize (0.1.1)
4
+ entitize (0.1.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -7,11 +7,14 @@ require "entitize/repo"
7
7
  require "entitize/classifier"
8
8
  require "entitize/entity"
9
9
 
10
+ module Bobs
11
+ end
12
+
10
13
  module Entitize
11
14
 
12
15
  # TODO: Make this customizable
13
16
  def self.base_class
14
- Entitize
17
+ Bobs
15
18
  end
16
19
 
17
20
  end
@@ -30,7 +30,7 @@ module Entitize
30
30
  if base_class.const_defined?(class_name)
31
31
 
32
32
  klass = base_class.const_get(class_name)
33
- if klass.to_s.include?("Entitize::")
33
+ if klass.to_s.include?("#{Entitize.base_class.to_s}::")
34
34
  klass
35
35
  else
36
36
  base_class.const_set(class_name, build(data))
@@ -1,3 +1,3 @@
1
1
  module Entitize
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: entitize
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Fiser