bookyt_salary 0.20.3 → 0.20.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 434b8765f6dc4e5a564b4a0063029c4e3fe81296
4
+ data.tar.gz: 54e94c02a15ca3e2abd6afde428df4fe9f202159
5
+ SHA512:
6
+ metadata.gz: e3ca91d036347c080ce9ccb83c70edf0b45e7a2da38ff838fef21ee2df75368e800a37ec8cc87355eae917212eb87d79d40e5e27cd009f40b89fa9d2b8163541
7
+ data.tar.gz: ff88adf1622ecb81e22b8ec461989be441de18f7455b37585062fcae5939203a3a319537c718023891b67acee24061c24b4769f04d9d6d2b7794fcc53e6f1211
@@ -5,9 +5,7 @@
5
5
  =boot_page_title
6
6
 
7
7
  - bookings = Booking.by_reference(resource)
8
- - credit_accounts = bookings.select('credit_account_id').group('credit_account_id').map{|account| account.credit_account}
9
- - debit_accounts = bookings.select('debit_account_id').group('debit_account_id').map{|account| account.debit_account}
10
- - accounts = (credit_accounts + debit_accounts).uniq
8
+ - accounts = bookings.accounts
11
9
  .tabbable
12
10
  %ul.nav.nav-tabs
13
11
  %li.active= link_to t_model, '#tab-main', {:data => {:toggle => 'tab'}}
@@ -1,3 +1,3 @@
1
1
  module BookytSalary
2
- VERSION = '0.20.3'
2
+ VERSION = '0.20.4'
3
3
  end
metadata CHANGED
@@ -1,94 +1,83 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bookyt_salary
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.3
5
- prerelease:
4
+ version: 0.20.4
6
5
  platform: ruby
7
6
  authors:
8
7
  - Simon Hürlimann (CyT)
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2014-05-07 00:00:00.000000000 Z
11
+ date: 2014-11-26 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rails
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ~>
17
+ - - "~>"
20
18
  - !ruby/object:Gem::Version
21
19
  version: '3.1'
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ~>
24
+ - - "~>"
28
25
  - !ruby/object:Gem::Version
29
26
  version: '3.1'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: recurrence
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - ">="
36
32
  - !ruby/object:Gem::Version
37
33
  version: '0'
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - ">="
44
39
  - !ruby/object:Gem::Version
45
40
  version: '0'
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: shoulda
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - ">="
52
46
  - !ruby/object:Gem::Version
53
47
  version: '0'
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ! '>='
52
+ - - ">="
60
53
  - !ruby/object:Gem::Version
61
54
  version: '0'
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: rcov
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ! '>='
59
+ - - ">="
68
60
  - !ruby/object:Gem::Version
69
61
  version: '0'
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ! '>='
66
+ - - ">="
76
67
  - !ruby/object:Gem::Version
77
68
  version: '0'
78
69
  - !ruby/object:Gem::Dependency
79
70
  name: rspec-rails
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
- - - ! '>='
73
+ - - ">="
84
74
  - !ruby/object:Gem::Version
85
75
  version: '0'
86
76
  type: :development
87
77
  prerelease: false
88
78
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
79
  requirements:
91
- - - ! '>='
80
+ - - ">="
92
81
  - !ruby/object:Gem::Version
93
82
  version: '0'
94
83
  description: This plugin extends bookyt with Salary functionality.
@@ -162,27 +151,25 @@ files:
162
151
  homepage: https://github.com/huerlisi/bookyt_salary
163
152
  licenses:
164
153
  - MIT
154
+ metadata: {}
165
155
  post_install_message:
166
156
  rdoc_options: []
167
157
  require_paths:
168
158
  - lib
169
159
  required_ruby_version: !ruby/object:Gem::Requirement
170
- none: false
171
160
  requirements:
172
- - - ! '>='
161
+ - - ">="
173
162
  - !ruby/object:Gem::Version
174
163
  version: '0'
175
164
  required_rubygems_version: !ruby/object:Gem::Requirement
176
- none: false
177
165
  requirements:
178
- - - ! '>='
166
+ - - ">="
179
167
  - !ruby/object:Gem::Version
180
168
  version: '0'
181
169
  requirements: []
182
170
  rubyforge_project:
183
- rubygems_version: 1.8.23
171
+ rubygems_version: 2.2.2
184
172
  signing_key:
185
173
  specification_version: 3
186
174
  summary: Salary plugin for bookyt
187
175
  test_files: []
188
- has_rdoc: