dr_dre 0.1 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/Manifest CHANGED
@@ -2,5 +2,6 @@ LICENCE
2
2
  Manifest
3
3
  README
4
4
  Rakefile
5
+ gem-public_cert.pem
5
6
  lib/dr_dre.rb
6
7
  lib/dr_dre/dr_dre.rb
data/README CHANGED
@@ -5,4 +5,6 @@ detects multiple calls to render or redirect (triggering a DoubleRenderError),
5
5
  will drop a couple of lines into the output log identifying where the redirect
6
6
  or render calls were made from.
7
7
 
8
+ It will also push a custom DoubleRenderError exception.
9
+
8
10
  Just use the gem and +include DrDre+ in any controllers you want to monitor.
data/Rakefile CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
  require 'rake'
3
3
  require 'echoe'
4
4
 
5
- Echoe.new('dr_dre', '0.1') do |p|
5
+ Echoe.new('dr_dre', '0.1.1') do |p|
6
6
  p.description = "A gem that logs a list of callers to redirect_to and render in a Rails app, and catches DoubleRenderErrors"
7
7
  p.url = "http://github.com/tictoc/dr_dre"
8
8
  p.author = "Matthew MacLeod"
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{dr_dre}
5
- s.version = "0.1"
5
+ s.version = "0.1.1"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Matthew MacLeod"]
@@ -10,7 +10,7 @@ Gem::Specification.new do |s|
10
10
  s.description = %q{A gem that logs a list of callers to redirect_to and render in a Rails app, and catches DoubleRenderErrors}
11
11
  s.email = %q{matthew@tictocfamily.com}
12
12
  s.extra_rdoc_files = ["README", "lib/dr_dre.rb", "lib/dr_dre/dr_dre.rb"]
13
- s.files = ["LICENCE", "Manifest", "README", "Rakefile", "lib/dr_dre.rb", "lib/dr_dre/dr_dre.rb", "dr_dre.gemspec"]
13
+ s.files = ["LICENCE", "Manifest", "README", "Rakefile", "gem-public_cert.pem", "lib/dr_dre.rb", "lib/dr_dre/dr_dre.rb", "dr_dre.gemspec"]
14
14
  s.homepage = %q{http://github.com/tictoc/dr_dre}
15
15
  s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Dr_dre", "--main", "README"]
16
16
  s.require_paths = ["lib"]
@@ -0,0 +1,20 @@
1
+ -----BEGIN CERTIFICATE-----
2
+ MIIDRDCCAiygAwIBAgIBADANBgkqhkiG9w0BAQUFADBIMRMwEQYDVQQDDApkZXZl
3
+ bG9wZXJzMRwwGgYKCZImiZPyLGQBGRYMdGljdG9jZmFtaWx5MRMwEQYKCZImiZPy
4
+ LGQBGRYDY29tMB4XDTEwMDcxNTEzMjYzM1oXDTExMDcxNTEzMjYzM1owSDETMBEG
5
+ A1UEAwwKZGV2ZWxvcGVyczEcMBoGCgmSJomT8ixkARkWDHRpY3RvY2ZhbWlseTET
6
+ MBEGCgmSJomT8ixkARkWA2NvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
7
+ ggEBALxbpuZ48/+YHfCipcqeM3wpBf7AoB1+FooxhJFmHMCf60GX3WrVFV/yp2sn
8
+ F0NteCzgp1NH/PBRUEwyuwsKfKkIpbCPwbeAK5HQFkvVo7HAXqogGcFeCjOl20pQ
9
+ V4+zsM/pWxkRhZqxehGCI9K6QC4SrA0+ape0+wg2bFNNO9ql4tesEXlT/66K+8iX
10
+ vt3ZD7tS9qEVbDhO6cdmXFtNenN4QqRP/+ha39C/skqfBUEgJsfwlClRwpvuG/9M
11
+ Cgl7yJhzXx7AACjfKz5Zkee859h3Z+qFREMRGxDSGd0iaSXljs6H/dkaSUiS7gKs
12
+ 2RG2X0L0MdshLzqFzXLm1WiIF4cCAwEAAaM5MDcwCQYDVR0TBAIwADALBgNVHQ8E
13
+ BAMCBLAwHQYDVR0OBBYEFNevsD6pN2vjdsk/09FKj/dIc7j9MA0GCSqGSIb3DQEB
14
+ BQUAA4IBAQAe8MTmhh40lGABxP5+d6XC3QYO9DuiViEFlKTkEdchKmnC2UNezIhb
15
+ vO5MobPQ4VucaWX2DPYtDVtF5oQeGMRcSGEXhpTmPqx5/I1F9OFgixO7lk5PsN7V
16
+ uvGXM/RN5HWWPd3AUkdj4KSusZX+6F1BQ+Xtf9cdCDCFKQiB6QzXyPoymLuG07Qm
17
+ Rwqzbgl6NPKRUfOpLmEM8mrgQeiakeirgNjeLtX+dpY54IoIgOk2hUt9Qxo42+q2
18
+ fCRAtD5yegBlbgTDNqt0lRPApsmQesXv+D4yz+wjgObUTmFBBjfG8ahs+GMMcMa3
19
+ iXFDN3AKXwpCix++UJqQt9Qc8PEvOito
20
+ -----END CERTIFICATE-----
@@ -2,12 +2,12 @@ module DrDre
2
2
 
3
3
  def redirect_to(*params)
4
4
  log_if_dre
5
- super(params)
5
+ super(*params)
6
6
  end
7
7
 
8
8
  def render(*params)
9
9
  log_if_dre
10
- super(params)
10
+ super(*params)
11
11
  end
12
12
 
13
13
  private
metadata CHANGED
@@ -5,7 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- version: "0.1"
8
+ - 1
9
+ version: 0.1.1
9
10
  platform: ruby
10
11
  authors:
11
12
  - Matthew MacLeod
@@ -32,6 +33,7 @@ files:
32
33
  - Manifest
33
34
  - README
34
35
  - Rakefile
36
+ - gem-public_cert.pem
35
37
  - lib/dr_dre.rb
36
38
  - lib/dr_dre/dr_dre.rb
37
39
  - dr_dre.gemspec