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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fd8c0b120b8e6fd6f3de9d99f337b8b66b6b5868
4
- data.tar.gz: 4ab33ccbf7f1b1f9f2abdbe83a2d0138c54e1222
3
+ metadata.gz: 5340ef7ba3b423b9a015293fa81e9f7e765bf719
4
+ data.tar.gz: 2f3c8490135a7908af0378dc11d8a172b3836e2f
5
5
  SHA512:
6
- metadata.gz: 6d65eb9dbfe1a3020b24cac4cef0c46880faeb9e68c6c1a525ed7becb68c19faaf2f22e993dda50ced0226d84449ada546bf10fe1d6738a44dd4e3b7ea2777f6
7
- data.tar.gz: 8d51db5429427a5f7bdfad2b8487c5ae9e212bc2f7661b6aa22c06fb0be403540dc568a6674fa7f800ce9d11c7b0340774beb0471e3e21a25d5e7e871a53a581
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
- after_validation(:save_has_setting_association)
16
+ after_save(:save_has_setting_association)
17
17
  @has_setting_options = {}
18
18
  def self.has_setting_options
19
19
  @has_setting_options
@@ -1,3 +1,3 @@
1
1
  module HasSetting
2
- VERSION = "0.7"
2
+ VERSION = "0.7.1"
3
3
  end
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: '0.7'
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-14 00:00:00.000000000 Z
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