binding.repl 0.5.0 → 0.5.0.1
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.
- data/ChangeLog.txt +4 -0
- data/README.md +3 -4
- data/lib/binding.repl.rb +1 -1
- metadata +2 -2
data/ChangeLog.txt
CHANGED
data/README.md
CHANGED
@@ -82,17 +82,17 @@ console they like to use and __binding.repl__ tries to accomondate by
|
|
82
82
|
reading a `.binding.repl.rc` file from $HOME or the current working
|
83
83
|
directory. It's a JSON file with a single key-value pair.
|
84
84
|
|
85
|
-
amy prefers IRB, so her `$HOME/.binding.repl.rc` would look like this:
|
85
|
+
let's say amy prefers IRB, so her `$HOME/.binding.repl.rc` would look like this:
|
86
86
|
```javascript
|
87
87
|
{
|
88
88
|
"auto_load_order": ["irb", "pry", "ripl"]
|
89
89
|
}
|
90
90
|
```
|
91
91
|
|
92
|
-
rob prefers pry, so his `$HOME/.binding.repl.rc` would look like this:
|
92
|
+
let's say rob prefers pry, so his `$HOME/.binding.repl.rc` would look like this:
|
93
93
|
```ruby
|
94
94
|
{
|
95
|
-
"auto_load_order": ["
|
95
|
+
"auto_load_order": ["pry", "ripl", "irb"]
|
96
96
|
}
|
97
97
|
```
|
98
98
|
|
@@ -100,7 +100,6 @@ when either rob or amy wants to start their favorite ruby console
|
|
100
100
|
they can use `binding.repl.auto`:
|
101
101
|
|
102
102
|
```ruby
|
103
|
-
# lib/foo.rb
|
104
103
|
class Foo
|
105
104
|
# starts "irb" in the context of Foo for amy.
|
106
105
|
# starts "pry" in the context of Foo for rob.
|
data/lib/binding.repl.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: binding.repl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.0
|
4
|
+
version: 0.5.0.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -85,7 +85,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
85
85
|
version: '0'
|
86
86
|
segments:
|
87
87
|
- 0
|
88
|
-
hash:
|
88
|
+
hash: 3376741640928486311
|
89
89
|
requirements: []
|
90
90
|
rubyforge_project:
|
91
91
|
rubygems_version: 1.8.23
|