weather_city_forecast 0.1.0 → 0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 962cab007ee030b27f004ce1e02fe82c967511bda82cb7e42895529e60ffb7e8
4
- data.tar.gz: d373cc1d0eae92f9a8737ecff000021436353da17a40a8456c89692e3f003e3f
3
+ metadata.gz: 8d696f8c7e33fcf43f18724c7f4a8f11c7036887666642d80bd6a1f7ec639ede
4
+ data.tar.gz: 02d12b19ed64348f296045f00c5a979c8b8864174d6b739ce73c6dd5e3418690
5
5
  SHA512:
6
- metadata.gz: 4efb083a6521c91f2c7d6a44c5bc3c3fe8c82d41b8a46c5ac9dc12e3a9ffd2fd83818af4b376a7b108f41f60facb790308e336aa26d69725b3ae9eb0eb74dff5
7
- data.tar.gz: 8036730c13f735a87ca66830d0516c7c24ac2fbc38bbb84b15c2502bb87bfc90df2d62c3fac17e0adb64dd04c2c118959719d09421f9362d9e1f735c45c5b82c
6
+ metadata.gz: 7cf1676990ca8f191ebf107c1b0196537b04216c1f55de642ce2e2fc0edea6b96472300995b9368d2c2fbb5af48ca20d4c2e80c77feba810214c4f4ea9b88101
7
+ data.tar.gz: c4bb2de144eeffbf96e2b20bb6a9bc453d7cd0c7603385e5377395a7a48029c3102c6dc1566aba83537820307bfd5f3a3c2daadc82303c0d5ed6d468a376fe9a
data/README.md CHANGED
@@ -22,17 +22,22 @@ Or install it yourself as:
22
22
 
23
23
  ## Usage
24
24
 
25
- TODO: Write usage instructions here
25
+ ```ruby
26
+ weather = WeatherCityForecast::Weather.new('your-openweathermap-appid')
27
+ puts weather.weather_by_city('city-name')
28
+ ```
29
+
30
+ To generate your appid visit: https://openweathermap.org
26
31
 
27
32
  ## Development
28
33
 
29
- 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.
34
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `APPID='your-appid' bundle exec rspec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
35
 
31
36
  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).
32
37
 
33
38
  ## Contributing
34
39
 
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/weather_city_forecast. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
40
+ Bug reports and pull requests are welcome on GitHub at https://github.com/marcioluizb/weather_city_forecast. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
36
41
 
37
42
  ## License
38
43
 
@@ -1,3 +1,3 @@
1
1
  module WeatherCityForecast
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
12
12
  spec.description = 'A Ruby interface to the OpenWeatherMap.'
13
13
  spec.email = %w[marcio_luiz_b@yahoo.com.br]
14
14
  spec.files = %w[LICENSE.txt README.md weather_city_forecast.gemspec] + Dir['lib/**/*.rb']
15
- spec.homepage = 'http://marcioluizb.github.com/twitter/'
15
+ spec.homepage = 'https://github.com/marcioluizb/weather_city_forecast'
16
16
  spec.licenses = %w[MIT]
17
17
  spec.name = 'weather_city_forecast'
18
18
  spec.require_paths = %w[lib]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: weather_city_forecast
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
  - marcio
@@ -79,7 +79,7 @@ files:
79
79
  - lib/weather_city_forecast.rb
80
80
  - lib/weather_city_forecast/version.rb
81
81
  - weather_city_forecast.gemspec
82
- homepage: http://marcioluizb.github.com/twitter/
82
+ homepage: https://github.com/marcioluizb/weather_city_forecast
83
83
  licenses:
84
84
  - MIT
85
85
  metadata: {}