settingson 0.0.5 → 0.0.10

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
  SHA1:
3
- metadata.gz: 01bf8b87eb64091bea84cc60503a0720efc116a1
4
- data.tar.gz: 96fe871a3cc2458a145fb2ffde295c5527b941b1
3
+ metadata.gz: f98166649f039da5e2c399667f3e7c5886234997
4
+ data.tar.gz: 2a20c78263a58bcc8ec613f9ebff903dc7336e16
5
5
  SHA512:
6
- metadata.gz: a52a1cea5e7fc918e9f4de4c63b6d098203831256ec3dc5cf23f6169aae1684eb217295dca1cc4a736cde5e5f25318dd9a0feb9da4ec3360922cde55e51c1d02
7
- data.tar.gz: e870a09daebd949791f9118428750aaff1faf036471318fa8d789659d7b052fcb09c7950f1924a1858550a0dc1d01efd66a7c5737458a8d977c1a293b61f927b
6
+ metadata.gz: dcf8560eadc18992f8e2232260b710b6c9b2adaeff935aea402ddee2120e092fde77cfb919b412980ce33796d290a5e62573f4d61b05ee1c7b0c34ebfef0f782
7
+ data.tar.gz: 13e1f5245bf94d643c698c0052235eac1c2bdb5e21696b163c80fe0f918294bb7ce763b4cf216bffeac1905d4d4a4442d6eb1a84f6d4626e72c9c559135dd219
File without changes
@@ -0,0 +1,3 @@
1
+ class Settingson::Engine < ::Rails::Engine
2
+ config.autoload_paths += Dir["#{config.root}/app/models/concerns"]
3
+ end
@@ -1,3 +1,3 @@
1
1
  module Settingson
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.10"
3
3
  end
data/lib/settingson.rb CHANGED
@@ -1,5 +1,7 @@
1
1
  require "settingson/version"
2
2
 
3
3
  module Settingson
4
- autoload :Base, 'settingson/app/models/concerns/base.rb'
4
+ if defined?(Rails)
5
+ require 'settingson/engine'
6
+ end
5
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: settingson
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - dan
@@ -36,8 +36,9 @@ files:
36
36
  - LICENSE.txt
37
37
  - README.md
38
38
  - Rakefile
39
- - app/models/concerns/base.rb
39
+ - app/models/concerns/settingson/base.rb
40
40
  - lib/settingson.rb
41
+ - lib/settingson/engine.rb
41
42
  - lib/settingson/version.rb
42
43
  - settingson.gemspec
43
44
  homepage: https://github.com/daanforever/settingson