arsh 1.1.6 → 1.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/bin/arsh +2 -2
  2. data/libs/version.rb +1 -1
  3. metadata +3 -3
data/bin/arsh CHANGED
@@ -40,7 +40,7 @@ end
40
40
  # Builtin commands
41
41
 
42
42
  module ArshCommands
43
- INTHIST = [[]]
43
+ INTHIST = []
44
44
  def internal_history
45
45
  @internal_history
46
46
  end
@@ -133,7 +133,7 @@ end
133
133
  begin
134
134
  ArshCommands::INTHIST << File.open("#{ENV['HOME']}/.arsh_history").readlines[0..(ENV['HIST_COUNT'].to_i - 1)]
135
135
  rescue
136
- ArshCommands::INTHIST
136
+ ArshCommands::INTHIST << []
137
137
  end
138
138
  ArshCommands::INTHIST[0].map { |x| Readline::HISTORY.push(x.gsub(/^\[.*\] /,'').strip) }
139
139
 
@@ -1,3 +1,3 @@
1
1
  module Arsh
2
- VERSION = "1.1.6"
2
+ VERSION = "1.1.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arsh
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.6
4
+ version: 1.1.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -15,7 +15,7 @@ date: 2012-01-20 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rb-readline
18
- requirement: &7574140 !ruby/object:Gem::Requirement
18
+ requirement: &7590800 !ruby/object:Gem::Requirement
19
19
  none: false
20
20
  requirements:
21
21
  - - ! '>='
@@ -23,7 +23,7 @@ dependencies:
23
23
  version: '0'
24
24
  type: :runtime
25
25
  prerelease: false
26
- version_requirements: *7574140
26
+ version_requirements: *7590800
27
27
  description: Provides a shell that can run pure Ruby code as well as ordinary linux
28
28
  commands.
29
29
  email: