cistern 0.12.2 → 0.12.3

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: 75b3fbead13f2028fa36ed413bebfb3949711c40
4
- data.tar.gz: b500f2b11619bd533e4e5748c36b2748e776c7d4
3
+ metadata.gz: 4f214af97e02bf01188735dc497174c917a65c8f
4
+ data.tar.gz: ba7b5558199ebb2b11a16890c62e4e4b916d9ab9
5
5
  SHA512:
6
- metadata.gz: b06bb3bbd34236cebb50d34801a310d2f3f06cbc6165dc35a1705f3065ed331499120a0a0814329b5b3387346949b7786d4d38585ac9b133d1dc031f09f5738e
7
- data.tar.gz: f4b04aa9d6d9fead01330e08235ce91f853ed9ea7937ee0c9698ae244fe77b2de8237bc4981d59a6461f88d8959b6c2bc8b1c24d1c43810de2d1bf78de59184b
6
+ metadata.gz: 05b899eb55fb736798eb495edce085e5c4eabaa92d5778c2fc7fd81959ff55f5b64003daa13a8751b543d119dd536bc2f81e5d225f93ed34bc3824082001ef38
7
+ data.tar.gz: fbd8908440fdaff653e46cebe6c29480b353568ffc24bdcd4372b18ce1cec18a6f6b996db48e1d2ac39c9e5310236442e86487f13fe9abc9b98f7e73d884402e
@@ -121,7 +121,11 @@ module Cistern::Attributes
121
121
  def read_attribute(name)
122
122
  options = self.class.attributes[name] || {}
123
123
  # record the attribute was accessed
124
- self.class.attributes[name.to_s.to_sym][:coverage_hits] += 1 rescue nil
124
+ begin
125
+ self.class.attributes[name.to_s.to_sym][:coverage_hits] += 1
126
+ rescue
127
+ nil
128
+ end
125
129
 
126
130
  default = options[:default]
127
131
 
@@ -1,3 +1,3 @@
1
1
  module Cistern
2
- VERSION = "0.12.2"
2
+ VERSION = "0.12.3"
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.12.2
4
+ version: 0.12.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Lane
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-01 00:00:00.000000000 Z
11
+ date: 2017-05-30 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: API client framework extracted from Fog
14
14
  email:
@@ -78,7 +78,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
78
78
  version: '0'
79
79
  requirements: []
80
80
  rubyforge_project:
81
- rubygems_version: 2.4.5
81
+ rubygems_version: 2.6.12
82
82
  signing_key:
83
83
  specification_version: 4
84
84
  summary: API client framework