cybrid_api_organization_ruby 0.62.65 → 0.62.66
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/README.md +5 -5
- data/cybrid_api_organization_ruby.gemspec +1 -1
- data/lib/cybrid_api_organization_ruby/api/organizations_organization_api.rb +1 -1
- data/lib/cybrid_api_organization_ruby/api_client.rb +1 -1
- data/lib/cybrid_api_organization_ruby/api_error.rb +1 -1
- data/lib/cybrid_api_organization_ruby/configuration.rb +1 -1
- data/lib/cybrid_api_organization_ruby/models/error_response_organization_model.rb +1 -1
- data/lib/cybrid_api_organization_ruby/models/organization_organization_model.rb +1 -1
- data/lib/cybrid_api_organization_ruby/models/patch_organization_organization_model.rb +1 -1
- data/lib/cybrid_api_organization_ruby/version.rb +2 -2
- data/lib/cybrid_api_organization_ruby.rb +1 -1
- data/spec/api/organizations_organization_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/error_response_organization_model_spec.rb +1 -1
- data/spec/models/organization_organization_model_spec.rb +1 -1
- data/spec/models/patch_organization_organization_model_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- data/vendor/bundle/ruby/3.2.0/cache/ruby-progressbar-1.12.0.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/byebug-11.1.3/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/ffi-1.15.5/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/jaro_winkler-1.5.4/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/psych-5.1.0/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/stringio-3.0.5/gem_make.out +5 -5
- 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
- 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
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/calculators/smoothed_average.rb +9 -0
- 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
- 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
- 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
- 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
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/format/molecule.rb +61 -0
- 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
- 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
- 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
- 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
- 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
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar/version.rb +3 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.12.0/lib/ruby-progressbar.rb +12 -0
- data/vendor/bundle/ruby/3.2.0/specifications/{ruby-progressbar-1.11.0.gemspec → ruby-progressbar-1.12.0.gemspec} +6 -6
- metadata +30 -32
- data/vendor/bundle/ruby/3.2.0/cache/ruby-progressbar-1.11.0.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/calculators/running_average.rb +0 -9
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/components.rb +0 -5
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/format/molecule.rb +0 -60
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/format.rb +0 -3
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/version.rb +0 -3
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar.rb +0 -22
- data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.11.0 → ruby-progressbar-1.12.0}/LICENSE.txt +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.11.0 → ruby-progressbar-1.12.0}/README.md +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/{ruby-progressbar-1.11.0 → ruby-progressbar-1.12.0}/Rakefile +0 -0
- 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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
|
@@ -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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|