active_scaffold_config_list 3.2.8 → 3.2.9

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
- data.tar.gz: 38fd9727140868536ee78f47cf78c1c4c85f7e26
4
- metadata.gz: 93fb7bbbc50119a2d40ee64887678014b4acabad
3
+ metadata.gz: c7f59d06507175af8cd27a5d855a9b2929d1e8b4
4
+ data.tar.gz: 2fd63bc9bba6663590cfa9d4213b0f11cd6a076f
5
5
  SHA512:
6
- data.tar.gz: 7508a19487ed6d74b075ddb47199fb5778eab19066a9563196a920d989e6a57d0c820d54fbfd32faa1e0932cf65c1cd0e526b019e1d9f82d957262f7a8b32574
7
- metadata.gz: 39238a21356e3fd897fa7a925711690d259e567428ee67c92d4a33285bf60dc36479a0ab81e8f46d30f324960107f5a67704c14c514fa299ef4140eff0d3da51
6
+ metadata.gz: a58336285acf4982720e927732a971342197f3e4c6898ce59fc699ad7620484c11ddc4fcddbb84c579f4c50cb7b33f51b885831c14bb80068a7626e88f5a6863
7
+ data.tar.gz: 4600ee0d71fc192a0935a85806fdda8518df4f81c2167fc17935cce45694c3cb8838393ed00cb0027144b5613f38ba4ff7738eb1675d8e52e651f2d0806ff17a
@@ -4,7 +4,17 @@ module ActiveScaffold::Actions
4
4
  def self.included(base)
5
5
  base.before_filter :store_config_list_params, :only => [:index]
6
6
  base.helper_method :config_list_params
7
- base.cattr_accessor :config_list_session_storage_method
7
+ base.extend ClassMethods
8
+ end
9
+
10
+ module ClassMethods
11
+ def config_list_session_storage_method
12
+ @config_list_session_storage_method
13
+ end
14
+
15
+ def config_list_session_storage_method=(value)
16
+ @config_list_session_storage_method = value
17
+ end
8
18
  end
9
19
 
10
20
  def show_config_list
@@ -33,7 +43,7 @@ module ActiveScaffold::Actions
33
43
  end
34
44
 
35
45
  def config_list_session_storage_method
36
- respond_to? :custom_config_list_session_storage ? :custom_config_list_session_storage : :active_scaffold_session_storage
46
+ respond_to?(:custom_config_list_session_storage) ? :custom_config_list_session_storage : :active_scaffold_session_storage
37
47
  end
38
48
 
39
49
  def config_list_session_storage
@@ -2,7 +2,7 @@ module ActiveScaffoldConfigList
2
2
  module Version
3
3
  MAJOR = 3
4
4
  MINOR = 2
5
- PATCH = 8
5
+ PATCH = 9
6
6
 
7
7
  STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_scaffold_config_list
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.8
4
+ version: 3.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergio Cambra