governator 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/governator.gemspec +3 -3
- data/lib/governator/version.rb +1 -1
- data/lib/governator.rb +2 -5
- metadata +13 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2098d9cd85a46e4daad82d6bfe5584d6a53e58f1
|
4
|
+
data.tar.gz: 8e120715c6136e6eba0bd31ed2b7d43433bd0534
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d25f64ba8634dc88ea8bc3ed980068b79445df8b210684c28677cfc4a27cc5c2cce22a1d9c3063dab5fc3c4bb855bf3c8d8636c63bfa668ea1a2f880fa4b4596
|
7
|
+
data.tar.gz: e5e302bf2aca6764a9349b4e911c6b822e07afa445942c4a54b087cca564fced0f83bf0521b8eba141de28cec1f0058d6042df5c2bd721796dd8e0bc328d5caa
|
data/README.md
CHANGED
data/governator.gemspec
CHANGED
@@ -22,9 +22,9 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
23
23
|
spec.require_paths = ['lib']
|
24
24
|
|
25
|
-
spec.add_dependency 'faraday'
|
26
|
-
spec.add_dependency 'twitter'
|
27
|
-
spec.add_dependency 'nokogiri'
|
25
|
+
spec.add_dependency 'faraday', '~> 0.11.0'
|
26
|
+
spec.add_dependency 'twitter', '~> 6.1.0'
|
27
|
+
spec.add_dependency 'nokogiri', '~> 1.8.0'
|
28
28
|
|
29
29
|
spec.add_development_dependency 'bundler', '~> 1.14'
|
30
30
|
spec.add_development_dependency 'rake', '~> 10.0'
|
data/lib/governator/version.rb
CHANGED
data/lib/governator.rb
CHANGED
@@ -33,7 +33,7 @@ class Governator
|
|
33
33
|
governor = create(panel)
|
34
34
|
puts "Scraped #{governor.official_full} of #{governor.state_name}"
|
35
35
|
end
|
36
|
-
|
36
|
+
|
37
37
|
governors
|
38
38
|
end
|
39
39
|
|
@@ -104,9 +104,6 @@ class Governator
|
|
104
104
|
end
|
105
105
|
|
106
106
|
def inspect
|
107
|
-
"#<Governator
|
108
|
-
"state_name=\"#{state_name}\" bio_page=#{bio_page} "\
|
109
|
-
"official_full=\"#{official_full}\" url=\"#{url}\" "\
|
110
|
-
"party=\"#{party}\" office_locations=\"#{office_locations}\">"
|
107
|
+
"#<Governator #{official_full}>"
|
111
108
|
end
|
112
109
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: governator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- M. Simon Borg
|
@@ -14,44 +14,44 @@ dependencies:
|
|
14
14
|
name: faraday
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 0.11.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 0.11.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: twitter
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 6.1.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 6.1.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: nokogiri
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 1.8.0
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: 1.8.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: bundler
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|