rack-debug 1.2.0 → 1.3.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/VERSION +1 -1
- data/lib/rack-debug.rb +0 -0
- data/{ext → lib/rack-debug}/debugger.rb +0 -0
- data/lib/rack-debug/tasks.rb +17 -0
- data/rack-debug.gemspec +5 -3
- data/tasks/rack-debug.rake +1 -17
- metadata +5 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.3.0
|
data/lib/rack-debug.rb
ADDED
File without changes
|
File without changes
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# desc "Explaining what the task does"
|
2
|
+
# task :socket_debugger do
|
3
|
+
# # Task goes here
|
4
|
+
# end
|
5
|
+
|
6
|
+
desc 'Launch the Rack::Debug client'
|
7
|
+
task :debug do
|
8
|
+
require File.join(File.dirname(__FILE__), 'debugger')
|
9
|
+
|
10
|
+
begin
|
11
|
+
Debugger.start_unix_socket_client
|
12
|
+
rescue Errno::ENOENT
|
13
|
+
puts "Server is not running or Passenger has spooled down"
|
14
|
+
rescue StandardError => ex
|
15
|
+
puts "Unable to connect to debugging socket: #{ex}"
|
16
|
+
end
|
17
|
+
end
|
data/rack-debug.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{rack-debug}
|
8
|
-
s.version = "1.
|
8
|
+
s.version = "1.3.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["David Dollar"]
|
12
|
-
s.date = %q{2009-
|
12
|
+
s.date = %q{2009-10-21}
|
13
13
|
s.description = %q{
|
14
14
|
Rack::Debug adds a middlerware interface to ruby-debug
|
15
15
|
http://github.com/github/rack-debug
|
@@ -24,8 +24,10 @@ http://github.com/github/rack-debug
|
|
24
24
|
"README.rdoc",
|
25
25
|
"Rakefile",
|
26
26
|
"VERSION",
|
27
|
-
"ext/debugger.rb",
|
28
27
|
"init.rb",
|
28
|
+
"lib/rack-debug.rb",
|
29
|
+
"lib/rack-debug/debugger.rb",
|
30
|
+
"lib/rack-debug/tasks.rb",
|
29
31
|
"lib/rack/debug.rb",
|
30
32
|
"rack-debug.gemspec",
|
31
33
|
"tasks/rack-debug.rake"
|
data/tasks/rack-debug.rake
CHANGED
@@ -1,17 +1 @@
|
|
1
|
-
|
2
|
-
# task :socket_debugger do
|
3
|
-
# # Task goes here
|
4
|
-
# end
|
5
|
-
|
6
|
-
desc 'Launch the Rack::Debug client'
|
7
|
-
task :debug do
|
8
|
-
require File.join(File.dirname(__FILE__), '..', 'ext', 'debugger')
|
9
|
-
|
10
|
-
begin
|
11
|
-
Debugger.start_unix_socket_client
|
12
|
-
rescue Errno::ENOENT
|
13
|
-
puts "Server is not running or Passenger has spooled down"
|
14
|
-
rescue StandardError => ex
|
15
|
-
puts "Unable to connect to debugging socket: #{ex}"
|
16
|
-
end
|
17
|
-
end
|
1
|
+
require 'rack-debug/tasks'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-debug
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Dollar
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-10-21 00:00:00 -04:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -49,8 +49,10 @@ files:
|
|
49
49
|
- README.rdoc
|
50
50
|
- Rakefile
|
51
51
|
- VERSION
|
52
|
-
- ext/debugger.rb
|
53
52
|
- init.rb
|
53
|
+
- lib/rack-debug.rb
|
54
|
+
- lib/rack-debug/debugger.rb
|
55
|
+
- lib/rack-debug/tasks.rb
|
54
56
|
- lib/rack/debug.rb
|
55
57
|
- rack-debug.gemspec
|
56
58
|
- tasks/rack-debug.rake
|