currency_coin_converter 0.2.1 → 0.2.2

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: a182369e128d660b9dc7b36a9ad44a50437cf7444e95b0acc6ff13f0678718c6
4
- data.tar.gz: 7a8d8e49d56ee1e4fed8ae7c3883be607ef735313585c5632145c3ef181e3a9e
3
+ metadata.gz: 48ce21a619c30424491015b4dd7cb14055fb60089b59c898f6d54a5dcba43b1d
4
+ data.tar.gz: 80020d418b73c4b8a1125dbe1761993c161d0b02b38776002d8d5ee793a50679
5
5
  SHA512:
6
- metadata.gz: 262c7636e14cabe669a70277dd130206f1ca975a757cb9e354302b70629b5c3cb1d1c84b52e360e7a6c1dc542892c0dff07d112d0d459cc3bd53f6aee2fb1d1f
7
- data.tar.gz: '09641cac7e13f00a21cd5195d54057bc67ad998aa8bda0164547f739476faaec32ce0e1c372524d7c1d68fcbeebc4bcc39201fccfe5edf79d195ee4f8ef80f68'
6
+ metadata.gz: f3d088f5d16af0166bf33c8691fa49c4ad803f4dee99c3cf96179f3319f141ecd851edbe10b39a1405255b2d761563a3503324060b2a6ddedf33dc449efb9bc5
7
+ data.tar.gz: 0dd7e3053e879a1c34e6d40a0febce59c285b36facaead1be700837fb2e5a749159efe51a1fe5aa9564c0021770de7f69474c624f83dd19ffd67a171e859fa90
data/CHANGELOG.md CHANGED
@@ -1,5 +1,5 @@
1
1
  ## [Unreleased]
2
2
 
3
- ## [0.2.1] - 2024-09-10
3
+ ## [0.2.2] - 2024-09-10
4
4
 
5
5
  - Initial release
data/README.md CHANGED
@@ -1,24 +1,25 @@
1
1
  # CurrencyCoinConverter
2
2
 
3
- TODO: Delete this and the text below, and describe your gem
4
-
5
- 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/currency_converter`. To experiment with that code, run `bin/console` for an interactive prompt.
6
-
7
3
  ## Installation
8
-
9
- TODO: Replace `UPDATE_WITH_YOUR_GEM_NAME_PRIOR_TO_RELEASE_TO_RUBYGEMS_ORG` with your gem name right after releasing it to RubyGems.org. Please do not do it earlier due to security reasons. Alternatively, replace this section with instructions to install your gem from git if you don't plan to release to RubyGems.org.
10
-
11
4
  Install the gem and add to the application's Gemfile by executing:
12
5
 
13
- $ bundle add UPDATE_WITH_YOUR_GEM_NAME_PRIOR_TO_RELEASE_TO_RUBYGEMS_ORG
6
+ $ bundle add currency_coin_converter
7
+
8
+ Or add in your Gemfile
9
+ `gem 'currency_coin_converter'`
10
+ Run in console
11
+ `bundle install`
14
12
 
15
13
  If bundler is not being used to manage dependencies, install the gem by executing:
16
14
 
17
- $ gem install UPDATE_WITH_YOUR_GEM_NAME_PRIOR_TO_RELEASE_TO_RUBYGEMS_ORG
15
+ $ gem install currency_coin_converter
18
16
 
19
17
  ## Usage
20
18
 
21
- TODO: Write usage instructions here
19
+ `require 'currency_coin_converter'`
20
+
21
+ `amount_in_euros = CurrencyCoinConverter.convert(100, from: "USD", to: "EUR")`
22
+ `puts amount_in_euros`
22
23
 
23
24
  ## Development
24
25
 
@@ -28,7 +29,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
28
29
 
29
30
  ## Contributing
30
31
 
31
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/currency_converter. 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]/currency_converter/blob/master/CODE_OF_CONDUCT.md).
32
+ Bug reports and pull requests are welcome on GitHub at https://github.com/bussularf/currency_coin_converter.
32
33
 
33
34
  ## License
34
35
 
@@ -36,4 +37,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
36
37
 
37
38
  ## Code of Conduct
38
39
 
39
- Everyone interacting in the CurrencyConverter project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/currency_converter/blob/master/CODE_OF_CONDUCT.md).
40
+ Everyone interacting in the CurrencyConverter project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/bussularf/currency_coin_converter/blob/master/CODE_OF_CONDUCT.md).
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
 
11
11
  spec.summary = "Uma gem para conversão de moedas usando ExchangeRate-API."
12
12
  spec.description = "Esta gem permite converter valores entre diferentes moedas usando a API da ExchangeRate."
13
- spec.homepage = 'https://github.com/bussularf/currency_converter'
13
+ spec.homepage = 'https://github.com/bussularf/currency_coin_converter'
14
14
  spec.license = "MIT"
15
15
  spec.required_ruby_version = ">= 2.6.0"
16
16
 
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
 
19
19
  # URL do projeto no GitHub
20
20
  spec.metadata["homepage_uri"] = spec.homepage
21
- spec.metadata["source_code_uri"] = 'https://github.com/bussularf/currency_converter'
21
+ spec.metadata["source_code_uri"] = 'https://github.com/bussularf/currency_coin_converter'
22
22
 
23
23
  # Arquivos incluídos na gem
24
24
  spec.files = Dir.chdir(__dir__) do
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CurrencyCoinConverter
4
- VERSION = "0.2.1"
4
+ VERSION = "0.2.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: currency_coin_converter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fernanda de Jesus
@@ -47,13 +47,13 @@ files:
47
47
  - lib/currency_coin_converter/version.rb
48
48
  - sig/currency_coin_converter.rbs
49
49
  - spec/currency_coin_converter_spec.rb
50
- homepage: https://github.com/bussularf/currency_converter
50
+ homepage: https://github.com/bussularf/currency_coin_converter
51
51
  licenses:
52
52
  - MIT
53
53
  metadata:
54
54
  allowed_push_host: https://rubygems.org
55
- homepage_uri: https://github.com/bussularf/currency_converter
56
- source_code_uri: https://github.com/bussularf/currency_converter
55
+ homepage_uri: https://github.com/bussularf/currency_coin_converter
56
+ source_code_uri: https://github.com/bussularf/currency_coin_converter
57
57
  post_install_message:
58
58
  rdoc_options: []
59
59
  require_paths: