merb_signupto 0.0.6 → 0.0.7

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.
@@ -70,6 +70,7 @@ module Merb
70
70
  begin
71
71
  self.class._sms_klass.new(sms_account, sms_message)
72
72
  rescue => e
73
+ puts "[signupto] ERROR: #{e}"
73
74
  MERB_LOGGER.error(e)
74
75
  end
75
76
  end
@@ -3,11 +3,9 @@ $:.unshift(File.dirname(__FILE__)) unless
3
3
 
4
4
  # make sure we're running inside Merb
5
5
  if defined?(Merb::Plugins)
6
- if defined?(MERB_PATHS)
7
- MERB_PATHS.pop
8
- MERB_PATHS << '/app/messages/**/*.rb'
9
- MERB_PATHS << "/config/router.rb"
10
- end
6
+ Merb.load_paths.insert(-2, '/app/messages/**/*.rb')
7
+ # puts "Load paths proper..."
8
+ # puts Merb.load_paths()
11
9
 
12
10
  require 'merb_signupto/controller_extension'
13
11
  require 'merb/sms_controller'
@@ -13,6 +13,7 @@ module MerbSignupto
13
13
  # for more information on how to use the SmsController please see the docs
14
14
  # in sms_controller.rb
15
15
  def send_sms(klass, method, mail_params, send_params = nil)
16
+ # puts "Class is #{klass}"
16
17
  klass.new(send_params || params, self).dispatch_and_deliver(method, mail_params)
17
18
  end
18
19
 
@@ -2,7 +2,7 @@ module MerbSignupto
2
2
  module Version #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 0
5
- TINY = 6
5
+ TINY = 7
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: merb_signupto
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Perrett
@@ -9,7 +9,7 @@ autorequire: merb_signupto
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-01-10 00:00:00 +00:00
12
+ date: 2008-01-28 00:00:00 +00:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency