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 +4 -4
- data/lib/cistern/attributes.rb +5 -1
- data/lib/cistern/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f214af97e02bf01188735dc497174c917a65c8f
|
4
|
+
data.tar.gz: ba7b5558199ebb2b11a16890c62e4e4b916d9ab9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 05b899eb55fb736798eb495edce085e5c4eabaa92d5778c2fc7fd81959ff55f5b64003daa13a8751b543d119dd536bc2f81e5d225f93ed34bc3824082001ef38
|
7
|
+
data.tar.gz: fbd8908440fdaff653e46cebe6c29480b353568ffc24bdcd4372b18ce1cec18a6f6b996db48e1d2ac39c9e5310236442e86487f13fe9abc9b98f7e73d884402e
|
data/lib/cistern/attributes.rb
CHANGED
@@ -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
|
-
|
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
|
|
data/lib/cistern/version.rb
CHANGED
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.
|
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:
|
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.
|
81
|
+
rubygems_version: 2.6.12
|
82
82
|
signing_key:
|
83
83
|
specification_version: 4
|
84
84
|
summary: API client framework
|