Module: RubyProgress
- Defined in:
- lib/ruby-progress.rb,
lib/ruby-progress/fill.rb,
lib/ruby-progress/worm.rb,
lib/ruby-progress/utils.rb,
lib/ruby-progress/daemon.rb,
lib/ruby-progress/ripple.rb,
lib/ruby-progress/version.rb,
lib/ruby-progress/fill_cli.rb,
lib/ruby-progress/output_capture.rb,
lib/ruby-progress/cli/fill_options.rb
Defined Under Namespace
Modules: Daemon, FillCLI, StringExtensions, Utils Classes: Fill, OutputCapture, Ripple, Worm
Constant Summary collapse
- COLORS =
Color definitions for terminal output
{ 'red' => "\e[31m", 'green' => "\e[32m", 'yellow' => "\e[33m", 'blue' => "\e[34m", 'magenta' => "\e[35m", 'cyan' => "\e[36m", 'white' => "\e[37m", 'dark_red' => "\e[31;1m", 'dark_green' => "\e[32;1m", 'dark_yellow' => "\e[33;1m", 'dark_blue' => "\e[34;1m", 'dark_magenta' => "\e[35;1m", 'dark_cyan' => "\e[36;1m", 'dark_white' => "\e[37;1m", 'light_red' => "\e[31;2m", 'light_green' => "\e[32;2m", 'light_yellow' => "\e[33;2m", 'light_blue' => "\e[34;2m", 'light_magenta' => "\e[35;2m", 'light_cyan' => "\e[36;2m", 'light_white' => "\e[37;2m", 'reset' => "\e[0m" }.freeze
- INDICATORS =
Spinner indicator definitions
{ arc: %w[◜ ◠ ◝ ◞ ◡ ◟], arrow: %w[← ↖ ↑ ↗ → ↘ ↓ ↙], block_2: %w[▌ ▀ ▐ ▄], block_1: %w[▖▖▖ ▘▖▖ ▖▘▖ ▖▖▘], bounce: %w[⠁ ⠂ ⠄ ⡀ ⢀ ⠠ ⠐ ⠈], classic: ['|', '/', '—', '\\'], dots: %w[⠋ ⠙ ⠹ ⠸ ⠼ ⠴ ⠦ ⠧ ⠇ ⠏], dots_2: %w[⣾ ⣽ ⣻ ⢿ ⡿ ⣟ ⣯ ⣷], dots_3: %w[⠋ ⠙ ⠚ ⠞ ⠖ ⠦ ⠴ ⠲ ⠳ ⠓], dots_4: %w[⢹ ⢺ ⢼ ⣸ ⣇ ⡧ ⡗ ⡏], ellipsis: ['. ', '.. ', '... ', '....'], pipe: %w[┤ ┘ ┴ └ ├ ┌ ┬ ┐], pulse: %w[⎺ ⎻ ⎼ ⎽ ⎼ ⎻], pulse_2: %w[▁ ▃ ▅ ▆ ▇ █ ▇ ▆ ▅ ▃], pulse_3: %w[▉ ▊ ▋ ▌ ▍ ▎ ▏ ▎ ▍ ▌ ▋ ▊ ▉], pulse_4: %w[- = ≡ = -], o: %w[Ooo oOo ooO], spin: %w[◴ ◷ ◶ ◵], spin_2: %w[◐ ◓ ◑ ◒], spin_3: %w[◰ ◳ ◲ ◱], toggle: %w[■ □ ▪ ▫], triangle: %w[◢ ◣ ◤ ◥], twinkle: %w[⢄ ⢂ ⢁ ⡁ ⡈ ⡐ ⡠] }.freeze
- VERSION =
Main gem version
'1.3.6'- WORM_VERSION =
Component-specific versions (patch bumps)
'1.1.6'- TWIRL_VERSION =
'1.1.6'- RIPPLE_VERSION =
'1.1.6'- FILL_VERSION =
'1.0.6'