jazz_hands 0.1.2 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +18 -9
- data/README.md +17 -12
- data/jazz_hands.gemspec +7 -6
- data/lib/jazz_hands/railtie.rb +2 -1
- data/lib/jazz_hands/version.rb +1 -1
- metadata +42 -31
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
## 0.2.0 (2012-03-19)
|
2
|
+
|
3
|
+
* Add [pry-stack_explorer][pry-stack_explorer] 0.4.1.
|
4
|
+
* Upgrade [pry-remote][pry-remote] to 0.1.1 and [pry-nav][pry-nav] to 0.2.0.
|
5
|
+
* Upgrade recommended gem minor versions: [pry][pry] 0.9.8.4, [pry-doc][pry-doc]
|
6
|
+
0.4.1, [hirb][hirb] 0.6.2, and [coderay][coderay] 1.0.5.
|
7
|
+
|
1
8
|
## 0.1.2 (2012-01-23)
|
2
9
|
|
3
10
|
* Improved Rails 3.2 compatibility. Console methods like `app`, `new_session`,
|
@@ -44,7 +51,7 @@
|
|
44
51
|
|
45
52
|
## 0.0.2 (2011-11-25)
|
46
53
|
|
47
|
-
* Add pry-doc.
|
54
|
+
* Add [pry-doc][pry-doc].
|
48
55
|
|
49
56
|
|
50
57
|
## 0.0.1 (2011-11-25)
|
@@ -55,11 +62,13 @@
|
|
55
62
|
pretty colors.
|
56
63
|
|
57
64
|
|
58
|
-
[pry]:
|
59
|
-
[awesome_print]:
|
60
|
-
[pry-
|
61
|
-
[pry-
|
62
|
-
[pry-
|
63
|
-
[
|
64
|
-
[
|
65
|
-
[
|
65
|
+
[pry]: http://pry.github.com
|
66
|
+
[awesome_print]: https://github.com/michaeldv/awesome_print
|
67
|
+
[pry-doc]: https://github.com/pry/pry-doc
|
68
|
+
[pry-git]: https://github.com/pry/pry-git
|
69
|
+
[pry-nav]: https://github.com/nixme/pry-nav
|
70
|
+
[pry-remote]: https://github.com/Mon-Ouie/pry-remote
|
71
|
+
[coolline]: https://github.com/Mon-Ouie/coolline
|
72
|
+
[coderay]: https://github.com/rubychan/coderay
|
73
|
+
[hirb]: https://github.com/cldwalker/hirb
|
74
|
+
[pry-stack_explorer]: https://github.com/pry/pry-stack_explorer
|
data/README.md
CHANGED
@@ -9,12 +9,15 @@ 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 Doc** to browse Ruby source, including C, directly from the
|
12
|
+
* [**Pry Doc**][pry-doc] to browse Ruby source, including C, directly from the
|
13
|
+
console.
|
13
14
|
* [**Pry Git**][pry-git] to teach the console about git. Diffs, blames, and
|
14
15
|
commits on methods and classes, not just files.
|
15
16
|
* [**Pry Remote**][pry-remote] to connect remotely to a Pry console.
|
16
17
|
* [**Pry Nav**][pry-nav] to turn the console into a simple debugger. _Ruby 1.9.3
|
17
18
|
recommended_
|
19
|
+
* [**Pry Stack Explorer**][pry-stack_explorer] to navigate the call stack and
|
20
|
+
frames.
|
18
21
|
* [**Coolline**][coolline] and [**Coderay**][coderay] for syntax highlighting as
|
19
22
|
you type. _Optional. Ruby 1.9.3 only_
|
20
23
|
|
@@ -48,14 +51,16 @@ Patches and bug reports are welcome. Just send a [pull request][pullrequests] or
|
|
48
51
|
file an [issue][issues]. [Project changelog][changelog].
|
49
52
|
|
50
53
|
|
51
|
-
[pry]:
|
52
|
-
[awesome_print]:
|
53
|
-
[hirb]:
|
54
|
-
[pry-
|
55
|
-
[pry-
|
56
|
-
[pry-
|
57
|
-
[
|
58
|
-
[
|
59
|
-
[
|
60
|
-
[
|
61
|
-
[
|
54
|
+
[pry]: http://pry.github.com
|
55
|
+
[awesome_print]: https://github.com/michaeldv/awesome_print
|
56
|
+
[hirb]: https://github.com/cldwalker/hirb
|
57
|
+
[pry-doc]: https://github.com/pry/pry-doc
|
58
|
+
[pry-git]: https://github.com/pry/pry-git
|
59
|
+
[pry-nav]: https://github.com/nixme/pry-nav
|
60
|
+
[pry-remote]: https://github.com/Mon-Ouie/pry-remote
|
61
|
+
[pry-stack_explorer]: https://github.com/pry/pry-stack_explorer
|
62
|
+
[coolline]: https://github.com/Mon-Ouie/coolline
|
63
|
+
[coderay]: https://github.com/rubychan/coderay
|
64
|
+
[pullrequests]: https://github.com/nixme/jazz_hands/pulls
|
65
|
+
[issues]: https://github.com/nixme/jazz_hands/issues
|
66
|
+
[changelog]: https://github.com/nixme/jazz_hands/blob/master/CHANGELOG.md
|
data/jazz_hands.gemspec
CHANGED
@@ -19,14 +19,15 @@ 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-doc', '~> 0.
|
22
|
+
gem.add_runtime_dependency 'pry', '~> 0.9.8.4'
|
23
|
+
gem.add_runtime_dependency 'pry-doc', '~> 0.4.1'
|
24
24
|
gem.add_runtime_dependency 'pry-git', '~> 0.2.2'
|
25
|
-
gem.add_runtime_dependency 'pry-
|
26
|
-
gem.add_runtime_dependency 'pry-
|
27
|
-
gem.add_runtime_dependency '
|
25
|
+
gem.add_runtime_dependency 'pry-stack_explorer', '~> 0.4.1'
|
26
|
+
gem.add_runtime_dependency 'pry-remote', '>= 0.1.1'
|
27
|
+
gem.add_runtime_dependency 'pry-nav', '~> 0.2.0'
|
28
|
+
gem.add_runtime_dependency 'hirb', '~> 0.6.2'
|
28
29
|
gem.add_runtime_dependency 'coolline', '>= 0.1.0'
|
29
|
-
gem.add_runtime_dependency 'coderay', '
|
30
|
+
gem.add_runtime_dependency 'coderay', '~> 1.0.5'
|
30
31
|
gem.add_runtime_dependency 'awesome_print', '~> 1.0.2'
|
31
32
|
gem.add_runtime_dependency 'railties', '~> 3.0'
|
32
33
|
end
|
data/lib/jazz_hands/railtie.rb
CHANGED
@@ -2,6 +2,7 @@ require 'pry'
|
|
2
2
|
require 'pry-doc'
|
3
3
|
require 'pry-git'
|
4
4
|
require 'pry-remote'
|
5
|
+
require 'pry-stack_explorer'
|
5
6
|
require 'awesome_print'
|
6
7
|
require 'jazz_hands/hirb_ext'
|
7
8
|
|
@@ -24,7 +25,6 @@ module JazzHands
|
|
24
25
|
# We're managing the loading of plugins, especially pry-nav which
|
25
26
|
# shouldn't be loaded on 1.9.2. So don't let pry autoload them.
|
26
27
|
Pry.config.should_load_plugins = false
|
27
|
-
Pry.config.plugins.enabled = false
|
28
28
|
|
29
29
|
# Use awesome_print for output, but keep pry's pager. If Hirb is
|
30
30
|
# enabled, try printing with it first.
|
@@ -40,6 +40,7 @@ module JazzHands
|
|
40
40
|
raquo = Pry::Helpers::Text.red("\u00BB")
|
41
41
|
line = ->(pry) { "[#{Pry::Helpers::Text.bold(pry.input_array.size)}] " }
|
42
42
|
target_string = ->(object, level) do
|
43
|
+
level = 0 if level < 0
|
43
44
|
unless (string = Pry.view_clip(object)) == 'main'
|
44
45
|
"(#{'../' * level}#{string})"
|
45
46
|
else
|
data/lib/jazz_hands/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jazz_hands
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,33 +9,33 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-03-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: pry
|
16
|
-
requirement: &
|
16
|
+
requirement: &70342794657960 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 0.9.
|
21
|
+
version: 0.9.8.4
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70342794657960
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: pry-doc
|
27
|
-
requirement: &
|
27
|
+
requirement: &70342794657280 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 0.
|
32
|
+
version: 0.4.1
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70342794657280
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: pry-git
|
38
|
-
requirement: &
|
38
|
+
requirement: &70342794656300 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
@@ -43,43 +43,54 @@ dependencies:
|
|
43
43
|
version: 0.2.2
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70342794656300
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: pry-stack_explorer
|
49
|
+
requirement: &70342794654600 !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
51
|
+
requirements:
|
52
|
+
- - ~>
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 0.4.1
|
55
|
+
type: :runtime
|
56
|
+
prerelease: false
|
57
|
+
version_requirements: *70342794654600
|
47
58
|
- !ruby/object:Gem::Dependency
|
48
59
|
name: pry-remote
|
49
|
-
requirement: &
|
60
|
+
requirement: &70342794653900 !ruby/object:Gem::Requirement
|
50
61
|
none: false
|
51
62
|
requirements:
|
52
63
|
- - ! '>='
|
53
64
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.1.
|
65
|
+
version: 0.1.1
|
55
66
|
type: :runtime
|
56
67
|
prerelease: false
|
57
|
-
version_requirements: *
|
68
|
+
version_requirements: *70342794653900
|
58
69
|
- !ruby/object:Gem::Dependency
|
59
70
|
name: pry-nav
|
60
|
-
requirement: &
|
71
|
+
requirement: &70342794652900 !ruby/object:Gem::Requirement
|
61
72
|
none: false
|
62
73
|
requirements:
|
63
|
-
- -
|
74
|
+
- - ~>
|
64
75
|
- !ruby/object:Gem::Version
|
65
|
-
version: 0.0
|
76
|
+
version: 0.2.0
|
66
77
|
type: :runtime
|
67
78
|
prerelease: false
|
68
|
-
version_requirements: *
|
79
|
+
version_requirements: *70342794652900
|
69
80
|
- !ruby/object:Gem::Dependency
|
70
81
|
name: hirb
|
71
|
-
requirement: &
|
82
|
+
requirement: &70342794668420 !ruby/object:Gem::Requirement
|
72
83
|
none: false
|
73
84
|
requirements:
|
74
|
-
- -
|
85
|
+
- - ~>
|
75
86
|
- !ruby/object:Gem::Version
|
76
|
-
version: 0.6.
|
87
|
+
version: 0.6.2
|
77
88
|
type: :runtime
|
78
89
|
prerelease: false
|
79
|
-
version_requirements: *
|
90
|
+
version_requirements: *70342794668420
|
80
91
|
- !ruby/object:Gem::Dependency
|
81
92
|
name: coolline
|
82
|
-
requirement: &
|
93
|
+
requirement: &70342794667720 !ruby/object:Gem::Requirement
|
83
94
|
none: false
|
84
95
|
requirements:
|
85
96
|
- - ! '>='
|
@@ -87,21 +98,21 @@ dependencies:
|
|
87
98
|
version: 0.1.0
|
88
99
|
type: :runtime
|
89
100
|
prerelease: false
|
90
|
-
version_requirements: *
|
101
|
+
version_requirements: *70342794667720
|
91
102
|
- !ruby/object:Gem::Dependency
|
92
103
|
name: coderay
|
93
|
-
requirement: &
|
104
|
+
requirement: &70342794667100 !ruby/object:Gem::Requirement
|
94
105
|
none: false
|
95
106
|
requirements:
|
96
|
-
- -
|
107
|
+
- - ~>
|
97
108
|
- !ruby/object:Gem::Version
|
98
|
-
version: 0.
|
109
|
+
version: 1.0.5
|
99
110
|
type: :runtime
|
100
111
|
prerelease: false
|
101
|
-
version_requirements: *
|
112
|
+
version_requirements: *70342794667100
|
102
113
|
- !ruby/object:Gem::Dependency
|
103
114
|
name: awesome_print
|
104
|
-
requirement: &
|
115
|
+
requirement: &70342794665720 !ruby/object:Gem::Requirement
|
105
116
|
none: false
|
106
117
|
requirements:
|
107
118
|
- - ~>
|
@@ -109,10 +120,10 @@ dependencies:
|
|
109
120
|
version: 1.0.2
|
110
121
|
type: :runtime
|
111
122
|
prerelease: false
|
112
|
-
version_requirements: *
|
123
|
+
version_requirements: *70342794665720
|
113
124
|
- !ruby/object:Gem::Dependency
|
114
125
|
name: railties
|
115
|
-
requirement: &
|
126
|
+
requirement: &70342794664820 !ruby/object:Gem::Requirement
|
116
127
|
none: false
|
117
128
|
requirements:
|
118
129
|
- - ~>
|
@@ -120,7 +131,7 @@ dependencies:
|
|
120
131
|
version: '3.0'
|
121
132
|
type: :runtime
|
122
133
|
prerelease: false
|
123
|
-
version_requirements: *
|
134
|
+
version_requirements: *70342794664820
|
124
135
|
description: Spending hours in the rails console? Spruce it up and show off those
|
125
136
|
hard-working hands! jazz_hands replaces IRB with Pry, improves output through awesome_print,
|
126
137
|
and has some other goodies up its sleeves.
|