keycounter 0.0.6 → 0.0.7

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/keycounter.rb +5 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 25c946d10f24f06350f3d561601e4509669d40c2
4
- data.tar.gz: 35bd726f3417cfe1a35103bcc457b8eae866715e
3
+ metadata.gz: 49ee92d0a9a6b3dac23932f8362a7c054544cd65
4
+ data.tar.gz: b601b5ce5c871da88406c7ffd5e9d476ace268f0
5
5
  SHA512:
6
- metadata.gz: 95592e776705838f96385783a77b86b5721461f0af16e5e5cf76bb139edcda8cac3539c36308843d0724d5e03af36b19489f4c372d17726961fc0b06b1e83ed9
7
- data.tar.gz: 428fb4888f8ad3cddc8d4c23162e71b4b49651ab42bff17703dd79f49d94ebb99ae9abf7ef0d1169faf128efd1b65e1f74a2a67bccdc96fbc37642cf0379a43a
6
+ metadata.gz: 6a65e7683d8a41ba5ba80d73bb37195e37b3307af2593804fe7edb853d9220499658d70b0a7040206ff4da8358c882b37433c914354d9b1382893a69cb4055b6
7
+ data.tar.gz: 688b0d615078529c8dad11b2e5cbe2b8d5933eb4f69bfb099f4e3ffa9fe103ea40d39e080862683e787e71a6372194737075a78c3c0594c41722ef0595d3d890
@@ -34,7 +34,11 @@ class Keycounter
34
34
  puts "Cannot get instance variable of this name..."
35
35
  pp e
36
36
  end
37
- return [key, instance_variable_get("@#{key}")]
37
+ begin
38
+ return [key, instance_variable_get("@#{key}")]
39
+ rescue => e
40
+ pp e
41
+ end
38
42
  # if @verbose == true
39
43
  # puts "Key: #{key} Value: "+instance_variable_get("@#{key}").to_s
40
44
  # end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: keycounter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Hood