jazz_hands 0.3.1 → 0.4.0
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/.rbenv-version +1 -1
- data/CHANGELOG.md +15 -0
- data/README.md +38 -2
- data/jazz_hands.gemspec +10 -9
- data/lib/jazz_hands.rb +47 -20
- data/lib/jazz_hands/hirb_ext.rb +2 -2
- data/lib/jazz_hands/railtie.rb +26 -26
- data/lib/jazz_hands/version.rb +1 -1
- metadata +127 -56
data/.rbenv-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.9.3-
|
1
|
+
1.9.3-p327
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,16 @@
|
|
1
|
+
## 0.4.0 (2012-12-27)
|
2
|
+
|
3
|
+
* Add [pry-rails][pry-rails] 0.2.2 for maintained console hooks and new
|
4
|
+
`show-routes`, `show-models`, and `show-middleware` commands.
|
5
|
+
* Add `JazzHands.colored_prompt` and `JazzHands.prompt_separator` options.
|
6
|
+
Detect readline library to turn off incompatible colored prompt or Unicode
|
7
|
+
prompt separator where appropriate. Fixes #1 and #2.
|
8
|
+
* Upgrade [pry][pry] to the latest 0.9.10, [pry-doc][pry-doc] 0.4.4,
|
9
|
+
[pry-stack_explorer][pry-stack_explorer] 0.4.7, [pry-remote][pry-remote]
|
10
|
+
0.1.6, [pry-debugger][pry-debugger] 0.2.1, [hirb][hirb] 0.7.0,
|
11
|
+
[Coolline][coolline] 0.4.0, [coderay][coderay] 1.0.8,
|
12
|
+
[awesome_print][awesome_print] 1.1.0. Fixes #4.
|
13
|
+
|
1
14
|
## 0.3.1 (2012-06-11)
|
2
15
|
|
3
16
|
* Upgrade [pry-debugger][pry-debugger] to 0.2.0.
|
@@ -84,3 +97,5 @@
|
|
84
97
|
[coderay]: https://github.com/rubychan/coderay
|
85
98
|
[hirb]: https://github.com/cldwalker/hirb
|
86
99
|
[pry-stack_explorer]: https://github.com/pry/pry-stack_explorer
|
100
|
+
[pry-debugger]: https://github.com/nixme/pry-debugger
|
101
|
+
[pry-rails]: https://github.com/rweng/pry-rails
|
data/README.md
CHANGED
@@ -9,6 +9,8 @@ hard-working hands!
|
|
9
9
|
* [**Pry**][pry] for a powerful shell alternative to IRB.
|
10
10
|
* [**Awesome Print**][awesome_print] for stylish pretty print.
|
11
11
|
* [**Hirb**][hirb] for tabular collection output.
|
12
|
+
* [**Pry Rails**][pry-rails] for additional commands (`show-routes`,
|
13
|
+
`show-models`, `show-middleware`) in the Rails console.
|
12
14
|
* [**Pry Doc**][pry-doc] to browse Ruby source, including C, directly from the
|
13
15
|
console.
|
14
16
|
* [**Pry Git**][pry-git] to teach the console about git. Diffs, blames, and
|
@@ -35,10 +37,42 @@ That's it. Run `rails console` as usual.
|
|
35
37
|
|
36
38
|
[Hirb][hirb] isn't enabled by default. To use, run `Hirb.enable` in the console.
|
37
39
|
|
40
|
+
Ruby compiled against a proper readline library, ideally GNU readline, is
|
41
|
+
recommended. Alternatively, [`gem install rb-readline`][rb-readline] for an
|
42
|
+
acceptible backup. Using ruby compiled against a `libedit` wrapper (primarily OS
|
43
|
+
X) will work but is not recommended.
|
44
|
+
|
45
|
+
|
46
|
+
## Options
|
47
|
+
|
48
|
+
Change the following options by creating an initializer in your Rails project
|
49
|
+
Example `config/initializers/jazz_hands.rb`:
|
50
|
+
|
51
|
+
```ruby
|
52
|
+
JazzHands.colored_prompt = false
|
53
|
+
JazzHands.enable_syntax_highlighting_as_you_type!
|
54
|
+
```
|
55
|
+
|
56
|
+
### `colored_prompt`
|
57
|
+
|
58
|
+
Color the console prompt? Defaults to `true` when the current ruby is compiled
|
59
|
+
against GNU readline or `rb-readline`, which don't have issues counting
|
60
|
+
characters in colored prompts. `false` for libedit.
|
61
|
+
|
62
|
+
Note: `Pry.color = false` trumps this setting and disables all console coloring.
|
63
|
+
|
64
|
+
### `prompt_separator`
|
65
|
+
|
66
|
+
Separator string between the application name and line input. Defaults to `»`
|
67
|
+
for GNU readline or libedit. Defaults to `>` for `rb-readline` which fails on
|
68
|
+
mixed encodings.
|
69
|
+
|
70
|
+
### Syntax highlighting
|
71
|
+
|
38
72
|
Syntax highlighting as you type via [Coolline][coolline] and [Coderay][coderay]
|
39
73
|
is disabled by default due to slightly buggy behavior. To enable, add
|
40
|
-
`JazzHands.enable_syntax_highlighting_as_you_type
|
41
|
-
with MRI 1.9.3.
|
74
|
+
`JazzHands.enable_syntax_highlighting_as_you_type!` to the initializer. Only
|
75
|
+
works with MRI 1.9.3.
|
42
76
|
|
43
77
|
|
44
78
|
## Contributing
|
@@ -50,6 +84,7 @@ file an [issue][issues]. [Project changelog][changelog].
|
|
50
84
|
[pry]: http://pry.github.com
|
51
85
|
[awesome_print]: https://github.com/michaeldv/awesome_print
|
52
86
|
[hirb]: https://github.com/cldwalker/hirb
|
87
|
+
[pry-rails]: https://github.com/rweng/pry-rails
|
53
88
|
[pry-doc]: https://github.com/pry/pry-doc
|
54
89
|
[pry-git]: https://github.com/pry/pry-git
|
55
90
|
[pry-debugger]: https://github.com/nixme/pry-debugger
|
@@ -57,6 +92,7 @@ file an [issue][issues]. [Project changelog][changelog].
|
|
57
92
|
[pry-stack_explorer]: https://github.com/pry/pry-stack_explorer
|
58
93
|
[coolline]: https://github.com/Mon-Ouie/coolline
|
59
94
|
[coderay]: https://github.com/rubychan/coderay
|
95
|
+
[rb-readline]: https://github.com/luislavena/rb-readline
|
60
96
|
[pullrequests]: https://github.com/nixme/jazz_hands/pulls
|
61
97
|
[issues]: https://github.com/nixme/jazz_hands/issues
|
62
98
|
[changelog]: https://github.com/nixme/jazz_hands/blob/master/CHANGELOG.md
|
data/jazz_hands.gemspec
CHANGED
@@ -19,15 +19,16 @@ Gem::Specification.new do |gem|
|
|
19
19
|
|
20
20
|
# Dependencies
|
21
21
|
gem.required_ruby_version = '>= 1.9.2'
|
22
|
-
gem.add_runtime_dependency 'pry', '~> 0.9.
|
23
|
-
gem.add_runtime_dependency 'pry-
|
22
|
+
gem.add_runtime_dependency 'pry', '~> 0.9.10'
|
23
|
+
gem.add_runtime_dependency 'pry-rails', '~> 0.2.2'
|
24
|
+
gem.add_runtime_dependency 'pry-doc', '~> 0.4.4'
|
24
25
|
gem.add_runtime_dependency 'pry-git', '~> 0.2.3'
|
25
|
-
gem.add_runtime_dependency 'pry-stack_explorer', '~> 0.4.
|
26
|
-
gem.add_runtime_dependency 'pry-remote', '>= 0.1.
|
27
|
-
gem.add_runtime_dependency 'pry-debugger', '~> 0.2.
|
28
|
-
gem.add_runtime_dependency 'hirb', '~> 0.
|
29
|
-
gem.add_runtime_dependency 'coolline', '>= 0.
|
30
|
-
gem.add_runtime_dependency 'coderay', '~> 1.0.
|
31
|
-
gem.add_runtime_dependency 'awesome_print', '~> 1.0
|
26
|
+
gem.add_runtime_dependency 'pry-stack_explorer', '~> 0.4.7'
|
27
|
+
gem.add_runtime_dependency 'pry-remote', '>= 0.1.6'
|
28
|
+
gem.add_runtime_dependency 'pry-debugger', '~> 0.2.1'
|
29
|
+
gem.add_runtime_dependency 'hirb', '~> 0.7.0'
|
30
|
+
gem.add_runtime_dependency 'coolline', '>= 0.4.0'
|
31
|
+
gem.add_runtime_dependency 'coderay', '~> 1.0.8'
|
32
|
+
gem.add_runtime_dependency 'awesome_print', '~> 1.1.0'
|
32
33
|
gem.add_runtime_dependency 'railties', '~> 3.0'
|
33
34
|
end
|
data/lib/jazz_hands.rb
CHANGED
@@ -1,39 +1,66 @@
|
|
1
1
|
require 'jazz_hands/version'
|
2
2
|
require 'jazz_hands/railtie' if defined?(Rails)
|
3
|
+
require 'active_support'
|
4
|
+
require 'readline'
|
3
5
|
|
4
6
|
module JazzHands
|
5
|
-
extend self
|
6
7
|
|
7
|
-
|
8
|
-
|
8
|
+
### Options ###
|
9
|
+
|
10
|
+
# Color the prompt?
|
9
11
|
#
|
10
|
-
#
|
12
|
+
# A different setting than Pry.color since some may like colored output, but a
|
13
|
+
# plain prompt.
|
11
14
|
#
|
12
|
-
#
|
15
|
+
# Default: 'true' for GNU readline or rb-readline which correctly count line
|
16
|
+
# widths with color codes when using \001 and \002 hints. 'false' for
|
17
|
+
# libedit-based wrapper (standard on OS X unless ruby is explicitly compiled
|
18
|
+
# otherwise).
|
13
19
|
#
|
14
|
-
|
15
|
-
|
20
|
+
mattr_accessor :colored_prompt
|
21
|
+
self.colored_prompt = (Readline::VERSION !~ /EditLine/)
|
16
22
|
|
17
|
-
|
18
|
-
|
23
|
+
# Separator between application name and input in the prompt.
|
24
|
+
#
|
25
|
+
# Default: right angle quote, or '>' when using rb-readline which doesn't
|
26
|
+
# handle mixed encodings well.
|
27
|
+
#
|
28
|
+
mattr_accessor :prompt_separator
|
29
|
+
self.prompt_separator = defined?(RbReadline) ? '>' : "\u00BB"
|
19
30
|
|
20
|
-
require 'coolline'
|
21
|
-
require 'coderay'
|
22
31
|
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
32
|
+
class << self
|
33
|
+
# Enable syntax highlighting as you type in the Rails console via coolline and
|
34
|
+
# coderay (MRI 1.9.3+ only). Disabled by default as it's a bit buggy.
|
35
|
+
#
|
36
|
+
# Call from a Rails initializer:
|
37
|
+
#
|
38
|
+
# JazzHands.enable_syntax_highlighting_as_you_type!
|
39
|
+
#
|
40
|
+
def enable_syntax_highlighting_as_you_type!
|
41
|
+
raise 'Syntax highlighting only supported on 1.9.3+' unless RUBY_VERSION >= '1.9.3'
|
27
42
|
|
28
|
-
|
29
|
-
|
30
|
-
|
43
|
+
# Use coolline with CodeRay for syntax highlighting as you type.
|
44
|
+
# Only works on >= 1.9.3 because coolline depends on io/console.
|
45
|
+
|
46
|
+
require 'coolline'
|
47
|
+
require 'coderay'
|
48
|
+
|
49
|
+
Pry.config.input = Coolline.new do |c|
|
50
|
+
c.transform_proc = proc do
|
51
|
+
CodeRay.scan(c.line, :ruby).term
|
52
|
+
end
|
53
|
+
|
54
|
+
c.completion_proc = proc do
|
55
|
+
word = c.completed_word
|
56
|
+
Object.constants.map(&:to_s).select { |w| w.start_with? word }
|
57
|
+
end
|
31
58
|
end
|
32
59
|
end
|
60
|
+
alias :enable_syntax_highlighting_as_you_type :enable_syntax_highlighting_as_you_type!
|
33
61
|
end
|
34
62
|
|
35
|
-
|
36
63
|
### Internal methods ###
|
37
64
|
|
38
|
-
|
65
|
+
mattr_accessor :_hirb_output
|
39
66
|
end
|
data/lib/jazz_hands/hirb_ext.rb
CHANGED
@@ -7,12 +7,12 @@ class << Hirb::View
|
|
7
7
|
|
8
8
|
def enable_output_method
|
9
9
|
@output_method = true
|
10
|
-
JazzHands.
|
10
|
+
JazzHands._hirb_output = true
|
11
11
|
enable_output_method_existing
|
12
12
|
end
|
13
13
|
|
14
14
|
def disable_output_method
|
15
|
-
JazzHands.
|
15
|
+
JazzHands._hirb_output = false
|
16
16
|
disable_output_method_existing
|
17
17
|
end
|
18
18
|
end
|
data/lib/jazz_hands/railtie.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
require 'pry'
|
2
|
+
require 'pry-rails'
|
2
3
|
require 'pry-doc'
|
3
4
|
require 'pry-git'
|
4
5
|
require 'pry-remote'
|
@@ -12,30 +13,37 @@ module JazzHands
|
|
12
13
|
class Railtie < Rails::Railtie
|
13
14
|
initializer 'jazz_hands.initialize' do |app|
|
14
15
|
silence_warnings do
|
15
|
-
::IRB = Pry # Replace IRB with Pry completely
|
16
|
-
|
17
|
-
# Rails 3.2 injects commands into IRB::ExtendCommandBundle. Make sure
|
18
|
-
# Pry is compatible enough so Rails boot works.
|
19
|
-
unless defined? IRB::ExtendCommandBundle # Latest Pry defines it
|
20
|
-
module IRB::ExtendCommandBundle; end
|
21
|
-
end
|
22
|
-
|
23
16
|
# We're managing the loading of plugins. So don't let pry autoload them.
|
24
17
|
Pry.config.should_load_plugins = false
|
25
18
|
|
26
19
|
# Use awesome_print for output, but keep pry's pager. If Hirb is
|
27
20
|
# enabled, try printing with it first.
|
28
21
|
Pry.config.print = ->(output, value) do
|
29
|
-
return if JazzHands.
|
22
|
+
return if JazzHands._hirb_output && Hirb::View.view_or_page_output(value)
|
30
23
|
pretty = value.ai(indent: 2)
|
31
24
|
Pry::Helpers::BaseHelpers.stagger_output("=> #{pretty}", output)
|
32
25
|
end
|
33
26
|
|
34
|
-
# Friendlier prompt - nesting levels look like
|
27
|
+
# Friendlier prompt - line number, app name, nesting levels look like
|
28
|
+
# directory paths.
|
29
|
+
#
|
30
|
+
# Heavy use of lazy lambdas so configuration (like Pry.color) can be
|
31
|
+
# changed later or even during console usage.
|
32
|
+
#
|
33
|
+
# Custom color helpers using hints \001 and \002 so that good readline
|
34
|
+
# libraries (GNU, rb-readline) correctly ignore color codes when
|
35
|
+
# calculating line length.
|
36
|
+
|
37
|
+
color = -> { Pry.color && JazzHands.colored_prompt }
|
38
|
+
red = ->(text) { color[] ? "\001\e[0;31m\002#{text}\001\e[0m\002" : text.to_s }
|
39
|
+
blue = ->(text) { color[] ? "\001\e[0;34m\002#{text}\001\e[0m\002" : text.to_s }
|
40
|
+
bold = ->(text) { color[] ? "\001\e[1m\002#{text}\001\e[0m\002" : text.to_s }
|
41
|
+
|
42
|
+
separator = -> { red.(JazzHands.prompt_separator) }
|
35
43
|
name = app.class.parent_name.underscore
|
36
|
-
colored_name =
|
37
|
-
|
38
|
-
line = ->(pry) { "[#{
|
44
|
+
colored_name = -> { blue.(name) }
|
45
|
+
|
46
|
+
line = ->(pry) { "[#{bold.(pry.input_array.size)}] " }
|
39
47
|
target_string = ->(object, level) do
|
40
48
|
level = 0 if level < 0
|
41
49
|
unless (string = Pry.view_clip(object)) == 'main'
|
@@ -44,29 +52,21 @@ module JazzHands
|
|
44
52
|
''
|
45
53
|
end
|
46
54
|
end
|
55
|
+
|
47
56
|
Pry.config.prompt = [
|
48
|
-
->(object, level, pry) do
|
49
|
-
"#{line.(pry)}#{colored_name}#{target_string.(object, level)} #{
|
57
|
+
->(object, level, pry) do # Main prompt
|
58
|
+
"#{line.(pry)}#{colored_name.()}#{target_string.(object, level)} #{separator.()} "
|
50
59
|
end,
|
51
|
-
->(object, level, pry) do
|
60
|
+
->(object, level, pry) do # Wait prompt in multiline input
|
52
61
|
spaces = ' ' * (
|
53
62
|
"[#{pry.input_array.size}] ".size + # Uncolored `line.(pry)`
|
54
63
|
name.size +
|
55
64
|
target_string.(object, level).size
|
56
65
|
)
|
57
|
-
"#{spaces} #{
|
66
|
+
"#{spaces} #{separator.()} "
|
58
67
|
end
|
59
68
|
]
|
60
69
|
end
|
61
70
|
end
|
62
|
-
|
63
|
-
console do
|
64
|
-
# Mimic the IRB's ExtendCommandBundle injection used in Rails 3.2
|
65
|
-
if defined? Rails::ConsoleMethods
|
66
|
-
# We inject into the TOPLEVEL_BINDING's self so only the repl's Object
|
67
|
-
# instance is affected, not all objects.
|
68
|
-
TOPLEVEL_BINDING.eval('self').extend Rails::ConsoleMethods
|
69
|
-
end
|
70
|
-
end
|
71
71
|
end
|
72
72
|
end
|
data/lib/jazz_hands/version.rb
CHANGED
metadata
CHANGED
@@ -1,137 +1,208 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jazz_hands
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.1
|
5
4
|
prerelease:
|
5
|
+
version: 0.4.0
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Gopal Patel
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-12-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
|
+
version_requirements: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ~>
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 0.9.10
|
20
|
+
none: false
|
15
21
|
name: pry
|
16
|
-
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
requirement: !ruby/object:Gem::Requirement
|
25
|
+
requirements:
|
26
|
+
- - ~>
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
version: 0.9.10
|
17
29
|
none: false
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
version_requirements: !ruby/object:Gem::Requirement
|
18
32
|
requirements:
|
19
33
|
- - ~>
|
20
34
|
- !ruby/object:Gem::Version
|
21
|
-
version: 0.
|
35
|
+
version: 0.2.2
|
36
|
+
none: false
|
37
|
+
name: pry-rails
|
22
38
|
type: :runtime
|
23
39
|
prerelease: false
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
40
|
+
requirement: !ruby/object:Gem::Requirement
|
41
|
+
requirements:
|
42
|
+
- - ~>
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: 0.2.2
|
28
45
|
none: false
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
version_requirements: !ruby/object:Gem::Requirement
|
29
48
|
requirements:
|
30
49
|
- - ~>
|
31
50
|
- !ruby/object:Gem::Version
|
32
|
-
version: 0.4.
|
51
|
+
version: 0.4.4
|
52
|
+
none: false
|
53
|
+
name: pry-doc
|
33
54
|
type: :runtime
|
34
55
|
prerelease: false
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
56
|
+
requirement: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - ~>
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: 0.4.4
|
39
61
|
none: false
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
version_requirements: !ruby/object:Gem::Requirement
|
40
64
|
requirements:
|
41
65
|
- - ~>
|
42
66
|
- !ruby/object:Gem::Version
|
43
67
|
version: 0.2.3
|
68
|
+
none: false
|
69
|
+
name: pry-git
|
44
70
|
type: :runtime
|
45
71
|
prerelease: false
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
72
|
+
requirement: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - ~>
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: 0.2.3
|
50
77
|
none: false
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
80
|
requirements:
|
52
81
|
- - ~>
|
53
82
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.4.
|
83
|
+
version: 0.4.7
|
84
|
+
none: false
|
85
|
+
name: pry-stack_explorer
|
55
86
|
type: :runtime
|
56
87
|
prerelease: false
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
88
|
+
requirement: !ruby/object:Gem::Requirement
|
89
|
+
requirements:
|
90
|
+
- - ~>
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
version: 0.4.7
|
61
93
|
none: false
|
94
|
+
- !ruby/object:Gem::Dependency
|
95
|
+
version_requirements: !ruby/object:Gem::Requirement
|
62
96
|
requirements:
|
63
97
|
- - ! '>='
|
64
98
|
- !ruby/object:Gem::Version
|
65
|
-
version: 0.1.
|
99
|
+
version: 0.1.6
|
100
|
+
none: false
|
101
|
+
name: pry-remote
|
66
102
|
type: :runtime
|
67
103
|
prerelease: false
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
104
|
+
requirement: !ruby/object:Gem::Requirement
|
105
|
+
requirements:
|
106
|
+
- - ! '>='
|
107
|
+
- !ruby/object:Gem::Version
|
108
|
+
version: 0.1.6
|
72
109
|
none: false
|
110
|
+
- !ruby/object:Gem::Dependency
|
111
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
112
|
requirements:
|
74
113
|
- - ~>
|
75
114
|
- !ruby/object:Gem::Version
|
76
|
-
version: 0.2.
|
115
|
+
version: 0.2.1
|
116
|
+
none: false
|
117
|
+
name: pry-debugger
|
77
118
|
type: :runtime
|
78
119
|
prerelease: false
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
120
|
+
requirement: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ~>
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 0.2.1
|
83
125
|
none: false
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
version_requirements: !ruby/object:Gem::Requirement
|
84
128
|
requirements:
|
85
129
|
- - ~>
|
86
130
|
- !ruby/object:Gem::Version
|
87
|
-
version: 0.
|
131
|
+
version: 0.7.0
|
132
|
+
none: false
|
133
|
+
name: hirb
|
88
134
|
type: :runtime
|
89
135
|
prerelease: false
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
136
|
+
requirement: !ruby/object:Gem::Requirement
|
137
|
+
requirements:
|
138
|
+
- - ~>
|
139
|
+
- !ruby/object:Gem::Version
|
140
|
+
version: 0.7.0
|
94
141
|
none: false
|
142
|
+
- !ruby/object:Gem::Dependency
|
143
|
+
version_requirements: !ruby/object:Gem::Requirement
|
95
144
|
requirements:
|
96
145
|
- - ! '>='
|
97
146
|
- !ruby/object:Gem::Version
|
98
|
-
version: 0.
|
147
|
+
version: 0.4.0
|
148
|
+
none: false
|
149
|
+
name: coolline
|
99
150
|
type: :runtime
|
100
151
|
prerelease: false
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
152
|
+
requirement: !ruby/object:Gem::Requirement
|
153
|
+
requirements:
|
154
|
+
- - ! '>='
|
155
|
+
- !ruby/object:Gem::Version
|
156
|
+
version: 0.4.0
|
105
157
|
none: false
|
158
|
+
- !ruby/object:Gem::Dependency
|
159
|
+
version_requirements: !ruby/object:Gem::Requirement
|
106
160
|
requirements:
|
107
161
|
- - ~>
|
108
162
|
- !ruby/object:Gem::Version
|
109
|
-
version: 1.0.
|
163
|
+
version: 1.0.8
|
164
|
+
none: false
|
165
|
+
name: coderay
|
110
166
|
type: :runtime
|
111
167
|
prerelease: false
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
168
|
+
requirement: !ruby/object:Gem::Requirement
|
169
|
+
requirements:
|
170
|
+
- - ~>
|
171
|
+
- !ruby/object:Gem::Version
|
172
|
+
version: 1.0.8
|
116
173
|
none: false
|
174
|
+
- !ruby/object:Gem::Dependency
|
175
|
+
version_requirements: !ruby/object:Gem::Requirement
|
117
176
|
requirements:
|
118
177
|
- - ~>
|
119
178
|
- !ruby/object:Gem::Version
|
120
|
-
version: 1.0
|
179
|
+
version: 1.1.0
|
180
|
+
none: false
|
181
|
+
name: awesome_print
|
121
182
|
type: :runtime
|
122
183
|
prerelease: false
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
184
|
+
requirement: !ruby/object:Gem::Requirement
|
185
|
+
requirements:
|
186
|
+
- - ~>
|
187
|
+
- !ruby/object:Gem::Version
|
188
|
+
version: 1.1.0
|
127
189
|
none: false
|
190
|
+
- !ruby/object:Gem::Dependency
|
191
|
+
version_requirements: !ruby/object:Gem::Requirement
|
128
192
|
requirements:
|
129
193
|
- - ~>
|
130
194
|
- !ruby/object:Gem::Version
|
131
195
|
version: '3.0'
|
196
|
+
none: false
|
197
|
+
name: railties
|
132
198
|
type: :runtime
|
133
199
|
prerelease: false
|
134
|
-
|
200
|
+
requirement: !ruby/object:Gem::Requirement
|
201
|
+
requirements:
|
202
|
+
- - ~>
|
203
|
+
- !ruby/object:Gem::Version
|
204
|
+
version: '3.0'
|
205
|
+
none: false
|
135
206
|
description: Spending hours in the rails console? Spruce it up and show off those
|
136
207
|
hard-working hands! jazz_hands replaces IRB with Pry, improves output through awesome_print,
|
137
208
|
and has some other goodies up its sleeves.
|
@@ -160,20 +231,20 @@ rdoc_options: []
|
|
160
231
|
require_paths:
|
161
232
|
- lib
|
162
233
|
required_ruby_version: !ruby/object:Gem::Requirement
|
163
|
-
none: false
|
164
234
|
requirements:
|
165
235
|
- - ! '>='
|
166
236
|
- !ruby/object:Gem::Version
|
167
237
|
version: 1.9.2
|
168
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
169
238
|
none: false
|
239
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
170
240
|
requirements:
|
171
241
|
- - ! '>='
|
172
242
|
- !ruby/object:Gem::Version
|
173
243
|
version: '0'
|
244
|
+
none: false
|
174
245
|
requirements: []
|
175
246
|
rubyforge_project:
|
176
|
-
rubygems_version: 1.8.
|
247
|
+
rubygems_version: 1.8.23
|
177
248
|
signing_key:
|
178
249
|
specification_version: 3
|
179
250
|
summary: Exercise those fingers. Pry-based enhancements for the default Rails console.
|