Permalink
Switch branches/tags
Commits on Oct 1, 2012
  1. Use io/console where available.

    Using io/console does not require calling external binaries so this
    solves issue #20 (slow performance) where the library is available.
    For MRI it was added in version 1.9.3.
    committed Oct 1, 2012
  2. Update version in Gemfile.lock

    Running bundle updates the file as the version number is outdated in
    git.
    committed Oct 1, 2012
Commits on Aug 28, 2012
  1. Merge branch 'hotfix/v1.0.1'

    * hotfix/v1.0.1:
      Version Bump
      Add Ruby 1.8.7 back into Travis CI build
      Fixing string slice bug
    jfelchner committed Aug 28, 2012
  2. Version Bump

    jfelchner committed Aug 28, 2012
  3. Merge remote-tracking branch 'zole/master' into hotfix/v1.0.1

    * zole/master:
      Fixing string slice bug
    jfelchner committed Aug 28, 2012
Commits on Aug 26, 2012
  1. Fixing string slice bug

    zole committed Aug 26, 2012
Commits on Aug 18, 2012
  1. Merge branch 'release/v1.0.0'

    * release/v1.0.0: (195 commits)
      Remove 1.8 from the Ruby Travis builds
      Add a spec for the %% molecule
      Fix bug where a progress bar with an integrated percentage miscalculated the space it was taking up
      Fix more README typos
      Set the default bar mark to '='
      Make sure to blow up if a molecule is not value
      It's not sufficient to say that a molecule is 'a percent sign followed by something that isn't a percent sign', we need to force it to be followed by a letter
      Fix   problems in the README
      Update the formatting to make sure the %b and %i formatting molecules can coexist with each other
      Now that we can use the %b and %i flags, we can create a mirrored bar simply by using a format string of '%i%b' and therefore this extra code is no longer necessary
      Make sure that when the timer is started, then stopped, then started again, it should not register as `stopped?`
      Allow %i to be used display the incomplete space of the bar
      Update `ProgressBar::Formatter#format` to reset the bar style to default if it is called without passing in a format string
      Allow the %b molecule to be used to display the bar only without incomplete space
      Update the %B format test to be more reasonable
      Make the %w molecule only return the bar with the percentage instead of including empty space
      Remove the `length` argument when calling `ProgressBar::Components::Bar#to_s` and instead set the attribute
      Rename `ProgressBar::Formatter#bar` to `#complete_bar`
      Change the %b (bar with percentage) format molecule to %w
      Swap the meaning of the %b and %B molecules
      ...
    
    Conflicts:
    	lib/progressbar.rb
    	ruby-progressbar.gemspec
    	test.rb
    jfelchner committed Aug 18, 2012
Commits on Aug 4, 2012
  1. Fix bug where a progress bar with an integrated percentage miscalcula…

    …ted the space it was taking up
    
    The problem was from the fact that even though a bar may have a completed length of '1', the integrated percentage bar would still be taking up 3 spaces ' 0 ' which caused the calculations for the rest of the bar (specifically the negative space flag) to be off.
    jfelchner committed Aug 4, 2012
Commits on Aug 2, 2012
  1. Merge pull request #17 from DarthSim/master

    fix @terminal_width and bar_width calculation
    jfelchner committed Aug 2, 2012
Commits on Jul 30, 2012
  1. Fix more README typos

    jfelchner committed Jul 30, 2012
  2. Merge branch 'release/v0.11.0'

    * release/v0.11.0:
      Version Bump
    jfelchner committed Jul 30, 2012
  3. It's not sufficient to say that a molecule is 'a percent sign followe…

    …d by something that isn't a percent sign', we need to force it to be followed by a letter
    jfelchner committed Jul 30, 2012
  4. Merge branch 'allow-minimalist-bar-formats' into development

    * allow-minimalist-bar-formats:
      Update the formatting to make sure the %b and %i formatting molecules can coexist with each other
      Now that we can use the %b and %i flags, we can create a mirrored bar simply by using a format string of '%i%b' and therefore this extra code is no longer necessary
      Allow %i to be used display the incomplete space of the bar
      Allow the %b molecule to be used to display the bar only without incomplete space
      Update the %B format test to be more reasonable
      Make the %w molecule only return the bar with the percentage instead of including empty space
      Remove the `length` argument when calling `ProgressBar::Components::Bar#to_s` and instead set the attribute
      Rename `ProgressBar::Formatter#bar` to `#complete_bar`
      Change the %b (bar with percentage) format molecule to %w
      Swap the meaning of the %b and %B molecules
    
    * commit 'ee8c0e9704a0d0da93c84a3d4eeb109de986469f':
      Update the formatting to make sure the %b and %i formatting molecules can coexist with each other
      Now that we can use the %b and %i flags, we can create a mirrored bar simply by using a format string of '%i%b' and therefore this extra code is no longer necessary
      Allow %i to be used display the incomplete space of the bar
      Allow the %b molecule to be used to display the bar only without incomplete space
      Update the %B format test to be more reasonable
      Make the %w molecule only return the bar with the percentage instead of including empty space
      Remove the `length` argument when calling `ProgressBar::Components::Bar#to_s` and instead set the attribute
      Rename `ProgressBar::Formatter#bar` to `#complete_bar`
      Change the %b (bar with percentage) format molecule to %w
      Swap the meaning of the %b and %B molecules
    jfelchner committed Jul 30, 2012
  5. Update the formatting to make sure the %b and %i formatting molecules…

    … can coexist with each other
    jfelchner committed Jul 30, 2012
  6. Now that we can use the %b and %i flags, we can create a mirrored bar…

    … simply by using a format string of '%i%b' and therefore this extra code is no longer necessary
    jfelchner committed Jul 30, 2012
  7. Make sure that when the timer is started, then stopped, then started …

    …again, it should not register as `stopped?`
    jfelchner committed Jul 30, 2012
  8. Update `ProgressBar::Formatter#format` to reset the bar style to defa…

    …ult if it is called without passing in a format string
    jfelchner committed Jul 30, 2012
  9. Make the %w molecule only return the bar with the percentage instead …

    …of including empty space
    jfelchner committed Jul 30, 2012
  10. Remove the `length` argument when calling `ProgressBar::Components::B…

    …ar#to_s` and instead set the attribute
    jfelchner committed Jul 30, 2012
  11. There was a typo in the example formats in the README. The literal pe…

    …rcent sign needs to be included in the format string
    jfelchner committed Jul 30, 2012