dovico 1.3.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -5
- data/README.md +3 -3
- data/dovico-client.gemspec +1 -1
- data/dovico.yml.example +3 -3
- data/lib/dovico/version.rb +1 -1
- metadata +2 -4
- data/bin/console +0 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 600c001718d0382c5ad6a667bcccc3a746fb25ff
|
4
|
+
data.tar.gz: dd13cfaf95b819adbd358bbd80cc3f65a2da7a69
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e163b0f0260b88995d842b30b6c20ebfb65123df50b13e9ace9308ca25a084bcf858d5d9cb7cdc6a261cdf6c013efecc34583dfe22a5c8f7c31c686ed56e3652
|
7
|
+
data.tar.gz: c5c0fb6fe8d1112e63d2e9da60ef006c2eff2a08d743118bb8ecb923d5ef4dd7fba863640739304afb9da01409d06ba38708c82e999a6f03bf443ce81c629634
|
data/CHANGELOG.md
CHANGED
@@ -1,11 +1,15 @@
|
|
1
1
|
# Next version
|
2
2
|
- Your contribution!
|
3
3
|
|
4
|
+
# Version 1.4.0
|
5
|
+
- Fix documentation: Specific months, weeks or days use `special_` prefix. Fixes trainline-eu/dovico#15
|
6
|
+
- Remove `console` executable. Fixes trainline-eu/dovico#12
|
7
|
+
|
4
8
|
# Version 1.3.0
|
5
9
|
- Update [README.md](README.md)
|
6
10
|
- Fix bug when no time entries were to be submitted
|
7
|
-
- **Breaking change**: Specific days must be configured in the special `
|
8
|
-
- Specific weeks or months can be defined with `
|
11
|
+
- **Breaking change**: Specific days must be configured in the special `special_days` section in the configuration file
|
12
|
+
- Specific weeks or months can be defined with `special_weeks` and `special_months` configuration
|
9
13
|
~~~json
|
10
14
|
assignments:
|
11
15
|
default_day:
|
@@ -18,7 +22,7 @@ assignments:
|
|
18
22
|
- project_id: 4321
|
19
23
|
task_id: 424
|
20
24
|
hours: 2
|
21
|
-
|
25
|
+
special_days:
|
22
26
|
# Quotes around day are mandatory
|
23
27
|
# On leave: use an empty array
|
24
28
|
'2016-01-17': []
|
@@ -30,9 +34,9 @@ assignments:
|
|
30
34
|
- project_id: 4321
|
31
35
|
task_id: 424
|
32
36
|
hours: 1
|
33
|
-
|
37
|
+
special_weeks:
|
34
38
|
'2016-52': [] # Christmas week
|
35
|
-
|
39
|
+
special_months:
|
36
40
|
'2016-07': [] # No work on July
|
37
41
|
~~~
|
38
42
|
|
data/README.md
CHANGED
@@ -62,7 +62,7 @@ assignments:
|
|
62
62
|
- project_id: 4321
|
63
63
|
task_id: 424
|
64
64
|
hours: 2
|
65
|
-
|
65
|
+
special_days:
|
66
66
|
# Quotes around day are mandatory
|
67
67
|
# On leave: use an empty array
|
68
68
|
'2016-01-17': []
|
@@ -74,9 +74,9 @@ assignments:
|
|
74
74
|
- project_id: 4321
|
75
75
|
task_id: 424
|
76
76
|
hours: 1
|
77
|
-
|
77
|
+
special_weeks:
|
78
78
|
'2016-52': [] # Christmas week
|
79
|
-
|
79
|
+
special_months:
|
80
80
|
'2016-07': [] # No work on July
|
81
81
|
|
82
82
|
~~~
|
data/dovico-client.gemspec
CHANGED
@@ -14,7 +14,7 @@ Gem::Specification.new do |s|
|
|
14
14
|
|
15
15
|
s.files = `git ls-files`.split("\n") - ['bin/console']
|
16
16
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
17
|
-
s.executables =
|
17
|
+
s.executables = ['bin/dovico'].map { |f| File.basename(f) }
|
18
18
|
s.require_paths = ['lib']
|
19
19
|
|
20
20
|
s.required_ruby_version = '>= 2.2.2'
|
data/dovico.yml.example
CHANGED
@@ -13,7 +13,7 @@ assignments:
|
|
13
13
|
- project_id: 4321
|
14
14
|
task_id: 424
|
15
15
|
hours: 2
|
16
|
-
|
16
|
+
special_days:
|
17
17
|
# Quotes around day are mandatory
|
18
18
|
# On leave: use an empty array
|
19
19
|
'2016-01-17': []
|
@@ -25,7 +25,7 @@ assignments:
|
|
25
25
|
- project_id: 4321
|
26
26
|
task_id: 424
|
27
27
|
hours: 1
|
28
|
-
|
28
|
+
special_weeks:
|
29
29
|
'2016-52': [] # Christmas week
|
30
|
-
|
30
|
+
special_months:
|
31
31
|
'2016-07': [] # No work on July
|
data/lib/dovico/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dovico
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Théophile Helleboid
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2018-07-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: easy_app_helper
|
@@ -281,7 +281,6 @@ description: Simple client & tools for http://www.dovico.com/.
|
|
281
281
|
email:
|
282
282
|
- theophile.helleboid@trainline.com
|
283
283
|
executables:
|
284
|
-
- console
|
285
284
|
- dovico
|
286
285
|
extensions: []
|
287
286
|
extra_rdoc_files: []
|
@@ -299,7 +298,6 @@ files:
|
|
299
298
|
- Makefile
|
300
299
|
- README.md
|
301
300
|
- Rakefile
|
302
|
-
- bin/console
|
303
301
|
- bin/dovico
|
304
302
|
- doc/API.md
|
305
303
|
- dovico-client.gemspec
|