loggly 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/lib/loggly.rb +2 -2
  3. data/loggly.gemspec +1 -1
  4. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.3.0
data/lib/loggly.rb CHANGED
@@ -10,7 +10,7 @@ class LogglyResque
10
10
  @queue = :loggly
11
11
 
12
12
  def self.perform(klass,message, time=nil)
13
- Loggly.send_to_loggly(message, time)
13
+ klass.send(:send_to_loggly, message, time)
14
14
  end
15
15
  end
16
16
 
@@ -72,7 +72,7 @@ class Loggly
72
72
  #
73
73
  def self.async_record(message, time=nil)
74
74
  begin
75
- Resque.enqueue(LogglyResque, self.class, message, time)
75
+ Resque.enqueue(LogglyResque, self, message, time)
76
76
  rescue => e
77
77
  puts e
78
78
  puts "There was an error cueing loggly"
data/loggly.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{loggly}
8
- s.version = "0.2.0"
8
+ s.version = "0.3.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Ivan Acosta-Rubio"]
metadata CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 0
7
- - 2
7
+ - 3
8
8
  - 0
9
- version: 0.2.0
9
+ version: 0.3.0
10
10
  platform: ruby
11
11
  authors:
12
12
  - Ivan Acosta-Rubio