ixtlan-configuration 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -32,7 +32,7 @@ module Ixtlan
32
32
  write Configuration.instance
33
33
  end
34
34
 
35
- on post do
35
+ on put do
36
36
  updated_at = keeps( Configuration )[ 'updated_at' ]
37
37
  config = Configuration.optimistic_get!( updated_at,
38
38
  Configuration.instance.id )
@@ -23,12 +23,10 @@ module Ixtlan
23
23
  module Configuration
24
24
  class ConfigurationFilter < Ixtlan::Babel::ParamsFilter
25
25
 
26
- root 'configuration'
27
-
28
26
  add_context( :single,
29
27
  :keep => [ :updated_at ],
30
28
  :except => [:id, :created_at, :updated_at, :modified_by_id] )
31
29
 
32
30
  end
33
31
  end
34
- end
32
+ end
@@ -22,8 +22,6 @@ require 'ixtlan/babel/serializer'
22
22
 
23
23
  class ConfigurationSerializer < Ixtlan::Babel::Serializer
24
24
 
25
- root 'configuration'
26
-
27
25
  add_context(:single,
28
26
  :except => [:id, :modified_by_id],
29
27
  :include => {
@@ -32,4 +30,4 @@ class ConfigurationSerializer < Ixtlan::Babel::Serializer
32
30
  }
33
31
  }
34
32
  )
35
- end
33
+ end
metadata CHANGED
@@ -2,14 +2,14 @@
2
2
  name: ixtlan-configuration
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.1
5
+ version: 0.1.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Christian Meier
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-04-06 00:00:00.000000000 Z
12
+ date: 2013-04-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: slf4r