yap-shell 0.7.0 → 0.7.1

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: b745bf1643f4cc00a8863cd3bd0ea4a418f1404a
4
- data.tar.gz: 0db3fb4d29ec34e83176c5acb7c39f27106ec027
3
+ metadata.gz: 5267336e3bb3562e35623338ad4f06984f507508
4
+ data.tar.gz: c77fc549d91212039744e7ce425f8809edcec81e
5
5
  SHA512:
6
- metadata.gz: ac7bb1a89d06d54b01084d9ac30d4603e2d383f8f294b24470749aa9946cd8cb9bb0693a24ff05828ae14a1392266d782fa4a173ea09773ab36f3a1cfbfca754
7
- data.tar.gz: 12347f2b492455fc8b9068c229cc8efae97bdac7bafaecc5faf343ab7d4cd02040a796c3d291c92879c86a7dfde549bbed0e3603720b01ca68e52dc1fef4d3ce
6
+ metadata.gz: ae91a30734b05b8202d98f7b66976a08a91ded7e0390f995a8925f48f37361f2b4aa23490de607e19a1909832dec5f6c8080cc5c2a46f91261ad1266c4609207
7
+ data.tar.gz: bf30df466e3022093a4b38be3127e5bb93057e59c3ecc6c3b1141d01bad1bbbae975533a1cd98f2e6891c93942ad78d0330b3287e2ef7ea783102741fdc62df9
@@ -1,5 +1,5 @@
1
1
  module Yap
2
2
  module Shell
3
- VERSION = "0.7.0"
3
+ VERSION = "0.7.1"
4
4
  end
5
5
  end
data/rcfiles/yaprc CHANGED
@@ -1,5 +1,7 @@
1
1
  #!/usr/bin/ruby
2
2
 
3
+ # world.addons[:'keyboard-macros'].disable!
4
+
3
5
  old_world_envs = []
4
6
  parse_env_vars_from_string = -> (str) {
5
7
  keys_and_values = str.split("\n").map(&:chomp).map do |line|
@@ -163,7 +165,6 @@ world.prompt = -> do
163
165
  # Example: ~/source/playground/yap master ➜
164
166
  "#{yellow(pwd)} #{git_branch}#{red('➜')} "
165
167
  end
166
- # world.prompt = world.addons[:zztop].prompt
167
168
 
168
169
  ###############################################################################
169
170
  # SECONDARY PROMPT
@@ -236,9 +237,6 @@ world.editor.bind(:ctrl_r) do
236
237
  world.addons[:'history-search'].prompt_user_to_search
237
238
  end
238
239
 
239
- world.editor.bind(:up_arrow) { world.addons[:history].back }
240
- world.editor.bind(:down_arrow) { world.addons[:history].forward }
241
-
242
240
  # Or, you can set the trigger key for a particular set of macros
243
241
  # by specifying it when you call .configure(...).
244
242
  world.addons[:'keyboard-macros'].configure(trigger_key: ?\C-g) do |macro|
@@ -347,7 +345,7 @@ func :'run-modified-specs' do |stdin:, stdout:|
347
345
  specs.concat Dir["spec/**/*#{filename_without_extension}_spec.rb"]
348
346
  end
349
347
 
350
- cmd = "bundle exec rspec #{specs.sort.uniq.join(' ')}"
348
+ cmd = "bundle exec rspec #{specs.join(' ')}"
351
349
  stdout.puts cmd
352
350
  shell cmd
353
351
  end
data/yap-shell.gemspec CHANGED
@@ -69,7 +69,7 @@ Gem::Specification.new do |spec|
69
69
  spec.add_dependency "term-ansicolor", "~> 1.3"
70
70
  spec.add_dependency "ruby-termios", "~> 0.9.6"
71
71
  spec.add_dependency "ruby-terminfo", "~> 0.1.1"
72
- spec.add_dependency "yap-rawline", "~> 0.6.2"
72
+ spec.add_dependency "yap-rawline", "~> 0.6.3"
73
73
  spec.add_dependency "chronic", "~> 0.10.2"
74
74
 
75
75
  spec.add_development_dependency "bundler", "~> 1.6"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yap-shell
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zach Dennis
@@ -86,14 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: 0.6.2
89
+ version: 0.6.3
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: 0.6.2
96
+ version: 0.6.3
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: chronic
99
99
  requirement: !ruby/object:Gem::Requirement