get-your-rep 1.1.0 → 1.1.1
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.
- checksums.yaml +4 -4
- data/lib/get-your-rep/delegation.rb +5 -1
- data/lib/get-your-rep/patches.rb +1 -1
- metadata +21 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 839cadee15c7e85c63f324be9aa8e7c8e9d4645c
|
4
|
+
data.tar.gz: 5f932732be3da07629fb6332de2d9bd07c50f92c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 78de803d20f2ffd74eba17b2a8c769e6793893545fa35de5189f762b3839fefce2d689ad38c9901416c6de6f92acd17debf8787827ab00a207e1b745bd525de1
|
7
|
+
data.tar.gz: e7c46802f372cfecca5faa50ba9b3d58124237ce8f451c7a0375e93efd75c8182ce97aebdade76a305bd13286da3e10500bd2725a38fa586983e68938cc17495
|
@@ -12,7 +12,11 @@ class Delegation < Array
|
|
12
12
|
|
13
13
|
# Overloads the + operator to return a new Delegation instead of an Array.
|
14
14
|
def +(value)
|
15
|
-
|
15
|
+
if value.is_a?(Delegation)
|
16
|
+
super.to_del
|
17
|
+
else
|
18
|
+
Delegation.new(super)
|
19
|
+
end
|
16
20
|
end
|
17
21
|
|
18
22
|
# Collects the first names of every rep in the Delegation.
|
data/lib/get-your-rep/patches.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: get-your-rep
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- msimonborg
|
@@ -58,6 +58,26 @@ dependencies:
|
|
58
58
|
- - ">="
|
59
59
|
- !ruby/object:Gem::Version
|
60
60
|
version: 5.10.1
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
name: minitest-reporters
|
63
|
+
requirement: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - "~>"
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '1.1'
|
68
|
+
- - ">="
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: 1.1.13
|
71
|
+
type: :development
|
72
|
+
prerelease: false
|
73
|
+
version_requirements: !ruby/object:Gem::Requirement
|
74
|
+
requirements:
|
75
|
+
- - "~>"
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '1.1'
|
78
|
+
- - ">="
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: 1.1.13
|
61
81
|
description: Get your rep with Google's Civic Information API using your address and
|
62
82
|
API key.
|
63
83
|
email: msimonborg@gmail.com
|