rails_debug 1.0.0 → 1.0.1
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/Readme.markdown +2 -1
- data/lib/rails_debug.rb +8 -7
- data/rails_debug.gemspec +1 -1
- metadata +3 -4
- data/init.rb +0 -2
data/Readme.markdown
CHANGED
data/lib/rails_debug.rb
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
module RailsDebug
|
2
|
-
def r(obj)
|
3
|
-
raise obj.to_yaml
|
4
|
-
end
|
5
|
-
|
6
|
-
def rj(obj)
|
7
|
-
render :text => obj.to_yaml, :status => 500
|
8
|
-
return
|
2
|
+
def r(obj)
|
3
|
+
raise obj.to_yaml
|
4
|
+
end
|
5
|
+
|
6
|
+
def rj(obj)
|
7
|
+
render :text => obj.to_yaml, :status => 500
|
8
|
+
return
|
9
9
|
end
|
10
10
|
|
11
11
|
def not_blank?
|
@@ -22,3 +22,4 @@ module RailsDebug
|
|
22
22
|
end
|
23
23
|
end
|
24
24
|
|
25
|
+
Object.class_eval { include RailsDebug }
|
data/rails_debug.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'rails_debug'
|
3
|
-
s.version = '1.0.
|
3
|
+
s.version = '1.0.1'
|
4
4
|
s.date = '2013-02-24'
|
5
5
|
s.summary = "Simple methods for debugging rails applications"
|
6
6
|
s.description = "Some simple methods to help with debugging of rails applications"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_debug
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-02-24 00:00:00.
|
12
|
+
date: 2013-02-24 00:00:00.000000000Z
|
13
13
|
dependencies: []
|
14
14
|
description: Some simple methods to help with debugging of rails applications
|
15
15
|
email:
|
@@ -19,7 +19,6 @@ extensions: []
|
|
19
19
|
extra_rdoc_files: []
|
20
20
|
files:
|
21
21
|
- Readme.markdown
|
22
|
-
- init.rb
|
23
22
|
- lib/rails_debug.rb
|
24
23
|
- rails_debug.gemspec
|
25
24
|
homepage: https://github.com/infinum/rails_debug
|
@@ -42,7 +41,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
42
41
|
version: '0'
|
43
42
|
requirements: []
|
44
43
|
rubyforge_project:
|
45
|
-
rubygems_version: 1.8.
|
44
|
+
rubygems_version: 1.8.10
|
46
45
|
signing_key:
|
47
46
|
specification_version: 3
|
48
47
|
summary: Simple methods for debugging rails applications
|
data/init.rb
DELETED