has_setting 0.7 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/has_setting/ar_extensions.rb +1 -1
- data/lib/has_setting/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5340ef7ba3b423b9a015293fa81e9f7e765bf719
|
4
|
+
data.tar.gz: 2f3c8490135a7908af0378dc11d8a172b3836e2f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b6f50d4b7af489834fedb1c2f74d2d9a6c38a7ea9c081b4534607a31d7f5b0a5dc1db8468396d50be28c3a5fadbf7b6f84a6e1be07b1d6c7b4dcb061a58d848d
|
7
|
+
data.tar.gz: e3b5546df57b9dc0a913b4a0d4998c5531fb6cf85743b366bd4f7111756e6b6a393f7ec6c3e2e3bb21e6e32471b9c6c2efb1640b8d57a58e0a86ef97d52327c3
|
@@ -13,7 +13,7 @@ module HasSetting
|
|
13
13
|
# AR association to settings
|
14
14
|
has_many( :settings, :as => :owner, :class_name => 'HasSetting::Setting',
|
15
15
|
:foreign_key => :owner_id, :dependent => :destroy)
|
16
|
-
|
16
|
+
after_save(:save_has_setting_association)
|
17
17
|
@has_setting_options = {}
|
18
18
|
def self.has_setting_options
|
19
19
|
@has_setting_options
|
data/lib/has_setting/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: has_setting
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 0.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Simplificator GmbH
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-06-
|
12
|
+
date: 2013-06-19 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Stores settings as key/value pairs in a settings table and provides accessors
|
15
15
|
for them on the owning object
|