activeentity 0.0.1.beta8 → 0.0.1.beta9

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: 6ce0a050db0ba21085ec9476f862349da92b01c0802e3a962dfde49c5ed0c31b
4
- data.tar.gz: 6e20f5c8194cb6d6585eb2beaa7bcec95400f82809c3a4e1f53f51cf48d37824
3
+ metadata.gz: 235dcb06f9c87deacf1304613128ad4deda0f285f3de546c19190b30c481e854
4
+ data.tar.gz: 651d6ef3448daf0d44efa992c6be53083a52d721bcc1ad4970b509479eb7e483
5
5
  SHA512:
6
- metadata.gz: 8d0e89cfbae8f01ee7f3e3a57079ebacee88cecd6f7c917c85aba06720c3fe598f42c9b0b26e890473a8fdff43504f8f3498e70a3ceaeab3ed4a3b3bd84a0714
7
- data.tar.gz: '01961e04841daca0bc5e277be5b89a2446dca169001536021dd1bb86841b1f7e6afa0ebacad7e6963567bcae1e5b9f7ee72191875491183d68f0e60fe9f834ee'
6
+ metadata.gz: fe5eebc2fc256e1d9af297d3fd4dacdcfea331ce18d0d04f4a1f36d6637943a6dad76442047729e8e243920d0fd30b92a4218a6194333bdd729549ba3e5a3b95
7
+ data.tar.gz: 5eab0510837841a772317d375e2fe7367dce1d00dbfa8ef4dd37e09365af7dbe6f3f56406e0d1d0566356e03731f2d5e33861160f699582cdd7a70b5ff2edd87
data/README.md CHANGED
@@ -138,7 +138,7 @@ Tested extensions:
138
138
  Add this line to your application's Gemfile:
139
139
 
140
140
  ```ruby
141
- gem 'activeentity'
141
+ gem 'activeentity', require: "active_entity/railtie"
142
142
  ```
143
143
 
144
144
  And then execute:
@@ -10,7 +10,7 @@ module ActiveEntity
10
10
  MAJOR = 0
11
11
  MINOR = 0
12
12
  TINY = 1
13
- PRE = "beta8"
13
+ PRE = "beta9"
14
14
 
15
15
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
16
16
  end
@@ -0,0 +1,16 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "active_entity"
4
+ require "rails"
5
+ require "active_model/railtie"
6
+
7
+ module ActiveEntity
8
+ # = Active Entity Railtie
9
+ class Railtie < Rails::Railtie # :nodoc:
10
+ config.eager_load_namespaces << ActiveEntity
11
+
12
+ runner do
13
+ require "active_record/base"
14
+ end
15
+ end
16
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activeentity
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.beta8
4
+ version: 0.0.1.beta9
5
5
  platform: ruby
6
6
  authors:
7
7
  - jasl
@@ -101,6 +101,7 @@ files:
101
101
  - lib/active_entity/model_schema.rb
102
102
  - lib/active_entity/nested_attributes.rb
103
103
  - lib/active_entity/persistence.rb
104
+ - lib/active_entity/railtie.rb
104
105
  - lib/active_entity/readonly_attributes.rb
105
106
  - lib/active_entity/reflection.rb
106
107
  - lib/active_entity/serialization.rb