cybrid_api_id_ruby 0.62.65 → 0.62.66

Sign up to get free protection for your applications and to get access to all the features.
Files changed (76) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +2 -2
  3. data/README.md +5 -5
  4. data/cybrid_api_id_ruby.gemspec +1 -1
  5. data/lib/cybrid_api_id_ruby/api/bank_applications_idp_api.rb +1 -1
  6. data/lib/cybrid_api_id_ruby/api/customer_tokens_idp_api.rb +1 -1
  7. data/lib/cybrid_api_id_ruby/api/organization_applications_idp_api.rb +1 -1
  8. data/lib/cybrid_api_id_ruby/api_client.rb +1 -1
  9. data/lib/cybrid_api_id_ruby/api_error.rb +1 -1
  10. data/lib/cybrid_api_id_ruby/configuration.rb +1 -1
  11. data/lib/cybrid_api_id_ruby/models/application_idp_model.rb +1 -1
  12. data/lib/cybrid_api_id_ruby/models/application_list_idp_model.rb +1 -1
  13. data/lib/cybrid_api_id_ruby/models/application_with_secret_all_of_idp_model.rb +1 -1
  14. data/lib/cybrid_api_id_ruby/models/application_with_secret_idp_model.rb +1 -1
  15. data/lib/cybrid_api_id_ruby/models/customer_token_idp_model.rb +1 -1
  16. data/lib/cybrid_api_id_ruby/models/post_bank_application_idp_model.rb +1 -1
  17. data/lib/cybrid_api_id_ruby/models/post_customer_token_idp_model.rb +1 -1
  18. data/lib/cybrid_api_id_ruby/models/post_organization_application_idp_model.rb +1 -1
  19. data/lib/cybrid_api_id_ruby/version.rb +2 -2
  20. data/lib/cybrid_api_id_ruby.rb +1 -1
  21. data/spec/api/bank_applications_idp_api_spec.rb +1 -1
  22. data/spec/api/customer_tokens_idp_api_spec.rb +1 -1
  23. data/spec/api/organization_applications_idp_api_spec.rb +1 -1
  24. data/spec/api_client_spec.rb +1 -1
  25. data/spec/configuration_spec.rb +1 -1
  26. data/spec/models/application_idp_model_spec.rb +1 -1
  27. data/spec/models/application_list_idp_model_spec.rb +1 -1
  28. data/spec/models/application_with_secret_all_of_idp_model_spec.rb +1 -1
  29. data/spec/models/application_with_secret_idp_model_spec.rb +1 -1
  30. data/spec/models/customer_token_idp_model_spec.rb +1 -1
  31. data/spec/models/post_bank_application_idp_model_spec.rb +1 -1
  32. data/spec/models/post_customer_token_idp_model_spec.rb +1 -1
  33. data/spec/models/post_organization_application_idp_model_spec.rb +1 -1
  34. data/spec/spec_helper.rb +1 -1
  35. data/vendor/bundle/ruby/3.2.0/cache/ruby-progressbar-1.12.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.11.0 → ruby-progressbar-1.12.0}/lib/ruby-progressbar/base.rb +36 -24
  42. data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.11.0 → ruby-progressbar-1.12.0}/lib/ruby-progressbar/calculators/length.rb +0 -2
  43. data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/calculators/smoothed_average.rb +9 -0
  44. data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.11.0 → ruby-progressbar-1.12.0}/lib/ruby-progressbar/components/percentage.rb +1 -3
  45. data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.11.0 → ruby-progressbar-1.12.0}/lib/ruby-progressbar/components/rate.rb +3 -7
  46. data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.11.0 → ruby-progressbar-1.12.0}/lib/ruby-progressbar/components/time.rb +27 -29
  47. data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.11.0 → ruby-progressbar-1.12.0}/lib/ruby-progressbar/format/formatter.rb +1 -1
  48. data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/format/molecule.rb +61 -0
  49. data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.11.0 → ruby-progressbar-1.12.0}/lib/ruby-progressbar/format/string.rb +2 -0
  50. data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.11.0 → ruby-progressbar-1.12.0}/lib/ruby-progressbar/output.rb +3 -0
  51. data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.11.0 → ruby-progressbar-1.12.0}/lib/ruby-progressbar/progress.rb +21 -9
  52. data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.11.0 → ruby-progressbar-1.12.0}/lib/ruby-progressbar/time.rb +3 -5
  53. data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.11.0 → ruby-progressbar-1.12.0}/lib/ruby-progressbar/timer.rb +6 -0
  54. data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/version.rb +3 -0
  55. data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar.rb +12 -0
  56. data/vendor/bundle/ruby/3.2.0/specifications/{ruby-progressbar-1.11.0.gemspec → ruby-progressbar-1.12.0.gemspec} +6 -6
  57. metadata +30 -32
  58. data/vendor/bundle/ruby/3.2.0/cache/ruby-progressbar-1.11.0.gem +0 -0
  59. data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/calculators/running_average.rb +0 -9
  60. data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/components.rb +0 -5
  61. data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/format/molecule.rb +0 -60
  62. data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/format.rb +0 -3
  63. data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/version.rb +0 -3
  64. data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar.rb +0 -22
  65. data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.11.0 → ruby-progressbar-1.12.0}/LICENSE.txt +0 -0
  66. data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.11.0 → ruby-progressbar-1.12.0}/README.md +0 -0
  67. data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.11.0 → ruby-progressbar-1.12.0}/Rakefile +0 -0
  68. data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.11.0 → ruby-progressbar-1.12.0}/lib/ruby-progressbar/components/bar.rb +22 -22
  69. /data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.11.0 → ruby-progressbar-1.12.0}/lib/ruby-progressbar/components/title.rb +0 -0
  70. /data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.11.0 → ruby-progressbar-1.12.0}/lib/ruby-progressbar/errors/invalid_progress_error.rb +0 -0
  71. /data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.11.0 → ruby-progressbar-1.12.0}/lib/ruby-progressbar/outputs/non_tty.rb +0 -0
  72. /data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.11.0 → ruby-progressbar-1.12.0}/lib/ruby-progressbar/outputs/null.rb +0 -0
  73. /data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.11.0 → ruby-progressbar-1.12.0}/lib/ruby-progressbar/outputs/tty.rb +0 -0
  74. /data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.11.0 → ruby-progressbar-1.12.0}/lib/ruby-progressbar/refinements/enumerator.rb +0 -0
  75. /data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.11.0 → ruby-progressbar-1.12.0}/lib/ruby-progressbar/refinements.rb +0 -0
  76. /data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.11.0 → ruby-progressbar-1.12.0}/lib/ruby-progressbar/throttle.rb +0 -0
@@ -1,60 +0,0 @@
1
- class ProgressBar
2
- module Format
3
- class Molecule
4
- MOLECULES = {
5
- :t => [:title_comp, :title],
6
- :T => [:title_comp, :title],
7
- :c => [:progressable, :progress],
8
- :C => [:progressable, :total],
9
- :u => [:progressable, :total_with_unknown_indicator],
10
- :p => [:percentage, :percentage],
11
- :P => [:percentage, :percentage_with_precision],
12
- :j => [:percentage, :justified_percentage],
13
- :J => [:percentage, :justified_percentage_with_precision],
14
- :a => [:time, :elapsed_with_label],
15
- :e => [:time, :estimated_with_unknown_oob],
16
- :E => [:time, :estimated_with_friendly_oob],
17
- :f => [:time, :estimated_with_no_oob],
18
- :B => [:bar, :complete_bar],
19
- :b => [:bar, :bar],
20
- :W => [:bar, :complete_bar_with_percentage],
21
- :w => [:bar, :bar_with_percentage],
22
- :i => [:bar, :incomplete_space],
23
- :r => [:rate, :rate_of_change],
24
- :R => [:rate, :rate_of_change_with_precision]
25
- }.freeze
26
-
27
- BAR_MOLECULES = %w{W w B b i}.freeze
28
-
29
- attr_accessor :key,
30
- :method_name
31
-
32
- def initialize(letter)
33
- self.key = letter
34
- self.method_name = MOLECULES.fetch(key.to_sym)
35
- end
36
-
37
- def bar_molecule?
38
- BAR_MOLECULES.include? key
39
- end
40
-
41
- def non_bar_molecule?
42
- !bar_molecule?
43
- end
44
-
45
- def full_key
46
- "%#{key}"
47
- end
48
-
49
- def lookup_value(environment, length = 0)
50
- component = environment.__send__(method_name[0])
51
-
52
- if bar_molecule?
53
- component.__send__(method_name[1], length).to_s
54
- else
55
- component.__send__(method_name[1]).to_s
56
- end
57
- end
58
- end
59
- end
60
- end
@@ -1,3 +0,0 @@
1
- require 'ruby-progressbar/format/molecule'
2
- require 'ruby-progressbar/format/formatter'
3
- require 'ruby-progressbar/format/string'
@@ -1,3 +0,0 @@
1
- class ProgressBar
2
- VERSION = '1.11.0'.freeze
3
- end
@@ -1,22 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'ruby-progressbar/output'
4
- require 'ruby-progressbar/outputs/tty'
5
- require 'ruby-progressbar/outputs/non_tty'
6
- require 'ruby-progressbar/timer'
7
- require 'ruby-progressbar/progress'
8
- require 'ruby-progressbar/throttle'
9
- require 'ruby-progressbar/calculators/length'
10
- require 'ruby-progressbar/calculators/running_average'
11
- require 'ruby-progressbar/components'
12
- require 'ruby-progressbar/format'
13
- require 'ruby-progressbar/base'
14
- require 'ruby-progressbar/refinements' if Module.
15
- private_instance_methods.
16
- include?(:using)
17
-
18
- class ProgressBar
19
- def self.create(*args)
20
- ProgressBar::Base.new(*args)
21
- end
22
- end
@@ -32,22 +32,6 @@ class Bar
32
32
  end
33
33
  end
34
34
 
35
- private
36
-
37
- def integrated_percentage_complete_string
38
- return standard_complete_string if completed_length < 5
39
-
40
- " #{progress.percentage_completed} ".to_s.center(completed_length, progress_mark)
41
- end
42
-
43
- def standard_complete_string
44
- progress_mark * completed_length
45
- end
46
-
47
- def incomplete_string
48
- remainder_mark * (length - completed_length)
49
- end
50
-
51
35
  def bar(length)
52
36
  self.length = length
53
37
 
@@ -66,12 +50,6 @@ class Bar
66
50
  to_s(:format => :integrated_percentage)
67
51
  end
68
52
 
69
- def unknown_string
70
- unknown_frame_string = unknown_progress_frame * ((length / upa_steps.size) + 2)
71
-
72
- unknown_frame_string[0, length]
73
- end
74
-
75
53
  def incomplete_space(length)
76
54
  self.length = length
77
55
 
@@ -88,6 +66,28 @@ class Bar
88
66
  integrated_percentage_complete_string
89
67
  end
90
68
 
69
+ private
70
+
71
+ def integrated_percentage_complete_string
72
+ return standard_complete_string if completed_length < 5
73
+
74
+ " #{progress.percentage_completed} ".to_s.center(completed_length, progress_mark)
75
+ end
76
+
77
+ def standard_complete_string
78
+ progress_mark * completed_length
79
+ end
80
+
81
+ def incomplete_string
82
+ remainder_mark * (length - completed_length)
83
+ end
84
+
85
+ def unknown_string
86
+ unknown_frame_string = unknown_progress_frame * ((length / upa_steps.size) + 2)
87
+
88
+ unknown_frame_string[0, length]
89
+ end
90
+
91
91
  def completed_length
92
92
  (length * progress.percentage_completed / 100).floor
93
93
  end