bomtempo 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
  SHA256:
3
- metadata.gz: cc6a5fe65288595f5c2a7a905e3bfe09cb55e648ffaae7e6f3e145be1349bbcd
4
- data.tar.gz: bba7f0901ab2fbb11a3566822280c2bd66cfcac41d86025024dde74692685010
3
+ metadata.gz: eaf8a0ec0412f3307b6b0e2cf382ba67f8f20a5dc8083af2e095814320e5051a
4
+ data.tar.gz: 16d0ab2abe65487c3be54c88e2479e64f7b38b0c8b4b9adc1e2454e6969347e2
5
5
  SHA512:
6
- metadata.gz: de9567793ea149b976fb5a15e0b695ecf6953319ec13fe3ec6225282e9fdd3a0cab276cd380043b6969354b6d1cc4fe3334ea7b6ec4ba5329add52a6e67eae78
7
- data.tar.gz: f53ce1f3408c905fa009398a57bdd50a69b6bfd9387570b292ed999053d9f7c369b2da95f8e9b2dad32628536eb4f85acfd9f84660adce3d5f0cca0bdd996c25
6
+ metadata.gz: 783deadb87074294e108ebfa993e7591884efcf137ed6f85e2d6054d718a75dbc2f55376dcf7359e981559112845f216b052051e2f25216d131ca6f0acae36fd
7
+ data.tar.gz: f8ffb07f4ddf61baf3bd09ddaaf8d92e5a393a92eda793ecdce7303fc870f36aa1a6f131c979184acdb9d65408e70a664cb0942b06998868572c976aadc02fd8
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bomtempo (0.1.0)
4
+ bomtempo (0.1.1)
5
5
  httparty
6
6
  webmock
7
7
 
data/README.md CHANGED
@@ -1,37 +1,43 @@
1
- # Bomtempo
2
1
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/bomtempo`. To experiment with that code, run `bin/console` for an interactive prompt.
2
+ # Gem Bom Tempo
4
3
 
5
- TODO: Delete this and the text above, and describe your gem
4
+ If you need information about the weather in a specific city? This gem Offers a weather forecast for the next 5 days of a city.
6
5
 
7
- ## Installation
8
-
9
- Install the gem and add to the application's Gemfile by executing:
10
6
 
11
- $ bundle add bomtempo
7
+ ## Author
12
8
 
13
- If bundler is not being used to manage dependencies, install the gem by executing:
9
+ - [@welitonjjose](https://github.com/welitonjjose/)
14
10
 
15
- $ gem install bomtempo
16
11
 
17
- ## Usage
12
+ ## Installation
18
13
 
19
- TODO: Write usage instructions here
20
14
 
21
- ## Development
15
+ ```bash
16
+ gem install bomtempo
17
+ ```
22
18
 
23
- After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
19
+ Obs:
20
+ credential is required in https://openweathermap.org/
24
21
 
25
- 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 the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
22
+ ```ruby
23
+ Bomtempo.config do |c|
24
+ c.access_token = "OPEN_WEATHER_MAP_TOKEN"
25
+ end
26
+ ```
26
27
 
27
- ## Contributing
28
+
29
+ ## How use
28
30
 
29
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/bomtempo. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/bomtempo/blob/master/CODE_OF_CONDUCT.md).
31
+ ```ruby
32
+ Bomtempo.weather_in({
33
+ city: "São Paulo",
34
+ state: "SP",
35
+ country: "BR
36
+ })
37
+ ```
30
38
 
31
- ## License
32
39
 
33
- The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
40
+ ## Licence
34
41
 
35
- ## Code of Conduct
42
+ [MIT](https://choosealicense.com/licenses/mit/)
36
43
 
37
- Everyone interacting in the Bomtempo project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/bomtempo/blob/master/CODE_OF_CONDUCT.md).
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Bomtempo
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bomtempo
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
  - weliton jose
@@ -58,13 +58,13 @@ files:
58
58
  - lib/bomtempo/one_call.rb
59
59
  - lib/bomtempo/version.rb
60
60
  - sig/bomtempo.rbs
61
- homepage: https://stowe.com.br
61
+ homepage: https://github.com/welitonjjose/bomtempo
62
62
  licenses:
63
63
  - MIT
64
64
  metadata:
65
- homepage_uri: https://stowe.com.br
66
- source_code_uri: https://stowe.com.br
67
- changelog_uri: https://stowe.com.br
65
+ homepage_uri: https://github.com/welitonjjose/bomtempo
66
+ source_code_uri: https://github.com/welitonjjose/bomtempo
67
+ changelog_uri: https://github.com/welitonjjose/bomtempo
68
68
  post_install_message:
69
69
  rdoc_options: []
70
70
  require_paths: