cistern 0.5.9 → 0.5.10

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
- metadata.gz: 22130f93692ecf1fd5787a47a26e63fd15e9fec2
4
- data.tar.gz: 1d4e233bc2d120ae1b8f95dde7de34e9ecdd7507
3
+ metadata.gz: 06c6ce008de39695dfbae8ca9e6c5429e75c675f
4
+ data.tar.gz: b049614c035bf9a4284d5e7c6b1f20085a544b8d
5
5
  SHA512:
6
- metadata.gz: a6b5ebb39c15d3380389d40986d2e3f8903e15f78187b21a5f745e24a8c461538a5f7c534fe462358976fc2097da1104dff76efbdbb4de037f80876e88b69fc4
7
- data.tar.gz: 97aafbc65dff82e996b7799b4ff9625ce448cd1b118569879a6cda8ad843eeeb52dda6e9c547531366fb3ec3701eaedbd110b08e38384fc119f54098b5fe9638
6
+ metadata.gz: e04b4dbbe14e346c0388c3fd00c341f48638d7384e32a6328088dc0744000f71b6d36a684494ff37fd3028ccc7d73a655743e3adfae45e06c375dfbd2b9c0b13
7
+ data.tar.gz: 14fe25476a2f3ebac056bec9636a30b07d41d4ed97d9d45e62988ba8279c2a7f0ea4e0018a9d183ac44ff95d6eecc60cc4e074113f60231e1c61d1f3323c8854
@@ -81,7 +81,7 @@ module Cistern::Attributes
81
81
  self.class.attributes[name.to_s.to_sym][:coverage_hits] += 1 rescue nil
82
82
 
83
83
  attributes[name.to_s.to_sym]
84
- end
84
+ end unless self.instance_methods.include?(name)
85
85
 
86
86
  if options[:type] == :boolean
87
87
  self.send(:alias_method, "#{name}?", name)
@@ -90,7 +90,7 @@ module Cistern::Attributes
90
90
  self.send(:define_method, "#{name}=") do |value|
91
91
  transformed = transform.call(name, value, options)
92
92
  attributes[name.to_s.to_sym]= parser.call(transformed, options)
93
- end
93
+ end unless self.instance_methods.include?("#{name}=".to_sym)
94
94
 
95
95
  if self.attributes[name]
96
96
  raise(ArgumentError, "#{self.name} attribute[#{_name}] specified more than once")
@@ -1,3 +1,3 @@
1
1
  module Cistern
2
- VERSION = "0.5.9"
2
+ VERSION = "0.5.10"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cistern
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.9
4
+ version: 0.5.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Lane
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-15 00:00:00.000000000 Z
11
+ date: 2014-04-16 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: API client framework extracted from Fog
14
14
  email: