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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 745347ec6c0ff7ff406f0625162db6ef4a632906
4
- data.tar.gz: 9106f4daff8952ddac44dbb35c34e766a1941f55
3
+ metadata.gz: 2098d9cd85a46e4daad82d6bfe5584d6a53e58f1
4
+ data.tar.gz: 8e120715c6136e6eba0bd31ed2b7d43433bd0534
5
5
  SHA512:
6
- metadata.gz: b4567506b6c7d8d6a648308471ba6e754c2348c162f4377087d216221b78dc7b78aba972c084964e9093a963cdf2c042ee9a5f9b2ec8567616994664371adb76
7
- data.tar.gz: 898e473b417465ad3b712cfb2169abb4d6b4c644e3f5908541cf317f6f9c72b65f077c7896b9723150abf5fb5094a185ec7ce647c50b9ada64ef2f9a9ab89dcb
6
+ metadata.gz: d25f64ba8634dc88ea8bc3ed980068b79445df8b210684c28677cfc4a27cc5c2cce22a1d9c3063dab5fc3c4bb855bf3c8d8636c63bfa668ea1a2f880fa4b4596
7
+ data.tar.gz: e5e302bf2aca6764a9349b4e911c6b822e07afa445942c4a54b087cca564fced0f83bf0521b8eba141de28cec1f0058d6042df5c2bd721796dd8e0bc328d5caa
data/README.md CHANGED
@@ -21,7 +21,7 @@ Or install it yourself as:
21
21
  ## Usage
22
22
 
23
23
  ```
24
- Governator.scrape
24
+ Governator.scrape!
25
25
 
26
26
  governors = Governator.governors
27
27
  ```
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'
@@ -1,3 +1,3 @@
1
1
  class Governator
2
- VERSION = '0.1.0'.freeze
2
+ VERSION = '0.1.1'.freeze
3
3
  end
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 panel=#{panel} photo_url=\"#{photo_url}\" "\
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.0
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: '0'
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: '0'
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: '0'
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: '0'
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: '0'
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: '0'
54
+ version: 1.8.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: bundler
57
57
  requirement: !ruby/object:Gem::Requirement