shells 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8107e171ea8878e4410954f7fe5fb03ceba24450
4
- data.tar.gz: 8a2d3bdcf0045086dc751dd8a7b4ca0b27973ecd
3
+ metadata.gz: 147247ecc10acf0bc5a30530bb33c8d23b259277
4
+ data.tar.gz: 646e587292ceda82f317804dd1ab48e935b8bcd6
5
5
  SHA512:
6
- metadata.gz: 6da6c26eba4376e53d591ae809aea43e5c1ab2270da34f64b835f0cbfd4110b3c9616612759b506ca7438fa5de8dca70e002b4e551474f42f62bb9a512b7a143
7
- data.tar.gz: e6140bc438d7ef6bf811c33cdfa83aaa1953633d850674c52c8b93603b4eb3526f0ba1ce751564ff4081d86a0aaf9957704eb7ea70f0a14aad3d4a64b433a27d
6
+ metadata.gz: 58238a7501614a39df8d6d7d6d399acb6d68336a92844417431414a47375da26dce6f2397fa2756597531656b6ebab390fe895c741422486bd4e97f0ffe9eaa0
7
+ data.tar.gz: df13917a33407b1860274f9f148197e437689e60b852765916c4aff49f949cd926bfe9cd5284555b4de58c3b77c8932f533ab9777201aa5b702e687feb44ccad
@@ -165,7 +165,7 @@ module Shells
165
165
  private
166
166
 
167
167
  def command_match(command)
168
- p = regex_escape options[:prompt]
168
+ p = prompt_match.source[0...-7] # trim off [ \t]*$
169
169
  c = regex_escape command
170
170
  /\A(?:#{p}\s*)?#{c}[ \t]*\z/
171
171
  end
@@ -1,3 +1,3 @@
1
1
  module Shells
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shells
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Beau Barker
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-02-04 00:00:00.000000000 Z
11
+ date: 2018-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: net-ssh
@@ -182,7 +182,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
182
182
  version: '0'
183
183
  requirements: []
184
184
  rubyforge_project:
185
- rubygems_version: 2.6.11
185
+ rubygems_version: 2.6.13
186
186
  signing_key:
187
187
  specification_version: 4
188
188
  summary: A set of simple shells for interacting with other devices.