keeguon-actionwebservice 3.0.20 → 3.1.0

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.
@@ -1,18 +1,18 @@
1
1
  # encoding: UTF-8
2
2
  class Class # :nodoc:
3
3
  def class_inheritable_option(sym, default_value=nil)
4
- write_inheritable_attribute sym, default_value
4
+ class_attribute sym, default_value
5
5
  class_eval <<-EOS
6
6
  def self.#{sym}(value=nil)
7
+ class_attribute :#{sym}
7
8
  if !value.nil?
8
- write_inheritable_attribute(:#{sym}, value)
9
- else
10
- read_inheritable_attribute(:#{sym})
9
+ self.#{sym} = value
11
10
  end
12
11
  end
13
12
 
14
13
  def self.#{sym}=(value)
15
- write_inheritable_attribute(:#{sym}, value)
14
+ class_attribute :#{sym}
15
+ self.#{sym} = value
16
16
  end
17
17
 
18
18
  def #{sym}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: keeguon-actionwebservice
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.20
4
+ version: 3.1.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire: actionwebservice
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-04 00:00:00.000000000 Z
12
+ date: 2013-04-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -168,7 +168,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
168
168
  requirements:
169
169
  - none
170
170
  rubyforge_project:
171
- rubygems_version: 1.8.24
171
+ rubygems_version: 1.8.25
172
172
  signing_key:
173
173
  specification_version: 3
174
174
  summary: Web service support for Action Pack.