jazz_hands 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,11 @@
1
+ ## 0.3.0 (2012-06-07)
2
+
3
+ * Replace [pry-nav][pry-nav] with [pry-debugger][pry-debugger] for improved
4
+ performance and no segfaults. `JazzHands.enable_pry_nav` removed.
5
+ * Upgrade [pry][pry] to the latest 0.9.9, [pry-doc][pry-doc] 0.4.2,
6
+ [pry-git][pry-git] 0.2.3, [pry-stack_explorer][pry-stack_explorer] 0.4.2,
7
+ [pry-remote][pry-remote] 0.1.4, [coderay][coderay] 1.0.6.
8
+
1
9
  ## 0.2.0 (2012-03-19)
2
10
 
3
11
  * Add [pry-stack_explorer][pry-stack_explorer] 0.4.1.
data/README.md CHANGED
@@ -14,8 +14,7 @@ hard-working hands!
14
14
  * [**Pry Git**][pry-git] to teach the console about git. Diffs, blames, and
15
15
  commits on methods and classes, not just files.
16
16
  * [**Pry Remote**][pry-remote] to connect remotely to a Pry console.
17
- * [**Pry Nav**][pry-nav] to turn the console into a simple debugger. _Ruby 1.9.3
18
- recommended_
17
+ * [**Pry Debugger**][pry-debugger] to turn the console into a simple debugger.
19
18
  * [**Pry Stack Explorer**][pry-stack_explorer] to navigate the call stack and
20
19
  frames.
21
20
  * [**Coolline**][coolline] and [**Coderay**][coderay] for syntax highlighting as
@@ -36,9 +35,6 @@ That's it. Run `rails console` as usual.
36
35
 
37
36
  [Hirb][hirb] isn't enabled by default. To use, run `Hirb.enable` in the console.
38
37
 
39
- For performance, [pry-nav][pry-nav] is only enabled on 1.9.3 by default. To
40
- manually enable for 1.9.2, add `JazzHands.enable_pry_nav` to an initializer.
41
-
42
38
  Syntax highlighting as you type via [Coolline][coolline] and [Coderay][coderay]
43
39
  is disabled by default due to slightly buggy behavior. To enable, add
44
40
  `JazzHands.enable_syntax_highlighting_as_you_type` to an initializer. Only works
@@ -56,7 +52,7 @@ file an [issue][issues]. [Project changelog][changelog].
56
52
  [hirb]: https://github.com/cldwalker/hirb
57
53
  [pry-doc]: https://github.com/pry/pry-doc
58
54
  [pry-git]: https://github.com/pry/pry-git
59
- [pry-nav]: https://github.com/nixme/pry-nav
55
+ [pry-debugger]: https://github.com/nixme/pry-debugger
60
56
  [pry-remote]: https://github.com/Mon-Ouie/pry-remote
61
57
  [pry-stack_explorer]: https://github.com/pry/pry-stack_explorer
62
58
  [coolline]: https://github.com/Mon-Ouie/coolline
@@ -19,15 +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.8.4'
23
- gem.add_runtime_dependency 'pry-doc', '~> 0.4.1'
24
- gem.add_runtime_dependency 'pry-git', '~> 0.2.2'
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'
22
+ gem.add_runtime_dependency 'pry', '~> 0.9.9'
23
+ gem.add_runtime_dependency 'pry-doc', '~> 0.4.2'
24
+ gem.add_runtime_dependency 'pry-git', '~> 0.2.3'
25
+ gem.add_runtime_dependency 'pry-stack_explorer', '~> 0.4.2'
26
+ gem.add_runtime_dependency 'pry-remote', '>= 0.1.4'
27
+ gem.add_runtime_dependency 'pry-debugger', '~> 0.1.0'
28
28
  gem.add_runtime_dependency 'hirb', '~> 0.6.2'
29
29
  gem.add_runtime_dependency 'coolline', '>= 0.1.0'
30
- gem.add_runtime_dependency 'coderay', '~> 1.0.5'
30
+ gem.add_runtime_dependency 'coderay', '~> 1.0.6'
31
31
  gem.add_runtime_dependency 'awesome_print', '~> 1.0.2'
32
32
  gem.add_runtime_dependency 'railties', '~> 3.0'
33
33
  end
@@ -4,18 +4,6 @@ require 'jazz_hands/railtie' if defined?(Rails)
4
4
  module JazzHands
5
5
  extend self
6
6
 
7
- # Enable pry-nav.
8
- #
9
- # For performance reasons, pry-nav is enabled by default for only MRI 1.9.3+.
10
- # To use with MRI 1.9.2, call this method from a Rails initializer:
11
- #
12
- # JazzHands.enable_pry_nav
13
- #
14
- def enable_pry_nav
15
- require 'pry-nav'
16
- end
17
-
18
-
19
7
  # Enable syntax highlighting as you type in the Rails console via coolline and
20
8
  # coderay (MRI 1.9.3+ only). Disabled by default as it's a bit buggy.
21
9
  #
@@ -5,9 +5,7 @@ require 'pry-remote'
5
5
  require 'pry-stack_explorer'
6
6
  require 'awesome_print'
7
7
  require 'jazz_hands/hirb_ext'
8
-
9
- # Enable pry-nav by default on MRI 1.9.3 only
10
- require 'pry-nav' if RUBY_VERSION >= '1.9.3'
8
+ require 'pry-debugger'
11
9
 
12
10
 
13
11
  module JazzHands
@@ -22,8 +20,7 @@ module JazzHands
22
20
  module IRB::ExtendCommandBundle; end
23
21
  end
24
22
 
25
- # We're managing the loading of plugins, especially pry-nav which
26
- # shouldn't be loaded on 1.9.2. So don't let pry autoload them.
23
+ # We're managing the loading of plugins. So don't let pry autoload them.
27
24
  Pry.config.should_load_plugins = false
28
25
 
29
26
  # Use awesome_print for output, but keep pry's pager. If Hirb is
@@ -1,3 +1,3 @@
1
1
  module JazzHands
2
- VERSION = '0.2.0'
2
+ VERSION = '0.3.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.2.0
4
+ version: 0.3.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,77 +9,77 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-03-23 00:00:00.000000000 Z
12
+ date: 2012-06-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: pry
16
- requirement: &70342794657960 !ruby/object:Gem::Requirement
16
+ requirement: &70105967506880 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: 0.9.8.4
21
+ version: 0.9.9
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70342794657960
24
+ version_requirements: *70105967506880
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: pry-doc
27
- requirement: &70342794657280 !ruby/object:Gem::Requirement
27
+ requirement: &70105967505460 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
31
31
  - !ruby/object:Gem::Version
32
- version: 0.4.1
32
+ version: 0.4.2
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70342794657280
35
+ version_requirements: *70105967505460
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: pry-git
38
- requirement: &70342794656300 !ruby/object:Gem::Requirement
38
+ requirement: &70105967504080 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
42
42
  - !ruby/object:Gem::Version
43
- version: 0.2.2
43
+ version: 0.2.3
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *70342794656300
46
+ version_requirements: *70105967504080
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: pry-stack_explorer
49
- requirement: &70342794654600 !ruby/object:Gem::Requirement
49
+ requirement: &70105967503080 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
53
53
  - !ruby/object:Gem::Version
54
- version: 0.4.1
54
+ version: 0.4.2
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *70342794654600
57
+ version_requirements: *70105967503080
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: pry-remote
60
- requirement: &70342794653900 !ruby/object:Gem::Requirement
60
+ requirement: &70105967518200 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
64
64
  - !ruby/object:Gem::Version
65
- version: 0.1.1
65
+ version: 0.1.4
66
66
  type: :runtime
67
67
  prerelease: false
68
- version_requirements: *70342794653900
68
+ version_requirements: *70105967518200
69
69
  - !ruby/object:Gem::Dependency
70
- name: pry-nav
71
- requirement: &70342794652900 !ruby/object:Gem::Requirement
70
+ name: pry-debugger
71
+ requirement: &70105967517400 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ~>
75
75
  - !ruby/object:Gem::Version
76
- version: 0.2.0
76
+ version: 0.1.0
77
77
  type: :runtime
78
78
  prerelease: false
79
- version_requirements: *70342794652900
79
+ version_requirements: *70105967517400
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: hirb
82
- requirement: &70342794668420 !ruby/object:Gem::Requirement
82
+ requirement: &70105967516660 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - ~>
@@ -87,10 +87,10 @@ dependencies:
87
87
  version: 0.6.2
88
88
  type: :runtime
89
89
  prerelease: false
90
- version_requirements: *70342794668420
90
+ version_requirements: *70105967516660
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: coolline
93
- requirement: &70342794667720 !ruby/object:Gem::Requirement
93
+ requirement: &70105967515240 !ruby/object:Gem::Requirement
94
94
  none: false
95
95
  requirements:
96
96
  - - ! '>='
@@ -98,21 +98,21 @@ dependencies:
98
98
  version: 0.1.0
99
99
  type: :runtime
100
100
  prerelease: false
101
- version_requirements: *70342794667720
101
+ version_requirements: *70105967515240
102
102
  - !ruby/object:Gem::Dependency
103
103
  name: coderay
104
- requirement: &70342794667100 !ruby/object:Gem::Requirement
104
+ requirement: &70105967514580 !ruby/object:Gem::Requirement
105
105
  none: false
106
106
  requirements:
107
107
  - - ~>
108
108
  - !ruby/object:Gem::Version
109
- version: 1.0.5
109
+ version: 1.0.6
110
110
  type: :runtime
111
111
  prerelease: false
112
- version_requirements: *70342794667100
112
+ version_requirements: *70105967514580
113
113
  - !ruby/object:Gem::Dependency
114
114
  name: awesome_print
115
- requirement: &70342794665720 !ruby/object:Gem::Requirement
115
+ requirement: &70105967514080 !ruby/object:Gem::Requirement
116
116
  none: false
117
117
  requirements:
118
118
  - - ~>
@@ -120,10 +120,10 @@ dependencies:
120
120
  version: 1.0.2
121
121
  type: :runtime
122
122
  prerelease: false
123
- version_requirements: *70342794665720
123
+ version_requirements: *70105967514080
124
124
  - !ruby/object:Gem::Dependency
125
125
  name: railties
126
- requirement: &70342794664820 !ruby/object:Gem::Requirement
126
+ requirement: &70105967513380 !ruby/object:Gem::Requirement
127
127
  none: false
128
128
  requirements:
129
129
  - - ~>
@@ -131,7 +131,7 @@ dependencies:
131
131
  version: '3.0'
132
132
  type: :runtime
133
133
  prerelease: false
134
- version_requirements: *70342794664820
134
+ version_requirements: *70105967513380
135
135
  description: Spending hours in the rails console? Spruce it up and show off those
136
136
  hard-working hands! jazz_hands replaces IRB with Pry, improves output through awesome_print,
137
137
  and has some other goodies up its sleeves.