cybrid_api_id_ruby 0.62.69 → 0.63.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +2 -2
  3. data/README.md +6 -7
  4. data/cybrid_api_id_ruby.gemspec +2 -2
  5. data/lib/cybrid_api_id_ruby/api/bank_applications_idp_api.rb +2 -2
  6. data/lib/cybrid_api_id_ruby/api/customer_tokens_idp_api.rb +2 -2
  7. data/lib/cybrid_api_id_ruby/api/organization_applications_idp_api.rb +2 -2
  8. data/lib/cybrid_api_id_ruby/api_client.rb +2 -2
  9. data/lib/cybrid_api_id_ruby/api_error.rb +2 -2
  10. data/lib/cybrid_api_id_ruby/configuration.rb +2 -2
  11. data/lib/cybrid_api_id_ruby/models/application_idp_model.rb +2 -2
  12. data/lib/cybrid_api_id_ruby/models/application_list_idp_model.rb +2 -2
  13. data/lib/cybrid_api_id_ruby/models/application_with_secret_all_of_idp_model.rb +2 -2
  14. data/lib/cybrid_api_id_ruby/models/application_with_secret_idp_model.rb +2 -2
  15. data/lib/cybrid_api_id_ruby/models/customer_token_idp_model.rb +2 -2
  16. data/lib/cybrid_api_id_ruby/models/post_bank_application_idp_model.rb +2 -2
  17. data/lib/cybrid_api_id_ruby/models/post_customer_token_idp_model.rb +2 -2
  18. data/lib/cybrid_api_id_ruby/models/post_organization_application_idp_model.rb +2 -2
  19. data/lib/cybrid_api_id_ruby/version.rb +3 -3
  20. data/lib/cybrid_api_id_ruby.rb +2 -2
  21. data/spec/api/bank_applications_idp_api_spec.rb +2 -2
  22. data/spec/api/customer_tokens_idp_api_spec.rb +2 -2
  23. data/spec/api/organization_applications_idp_api_spec.rb +2 -2
  24. data/spec/api_client_spec.rb +2 -2
  25. data/spec/configuration_spec.rb +2 -2
  26. data/spec/models/application_idp_model_spec.rb +2 -2
  27. data/spec/models/application_list_idp_model_spec.rb +2 -2
  28. data/spec/models/application_with_secret_all_of_idp_model_spec.rb +2 -2
  29. data/spec/models/application_with_secret_idp_model_spec.rb +2 -2
  30. data/spec/models/customer_token_idp_model_spec.rb +2 -2
  31. data/spec/models/post_bank_application_idp_model_spec.rb +2 -2
  32. data/spec/models/post_customer_token_idp_model_spec.rb +2 -2
  33. data/spec/models/post_organization_application_idp_model_spec.rb +2 -2
  34. data/spec/spec_helper.rb +2 -2
  35. data/vendor/bundle/ruby/3.2.0/cache/ruby-progressbar-1.13.0.gem +0 -0
  36. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/byebug-11.1.3/gem_make.out +5 -5
  37. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/ffi-1.15.5/gem_make.out +5 -5
  38. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/jaro_winkler-1.5.4/gem_make.out +5 -5
  39. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/psych-5.1.0/gem_make.out +5 -5
  40. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/stringio-3.0.5/gem_make.out +5 -5
  41. data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.12.0 → ruby-progressbar-1.13.0}/lib/ruby-progressbar/base.rb +41 -2
  42. data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.12.0 → ruby-progressbar-1.13.0}/lib/ruby-progressbar/components/time.rb +7 -5
  43. data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.12.0 → ruby-progressbar-1.13.0}/lib/ruby-progressbar/progress.rb +9 -31
  44. data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/projector.rb +14 -0
  45. data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/projectors/smoothed_average.rb +71 -0
  46. data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/refinements/progress_enumerator.rb +28 -0
  47. data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/refinements.rb +1 -0
  48. data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/version.rb +3 -0
  49. data/vendor/bundle/ruby/3.2.0/specifications/{ruby-progressbar-1.12.0.gemspec → ruby-progressbar-1.13.0.gemspec} +4 -4
  50. metadata +32 -31
  51. data/vendor/bundle/ruby/3.2.0/cache/ruby-progressbar-1.12.0.gem +0 -0
  52. data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/calculators/smoothed_average.rb +0 -9
  53. data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/refinements/enumerator.rb +0 -23
  54. data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/refinements.rb +0 -1
  55. data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/version.rb +0 -3
  56. /data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.12.0 → ruby-progressbar-1.13.0}/LICENSE.txt +0 -0
  57. /data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.12.0 → ruby-progressbar-1.13.0}/README.md +0 -0
  58. /data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.12.0 → ruby-progressbar-1.13.0}/Rakefile +0 -0
  59. /data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.12.0 → ruby-progressbar-1.13.0}/lib/ruby-progressbar/calculators/length.rb +0 -0
  60. /data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.12.0 → ruby-progressbar-1.13.0}/lib/ruby-progressbar/components/bar.rb +0 -0
  61. /data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.12.0 → ruby-progressbar-1.13.0}/lib/ruby-progressbar/components/percentage.rb +0 -0
  62. /data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.12.0 → ruby-progressbar-1.13.0}/lib/ruby-progressbar/components/rate.rb +0 -0
  63. /data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.12.0 → ruby-progressbar-1.13.0}/lib/ruby-progressbar/components/title.rb +0 -0
  64. /data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.12.0 → ruby-progressbar-1.13.0}/lib/ruby-progressbar/errors/invalid_progress_error.rb +0 -0
  65. /data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.12.0 → ruby-progressbar-1.13.0}/lib/ruby-progressbar/format/formatter.rb +0 -0
  66. /data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.12.0 → ruby-progressbar-1.13.0}/lib/ruby-progressbar/format/molecule.rb +0 -0
  67. /data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.12.0 → ruby-progressbar-1.13.0}/lib/ruby-progressbar/format/string.rb +0 -0
  68. /data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.12.0 → ruby-progressbar-1.13.0}/lib/ruby-progressbar/output.rb +0 -0
  69. /data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.12.0 → ruby-progressbar-1.13.0}/lib/ruby-progressbar/outputs/non_tty.rb +0 -0
  70. /data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.12.0 → ruby-progressbar-1.13.0}/lib/ruby-progressbar/outputs/null.rb +0 -0
  71. /data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.12.0 → ruby-progressbar-1.13.0}/lib/ruby-progressbar/outputs/tty.rb +0 -0
  72. /data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.12.0 → ruby-progressbar-1.13.0}/lib/ruby-progressbar/throttle.rb +0 -0
  73. /data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.12.0 → ruby-progressbar-1.13.0}/lib/ruby-progressbar/time.rb +0 -0
  74. /data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.12.0 → ruby-progressbar-1.13.0}/lib/ruby-progressbar/timer.rb +0 -0
  75. /data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.12.0 → ruby-progressbar-1.13.0}/lib/ruby-progressbar.rb +0 -0
@@ -0,0 +1,71 @@
1
+ class ProgressBar
2
+ module Projectors
3
+ class SmoothedAverage
4
+ DEFAULT_STRENGTH = 0.1
5
+ DEFAULT_BEGINNING_POSITION = 0
6
+
7
+ attr_accessor :samples,
8
+ :strength
9
+ attr_reader :projection
10
+
11
+ def initialize(options = {})
12
+ self.samples = []
13
+ self.projection = 0.0
14
+ self.strength = options[:strength] || DEFAULT_STRENGTH
15
+
16
+ start(:at => DEFAULT_BEGINNING_POSITION)
17
+ end
18
+
19
+ def start(options = {})
20
+ self.projection = 0.0
21
+ self.progress = samples[0] = (options[:at] || progress)
22
+ end
23
+
24
+ def decrement
25
+ self.progress -= 1
26
+ end
27
+
28
+ def increment
29
+ self.progress += 1
30
+ end
31
+
32
+ def progress
33
+ samples[1]
34
+ end
35
+
36
+ def total=(_new_total); end
37
+
38
+ def reset
39
+ start(:at => samples[0])
40
+ end
41
+
42
+ def progress=(new_progress)
43
+ samples[1] = new_progress
44
+ self.projection = \
45
+ self.class.calculate(
46
+ @projection,
47
+ absolute,
48
+ strength
49
+ )
50
+ end
51
+
52
+ def none?
53
+ projection.zero?
54
+ end
55
+
56
+ def self.calculate(current_projection, new_value, rate)
57
+ (new_value * (1.0 - rate)) + (current_projection * rate)
58
+ end
59
+
60
+ protected
61
+
62
+ attr_writer :projection
63
+
64
+ private
65
+
66
+ def absolute
67
+ samples[1] - samples[0]
68
+ end
69
+ end
70
+ end
71
+ end
@@ -0,0 +1,28 @@
1
+ class ProgressBar
2
+ module Refinements
3
+ module Enumerator
4
+ ARITY_ERROR_MESSAGE = 'Only two arguments allowed to be passed to ' \
5
+ 'with_progressbar (item, progress_bar)'.freeze
6
+
7
+ refine ::Enumerator do
8
+ def with_progressbar(options = {}, &block)
9
+ progress_bar = ProgressBar.create(options.merge(:starting_at => 0, :total => size))
10
+
11
+ each do |item|
12
+ progress_bar.increment
13
+
14
+ next unless block
15
+
16
+ yielded_args = []
17
+ yielded_args << item if block.arity > 0
18
+ yielded_args << progress_bar if block.arity > 1
19
+
20
+ fail ::ArgumentError, ARITY_ERROR_MESSAGE if block.arity > 2
21
+
22
+ yield(*yielded_args)
23
+ end
24
+ end
25
+ end
26
+ end
27
+ end
28
+ end
@@ -0,0 +1 @@
1
+ require 'ruby-progressbar/refinements/progress_enumerator'
@@ -0,0 +1,3 @@
1
+ class ProgressBar
2
+ VERSION = '1.13.0'.freeze
3
+ end
@@ -1,16 +1,16 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: ruby-progressbar 1.12.0 ruby lib
2
+ # stub: ruby-progressbar 1.13.0 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "ruby-progressbar".freeze
6
- s.version = "1.12.0"
6
+ s.version = "1.13.0"
7
7
 
8
8
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
9
- s.metadata = { "bug_tracker_uri" => "https://github.com/jfelchner/ruby-progressbar/issues", "changelog_uri" => "https://github.com/jfelchner/ruby-progressbar/blob/master/CHANGELOG.md", "documentation_uri" => "https://github.com/jfelchner/ruby-progressbar/tree/releases/v1.12.0", "homepage_uri" => "https://github.com/jfelchner/ruby-progressbar", "source_code_uri" => "https://github.com/jfelchner/ruby-progressbar", "wiki_uri" => "https://github.com/jfelchner/ruby-progressbar/wiki" } if s.respond_to? :metadata=
9
+ s.metadata = { "bug_tracker_uri" => "https://github.com/jfelchner/ruby-progressbar/issues", "changelog_uri" => "https://github.com/jfelchner/ruby-progressbar/blob/master/CHANGELOG.md", "documentation_uri" => "https://github.com/jfelchner/ruby-progressbar/tree/releases/v1.13.0", "homepage_uri" => "https://github.com/jfelchner/ruby-progressbar", "source_code_uri" => "https://github.com/jfelchner/ruby-progressbar", "wiki_uri" => "https://github.com/jfelchner/ruby-progressbar/wiki" } if s.respond_to? :metadata=
10
10
  s.require_paths = ["lib".freeze]
11
11
  s.authors = ["thekompanee".freeze, "jfelchner".freeze]
12
12
  s.cert_chain = ["-----BEGIN CERTIFICATE-----\nMIIEdjCCAt6gAwIBAgIBATANBgkqhkiG9w0BAQsFADAyMTAwLgYDVQQDDCdhY2Nv\ndW50c19ydWJ5Z2Vtcy9EQz10aGVrb21wYW5lZS9EQz1jb20wHhcNMjMwMjI2MTcx\nMDI1WhcNMjYwMjI1MTcxMDI1WjAyMTAwLgYDVQQDDCdhY2NvdW50c19ydWJ5Z2Vt\ncy9EQz10aGVrb21wYW5lZS9EQz1jb20wggGiMA0GCSqGSIb3DQEBAQUAA4IBjwAw\nggGKAoIBgQCqhYn5ODEoLvuBIF2M1GzoaZU28+ntP5QApvDE0Te04n0JbBC1cNYH\nmr71neeSx7tlZ9w9kJ/8GNcY5bm7pNJqhyhfc+uG9M7FttcxM8AYXogjcdUDP234\n+TdmZIz20JxtWBgAZK2I3ktlgLFLC3Pxq63yzhJ75Xok07Wh+ypwjGzDNofPhz+y\nXR+UeUTp2UGe7kDVoqu/AwwPVhk1qUIRFLfC8SLDTD0CuNW3/AnkwQrKSm8vkiIn\nq9GCnOq0+jQly0b6a1Gi3ZDYEEswnTzziw2gotUZnQkF5bcOcxK1CB/Okk2jtG7i\nztMEU785tERbOSszZrz9rBS/+GnMxlD0pxy50zFfHX3jY1hwnwGjE8Gg+0iYr/tm\neysjhcbZfKrMynoqAioCSwstIwtYYYYpYzCPZzwaIBaBqQmUTkuMeiGbAdOdFOrR\nlOgl5jxCYbNOOTaXbm0nGBFaTucB88+JLbsNAuoNGUf/ybDcZ1zKRkMr2vtb+OtL\nGoP81fN6l88CAwEAAaOBljCBkzAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNV\nHQ4EFgQUL4eV4OM9h7fkM27qf9p4ragHi6AwLAYDVR0RBCUwI4EhYWNjb3VudHMr\ncnVieWdlbXNAdGhla29tcGFuZWUuY29tMCwGA1UdEgQlMCOBIWFjY291bnRzK3J1\nYnlnZW1zQHRoZWtvbXBhbmVlLmNvbTANBgkqhkiG9w0BAQsFAAOCAYEAD/tBN1cM\n8Qu6u+rPM3SEtlEK/ZdVY0IowXtXMskkderNBJ4HY+xBfIWyAXLTr3Fy6xscVZ95\nraFCiWHqvR577u3/BsVZ5BoQ0g25oY2bwoamQSdx71ygs25Q+UFbg6lHq6olszj0\nHqKXUy/iPFb+OzGq7NOtKOD5pHl3ew8H7U5tfh0kx6B5TdL9BZLurjskW0n2G+kY\nNSGCTGYU8wY4Bsk/AmfoFT/ATwmrf68CTD+IBY5yvt2DGvcyuSrX1RQP8Vk//0EP\nJ2ezTNGIBeQFcyyo09gMfy1yxv9XAvwmy6pAx7/m/F2XzTiXuzmJ7zJ6J0OaHUG4\nsvJgf3o9Eor2okQND60Qdpdl4qdSy3KaNqvQQbTRB96e/+K8ksz4rras5jPaAs0p\nDV37k4cni6c/jUm2CqepsJ/dbzeWdkhcuO6hwEQV0jvFky5C6d5hHcrbJwxl1sTL\nV+pWW6L9MSZzKkjWVJXD43B3tWBjIDthQVTzS4j90PUkUXgBXjS7Jxj/\n-----END CERTIFICATE-----\n".freeze]
13
- s.date = "2023-03-01"
13
+ s.date = "2023-03-04"
14
14
  s.description = "Ruby/ProgressBar is an extremely flexible text progress bar library for Ruby. The output can be customized with a flexible formatting system including: percentage, bars of various formats, elapsed time and estimated time remaining.".freeze
15
15
  s.email = ["support@thekompanee.com".freeze]
16
16
  s.homepage = "https://github.com/jfelchner/ruby-progressbar".freeze
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cybrid_api_id_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.62.69
4
+ version: 0.63.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cybrid
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-03 00:00:00.000000000 Z
11
+ date: 2023-03-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -135,7 +135,7 @@ files:
135
135
  - vendor/bundle/ruby/3.2.0/cache/rspec-mocks-3.12.3.gem
136
136
  - vendor/bundle/ruby/3.2.0/cache/rspec-support-3.12.0.gem
137
137
  - vendor/bundle/ruby/3.2.0/cache/rubocop-0.66.0.gem
138
- - vendor/bundle/ruby/3.2.0/cache/ruby-progressbar-1.12.0.gem
138
+ - vendor/bundle/ruby/3.2.0/cache/ruby-progressbar-1.13.0.gem
139
139
  - vendor/bundle/ruby/3.2.0/cache/stringio-3.0.5.gem
140
140
  - vendor/bundle/ruby/3.2.0/cache/typhoeus-1.4.0.gem
141
141
  - vendor/bundle/ruby/3.2.0/cache/unicode-display_width-1.5.0.gem
@@ -2385,33 +2385,34 @@ files:
2385
2385
  - vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/version.rb
2386
2386
  - vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/warning.rb
2387
2387
  - vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/yaml_duplication_checker.rb
2388
- - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/LICENSE.txt
2389
- - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/README.md
2390
- - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/Rakefile
2391
- - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar.rb
2392
- - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/base.rb
2393
- - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/calculators/length.rb
2394
- - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/calculators/smoothed_average.rb
2395
- - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/components/bar.rb
2396
- - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/components/percentage.rb
2397
- - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/components/rate.rb
2398
- - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/components/time.rb
2399
- - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/components/title.rb
2400
- - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/errors/invalid_progress_error.rb
2401
- - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/format/formatter.rb
2402
- - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/format/molecule.rb
2403
- - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/format/string.rb
2404
- - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/output.rb
2405
- - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/outputs/non_tty.rb
2406
- - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/outputs/null.rb
2407
- - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/outputs/tty.rb
2408
- - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/progress.rb
2409
- - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/refinements.rb
2410
- - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/refinements/enumerator.rb
2411
- - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/throttle.rb
2412
- - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/time.rb
2413
- - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/timer.rb
2414
- - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/version.rb
2388
+ - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/LICENSE.txt
2389
+ - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/README.md
2390
+ - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/Rakefile
2391
+ - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar.rb
2392
+ - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/base.rb
2393
+ - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/calculators/length.rb
2394
+ - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/components/bar.rb
2395
+ - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/components/percentage.rb
2396
+ - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/components/rate.rb
2397
+ - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/components/time.rb
2398
+ - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/components/title.rb
2399
+ - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/errors/invalid_progress_error.rb
2400
+ - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/format/formatter.rb
2401
+ - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/format/molecule.rb
2402
+ - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/format/string.rb
2403
+ - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/output.rb
2404
+ - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/outputs/non_tty.rb
2405
+ - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/outputs/null.rb
2406
+ - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/outputs/tty.rb
2407
+ - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/progress.rb
2408
+ - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/projector.rb
2409
+ - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/projectors/smoothed_average.rb
2410
+ - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/refinements.rb
2411
+ - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/refinements/progress_enumerator.rb
2412
+ - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/throttle.rb
2413
+ - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/time.rb
2414
+ - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/timer.rb
2415
+ - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/version.rb
2415
2416
  - vendor/bundle/ruby/3.2.0/gems/stringio-3.0.5/README.md
2416
2417
  - vendor/bundle/ruby/3.2.0/gems/stringio-3.0.5/ext/stringio/Makefile
2417
2418
  - vendor/bundle/ruby/3.2.0/gems/stringio-3.0.5/ext/stringio/extconf.rb
@@ -2543,7 +2544,7 @@ files:
2543
2544
  - vendor/bundle/ruby/3.2.0/specifications/rspec-mocks-3.12.3.gemspec
2544
2545
  - vendor/bundle/ruby/3.2.0/specifications/rspec-support-3.12.0.gemspec
2545
2546
  - vendor/bundle/ruby/3.2.0/specifications/rubocop-0.66.0.gemspec
2546
- - vendor/bundle/ruby/3.2.0/specifications/ruby-progressbar-1.12.0.gemspec
2547
+ - vendor/bundle/ruby/3.2.0/specifications/ruby-progressbar-1.13.0.gemspec
2547
2548
  - vendor/bundle/ruby/3.2.0/specifications/stringio-3.0.5.gemspec
2548
2549
  - vendor/bundle/ruby/3.2.0/specifications/typhoeus-1.4.0.gemspec
2549
2550
  - vendor/bundle/ruby/3.2.0/specifications/unicode-display_width-1.5.0.gemspec
@@ -1,9 +0,0 @@
1
- class ProgressBar
2
- module Calculators
3
- class SmoothedAverage
4
- def self.calculate(current_average, new_value_to_average, rate)
5
- (new_value_to_average * (1.0 - rate)) + (current_average * rate)
6
- end
7
- end
8
- end
9
- end
@@ -1,23 +0,0 @@
1
- class ProgressBar
2
- module Refinements
3
- module Enumerator
4
- refine ::Enumerator do
5
- def with_progressbar(options = {}, &block)
6
- chain = ::Enumerator.new do |yielder|
7
- progress_bar = ProgressBar.create(options.merge(:starting_at => 0, :total => size))
8
-
9
- each do |*args|
10
- yielder.yield(*args).tap do
11
- progress_bar.increment
12
- end
13
- end
14
- end
15
-
16
- return chain unless block
17
-
18
- chain.each(&block)
19
- end
20
- end
21
- end
22
- end
23
- end
@@ -1 +0,0 @@
1
- require 'ruby-progressbar/refinements/enumerator'
@@ -1,3 +0,0 @@
1
- class ProgressBar
2
- VERSION = '1.12.0'.freeze
3
- end