Kyrylo Silin
7d58acea0a
Merge pull request #1414 from takiy33/remove-rubygems-require
...
Remove explicit 'rubygems' require
2015-05-31 22:25:16 +03:00
Kyrylo Silin
b0ed8b93b5
Merge pull request #1422 from getaaron/capitalization
...
Minor capitalization changes in README
2015-05-21 18:26:20 +03:00
Aaron Brager
fc737670af
Minor capitalization changes in README
2015-05-21 10:22:28 -05:00
Kyrylo Silin
cf76089972
Merge pull request #1420 from trayo/master
...
Changes deprecated ‘File.exists’ to ‘File.exist’
2015-05-11 11:29:01 +03:00
Travis Yoder
86154b4965
Changes deprecated ‘File.exists’ to ‘File.exist’
2015-05-10 19:58:16 -06:00
takiy33
cdfd3b0d35
Remove explicit 'rubygems' require
2015-04-19 19:39:38 +09:00
Kyrylo Silin
c47d566390
Merge pull request #1408 from tdg5/run_command_returns_nil
...
Return nil from PryClass::run_command
2015-04-10 06:29:38 +03:00
Kyrylo Silin
c3e671e7d3
Merge pull request #1410 from drbrain/fix-package-platforms
...
Use CPU-less platforms for windows
2015-04-10 06:28:04 +03:00
Eric Hodel
ee0ea8f159
Use CPU-less platforms for windows
...
There is no need to include the CPU in the platform string as there is
no compiled code shipped in the pry gems. The only difference is the
dependency.
Pry became a victim of rubygems/rubygems#1058 which will be fixed in
rubygems/rubygems#1120 . I would also like to raise awareness of proper
use of platform parts while I'm fixing the bug in RubyGems.
2015-04-09 15:41:08 -07:00
Kyrylo Silin
e273b1b373
Merge pull request #1409 from mtsmfm/fix-warn
...
Fix warning
2015-04-05 18:48:06 +03:00
Fumiaki MATSUSHIMA
6e5d24d8d4
Fix warning
...
```
warning: instance variable @readline_output not initialized
```
2015-04-05 23:37:50 +09:00
Danny Guinther
c6ceb4078a
Return nil from PryClass::run_command
2015-04-02 08:20:15 -04:00
John Mair
2c32d5e5f6
Merge pull request #1406 from pry/revert-1404-add-pwd
...
Revert "Alias whereami to pwd"
2015-04-01 01:25:43 +02:00
John Mair
bc6ad1c1c4
Revert "Alias whereami to pwd"
2015-04-01 01:25:34 +02:00
Kyrylo Silin
b41ae64803
Merge pull request #1404 from buddhamagnet/add-pwd
...
Alias whereami to pwd
2015-04-01 00:30:22 +03:00
buddhamagnet
cb0af5905d
alias whereami to pwd
2015-03-31 16:10:47 +01:00
Kyrylo Silin
d70f065e77
Merge pull request #1393 from richo/richo-parse-opts
...
cli: parse_opts should not actually spin off a repl
2015-03-27 01:57:06 +02:00
Richo Healey
3c8cfe5560
Handle cli arguments after loading config files etc
2015-03-26 16:38:55 -07:00
Richo Healey
99db3e4cf4
Don't include an extraneous newline in exec_string handling
...
This still deals correctly with the case where there is more than one -e
option passed
2015-03-26 16:35:15 -07:00
Kyrylo Silin
5eb4e23dd8
CHANGELOG: mention recent changes
2015-03-17 20:13:47 +02:00
Kyrylo Silin
491e677f4b
Remove support of Foreman altogether
...
In order to support it we needed to patch Foreman. However, the Foreman
author rejected it.
Details: https://github.com/ddollar/foreman/pull/536
2015-03-17 20:06:24 +02:00
Kyrylo Silin
b93ed49e76
Merge pull request #1372 from kyrylo/1334-tee-support
...
Make Pry work with tee
2015-03-17 20:01:50 +02:00
Kyrylo Silin
71049ce903
Merge pull request #1395 from pry/1392-pry-hooks-refactoring
...
1392 pry hooks refactoring
2015-03-14 12:12:05 +02:00
Kyrylo Silin
db8ba4a57c
hooks: remove old API's using hooks altogether
2015-03-14 11:48:09 +02:00
Kyrylo Silin
dc1428c3ae
hooks: simplify #hooks_exists?
2015-03-14 11:15:14 +02:00
Kyrylo Silin
2c8b745aaf
hooks: don't overwrite the event_name
parameter in some methods
2015-03-14 11:01:40 +02:00
Kyrylo Silin
9e66680086
hooks: use the default value for hash instead of checking
2015-03-14 10:57:36 +02:00
Kyrylo Silin
026081f71f
hooks: simplify comments and wrap everything to 80 chars
2015-03-14 10:23:11 +02:00
Kyrylo Silin
958f63ec1e
hooks: remove unused method #clear_all
2015-03-14 10:14:09 +02:00
Kyrylo Silin
d768662911
hooks: remove obvious examples from the comments
2015-03-14 10:13:08 +02:00
Kyrylo Silin
590d73658f
hooks: rename #clear to #clear_event hooks and get rid of the alias
2015-03-14 10:08:16 +02:00
Kyrylo Silin
a3a9831b5c
hooks: reformat the definition of the #hooks method
...
This is the style we use in this project.
2015-03-14 09:59:00 +02:00
Kyrylo Silin
0bca85da16
hooks: merge #uniq_keeping_last with #merge! and simplify it
2015-03-14 09:55:16 +02:00
Kyrylo Silin
fa400271a1
hooks: remove superfluous #merge_arrays
2015-03-14 09:40:06 +02:00
Richo Healey
f3339c8cef
cli: parse_opts should not actually spin off a repl
2015-03-11 13:56:53 -07:00
Kyrylo Silin
6a5ea78009
CHANGELOG: fix formatting
2015-03-11 16:40:56 +02:00
Kyrylo Silin
d67b5fd3e7
Merge pull request #1391 from pry/651-command-hooks-refactoring
...
Refactor command hooks so they could use Pry::Hooks (newer API)
2015-03-11 16:40:03 +02:00
Kyrylo Silin
5db1411fce
CHANGELOG: mention changes to the hooks API with respect to commands
2015-03-11 16:36:53 +02:00
Kyrylo Silin
9d21ebefc2
hooks: make sure hooks are strings no matter what
2015-03-11 16:32:27 +02:00
Kyrylo Silin
47d8103165
Refactor command hooks so they could use Pry::Hooks (newer API)
...
Fixes #651 ({after,before}_command hooks should be unified with
Pry::Hooks system)
* The support for the `Pry.commands.{after,before}_command` API was kept
* Hooks defined via the older API use random names
* The order of hooks execution was changed from LIFO to FIFO
2015-03-11 16:17:10 +02:00
Kyrylo Silin
96c6958cc6
specs: convert to shoulds to expects
2015-03-10 22:49:29 +02:00
Kyrylo Silin
411a8db3a6
Merge pull request #1390 from pry/1369-blank-prefix-fix
...
Fix regression with respect to space prefixes
2015-03-08 10:18:00 +02:00
Kyrylo Silin
dd92e2a359
Fix regression with respect to space prefixes
...
Fixes #1369 (Prefixing commands with a space is not working)
The regression was introduced by this commit:
68bcca22a0
Since then the main logic for the REPL was hugely refactored. This
refactoring morphed the error into this commit:
e020f8cecd
Sorry about this hacky solution.
2015-03-08 10:06:56 +02:00
Kyrylo Silin
65fdcba0d9
Revert "Safe to append with #<< here after all."
...
Fixes #1387 ('pry -e' messes with the terminal)
This reverts commit 6ffc748683
.
Cc: @havenwood :D
2015-03-06 08:51:22 +02:00
Kyrylo Silin
c220c40892
helpers/text: when strip colours, also strip special characters
...
Fixes build failures introduced in
a293f1f3aa
2015-03-06 08:42:12 +02:00
Kyrylo Silin
05a3ba7426
CHANGELOG: mention the fix of a293f1f3aa
2015-03-06 08:29:28 +02:00
Kyrylo Silin
9515c1899a
Merge pull request #1388 from pry/493-color-prompt
...
helpers/text: respect RL_PROMPT_START_IGNORE and RL_PROMPT_END_IGNORE
2015-03-05 13:17:13 +02:00
Kyrylo Silin
a293f1f3aa
helpers/text: respect RL_PROMPT_START_IGNORE and RL_PROMPT_END_IGNORE
...
Addresses to #493 . Fixes the described bug in the situation when you use
helper methods in your Pry prompt like this:
Pry.prompt = [
proc { |_, _, _| Pry::Helpers::Text.red("YO > ") },
proc { |_, _, _| "| "}
]
2015-03-05 12:39:26 +02:00
Kyrylo Silin
df3fc3ee8c
CHANGELOG: mention the fix of StringScanner exception
2015-03-04 18:34:34 +02:00
Kyrylo Silin
ee2513bdb4
Merge pull request #1370 from boxofrox/fix/missing-stringscanner-on-tab-completion
...
Fix missing require for tab completion within strings
2015-03-03 19:42:09 +02:00