dossier 2.0.1 → 2.1.0

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.
@@ -25,7 +25,7 @@
25
25
  <td>3</td>
26
26
  <td>Employee Elise Elderberry</td>
27
27
  <td>Corporate Malfeasance</td>
28
- <td>$99,000.00</td>
28
+ <td>Who's Asking?</td>
29
29
  <td>No</td>
30
30
  <td>2013-01-11</td>
31
31
  </tr>
@@ -25,7 +25,7 @@
25
25
  <td>3</td>
26
26
  <td>Employee Elise Elderberry</td>
27
27
  <td>Corporate Malfeasance</td>
28
- <td>$99,000.00</td>
28
+ <td>Who's Asking?</td>
29
29
  <td>No</td>
30
30
  <td>2013-01-11</td>
31
31
  </tr>
@@ -55,8 +55,9 @@ class EmployeeReport < Dossier::Report
55
55
  @names ||= options.fetch(:names) { [] }.dup
56
56
  end
57
57
 
58
- def format_salary(amount)
59
- formatter.number_to_currency(amount) # unless format.csv?
58
+ def format_salary(amount, row)
59
+ return "Who's Asking?" if row[:division] == "Corporate Malfeasance"
60
+ formatter.number_to_currency(amount)
60
61
  end
61
62
 
62
63
  def format_hired_on(date)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dossier
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.1.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -285,7 +285,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
285
285
  version: '0'
286
286
  segments:
287
287
  - 0
288
- hash: -785659853303395799
288
+ hash: -4193634730883303036
289
289
  required_rubygems_version: !ruby/object:Gem::Requirement
290
290
  none: false
291
291
  requirements:
@@ -294,7 +294,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
294
294
  version: '0'
295
295
  segments:
296
296
  - 0
297
- hash: -785659853303395799
297
+ hash: -4193634730883303036
298
298
  requirements: []
299
299
  rubyforge_project:
300
300
  rubygems_version: 1.8.24