fx_rates 1.0.0 → 1.0.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: ba8ee3362236531a97f762c3789cf75320fb738260f757aa6859618944331cf8
4
- data.tar.gz: 489939c77bb65495fd997e6a023eefcb1323e0b819afe014d6749861db65b378
3
+ metadata.gz: b966d3a71832d422543b46ea0adc867131bd8ba6926e0077bad16c15fbe0a56e
4
+ data.tar.gz: 3ff6796b36d2d64a8659673b4485b6588ec5f83db1bf74cdad4f4a9ebb3b1fc8
5
5
  SHA512:
6
- metadata.gz: 3065a665d71668c328e1898f6d33f520a34bd8e3ada0b43beb24b41e952254907619c9e960580fdf27b2a225a4a3ae64f5624b431b4ad2026f22b667f7d96acb
7
- data.tar.gz: a9497fca5dec8b412add61019d8461bdf688bc45732a97b026635c2f45fb20319760bfa39d508572c0947150de773d058416833e240411cc68c39d62e12de75d
6
+ metadata.gz: 771d69abbf58788da0327507096354fad02f5fc63a32feeff395a98dd8ae916178a467d54b2d95b4c623a1f0f443980c48c0c46e909a7bf71818e7fa8b2d1df4
7
+ data.tar.gz: 14619cbb9f2711e521f68a03642db2203f819691ce84afc2716007c3efd3c0adeb0c730dfbb0ffa4540f125a50a11399758bda12b22f459589536ba3eae39ad6
data/fx_rates.gemspec CHANGED
@@ -13,29 +13,24 @@ Gem::Specification.new do |spec|
13
13
  spec.description = %q{You can use this gem to call all APIs provided by FXRatesAPI with ease.}
14
14
  spec.homepage = "https://github.com/kevinluo201/fx_rates"
15
15
  spec.license = "MIT"
16
+ spec.required_ruby_version = ">= 2.6.0"
16
17
 
17
- if spec.respond_to?(:metadata)
18
- spec.metadata["homepage_uri"] = spec.homepage
19
- spec.metadata["source_code_uri"] = "https://github.com/kevinluo201/fx_rates"
20
- spec.metadata["changelog_uri"] = "https://github.com/kevinluo201/fx_rates"
21
- else
22
- raise "RubyGems 2.0 or newer is required to protect against " \
23
- "public gem pushes."
24
- end
18
+ spec.metadata["homepage_uri"] = spec.homepage
19
+ spec.metadata["source_code_uri"] = "https://github.com/kevinluo201/fx_rates"
20
+ spec.metadata["changelog_uri"] = "https://github.com/kevinluo201/fx_rates"
25
21
 
26
22
  # Specify which files should be added to the gem when it is released.
27
23
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
28
- spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
29
- `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
24
+ spec.files = Dir.chdir(__dir__) do
25
+ `git ls-files -z`.split("\x0").reject do |f|
26
+ (File.expand_path(f) == __FILE__) ||
27
+ f.start_with?(*%w[bin/ test/ spec/ features/ .git .github appveyor Gemfile])
28
+ end
30
29
  end
31
- spec.bindir = "exe"
32
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
30
+ spec.bindir = "exe"
31
+ spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
33
32
  spec.require_paths = ["lib"]
34
33
 
35
- spec.add_development_dependency "bundler", "~> 1.17"
36
- spec.add_development_dependency "rake", "~> 10.0"
37
- spec.add_development_dependency "rspec", "~> 3.0"
38
-
39
- spec.add_runtime_dependency "zeitwerk", "~> 2.0"
40
- spec.add_runtime_dependency "faraday", "~> 2.0"
34
+ spec.add_dependency "zeitwerk", "~> 2.0"
35
+ spec.add_dependency "faraday", "~> 2.0"
41
36
  end
@@ -1,3 +1,3 @@
1
1
  module FXRates
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fx_rates
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Luo
@@ -10,48 +10,6 @@ bindir: exe
10
10
  cert_chain: []
11
11
  date: 2025-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: bundler
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '1.17'
20
- type: :development
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: '1.17'
27
- - !ruby/object:Gem::Dependency
28
- name: rake
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: '10.0'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: '10.0'
41
- - !ruby/object:Gem::Dependency
42
- name: rspec
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
46
- - !ruby/object:Gem::Version
47
- version: '3.0'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: '3.0'
55
13
  - !ruby/object:Gem::Dependency
56
14
  name: zeitwerk
57
15
  requirement: !ruby/object:Gem::Requirement
@@ -87,15 +45,10 @@ executables: []
87
45
  extensions: []
88
46
  extra_rdoc_files: []
89
47
  files:
90
- - ".gitignore"
91
48
  - ".rspec"
92
- - Gemfile
93
- - Gemfile.lock
94
49
  - LICENSE
95
50
  - README.md
96
51
  - Rakefile
97
- - bin/console
98
- - bin/setup
99
52
  - fx_rates.gemspec
100
53
  - lib/fx_rates.rb
101
54
  - lib/fx_rates/client.rb
@@ -120,7 +73,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
120
73
  requirements:
121
74
  - - ">="
122
75
  - !ruby/object:Gem::Version
123
- version: '0'
76
+ version: 2.6.0
124
77
  required_rubygems_version: !ruby/object:Gem::Requirement
125
78
  requirements:
126
79
  - - ">="
data/.gitignore DELETED
@@ -1,11 +0,0 @@
1
- /.bundle/
2
- /.yardoc
3
- /_yardoc/
4
- /coverage/
5
- /doc/
6
- /pkg/
7
- /spec/reports/
8
- /tmp/
9
-
10
- # rspec failure tracking
11
- .rspec_status
data/Gemfile DELETED
@@ -1,6 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
-
5
- # Specify your gem's dependencies in fx_rates.gemspec
6
- gemspec
data/Gemfile.lock DELETED
@@ -1,45 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- fx_rates (1.0.0)
5
- faraday (~> 2.0)
6
- zeitwerk (~> 2.0)
7
-
8
- GEM
9
- remote: https://rubygems.org/
10
- specs:
11
- base64 (0.2.0)
12
- diff-lcs (1.5.1)
13
- faraday (2.8.1)
14
- base64
15
- faraday-net_http (>= 2.0, < 3.1)
16
- ruby2_keywords (>= 0.0.4)
17
- faraday-net_http (3.0.2)
18
- rake (10.5.0)
19
- rspec (3.13.0)
20
- rspec-core (~> 3.13.0)
21
- rspec-expectations (~> 3.13.0)
22
- rspec-mocks (~> 3.13.0)
23
- rspec-core (3.13.3)
24
- rspec-support (~> 3.13.0)
25
- rspec-expectations (3.13.3)
26
- diff-lcs (>= 1.2.0, < 2.0)
27
- rspec-support (~> 3.13.0)
28
- rspec-mocks (3.13.2)
29
- diff-lcs (>= 1.2.0, < 2.0)
30
- rspec-support (~> 3.13.0)
31
- rspec-support (3.13.2)
32
- ruby2_keywords (0.0.5)
33
- zeitwerk (2.6.18)
34
-
35
- PLATFORMS
36
- ruby
37
-
38
- DEPENDENCIES
39
- bundler (~> 1.17)
40
- fx_rates!
41
- rake (~> 10.0)
42
- rspec (~> 3.0)
43
-
44
- BUNDLED WITH
45
- 1.17.3
data/bin/console DELETED
@@ -1,14 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require "bundler/setup"
4
- require "fx_rates"
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(__FILE__)
data/bin/setup DELETED
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
- set -vx
5
-
6
- bundle install
7
-
8
- # Do any other automated setup that you need to do here