qor_layout 0.0.2 → 0.0.3
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.
- data/VERSION +1 -1
- data/app/models/qor/layout/setting.rb +1 -1
- data/qor_layout.gemspec +1 -1
- metadata +4 -5
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.
|
|
1
|
+
0.0.3
|
|
@@ -30,7 +30,7 @@ module Qor
|
|
|
30
30
|
|
|
31
31
|
def values(name, for_setting=false)
|
|
32
32
|
stored_value = (value || {}).with_indifferent_access[name]
|
|
33
|
-
gadget_setting = gadget_settings.
|
|
33
|
+
gadget_setting = gadget_settings.first(:meta, name)
|
|
34
34
|
|
|
35
35
|
if stored_value =~ /^([\w:]+)\((\d+)\)$/
|
|
36
36
|
return ($1.constantize.find_by_id($2) rescue stored_value)
|
data/qor_layout.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: qor_layout
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-
|
|
12
|
+
date: 2012-11-08 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: qor_dsl
|
|
@@ -18,7 +18,7 @@ dependencies:
|
|
|
18
18
|
requirements:
|
|
19
19
|
- - ! '>='
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version:
|
|
21
|
+
version: 0.3.0
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -26,7 +26,7 @@ dependencies:
|
|
|
26
26
|
requirements:
|
|
27
27
|
- - ! '>='
|
|
28
28
|
- !ruby/object:Gem::Version
|
|
29
|
-
version:
|
|
29
|
+
version: 0.3.0
|
|
30
30
|
description: Easily to make your own layout
|
|
31
31
|
email:
|
|
32
32
|
- wosmvp@gmail.com
|
|
@@ -82,4 +82,3 @@ signing_key:
|
|
|
82
82
|
specification_version: 3
|
|
83
83
|
summary: Easily to make your own layout
|
|
84
84
|
test_files: []
|
|
85
|
-
has_rdoc:
|