bookyt_projects 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/app/models/work_day.rb +3 -2
- data/lib/bookyt_projects/version.rb +1 -1
- metadata +80 -101
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 6b0d611db981b89fba2ea89f1fac37f03749f133
|
4
|
+
data.tar.gz: 46ff961c0744f91c6b29d6d8101810fe07349cfc
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 2b66302b4318f4cfe6e0a1d81c4c302ca13695caf33a6e9737058d18a82472b2271a304d1d53eaaeefe2eb305a1104e18efa67d5e10da0c142d5b5603271ee98
|
7
|
+
data.tar.gz: c485368c16da9e547c0442c9f136d37b73d283bd06a09528a1dd354994aefd218c2acd5ad58fdf9d9616d206f79116a434adfa95052473eccac2e58ad83f2b52
|
data/app/models/work_day.rb
CHANGED
@@ -15,8 +15,9 @@ class WorkDay < ActiveRecord::Base
|
|
15
15
|
"%s %s: %s/%s" % [date, person, hours_worked, hours_due]
|
16
16
|
end
|
17
17
|
|
18
|
-
|
19
|
-
|
18
|
+
def overtime
|
19
|
+
hours_worked - hours_due
|
20
|
+
end
|
20
21
|
|
21
22
|
def self.create_or_update(person, date)
|
22
23
|
work_day = person.work_days.where(:date => date).first
|
metadata
CHANGED
@@ -1,106 +1,98 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: bookyt_projects
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 1
|
8
|
-
- 1
|
9
|
-
- 0
|
10
|
-
version: 1.1.0
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.1.1
|
11
5
|
platform: ruby
|
12
|
-
authors:
|
6
|
+
authors:
|
13
7
|
- Roman Simecek (CyT)
|
14
|
-
-
|
8
|
+
- Simon Hürlimann (CyT)
|
15
9
|
autorequire:
|
16
10
|
bindir: bin
|
17
11
|
cert_chain: []
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2014-11-26 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
22
15
|
name: rails
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
hash: 5
|
30
|
-
segments:
|
31
|
-
- 3
|
32
|
-
- 1
|
33
|
-
version: "3.1"
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - "~>"
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '3.1'
|
34
21
|
type: :runtime
|
35
|
-
version_requirements: *id001
|
36
|
-
- !ruby/object:Gem::Dependency
|
37
|
-
name: recurrence
|
38
22
|
prerelease: false
|
39
|
-
|
40
|
-
|
41
|
-
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - "~>"
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: '3.1'
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: recurrence
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
42
32
|
- - ">="
|
43
|
-
- !ruby/object:Gem::Version
|
44
|
-
|
45
|
-
segments:
|
46
|
-
- 0
|
47
|
-
version: "0"
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '0'
|
48
35
|
type: :runtime
|
49
|
-
version_requirements: *id002
|
50
|
-
- !ruby/object:Gem::Dependency
|
51
|
-
name: shoulda
|
52
36
|
prerelease: false
|
53
|
-
|
54
|
-
|
55
|
-
requirements:
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
56
39
|
- - ">="
|
57
|
-
- !ruby/object:Gem::Version
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '0'
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
name: shoulda
|
44
|
+
requirement: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - ">="
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '0'
|
62
49
|
type: :development
|
63
|
-
version_requirements: *id003
|
64
|
-
- !ruby/object:Gem::Dependency
|
65
|
-
name: rcov
|
66
50
|
prerelease: false
|
67
|
-
|
68
|
-
|
69
|
-
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - ">="
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '0'
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: rcov
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
70
60
|
- - ">="
|
71
|
-
- !ruby/object:Gem::Version
|
72
|
-
|
73
|
-
segments:
|
74
|
-
- 0
|
75
|
-
version: "0"
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '0'
|
76
63
|
type: :development
|
77
|
-
version_requirements: *id004
|
78
|
-
- !ruby/object:Gem::Dependency
|
79
|
-
name: rspec-rails
|
80
64
|
prerelease: false
|
81
|
-
|
82
|
-
|
83
|
-
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - ">="
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
- !ruby/object:Gem::Dependency
|
71
|
+
name: rspec-rails
|
72
|
+
requirement: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
84
74
|
- - ">="
|
85
|
-
- !ruby/object:Gem::Version
|
86
|
-
|
87
|
-
segments:
|
88
|
-
- 0
|
89
|
-
version: "0"
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '0'
|
90
77
|
type: :development
|
91
|
-
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - ">="
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '0'
|
92
84
|
description: This plugin extends bookyt with project management functionality.
|
93
|
-
email:
|
85
|
+
email:
|
94
86
|
- roman.simecek@cyt.ch
|
95
87
|
- simon.huerlimann@cyt.ch
|
96
88
|
executables: []
|
97
|
-
|
98
89
|
extensions: []
|
99
|
-
|
100
|
-
|
90
|
+
extra_rdoc_files:
|
91
|
+
- LICENSE.txt
|
92
|
+
- README.rdoc
|
93
|
+
files:
|
101
94
|
- LICENSE.txt
|
102
95
|
- README.rdoc
|
103
|
-
files:
|
104
96
|
- app/assets/stylesheets/bookyt_projects.sass
|
105
97
|
- app/controllers/activities_controller.rb
|
106
98
|
- app/controllers/batch_activities_controller.rb
|
@@ -152,41 +144,28 @@ files:
|
|
152
144
|
- lib/bookyt_projects/navigation.rb
|
153
145
|
- lib/bookyt_projects/railtie.rb
|
154
146
|
- lib/bookyt_projects/version.rb
|
155
|
-
- LICENSE.txt
|
156
|
-
- README.rdoc
|
157
147
|
homepage: https://github.com/raskhadafi/bookyt_projects
|
158
|
-
licenses:
|
148
|
+
licenses:
|
159
149
|
- MIT
|
150
|
+
metadata: {}
|
160
151
|
post_install_message:
|
161
152
|
rdoc_options: []
|
162
|
-
|
163
|
-
require_paths:
|
153
|
+
require_paths:
|
164
154
|
- lib
|
165
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
166
|
-
|
167
|
-
requirements:
|
155
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
168
157
|
- - ">="
|
169
|
-
- !ruby/object:Gem::Version
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
version: "0"
|
174
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
175
|
-
none: false
|
176
|
-
requirements:
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
161
|
+
requirements:
|
177
162
|
- - ">="
|
178
|
-
- !ruby/object:Gem::Version
|
179
|
-
|
180
|
-
segments:
|
181
|
-
- 0
|
182
|
-
version: "0"
|
163
|
+
- !ruby/object:Gem::Version
|
164
|
+
version: '0'
|
183
165
|
requirements: []
|
184
|
-
|
185
166
|
rubyforge_project:
|
186
|
-
rubygems_version:
|
167
|
+
rubygems_version: 2.2.2
|
187
168
|
signing_key:
|
188
169
|
specification_version: 3
|
189
170
|
summary: Project management plugin for bookyt
|
190
171
|
test_files: []
|
191
|
-
|
192
|
-
has_rdoc:
|