cybrid_api_organization_ruby 0.62.68 → 0.63.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +2 -2
  3. data/README.md +6 -7
  4. data/cybrid_api_organization_ruby.gemspec +2 -2
  5. data/lib/cybrid_api_organization_ruby/api/organizations_organization_api.rb +2 -2
  6. data/lib/cybrid_api_organization_ruby/api_client.rb +2 -2
  7. data/lib/cybrid_api_organization_ruby/api_error.rb +2 -2
  8. data/lib/cybrid_api_organization_ruby/configuration.rb +2 -2
  9. data/lib/cybrid_api_organization_ruby/models/error_response_organization_model.rb +2 -2
  10. data/lib/cybrid_api_organization_ruby/models/organization_organization_model.rb +2 -2
  11. data/lib/cybrid_api_organization_ruby/models/patch_organization_organization_model.rb +2 -2
  12. data/lib/cybrid_api_organization_ruby/version.rb +3 -3
  13. data/lib/cybrid_api_organization_ruby.rb +2 -2
  14. data/spec/api/organizations_organization_api_spec.rb +2 -2
  15. data/spec/api_client_spec.rb +2 -2
  16. data/spec/configuration_spec.rb +2 -2
  17. data/spec/models/error_response_organization_model_spec.rb +2 -2
  18. data/spec/models/organization_organization_model_spec.rb +2 -2
  19. data/spec/models/patch_organization_organization_model_spec.rb +2 -2
  20. data/spec/spec_helper.rb +2 -2
  21. data/vendor/bundle/ruby/3.2.0/cache/ruby-progressbar-1.13.0.gem +0 -0
  22. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/byebug-11.1.3/gem_make.out +5 -5
  23. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/ffi-1.15.5/gem_make.out +5 -5
  24. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/jaro_winkler-1.5.4/gem_make.out +5 -5
  25. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/psych-5.1.0/gem_make.out +5 -5
  26. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/stringio-3.0.5/gem_make.out +5 -5
  27. 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
  28. 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
  29. 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
  30. data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/projector.rb +14 -0
  31. data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/projectors/smoothed_average.rb +71 -0
  32. data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/refinements/progress_enumerator.rb +28 -0
  33. data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/refinements.rb +1 -0
  34. data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/version.rb +3 -0
  35. data/vendor/bundle/ruby/3.2.0/specifications/{ruby-progressbar-1.12.0.gemspec → ruby-progressbar-1.13.0.gemspec} +4 -4
  36. metadata +32 -31
  37. data/vendor/bundle/ruby/3.2.0/cache/ruby-progressbar-1.12.0.gem +0 -0
  38. data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/calculators/smoothed_average.rb +0 -9
  39. data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/refinements/enumerator.rb +0 -23
  40. data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/refinements.rb +0 -1
  41. data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/version.rb +0 -3
  42. /data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.12.0 → ruby-progressbar-1.13.0}/LICENSE.txt +0 -0
  43. /data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.12.0 → ruby-progressbar-1.13.0}/README.md +0 -0
  44. /data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.12.0 → ruby-progressbar-1.13.0}/Rakefile +0 -0
  45. /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
  46. /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
  47. /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
  48. /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
  49. /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
  50. /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
  51. /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
  52. /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
  53. /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
  54. /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
  55. /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
  56. /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
  57. /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
  58. /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
  59. /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
  60. /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
  61. /data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.12.0 → ruby-progressbar-1.13.0}/lib/ruby-progressbar.rb +0 -0
@@ -9,12 +9,12 @@ creating extconf.h
9
9
  creating Makefile
10
10
 
11
11
  current directory: /home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c
12
- make DESTDIR\= sitearchdir\=./.gem.20230303-3789-odd8b6 sitelibdir\=./.gem.20230303-3789-odd8b6 clean
12
+ make DESTDIR\= sitearchdir\=./.gem.20230304-3796-aoyi9o sitelibdir\=./.gem.20230304-3796-aoyi9o clean
13
13
  make[1]: Entering directory '/home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c'
14
14
  make[1]: Leaving directory '/home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c'
15
15
 
16
16
  current directory: /home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c
17
- make DESTDIR\= sitearchdir\=./.gem.20230303-3789-odd8b6 sitelibdir\=./.gem.20230303-3789-odd8b6
17
+ make DESTDIR\= sitearchdir\=./.gem.20230304-3796-aoyi9o sitelibdir\=./.gem.20230304-3796-aoyi9o
18
18
  make[1]: Entering directory '/home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c'
19
19
  compiling AbstractMemory.c
20
20
  compiling ArrayType.c
@@ -43,12 +43,12 @@ linking shared-object ffi_c.so
43
43
  make[1]: Leaving directory '/home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c'
44
44
 
45
45
  current directory: /home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c
46
- make DESTDIR\= sitearchdir\=./.gem.20230303-3789-odd8b6 sitelibdir\=./.gem.20230303-3789-odd8b6 install
46
+ make DESTDIR\= sitearchdir\=./.gem.20230304-3796-aoyi9o sitelibdir\=./.gem.20230304-3796-aoyi9o install
47
47
  make[1]: Entering directory '/home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c'
48
- /usr/bin/install -c -m 0755 ffi_c.so ./.gem.20230303-3789-odd8b6
48
+ /usr/bin/install -c -m 0755 ffi_c.so ./.gem.20230304-3796-aoyi9o
49
49
  make[1]: Leaving directory '/home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c'
50
50
 
51
51
  current directory: /home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c
52
- make DESTDIR\= sitearchdir\=./.gem.20230303-3789-odd8b6 sitelibdir\=./.gem.20230303-3789-odd8b6 clean
52
+ make DESTDIR\= sitearchdir\=./.gem.20230304-3796-aoyi9o sitelibdir\=./.gem.20230304-3796-aoyi9o clean
53
53
  make[1]: Entering directory '/home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c'
54
54
  make[1]: Leaving directory '/home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.2.0/gems/ffi-1.15.5/ext/ffi_c'
@@ -3,12 +3,12 @@ current directory: /home/circleci/project/api-service-clients/api-platform-organ
3
3
  creating Makefile
4
4
 
5
5
  current directory: /home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.2.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler
6
- make DESTDIR\= sitearchdir\=./.gem.20230303-3789-tx4cnt sitelibdir\=./.gem.20230303-3789-tx4cnt clean
6
+ make DESTDIR\= sitearchdir\=./.gem.20230304-3796-xvoxat sitelibdir\=./.gem.20230304-3796-xvoxat clean
7
7
  make[1]: Entering directory '/home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.2.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler'
8
8
  make[1]: Leaving directory '/home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.2.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler'
9
9
 
10
10
  current directory: /home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.2.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler
11
- make DESTDIR\= sitearchdir\=./.gem.20230303-3789-tx4cnt sitelibdir\=./.gem.20230303-3789-tx4cnt
11
+ make DESTDIR\= sitearchdir\=./.gem.20230304-3796-xvoxat sitelibdir\=./.gem.20230304-3796-xvoxat
12
12
  make[1]: Entering directory '/home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.2.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler'
13
13
  compiling adj_matrix.c
14
14
  adj_matrix.c: In function ‘adj_matrix_default’:
@@ -63,12 +63,12 @@ linking shared-object jaro_winkler/jaro_winkler_ext.so
63
63
  make[1]: Leaving directory '/home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.2.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler'
64
64
 
65
65
  current directory: /home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.2.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler
66
- make DESTDIR\= sitearchdir\=./.gem.20230303-3789-tx4cnt sitelibdir\=./.gem.20230303-3789-tx4cnt install
66
+ make DESTDIR\= sitearchdir\=./.gem.20230304-3796-xvoxat sitelibdir\=./.gem.20230304-3796-xvoxat install
67
67
  make[1]: Entering directory '/home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.2.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler'
68
- /usr/bin/install -c -m 0755 jaro_winkler_ext.so ./.gem.20230303-3789-tx4cnt/jaro_winkler
68
+ /usr/bin/install -c -m 0755 jaro_winkler_ext.so ./.gem.20230304-3796-xvoxat/jaro_winkler
69
69
  make[1]: Leaving directory '/home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.2.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler'
70
70
 
71
71
  current directory: /home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.2.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler
72
- make DESTDIR\= sitearchdir\=./.gem.20230303-3789-tx4cnt sitelibdir\=./.gem.20230303-3789-tx4cnt clean
72
+ make DESTDIR\= sitearchdir\=./.gem.20230304-3796-xvoxat sitelibdir\=./.gem.20230304-3796-xvoxat clean
73
73
  make[1]: Entering directory '/home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.2.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler'
74
74
  make[1]: Leaving directory '/home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.2.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler'
@@ -5,7 +5,7 @@ checking for yaml_get_version() in -lyaml... yes
5
5
  creating Makefile
6
6
 
7
7
  current directory: /home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.2.0/gems/psych-5.1.0/ext/psych
8
- make DESTDIR\= sitearchdir\=./.gem.20230303-3789-1ztoug sitelibdir\=./.gem.20230303-3789-1ztoug clean
8
+ make DESTDIR\= sitearchdir\=./.gem.20230304-3796-uzvjxg sitelibdir\=./.gem.20230304-3796-uzvjxg clean
9
9
  make[1]: Entering directory '/home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.2.0/gems/psych-5.1.0/ext/psych'
10
10
  cd libyaml && make clean
11
11
  /bin/sh: 1: cd: can't cd to libyaml
@@ -13,7 +13,7 @@ make[1]: [Makefile:283: clean-so] Error 2 (ignored)
13
13
  make[1]: Leaving directory '/home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.2.0/gems/psych-5.1.0/ext/psych'
14
14
 
15
15
  current directory: /home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.2.0/gems/psych-5.1.0/ext/psych
16
- make DESTDIR\= sitearchdir\=./.gem.20230303-3789-1ztoug sitelibdir\=./.gem.20230303-3789-1ztoug
16
+ make DESTDIR\= sitearchdir\=./.gem.20230304-3796-uzvjxg sitelibdir\=./.gem.20230304-3796-uzvjxg
17
17
  make[1]: Entering directory '/home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.2.0/gems/psych-5.1.0/ext/psych'
18
18
  compiling psych.c
19
19
  compiling psych_emitter.c
@@ -24,13 +24,13 @@ linking shared-object psych.so
24
24
  make[1]: Leaving directory '/home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.2.0/gems/psych-5.1.0/ext/psych'
25
25
 
26
26
  current directory: /home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.2.0/gems/psych-5.1.0/ext/psych
27
- make DESTDIR\= sitearchdir\=./.gem.20230303-3789-1ztoug sitelibdir\=./.gem.20230303-3789-1ztoug install
27
+ make DESTDIR\= sitearchdir\=./.gem.20230304-3796-uzvjxg sitelibdir\=./.gem.20230304-3796-uzvjxg install
28
28
  make[1]: Entering directory '/home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.2.0/gems/psych-5.1.0/ext/psych'
29
- /usr/bin/install -c -m 0755 psych.so ./.gem.20230303-3789-1ztoug
29
+ /usr/bin/install -c -m 0755 psych.so ./.gem.20230304-3796-uzvjxg
30
30
  make[1]: Leaving directory '/home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.2.0/gems/psych-5.1.0/ext/psych'
31
31
 
32
32
  current directory: /home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.2.0/gems/psych-5.1.0/ext/psych
33
- make DESTDIR\= sitearchdir\=./.gem.20230303-3789-1ztoug sitelibdir\=./.gem.20230303-3789-1ztoug clean
33
+ make DESTDIR\= sitearchdir\=./.gem.20230304-3796-uzvjxg sitelibdir\=./.gem.20230304-3796-uzvjxg clean
34
34
  make[1]: Entering directory '/home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.2.0/gems/psych-5.1.0/ext/psych'
35
35
  cd libyaml && make clean
36
36
  /bin/sh: 1: cd: can't cd to libyaml
@@ -4,24 +4,24 @@ checking for rb_io_extract_modeenc() in ruby/io.h... yes
4
4
  creating Makefile
5
5
 
6
6
  current directory: /home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.2.0/gems/stringio-3.0.5/ext/stringio
7
- make DESTDIR\= sitearchdir\=./.gem.20230303-3789-sk4jah sitelibdir\=./.gem.20230303-3789-sk4jah clean
7
+ make DESTDIR\= sitearchdir\=./.gem.20230304-3796-he1az9 sitelibdir\=./.gem.20230304-3796-he1az9 clean
8
8
  make[1]: Entering directory '/home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.2.0/gems/stringio-3.0.5/ext/stringio'
9
9
  make[1]: Leaving directory '/home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.2.0/gems/stringio-3.0.5/ext/stringio'
10
10
 
11
11
  current directory: /home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.2.0/gems/stringio-3.0.5/ext/stringio
12
- make DESTDIR\= sitearchdir\=./.gem.20230303-3789-sk4jah sitelibdir\=./.gem.20230303-3789-sk4jah
12
+ make DESTDIR\= sitearchdir\=./.gem.20230304-3796-he1az9 sitelibdir\=./.gem.20230304-3796-he1az9
13
13
  make[1]: Entering directory '/home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.2.0/gems/stringio-3.0.5/ext/stringio'
14
14
  compiling stringio.c
15
15
  linking shared-object stringio.so
16
16
  make[1]: Leaving directory '/home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.2.0/gems/stringio-3.0.5/ext/stringio'
17
17
 
18
18
  current directory: /home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.2.0/gems/stringio-3.0.5/ext/stringio
19
- make DESTDIR\= sitearchdir\=./.gem.20230303-3789-sk4jah sitelibdir\=./.gem.20230303-3789-sk4jah install
19
+ make DESTDIR\= sitearchdir\=./.gem.20230304-3796-he1az9 sitelibdir\=./.gem.20230304-3796-he1az9 install
20
20
  make[1]: Entering directory '/home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.2.0/gems/stringio-3.0.5/ext/stringio'
21
- /usr/bin/install -c -m 0755 stringio.so ./.gem.20230303-3789-sk4jah
21
+ /usr/bin/install -c -m 0755 stringio.so ./.gem.20230304-3796-he1az9
22
22
  make[1]: Leaving directory '/home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.2.0/gems/stringio-3.0.5/ext/stringio'
23
23
 
24
24
  current directory: /home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.2.0/gems/stringio-3.0.5/ext/stringio
25
- make DESTDIR\= sitearchdir\=./.gem.20230303-3789-sk4jah sitelibdir\=./.gem.20230303-3789-sk4jah clean
25
+ make DESTDIR\= sitearchdir\=./.gem.20230304-3796-he1az9 sitelibdir\=./.gem.20230304-3796-he1az9 clean
26
26
  make[1]: Entering directory '/home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.2.0/gems/stringio-3.0.5/ext/stringio'
27
27
  make[1]: Leaving directory '/home/circleci/project/api-service-clients/api-platform-organization/ruby/vendor/bundle/ruby/3.2.0/gems/stringio-3.0.5/ext/stringio'
@@ -10,12 +10,29 @@ require 'ruby-progressbar/format/string'
10
10
  require 'ruby-progressbar/outputs/non_tty'
11
11
  require 'ruby-progressbar/outputs/tty'
12
12
  require 'ruby-progressbar/progress'
13
+ require 'ruby-progressbar/projector'
13
14
  require 'ruby-progressbar/timer'
14
15
 
15
16
  class ProgressBar
16
17
  class Base
17
18
  extend Forwardable
18
19
 
20
+ # rubocop:disable Layout/HeredocIndentation
21
+ SMOOTHING_DEPRECATION_WARNING = <<-HEREDOC.tr("\n", ' ')
22
+ WARNING: Passing the 'smoothing' option is deprecated and will be removed
23
+ in version 2.0. Please pass { projector: { type: 'smoothing', strength: 0.x }}.
24
+ For more information on why this change is happening, visit
25
+ https://github.com/jfelchner/ruby-progressbar/wiki/Upgrading
26
+ HEREDOC
27
+
28
+ RUNNING_AVERAGE_RATE_DEPRECATION_WARNING = <<-HEREDOC.tr("\n", ' ')
29
+ WARNING: Passing the 'running_average_rate' option is deprecated and will be removed
30
+ in version 2.0. Please pass { projector: { type: 'smoothing', strength: 0.x }}.
31
+ For more information on why this change is happening, visit
32
+ https://github.com/jfelchner/ruby-progressbar/wiki/Upgrading
33
+ HEREDOC
34
+ # rubocop:enable Layout/HeredocIndentation
35
+
19
36
  def_delegators :output,
20
37
  :clear,
21
38
  :log,
@@ -26,15 +43,34 @@ class Base
26
43
  :total
27
44
 
28
45
  def initialize(options = {}) # rubocop:disable Metrics/AbcSize
46
+ options[:projector] ||= {}
47
+
29
48
  self.autostart = options.fetch(:autostart, true)
30
49
  self.autofinish = options.fetch(:autofinish, true)
31
50
  self.finished = false
32
51
 
33
52
  self.timer = Timer.new(options)
53
+ projector_opts = if options[:projector].any?
54
+ options[:projector]
55
+ elsif options[:smoothing]
56
+ warn SMOOTHING_DEPRECATION_WARNING
57
+
58
+ { :strength => options[:smoothing] }
59
+ elsif options[:running_average_rate]
60
+ warn RUNNING_AVERAGE_RATE_DEPRECATION_WARNING
61
+
62
+ { :strength => options[:smoothing] }
63
+ else
64
+ {}
65
+ end
66
+ self.projector = Projector.
67
+ from_type(options[:projector][:type]).
68
+ new(projector_opts)
34
69
  self.progressable = Progress.new(options)
35
70
 
36
- options = options.merge(:progress => progressable,
37
- :timer => timer)
71
+ options = options.merge(:progress => progressable,
72
+ :projector => projector,
73
+ :timer => timer)
38
74
 
39
75
  self.title_component = Components::Title.new(options)
40
76
  self.bar_component = Components::Bar.new(options)
@@ -79,6 +115,7 @@ class Base
79
115
  output.with_refresh do
80
116
  self.finished = false
81
117
  progressable.reset
118
+ projector.reset
82
119
  timer.reset
83
120
  end
84
121
  end
@@ -174,6 +211,7 @@ class Base
174
211
  protected
175
212
 
176
213
  attr_accessor :output,
214
+ :projector,
177
215
  :timer,
178
216
  :progressable,
179
217
  :title_component,
@@ -188,6 +226,7 @@ class Base
188
226
  def update_progress(*args)
189
227
  output.with_refresh do
190
228
  progressable.__send__(*args)
229
+ projector.__send__(*args)
191
230
  timer.stop if finished?
192
231
  end
193
232
  end
@@ -19,8 +19,9 @@ class Time
19
19
  }.freeze
20
20
 
21
21
  def initialize(options = {})
22
- self.timer = options[:timer]
23
- self.progress = options[:progress]
22
+ self.timer = options[:timer]
23
+ self.progress = options[:progress]
24
+ self.projector = options[:projector]
24
25
  end
25
26
 
26
27
  def estimated_with_label(out_of_bounds_time_format = nil)
@@ -57,7 +58,8 @@ class Time
57
58
  protected
58
59
 
59
60
  attr_accessor :timer,
60
- :progress
61
+ :progress,
62
+ :projector
61
63
 
62
64
  private
63
65
 
@@ -90,9 +92,9 @@ class Time
90
92
  end
91
93
 
92
94
  def estimated_seconds_remaining
93
- return if progress.unknown? || progress.none? || timer.stopped? || timer.reset?
95
+ return if progress.unknown? || projector.none? || progress.none? || timer.stopped? || timer.reset?
94
96
 
95
- (timer.elapsed_seconds * ((progress.total / progress.running_average) - 1)).round
97
+ (timer.elapsed_seconds * ((progress.total / projector.projection) - 1)).round
96
98
  end
97
99
  end
98
100
  end
@@ -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,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.68
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
@@ -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
@@ -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
@@ -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'