cockpit 0.2.4.3 → 0.2.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -97,7 +97,7 @@ module Cockpit
97
97
  end
98
98
 
99
99
  def []=(key, value)
100
- record.save! if record && record.new_record?
100
+ record.save if record && record.new_record?
101
101
 
102
102
  setting = find_setting(key)
103
103
  #{:value => {'root' => value}.to_json}
@@ -109,7 +109,7 @@ module Cockpit
109
109
  setting.key = key
110
110
  record.settings << setting if record
111
111
  setting[:configurable_type] = attributes[:configurable_type]
112
- setting.save!
112
+ setting.save
113
113
  end
114
114
 
115
115
  @cache = nil
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cockpit
3
3
  version: !ruby/object:Gem::Version
4
- hash: 73
4
+ hash: 71
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
9
  - 4
10
- - 3
11
- version: 0.2.4.3
10
+ - 4
11
+ version: 0.2.4.4
12
12
  platform: ruby
13
13
  authors:
14
14
  - Lance Pollard
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2010-10-06 00:00:00 -05:00
19
+ date: 2010-10-07 00:00:00 -05:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency