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.
@@ -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]: http://pry.github.com
59
- [awesome_print]: https://github.com/michaeldv/awesome_print
60
- [pry-git]: https://github.com/pry/pry-git
61
- [pry-nav]: https://github.com/nixme/pry-nav
62
- [pry-remote]: https://github.com/Mon-Ouie/pry-remote
63
- [coolline]: https://github.com/Mon-Ouie/coolline
64
- [coderay]: https://github.com/rubychan/coderay
65
- [hirb]: https://github.com/cldwalker/hirb
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 console.
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]: http://pry.github.com
52
- [awesome_print]: https://github.com/michaeldv/awesome_print
53
- [hirb]: https://github.com/cldwalker/hirb
54
- [pry-git]: https://github.com/pry/pry-git
55
- [pry-nav]: https://github.com/nixme/pry-nav
56
- [pry-remote]: https://github.com/Mon-Ouie/pry-remote
57
- [coolline]: https://github.com/Mon-Ouie/coolline
58
- [coderay]: https://github.com/rubychan/coderay
59
- [pullrequests]: https://github.com/nixme/jazz_hands/pulls
60
- [issues]: https://github.com/nixme/jazz_hands/issues
61
- [changelog]: https://github.com/nixme/jazz_hands/blob/master/CHANGELOG.md
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
@@ -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.7.4'
23
- gem.add_runtime_dependency 'pry-doc', '~> 0.3.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-remote', '>= 0.1.0'
26
- gem.add_runtime_dependency 'pry-nav', '>= 0.0.4'
27
- gem.add_runtime_dependency 'hirb', '= 0.6.0'
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', '>= 0.9.8'
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
@@ -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
@@ -1,3 +1,3 @@
1
1
  module JazzHands
2
- VERSION = '0.1.2'
2
+ VERSION = '0.2.0'
3
3
  end
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.1.2
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-01-23 00:00:00.000000000 Z
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: &70147263981940 !ruby/object:Gem::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.7.4
21
+ version: 0.9.8.4
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70147263981940
24
+ version_requirements: *70342794657960
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: pry-doc
27
- requirement: &70147263979840 !ruby/object:Gem::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.3.0
32
+ version: 0.4.1
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70147263979840
35
+ version_requirements: *70342794657280
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: pry-git
38
- requirement: &70147263978120 !ruby/object:Gem::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: *70147263978120
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: &70147263976400 !ruby/object:Gem::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.0
65
+ version: 0.1.1
55
66
  type: :runtime
56
67
  prerelease: false
57
- version_requirements: *70147263976400
68
+ version_requirements: *70342794653900
58
69
  - !ruby/object:Gem::Dependency
59
70
  name: pry-nav
60
- requirement: &70147263974880 !ruby/object:Gem::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.4
76
+ version: 0.2.0
66
77
  type: :runtime
67
78
  prerelease: false
68
- version_requirements: *70147263974880
79
+ version_requirements: *70342794652900
69
80
  - !ruby/object:Gem::Dependency
70
81
  name: hirb
71
- requirement: &70147247383500 !ruby/object:Gem::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.0
87
+ version: 0.6.2
77
88
  type: :runtime
78
89
  prerelease: false
79
- version_requirements: *70147247383500
90
+ version_requirements: *70342794668420
80
91
  - !ruby/object:Gem::Dependency
81
92
  name: coolline
82
- requirement: &70147247378880 !ruby/object:Gem::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: *70147247378880
101
+ version_requirements: *70342794667720
91
102
  - !ruby/object:Gem::Dependency
92
103
  name: coderay
93
- requirement: &70147247378040 !ruby/object:Gem::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.9.8
109
+ version: 1.0.5
99
110
  type: :runtime
100
111
  prerelease: false
101
- version_requirements: *70147247378040
112
+ version_requirements: *70342794667100
102
113
  - !ruby/object:Gem::Dependency
103
114
  name: awesome_print
104
- requirement: &70147247377080 !ruby/object:Gem::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: *70147247377080
123
+ version_requirements: *70342794665720
113
124
  - !ruby/object:Gem::Dependency
114
125
  name: railties
115
- requirement: &70147247375680 !ruby/object:Gem::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: *70147247375680
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.