no_notifier_needed 2.3.2 → 2.3.3

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/VERSION CHANGED
@@ -1 +1 @@
1
- 2.3.2
1
+ 2.3.3
@@ -13,7 +13,7 @@ module NoNotifierNeeded
13
13
  def send_at(what_time, which_email, *args)
14
14
  email_hash = translate_to_hash(which_email, args)
15
15
  time_from_now = what_time.is_a?(Time) ? what_time : Chronic.parse(what_time)
16
- Resque.enqueue_at(time_from_now, EmailProcessor, email_hash)
16
+ Resqu.enqueue_at(time_from_now, EmailProcessor, email_hash)
17
17
  end
18
18
 
19
19
  private
@@ -46,7 +46,7 @@ module NoNotifierNeeded
46
46
  end
47
47
  end
48
48
  elsif known_models.include?(a.class.name) || a.class.respond_to?(:column_names)
49
- th[a.class.name.downcase.to_sym] = a.id
49
+ th[a.class.name.underscore.to_sym] = a.id
50
50
  else
51
51
  raise ArgumentError.new("Unknown #{a.class} passed to email procesor. \n Object #{a.inspect} \n\n WhichEmail: #{which_email} \n Args #{args} \n\n Known Models #{known_models}")
52
52
  end
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "no_notifier_needed"
8
- s.version = "2.3.2"
8
+ s.version = "2.3.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Robert R. Meyer"]
12
- s.date = "2013-04-12"
12
+ s.date = "2013-04-15"
13
13
  s.description = "A work in progress: Replace ActionMailer::Base class redundency. Temlating using haml or erb."
14
14
  s.email = "Blue.Dog.Archolite@gmail.com"
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: no_notifier_needed
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.2
4
+ version: 2.3.3
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-04-12 00:00:00.000000000 Z
12
+ date: 2013-04-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: haml