cowtech-extensions 1.4.6 → 1.5.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -70,8 +70,7 @@ module Cowtech
70
70
  rv = self.inspect
71
71
  end
72
72
 
73
- rv = "DEBUG DUMP:\n#{rv}"
74
- must_raise ? raise(rv) : rv
73
+ must_raise ? raise Cowtech::Extensions::Exceptions::Dump.new(rv) : rv
75
74
  end
76
75
  end
77
76
  end
@@ -0,0 +1,14 @@
1
+ # encoding: utf-8
2
+ #
3
+ # This file is part of the cowtech-extensions gem. Copyright (C) 2011 and above Shogun <shogun_panda@me.com>.
4
+ # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
5
+ #
6
+
7
+ module Cowtech
8
+ module Extensions
9
+ module Exceptions
10
+ class Dump < ::Exception
11
+ end
12
+ end
13
+ end
14
+ end
@@ -10,8 +10,8 @@ module Cowtech
10
10
  module Extensions
11
11
  module Version
12
12
  MAJOR = 1
13
- MINOR = 4
14
- PATCH = 6
13
+ MINOR = 5
14
+ PATCH = 0
15
15
 
16
16
  STRING = [MAJOR, MINOR, PATCH].compact.join(".")
17
17
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cowtech-extensions
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.6
4
+ version: 1.5.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-04-21 00:00:00.000000000Z
12
+ date: 2012-04-23 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack
16
- requirement: &70128239497200 !ruby/object:Gem::Requirement
16
+ requirement: &70336478175680 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '3.0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70128239497200
24
+ version_requirements: *70336478175680
25
25
  description: A Rails blog engine plugin.
26
26
  email:
27
27
  - shogun_panda@me.com
@@ -43,6 +43,7 @@ files:
43
43
  - lib/cowtech-extensions/object.rb
44
44
  - lib/cowtech-extensions/pathname.rb
45
45
  - lib/cowtech-extensions/string.rb
46
+ - lib/cowtech-extensions/utils.rb
46
47
  - lib/cowtech-extensions/version.rb
47
48
  homepage: http://github.com/ShogunPanda/cowtech-extensions
48
49
  licenses: []