bookyt_salary 0.16.3 → 0.16.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,8 @@
1
1
  class SalaryBookingTemplate < BookingTemplate
2
2
  # Obligation flags
3
3
  def self.saldo_inclusion_flags
4
- SalaryBookingTemplate.tag_counts_on(:include_in_saldo).pluck(:name)
4
+ # Fix: Using .pluck(:name) would be nice but gives non-deterministic behaviour (id instead of name, sometimes)
5
+ SalaryBookingTemplate.tag_counts_on(:include_in_saldo).map{|tag| tag.name}
5
6
  end
6
7
 
7
8
  def to_s
@@ -1,3 +1,3 @@
1
1
  module BookytSalary
2
- VERSION = '0.16.3'
2
+ VERSION = '0.16.4'
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bookyt_salary
3
3
  version: !ruby/object:Gem::Version
4
- hash: 89
4
+ hash: 87
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 16
9
- - 3
10
- version: 0.16.3
9
+ - 4
10
+ version: 0.16.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - "Simon H\xC3\xBCrlimann (CyT)"
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-03-16 00:00:00 Z
18
+ date: 2012-03-20 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: rails
@@ -185,7 +185,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
185
185
  requirements: []
186
186
 
187
187
  rubyforge_project:
188
- rubygems_version: 1.8.15
188
+ rubygems_version: 1.8.10
189
189
  signing_key:
190
190
  specification_version: 3
191
191
  summary: Salary plugin for bookyt