breathe_in 0.1.0 → 0.2.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e600df3235dc0b4b8236ecc7de2b4d5d1b5857e0
4
- data.tar.gz: f7deae9f7d4ddce9b6c63d1ce8640a8a48358a1f
3
+ metadata.gz: 68b90eb2884081996d2f8e053bfe0ae6c226917e
4
+ data.tar.gz: 11bdacde178d4706fecbdc803d698a65fe9d4281
5
5
  SHA512:
6
- metadata.gz: e3973d6f42a3c62330ad33335f906f17b4e9f65f31e4383103d504f512fafb31bd616cb1cf453ca540fff406d26a08dced9ea02743b1506038421306b4164136
7
- data.tar.gz: 5f0672a788a09006b1280a261d89304ec75f0255b001bad82df4326af4125559a3610e1584e94fe9f18fb658da7df9535910b402977760e18912c204d6d45a85
6
+ metadata.gz: d999c210a0c1bb85cfb1f7fad495fc15ddd0a41b55b785cf09f29aa9f338830209aa85adff115fe43f6e68e9d8502cb8fc2407f6ccc52dbeb67db715fa4aef76
7
+ data.tar.gz: a172a9caa443c95470f75d5e799d99e4944217caa9cd28db7431919bc3b84ea5f9b3e0ae5ed0f9ea9484cd69efb55d306a18f0e139716d4c274ef898925adb4b
metadata CHANGED
@@ -1,10 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: breathe_in
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
- - eric-an
7
+ - Eric An
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
@@ -42,18 +42,18 @@ dependencies:
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
- name: pry
56
+ name: nokogiri
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - ">="
@@ -67,44 +67,34 @@ dependencies:
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
- name: nokogiri
70
+ name: pry
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
- type: :runtime
76
+ type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
- description: Check the air quality index (AQI) for a zipcode.
84
- email:
85
- - erican@me.com
86
- executables: []
83
+ description: Check the Air Quality Index (AQI) to see how clean or polluted the air
84
+ is in your city.
85
+ email: erican@me.com
86
+ executables:
87
+ - breathe_in
87
88
  extensions: []
88
89
  extra_rdoc_files: []
89
90
  files:
90
- - ".gitignore"
91
- - ".rspec"
92
- - ".travis.yml"
93
- - Gemfile
94
- - LICENSE.txt
95
- - README.md
96
- - Rakefile
97
91
  - bin/breathe_in
98
- - bin/console
99
- - bin/setup
100
- - breathe_in.gemspec
101
92
  - config/environment.rb
102
93
  - lib/breathe_in.rb
103
94
  - lib/breathe_in/city.rb
104
95
  - lib/breathe_in/cli.rb
105
96
  - lib/breathe_in/scraper.rb
106
- - lib/breathe_in/version.rb
107
- homepage: https://github.com/eric-an/breathe-in
97
+ homepage: https://rubygems.org/gems/breathe_in
108
98
  licenses:
109
99
  - MIT
110
100
  metadata: {}
@@ -127,5 +117,5 @@ rubyforge_project:
127
117
  rubygems_version: 2.4.6
128
118
  signing_key:
129
119
  specification_version: 4
130
- summary: AQI scraper gem
120
+ summary: City AQI value
131
121
  test_files: []
data/.gitignore DELETED
@@ -1,9 +0,0 @@
1
- /.bundle/
2
- /.yardoc
3
- /Gemfile.lock
4
- /_yardoc/
5
- /coverage/
6
- /doc/
7
- /pkg/
8
- /spec/reports/
9
- /tmp/
data/.rspec DELETED
@@ -1,2 +0,0 @@
1
- --format documentation
2
- --color
data/.travis.yml DELETED
@@ -1,4 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 2.2.1
4
- before_install: gem install bundler -v 1.10.6
data/Gemfile DELETED
@@ -1,4 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- # Specify your gem's dependencies in breathe_in.gemspec
4
- gemspec
data/LICENSE.txt DELETED
@@ -1,21 +0,0 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2016 eric-an
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- THE SOFTWARE.
data/README.md DELETED
@@ -1,38 +0,0 @@
1
- # BreatheIn
2
-
3
- Use this gem to find out the Air Quality Index (AQI) value for any zipcode in United States and see how clean or polluted the air is in your city. Data provided by AirNow.gov.
4
-
5
- ## Installation
6
-
7
- Add this line to your application's Gemfile:
8
-
9
- ```ruby
10
- gem 'breathe_in'
11
- ```
12
-
13
- And then execute:
14
-
15
- $ bundle
16
-
17
- Or install it yourself as:
18
-
19
- $ gem install breathe_in
20
-
21
- ## Usage
22
-
23
- Run `breathe_in` and follow the prompts.
24
-
25
- ## Development
26
-
27
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
28
-
29
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
30
-
31
- ## License
32
-
33
- MIT License. Copyright 2016 Eric An.
34
-
35
- ## Contributing
36
-
37
- Bug reports and pull requests are welcome on GitHub at https://github.com/eric-an/breathe_in.
38
-
data/Rakefile DELETED
@@ -1,6 +0,0 @@
1
- require "bundler/gem_tasks"
2
- require "rspec/core/rake_task"
3
-
4
- RSpec::Core::RakeTask.new(:spec)
5
-
6
- task :default => :spec
data/bin/console DELETED
@@ -1,14 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require "bundler/setup"
4
- require "breathe_in"
5
-
6
- # You can add fixtures and/or initialization code here to make experimenting
7
- # with your gem easier. You can also use a different console, if you like.
8
-
9
- # (If you use this, don't forget to add pry to your Gemfile!)
10
- # require "pry"
11
- # Pry.start
12
-
13
- require "irb"
14
- IRB.start
data/bin/setup DELETED
@@ -1,7 +0,0 @@
1
- #!/bin/bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
-
5
- bundle install
6
-
7
- # Do any other automated setup that you need to do here
data/breathe_in.gemspec DELETED
@@ -1,29 +0,0 @@
1
- # coding: utf-8
2
- lib = File.expand_path('../lib', __FILE__)
3
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'breathe_in/version'
5
-
6
- Gem::Specification.new do |spec|
7
- spec.name = 'breathe_in'
8
- spec.version = BreatheIn::VERSION
9
- spec.authors = ['eric-an']
10
- spec.email = ['erican@me.com']
11
-
12
- spec.summary = %q{AQI scraper gem}
13
- spec.description = %q{Check the air quality index (AQI) for a zipcode.}
14
- spec.homepage = "https://github.com/eric-an/breathe-in"
15
- spec.license = 'MIT'
16
- spec.executables << 'breathe_in'
17
-
18
- spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
19
- spec.bindir = 'bin'
20
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
21
- spec.require_paths = ["lib"]
22
-
23
- spec.add_development_dependency "bundler", "~> 1.10"
24
- spec.add_development_dependency "rake", "~> 10.0"
25
- spec.add_development_dependency "rspec", "~> 0"
26
- spec.add_development_dependency "pry"
27
-
28
- spec.add_dependency "nokogiri"
29
- end
@@ -1,3 +0,0 @@
1
- module BreatheIn
2
- VERSION = "0.1.0"
3
- end