frozen_record 0.15.0 → 0.16.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ce0b59f2960394e86f2278a1c574680bfc27491bead98f9991ba70aa9a90766e
4
- data.tar.gz: c194c8fa251cc4b9e6be6a41869ad383e4aa0ebd54021ddb36b2b285257dc347
3
+ metadata.gz: 146bcc09f8a4a9622397a90709cb33fa124baca6820547de51337a827124054d
4
+ data.tar.gz: f9f9d76a732523aca217be6a76ab2c1a64ea3faf994dc3a2f94ad93100e9439e
5
5
  SHA512:
6
- metadata.gz: 6bf7ce5df1f3a4c2dd67e4b391fd26bb3499ec572bf4de600bdf50728292959cef2330844d19e3deebec714183da7931802bb735fd5c2d0281541235f07fcb3d
7
- data.tar.gz: 18b96a420a7f74e12c57362b856609b685e60923e4eb39c83d1d0623321f8dade128d53f6435008431589d22f218200c9d3c42a497ead3406013714208a09cdb
6
+ metadata.gz: 6f9a8ef22f72605fd9e3156e145522748fb7b75720c61e76bdffc157f8321cb2bb3ef260e9bf9b7eaac16761a2c207b6f81489c49b66c97a872619c11c665c7e
7
+ data.tar.gz: c030a6f630f96d474f0d441a310dc1c79649fb3c03b5ac3fa558b04b22c7d8838f717383724efec2bbfdcaf3fe92f93fdc777ce5d96d4570fbb1039905675db9
@@ -16,3 +16,5 @@ module FrozenRecord
16
16
  end
17
17
  end
18
18
  end
19
+
20
+ require 'frozen_record/railtie' if defined?(Rails)
@@ -0,0 +1,7 @@
1
+ module FrozenRecord
2
+ class Railtie < Rails::Railtie
3
+ initializer "frozen_record.setup" do |app|
4
+ app.config.eager_load_namespaces << FrozenRecord
5
+ end
6
+ end
7
+ end
@@ -1,3 +1,3 @@
1
1
  module FrozenRecord
2
- VERSION = '0.15.0'
2
+ VERSION = '0.16.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: frozen_record
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.16.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jean Boussier
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-27 00:00:00.000000000 Z
11
+ date: 2019-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel
@@ -112,6 +112,7 @@ files:
112
112
  - lib/frozen_record.rb
113
113
  - lib/frozen_record/backends/yaml.rb
114
114
  - lib/frozen_record/base.rb
115
+ - lib/frozen_record/railtie.rb
115
116
  - lib/frozen_record/scope.rb
116
117
  - lib/frozen_record/test_helper.rb
117
118
  - lib/frozen_record/version.rb