cybrid_api_organization_ruby 0.62.69 → 0.63.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (144) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +3 -3
  3. data/README.md +15 -16
  4. data/cybrid_api_organization_ruby.gemspec +2 -2
  5. data/docs/OrganizationsOrganizationApi.md +1 -1
  6. data/lib/cybrid_api_organization_ruby/api/organizations_organization_api.rb +2 -2
  7. data/lib/cybrid_api_organization_ruby/api_client.rb +2 -2
  8. data/lib/cybrid_api_organization_ruby/api_error.rb +2 -2
  9. data/lib/cybrid_api_organization_ruby/configuration.rb +5 -5
  10. data/lib/cybrid_api_organization_ruby/models/error_response_organization_model.rb +2 -2
  11. data/lib/cybrid_api_organization_ruby/models/organization_organization_model.rb +2 -2
  12. data/lib/cybrid_api_organization_ruby/models/patch_organization_organization_model.rb +2 -2
  13. data/lib/cybrid_api_organization_ruby/version.rb +3 -3
  14. data/lib/cybrid_api_organization_ruby.rb +2 -2
  15. data/spec/api/organizations_organization_api_spec.rb +2 -2
  16. data/spec/api_client_spec.rb +2 -2
  17. data/spec/configuration_spec.rb +5 -5
  18. data/spec/models/error_response_organization_model_spec.rb +2 -2
  19. data/spec/models/organization_organization_model_spec.rb +2 -2
  20. data/spec/models/patch_organization_organization_model_spec.rb +2 -2
  21. data/spec/spec_helper.rb +2 -2
  22. data/vendor/bundle/ruby/3.2.0/cache/parser-3.2.1.1.gem +0 -0
  23. data/vendor/bundle/ruby/3.2.0/cache/ruby-progressbar-1.13.0.gem +0 -0
  24. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/byebug-11.1.3/gem_make.out +5 -5
  25. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/ffi-1.15.5/gem_make.out +5 -5
  26. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/jaro_winkler-1.5.4/gem_make.out +5 -5
  27. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/psych-5.1.0/gem_make.out +5 -5
  28. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/stringio-3.0.5/gem_make.out +5 -5
  29. data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/ast/node.rb +2 -2
  30. data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/builders/default.rb +7 -2
  31. data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/macruby.rb +1 -1
  32. data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/ruby18.rb +1 -1
  33. data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/ruby19.rb +1 -1
  34. data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/ruby20.rb +1 -1
  35. data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/ruby21.rb +1 -1
  36. data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/ruby22.rb +1 -1
  37. data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/ruby23.rb +1 -1
  38. data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/ruby24.rb +1 -1
  39. data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/ruby25.rb +1 -1
  40. data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/ruby26.rb +1 -1
  41. data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/ruby27.rb +1 -1
  42. data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/ruby30.rb +1 -1
  43. data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/ruby31.rb +1 -1
  44. data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/ruby32.rb +1 -1
  45. data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/ruby33.rb +1 -1
  46. data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/rubymotion.rb +1 -1
  47. data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/version.rb +1 -1
  48. data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/parser.gemspec +1 -1
  49. 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
  50. 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
  51. 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
  52. data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/projector.rb +14 -0
  53. data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/projectors/smoothed_average.rb +71 -0
  54. data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/refinements/progress_enumerator.rb +28 -0
  55. data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/refinements.rb +1 -0
  56. data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/version.rb +3 -0
  57. data/vendor/bundle/ruby/3.2.0/specifications/{parser-3.2.1.0.gemspec → parser-3.2.1.1.gemspec} +5 -5
  58. data/vendor/bundle/ruby/3.2.0/specifications/{ruby-progressbar-1.12.0.gemspec → ruby-progressbar-1.13.0.gemspec} +4 -4
  59. metadata +113 -112
  60. data/vendor/bundle/ruby/3.2.0/cache/parser-3.2.1.0.gem +0 -0
  61. data/vendor/bundle/ruby/3.2.0/cache/ruby-progressbar-1.12.0.gem +0 -0
  62. data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/calculators/smoothed_average.rb +0 -9
  63. data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/refinements/enumerator.rb +0 -23
  64. data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/refinements.rb +0 -1
  65. data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/version.rb +0 -3
  66. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/LICENSE.txt +0 -0
  67. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/bin/ruby-parse +0 -0
  68. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/bin/ruby-rewrite +0 -0
  69. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/gauntlet_parser.rb +0 -0
  70. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/all.rb +0 -0
  71. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/ast/processor.rb +0 -0
  72. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/base.rb +0 -0
  73. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/clobbering_error.rb +0 -0
  74. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/color.rb +0 -0
  75. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/context.rb +0 -0
  76. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/current.rb +0 -0
  77. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/current_arg_stack.rb +0 -0
  78. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/deprecation.rb +0 -0
  79. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/diagnostic/engine.rb +0 -0
  80. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/diagnostic.rb +0 -0
  81. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/lexer/dedenter.rb +0 -0
  82. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/lexer/explanation.rb +0 -0
  83. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/lexer/literal.rb +0 -0
  84. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/lexer/stack_state.rb +0 -0
  85. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/lexer-F0.rb +0 -0
  86. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/lexer-F1.rb +0 -0
  87. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/lexer-strings.rb +0 -0
  88. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/max_numparam_stack.rb +0 -0
  89. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/messages.rb +0 -0
  90. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/meta.rb +0 -0
  91. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/rewriter.rb +0 -0
  92. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/ruby28.rb +0 -0
  93. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/runner/ruby_parse.rb +0 -0
  94. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/runner/ruby_rewrite.rb +0 -0
  95. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/runner.rb +0 -0
  96. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/source/buffer.rb +0 -0
  97. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/source/comment/associator.rb +0 -0
  98. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/source/comment.rb +0 -0
  99. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/source/map/collection.rb +0 -0
  100. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/source/map/condition.rb +0 -0
  101. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/source/map/constant.rb +0 -0
  102. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/source/map/definition.rb +0 -0
  103. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/source/map/for.rb +0 -0
  104. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/source/map/heredoc.rb +0 -0
  105. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/source/map/index.rb +0 -0
  106. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/source/map/keyword.rb +0 -0
  107. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/source/map/method_definition.rb +0 -0
  108. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/source/map/objc_kwarg.rb +0 -0
  109. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/source/map/operator.rb +0 -0
  110. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/source/map/rescue_body.rb +0 -0
  111. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/source/map/send.rb +0 -0
  112. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/source/map/ternary.rb +0 -0
  113. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/source/map/variable.rb +0 -0
  114. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/source/map.rb +0 -0
  115. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/source/range.rb +0 -0
  116. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/source/rewriter/action.rb +0 -0
  117. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/source/rewriter.rb +0 -0
  118. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/source/tree_rewriter/action.rb +0 -0
  119. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/source/tree_rewriter.rb +0 -0
  120. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/static_environment.rb +0 -0
  121. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/syntax_error.rb +0 -0
  122. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/tree_rewriter.rb +0 -0
  123. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser/variables_stack.rb +0 -0
  124. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.2.1.0 → parser-3.2.1.1}/lib/parser.rb +0 -0
  125. /data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.12.0 → ruby-progressbar-1.13.0}/LICENSE.txt +0 -0
  126. /data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.12.0 → ruby-progressbar-1.13.0}/README.md +0 -0
  127. /data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.12.0 → ruby-progressbar-1.13.0}/Rakefile +0 -0
  128. /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
  129. /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
  130. /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
  131. /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
  132. /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
  133. /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
  134. /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
  135. /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
  136. /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
  137. /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
  138. /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
  139. /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
  140. /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
  141. /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
  142. /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
  143. /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
  144. /data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.12.0 → ruby-progressbar-1.13.0}/lib/ruby-progressbar.rb +0 -0
@@ -1,40 +1,22 @@
1
1
  require 'ruby-progressbar/errors/invalid_progress_error'
2
- require 'ruby-progressbar/calculators/smoothed_average'
3
2
 
4
3
  class ProgressBar
5
4
  class Progress
6
- DEFAULT_TOTAL = 100
7
- DEFAULT_BEGINNING_POSITION = 0
8
- DEFAULT_RUNNING_AVERAGE_RATE = 0.1
9
- DEFAULT_RUNNING_AVERAGE_CALCULATOR = ProgressBar::Calculators::SmoothedAverage
10
-
11
- RUNNING_AVERAGE_CALCULATOR_MAP = {
12
- 'smoothing' => ProgressBar::Calculators::SmoothedAverage
13
- }.freeze
5
+ DEFAULT_TOTAL = 100
6
+ DEFAULT_BEGINNING_POSITION = 0
14
7
 
15
8
  attr_reader :total,
16
9
  :progress
17
-
18
- attr_accessor :starting_position,
19
- :running_average,
20
- :running_average_calculator,
21
- :running_average_rate
10
+ attr_accessor :starting_position
22
11
 
23
12
  def initialize(options = {})
24
- self.total = options.fetch(:total, DEFAULT_TOTAL)
25
- self.running_average_rate = options[:smoothing] ||
26
- options[:running_average_rate] ||
27
- DEFAULT_RUNNING_AVERAGE_RATE
28
- self.running_average_calculator = RUNNING_AVERAGE_CALCULATOR_MAP.
29
- fetch(options[:running_average_calculator],
30
- DEFAULT_RUNNING_AVERAGE_CALCULATOR)
31
-
32
- start :at => DEFAULT_BEGINNING_POSITION
13
+ self.total = options.fetch(:total, DEFAULT_TOTAL)
14
+
15
+ start(:at => DEFAULT_BEGINNING_POSITION)
33
16
  end
34
17
 
35
18
  def start(options = {})
36
- self.running_average = 0
37
- self.progress = \
19
+ self.progress = \
38
20
  self.starting_position = options[:at] || progress
39
21
  end
40
22
 
@@ -67,7 +49,7 @@ class Progress
67
49
  end
68
50
 
69
51
  def reset
70
- start :at => starting_position
52
+ start(:at => starting_position)
71
53
  end
72
54
 
73
55
  def progress=(new_progress)
@@ -77,10 +59,6 @@ class Progress
77
59
  end
78
60
 
79
61
  @progress = new_progress
80
-
81
- self.running_average = running_average_calculator.calculate(running_average,
82
- absolute,
83
- running_average_rate)
84
62
  end
85
63
 
86
64
  def total=(new_total)
@@ -105,7 +83,7 @@ class Progress
105
83
  end
106
84
 
107
85
  def none?
108
- running_average.zero? || progress.zero?
86
+ progress.zero?
109
87
  end
110
88
 
111
89
  def unknown?
@@ -0,0 +1,14 @@
1
+ require 'ruby-progressbar/projectors/smoothed_average'
2
+
3
+ class ProgressBar
4
+ class Projector
5
+ DEFAULT_PROJECTOR = ProgressBar::Projectors::SmoothedAverage
6
+ NAME_TO_PROJECTOR_MAP = {
7
+ 'smoothed' => ProgressBar::Projectors::SmoothedAverage
8
+ }.freeze
9
+
10
+ def self.from_type(name)
11
+ NAME_TO_PROJECTOR_MAP.fetch(name, DEFAULT_PROJECTOR)
12
+ end
13
+ end
14
+ end
@@ -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,15 +1,15 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: parser 3.2.1.0 ruby lib
2
+ # stub: parser 3.2.1.1 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "parser".freeze
6
- s.version = "3.2.1.0"
6
+ s.version = "3.2.1.1"
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/whitequark/parser/issues", "changelog_uri" => "https://github.com/whitequark/parser/blob/v3.2.1.0/CHANGELOG.md", "documentation_uri" => "https://www.rubydoc.info/gems/parser/3.2.1.0", "source_code_uri" => "https://github.com/whitequark/parser/tree/v3.2.1.0" } if s.respond_to? :metadata=
9
+ s.metadata = { "bug_tracker_uri" => "https://github.com/whitequark/parser/issues", "changelog_uri" => "https://github.com/whitequark/parser/blob/v3.2.1.1/CHANGELOG.md", "documentation_uri" => "https://www.rubydoc.info/gems/parser/3.2.1.1", "source_code_uri" => "https://github.com/whitequark/parser/tree/v3.2.1.1" } if s.respond_to? :metadata=
10
10
  s.require_paths = ["lib".freeze]
11
11
  s.authors = ["whitequark".freeze]
12
- s.date = "2023-02-09"
12
+ s.date = "2023-03-08"
13
13
  s.description = "A Ruby parser written in pure Ruby.".freeze
14
14
  s.email = ["whitequark@whitequark.org".freeze]
15
15
  s.executables = ["ruby-parse".freeze, "ruby-rewrite".freeze]
@@ -27,7 +27,7 @@ Gem::Specification.new do |s|
27
27
  s.add_runtime_dependency(%q<ast>.freeze, ["~> 2.4.1"])
28
28
  s.add_development_dependency(%q<bundler>.freeze, [">= 1.15", "< 3.0.0"])
29
29
  s.add_development_dependency(%q<rake>.freeze, ["~> 13.0.1"])
30
- s.add_development_dependency(%q<racc>.freeze, ["= 1.6.1"])
30
+ s.add_development_dependency(%q<racc>.freeze, ["= 1.6.2"])
31
31
  s.add_development_dependency(%q<cliver>.freeze, ["~> 0.3.2"])
32
32
  s.add_development_dependency(%q<yard>.freeze, [">= 0"])
33
33
  s.add_development_dependency(%q<kramdown>.freeze, [">= 0"])
@@ -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_organization_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.62.69
4
+ version: 0.63.5
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-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -102,7 +102,7 @@ files:
102
102
  - vendor/bundle/ruby/3.2.0/cache/jaro_winkler-1.5.4.gem
103
103
  - vendor/bundle/ruby/3.2.0/cache/method_source-1.0.0.gem
104
104
  - vendor/bundle/ruby/3.2.0/cache/parallel-1.22.1.gem
105
- - vendor/bundle/ruby/3.2.0/cache/parser-3.2.1.0.gem
105
+ - vendor/bundle/ruby/3.2.0/cache/parser-3.2.1.1.gem
106
106
  - vendor/bundle/ruby/3.2.0/cache/pry-0.14.2.gem
107
107
  - vendor/bundle/ruby/3.2.0/cache/pry-byebug-3.10.1.gem
108
108
  - vendor/bundle/ruby/3.2.0/cache/psych-5.1.0.gem
@@ -114,7 +114,7 @@ files:
114
114
  - vendor/bundle/ruby/3.2.0/cache/rspec-mocks-3.12.3.gem
115
115
  - vendor/bundle/ruby/3.2.0/cache/rspec-support-3.12.0.gem
116
116
  - vendor/bundle/ruby/3.2.0/cache/rubocop-0.66.0.gem
117
- - vendor/bundle/ruby/3.2.0/cache/ruby-progressbar-1.12.0.gem
117
+ - vendor/bundle/ruby/3.2.0/cache/ruby-progressbar-1.13.0.gem
118
118
  - vendor/bundle/ruby/3.2.0/cache/stringio-3.0.5.gem
119
119
  - vendor/bundle/ruby/3.2.0/cache/typhoeus-1.4.0.gem
120
120
  - vendor/bundle/ruby/3.2.0/cache/unicode-display_width-1.5.0.gem
@@ -1118,85 +1118,85 @@ files:
1118
1118
  - vendor/bundle/ruby/3.2.0/gems/parallel-1.22.1/lib/parallel.rb
1119
1119
  - vendor/bundle/ruby/3.2.0/gems/parallel-1.22.1/lib/parallel/processor_count.rb
1120
1120
  - vendor/bundle/ruby/3.2.0/gems/parallel-1.22.1/lib/parallel/version.rb
1121
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/LICENSE.txt
1122
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/bin/ruby-parse
1123
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/bin/ruby-rewrite
1124
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/gauntlet_parser.rb
1125
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser.rb
1126
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/all.rb
1127
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/ast/node.rb
1128
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/ast/processor.rb
1129
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/base.rb
1130
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/builders/default.rb
1131
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/clobbering_error.rb
1132
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/color.rb
1133
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/context.rb
1134
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/current.rb
1135
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/current_arg_stack.rb
1136
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/deprecation.rb
1137
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/diagnostic.rb
1138
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/diagnostic/engine.rb
1139
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/lexer-F0.rb
1140
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/lexer-F1.rb
1141
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/lexer-strings.rb
1142
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/lexer/dedenter.rb
1143
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/lexer/explanation.rb
1144
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/lexer/literal.rb
1145
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/lexer/stack_state.rb
1146
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/macruby.rb
1147
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/max_numparam_stack.rb
1148
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/messages.rb
1149
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/meta.rb
1150
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/rewriter.rb
1151
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/ruby18.rb
1152
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/ruby19.rb
1153
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/ruby20.rb
1154
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/ruby21.rb
1155
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/ruby22.rb
1156
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/ruby23.rb
1157
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/ruby24.rb
1158
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/ruby25.rb
1159
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/ruby26.rb
1160
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/ruby27.rb
1161
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/ruby28.rb
1162
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/ruby30.rb
1163
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/ruby31.rb
1164
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/ruby32.rb
1165
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/ruby33.rb
1166
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/rubymotion.rb
1167
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/runner.rb
1168
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/runner/ruby_parse.rb
1169
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/runner/ruby_rewrite.rb
1170
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/source/buffer.rb
1171
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/source/comment.rb
1172
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/source/comment/associator.rb
1173
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/source/map.rb
1174
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/source/map/collection.rb
1175
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/source/map/condition.rb
1176
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/source/map/constant.rb
1177
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/source/map/definition.rb
1178
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/source/map/for.rb
1179
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/source/map/heredoc.rb
1180
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/source/map/index.rb
1181
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/source/map/keyword.rb
1182
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/source/map/method_definition.rb
1183
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/source/map/objc_kwarg.rb
1184
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/source/map/operator.rb
1185
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/source/map/rescue_body.rb
1186
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/source/map/send.rb
1187
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/source/map/ternary.rb
1188
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/source/map/variable.rb
1189
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/source/range.rb
1190
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/source/rewriter.rb
1191
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/source/rewriter/action.rb
1192
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/source/tree_rewriter.rb
1193
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/source/tree_rewriter/action.rb
1194
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/static_environment.rb
1195
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/syntax_error.rb
1196
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/tree_rewriter.rb
1197
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/variables_stack.rb
1198
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/lib/parser/version.rb
1199
- - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.0/parser.gemspec
1121
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/LICENSE.txt
1122
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/bin/ruby-parse
1123
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/bin/ruby-rewrite
1124
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/gauntlet_parser.rb
1125
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser.rb
1126
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/all.rb
1127
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/ast/node.rb
1128
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/ast/processor.rb
1129
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/base.rb
1130
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/builders/default.rb
1131
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/clobbering_error.rb
1132
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/color.rb
1133
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/context.rb
1134
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/current.rb
1135
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/current_arg_stack.rb
1136
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/deprecation.rb
1137
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/diagnostic.rb
1138
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/diagnostic/engine.rb
1139
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/lexer-F0.rb
1140
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/lexer-F1.rb
1141
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/lexer-strings.rb
1142
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/lexer/dedenter.rb
1143
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/lexer/explanation.rb
1144
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/lexer/literal.rb
1145
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/lexer/stack_state.rb
1146
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/macruby.rb
1147
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/max_numparam_stack.rb
1148
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/messages.rb
1149
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/meta.rb
1150
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/rewriter.rb
1151
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/ruby18.rb
1152
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/ruby19.rb
1153
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/ruby20.rb
1154
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/ruby21.rb
1155
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/ruby22.rb
1156
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/ruby23.rb
1157
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/ruby24.rb
1158
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/ruby25.rb
1159
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/ruby26.rb
1160
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/ruby27.rb
1161
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/ruby28.rb
1162
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/ruby30.rb
1163
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/ruby31.rb
1164
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/ruby32.rb
1165
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/ruby33.rb
1166
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/rubymotion.rb
1167
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/runner.rb
1168
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/runner/ruby_parse.rb
1169
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/runner/ruby_rewrite.rb
1170
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/source/buffer.rb
1171
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/source/comment.rb
1172
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/source/comment/associator.rb
1173
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/source/map.rb
1174
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/source/map/collection.rb
1175
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/source/map/condition.rb
1176
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/source/map/constant.rb
1177
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/source/map/definition.rb
1178
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/source/map/for.rb
1179
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/source/map/heredoc.rb
1180
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/source/map/index.rb
1181
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/source/map/keyword.rb
1182
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/source/map/method_definition.rb
1183
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/source/map/objc_kwarg.rb
1184
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/source/map/operator.rb
1185
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/source/map/rescue_body.rb
1186
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/source/map/send.rb
1187
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/source/map/ternary.rb
1188
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/source/map/variable.rb
1189
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/source/range.rb
1190
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/source/rewriter.rb
1191
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/source/rewriter/action.rb
1192
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/source/tree_rewriter.rb
1193
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/source/tree_rewriter/action.rb
1194
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/static_environment.rb
1195
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/syntax_error.rb
1196
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/tree_rewriter.rb
1197
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/variables_stack.rb
1198
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/lib/parser/version.rb
1199
+ - vendor/bundle/ruby/3.2.0/gems/parser-3.2.1.1/parser.gemspec
1200
1200
  - vendor/bundle/ruby/3.2.0/gems/pry-0.14.2/CHANGELOG.md
1201
1201
  - vendor/bundle/ruby/3.2.0/gems/pry-0.14.2/LICENSE
1202
1202
  - vendor/bundle/ruby/3.2.0/gems/pry-0.14.2/README.md
@@ -2364,33 +2364,34 @@ files:
2364
2364
  - vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/version.rb
2365
2365
  - vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/warning.rb
2366
2366
  - vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/yaml_duplication_checker.rb
2367
- - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/LICENSE.txt
2368
- - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/README.md
2369
- - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/Rakefile
2370
- - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar.rb
2371
- - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/base.rb
2372
- - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/calculators/length.rb
2373
- - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/calculators/smoothed_average.rb
2374
- - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/components/bar.rb
2375
- - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/components/percentage.rb
2376
- - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/components/rate.rb
2377
- - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/components/time.rb
2378
- - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/components/title.rb
2379
- - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/errors/invalid_progress_error.rb
2380
- - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/format/formatter.rb
2381
- - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/format/molecule.rb
2382
- - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/format/string.rb
2383
- - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/output.rb
2384
- - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/outputs/non_tty.rb
2385
- - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/outputs/null.rb
2386
- - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/outputs/tty.rb
2387
- - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/progress.rb
2388
- - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/refinements.rb
2389
- - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/refinements/enumerator.rb
2390
- - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/throttle.rb
2391
- - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/time.rb
2392
- - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/timer.rb
2393
- - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/version.rb
2367
+ - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/LICENSE.txt
2368
+ - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/README.md
2369
+ - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/Rakefile
2370
+ - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar.rb
2371
+ - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/base.rb
2372
+ - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/calculators/length.rb
2373
+ - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/components/bar.rb
2374
+ - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/components/percentage.rb
2375
+ - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/components/rate.rb
2376
+ - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/components/time.rb
2377
+ - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/components/title.rb
2378
+ - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/errors/invalid_progress_error.rb
2379
+ - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/format/formatter.rb
2380
+ - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/format/molecule.rb
2381
+ - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/format/string.rb
2382
+ - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/output.rb
2383
+ - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/outputs/non_tty.rb
2384
+ - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/outputs/null.rb
2385
+ - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/outputs/tty.rb
2386
+ - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/progress.rb
2387
+ - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/projector.rb
2388
+ - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/projectors/smoothed_average.rb
2389
+ - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/refinements.rb
2390
+ - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/refinements/progress_enumerator.rb
2391
+ - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/throttle.rb
2392
+ - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/time.rb
2393
+ - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/timer.rb
2394
+ - vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/version.rb
2394
2395
  - vendor/bundle/ruby/3.2.0/gems/stringio-3.0.5/README.md
2395
2396
  - vendor/bundle/ruby/3.2.0/gems/stringio-3.0.5/ext/stringio/Makefile
2396
2397
  - vendor/bundle/ruby/3.2.0/gems/stringio-3.0.5/ext/stringio/extconf.rb
@@ -2510,7 +2511,7 @@ files:
2510
2511
  - vendor/bundle/ruby/3.2.0/specifications/jaro_winkler-1.5.4.gemspec
2511
2512
  - vendor/bundle/ruby/3.2.0/specifications/method_source-1.0.0.gemspec
2512
2513
  - vendor/bundle/ruby/3.2.0/specifications/parallel-1.22.1.gemspec
2513
- - vendor/bundle/ruby/3.2.0/specifications/parser-3.2.1.0.gemspec
2514
+ - vendor/bundle/ruby/3.2.0/specifications/parser-3.2.1.1.gemspec
2514
2515
  - vendor/bundle/ruby/3.2.0/specifications/pry-0.14.2.gemspec
2515
2516
  - vendor/bundle/ruby/3.2.0/specifications/pry-byebug-3.10.1.gemspec
2516
2517
  - vendor/bundle/ruby/3.2.0/specifications/psych-5.1.0.gemspec
@@ -2522,7 +2523,7 @@ files:
2522
2523
  - vendor/bundle/ruby/3.2.0/specifications/rspec-mocks-3.12.3.gemspec
2523
2524
  - vendor/bundle/ruby/3.2.0/specifications/rspec-support-3.12.0.gemspec
2524
2525
  - vendor/bundle/ruby/3.2.0/specifications/rubocop-0.66.0.gemspec
2525
- - vendor/bundle/ruby/3.2.0/specifications/ruby-progressbar-1.12.0.gemspec
2526
+ - vendor/bundle/ruby/3.2.0/specifications/ruby-progressbar-1.13.0.gemspec
2526
2527
  - vendor/bundle/ruby/3.2.0/specifications/stringio-3.0.5.gemspec
2527
2528
  - vendor/bundle/ruby/3.2.0/specifications/typhoeus-1.4.0.gemspec
2528
2529
  - 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