cowtech-rails 1.7.8.2 → 1.7.9.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -70,7 +70,7 @@ module Cowtech
|
|
70
70
|
end
|
71
71
|
end
|
72
72
|
|
73
|
-
def debug(what, type = :
|
73
|
+
def debug(what, type = :yaml)
|
74
74
|
msg = ""
|
75
75
|
|
76
76
|
if type == :json then
|
@@ -79,6 +79,8 @@ module Cowtech
|
|
79
79
|
rescue Exception => e
|
80
80
|
msg = what.to_json
|
81
81
|
end
|
82
|
+
elsif type == :yaml then
|
83
|
+
msg = what.to_yaml
|
82
84
|
else
|
83
85
|
msg = what.inspect
|
84
86
|
end
|
data/lib/cowtech/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cowtech-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.9.0
|
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: 2011-
|
12
|
+
date: 2011-07-08 00:00:00.000000000Z
|
13
13
|
dependencies: []
|
14
14
|
description: A general purpose Rails utility plugin.
|
15
15
|
email: shogun_panda@me.com
|