resque-reports 0.3.4 → 0.3.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZTg5NDgzYTkwN2Q1ZDllNzI5Y2JlM2FkMzdkZjk2MTUyYmRkNGI2ZQ==
4
+ NzYyMTMxNzc4Y2RkZjQ1OWEwNzg0MTkxMTc2YmQ0MTA3NTBkZTQzNQ==
5
5
  data.tar.gz: !binary |-
6
- NTAyOWU0NDhkOWI3Mzc5OWM5MTk4YWJhMTVmOWUzNjFkYjcyODhjMA==
6
+ ZWIzNzQwOTcxY2RjOTYxZTk5ZjBlMTY4NjkwNmJjZTU0NjBlZmZlNg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YTQ4ZTc4MDA4NTdhYTk3ZTM1MTNmZjdiMmM4ZjJmZTg5MzI2M2VlZjk5M2Ux
10
- MDdiM2EwN2M0NzhmMDU4ZDljM2UxNTBiZDJiNWU3MDI5NWMwM2VjY2MwYjFh
11
- MzU3NDRhMDhjZmU5ZTI1YzU4Yzg1NGJlYmUxY2U3ZmQ2NjUwMzQ=
9
+ M2Q3ZGQ3YzY5OWU1MjczMDVkNzY0YmM0OTcwMTBiZDAzYWQwZDc0OWJkZjVm
10
+ NDg4NTgyMDgwMDczNTI4ZDkxNjJlY2JjZmMzMjQ3NTg2YWY2ODZiMzgyMmJh
11
+ ZDc0ZmNmNGZkYzIyOGFhNWU1NDU3ZmVlNzAwMDAwMzE4ODliOGU=
12
12
  data.tar.gz: !binary |-
13
- OTJhNzlmMGMwNTM1ODFjMzBiYjU2ZDlmNjc4M2Y4YzFkNTRjNWIxNzhiZGQ2
14
- MGE5NjE0NjY1ZWUxN2IzYzhkMmQxOTUwN2I5N2Y5YmQ4ZDM5ZDAwZDBhNGMy
15
- OTk1Mzk3MWExNTQ0NWFmNDRmYTIwMzExMTc1NzdjYmQ5NDk3ZmE=
13
+ Mzg2MmYyNDdkYjc5NDg1ZGJkZTVlNzlmYWFkZDQwOWIzYTgwYWMwNTFjZjhh
14
+ YjBlNDJhOGYyODAyYjVkOTIzZGQ2MWUyMWU1NWVhMzM4MmYyMmQxMjFmZWVj
15
+ YTg0MTQ4ZjUwMzBjYzA3OWE5N2IyZWU4NjVkM2NlN2JkYTE5Yzc=
@@ -48,7 +48,7 @@ module Resque
48
48
  end
49
49
 
50
50
  if (formatter_name = options[:formatter])
51
- column_value = send("#{formatter_name}_formatter".to_sym, column_value)
51
+ column_value = @instance.send("#{formatter_name}_formatter".to_sym, column_value)
52
52
  end
53
53
 
54
54
  @table_row << encoded_string(column_value)
@@ -1,7 +1,7 @@
1
1
  # coding: utf-8
2
2
  module Resque
3
3
  module Reports
4
- VERSION = '0.3.4'
4
+ VERSION = '0.3.5'
5
5
  end
6
6
  end
7
7
 
@@ -23,7 +23,7 @@ class MyCsvReport < Resque::Reports::CsvReport
23
23
  @main_param = param
24
24
  end
25
25
 
26
- def self.cute_third_formatter(column_value)
26
+ def cute_third_formatter(column_value)
27
27
  "3'rd row element is: #{column_value}"
28
28
  end
29
29
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: resque-reports
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergey D.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-29 00:00:00.000000000 Z
11
+ date: 2014-04-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: resque-integration