activeentity 0.0.1.beta8 → 0.0.1.beta9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/active_entity/gem_version.rb +1 -1
- data/lib/active_entity/railtie.rb +16 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 235dcb06f9c87deacf1304613128ad4deda0f285f3de546c19190b30c481e854
|
4
|
+
data.tar.gz: 651d6ef3448daf0d44efa992c6be53083a52d721bcc1ad4970b509479eb7e483
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe5eebc2fc256e1d9af297d3fd4dacdcfea331ce18d0d04f4a1f36d6637943a6dad76442047729e8e243920d0fd30b92a4218a6194333bdd729549ba3e5a3b95
|
7
|
+
data.tar.gz: 5eab0510837841a772317d375e2fe7367dce1d00dbfa8ef4dd37e09365af7dbe6f3f56406e0d1d0566356e03731f2d5e33861160f699582cdd7a70b5ff2edd87
|
data/README.md
CHANGED
@@ -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.
|
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
|