liberator 0.1.1 → 0.1.2

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.
Files changed (2) hide show
  1. data/lib/liberator/controller.rb +3 -0
  2. metadata +1 -1
@@ -2,6 +2,7 @@ module Liberator
2
2
  class Controller
3
3
  def initialize(view=nil)
4
4
  @view = view
5
+ @view.update_status_bar "Analyzing #{Dir.pwd}..." unless @view.nil?
5
6
  @directory = Directory.new Dir.pwd
6
7
  render
7
8
  end
@@ -25,10 +26,12 @@ module Liberator
25
26
  render
26
27
  when 10
27
28
  if File.directory? @directory.selected_entry[:path]
29
+ @view.update_status_bar "Analyzing #{@directory.selected_entry[:path]}..." unless @view.nil?
28
30
  @directory = Directory.new @directory.selected_entry[:path]
29
31
  render
30
32
  end
31
33
  when 'h'
34
+ @view.update_status_bar "Analyzing #{File.expand_path(@directory.path + '/..')}..." unless @view.nil?
32
35
  @directory = @directory.parent
33
36
  render
34
37
  when 'x'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: liberator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: