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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 14163c6be8c7579510cc31562a4ad12654913915
4
- data.tar.gz: 199cf014ef1ead6072d13991b52aa909c7ef7a88
3
+ metadata.gz: 600c001718d0382c5ad6a667bcccc3a746fb25ff
4
+ data.tar.gz: dd13cfaf95b819adbd358bbd80cc3f65a2da7a69
5
5
  SHA512:
6
- metadata.gz: b9da177d527421c5d0567437658d6be258b43bf05df977ed8531552feff1f7d350e9911c6ae7a4e42fc7b16a7aaa29c3d200ae7bb2db1ef9b3ceb9990a3edcda
7
- data.tar.gz: ce26cd4d455096696a38ffcc96ef461601d95de7126a1d234986100b0ba6c486f73bd7855ac5295ff299523aef18640bcfb66f1f0c81f49298150cc239dce879
6
+ metadata.gz: e163b0f0260b88995d842b30b6c20ebfb65123df50b13e9ace9308ca25a084bcf858d5d9cb7cdc6a261cdf6c013efecc34583dfe22a5c8f7c31c686ed56e3652
7
+ data.tar.gz: c5c0fb6fe8d1112e63d2e9da60ef006c2eff2a08d743118bb8ecb923d5ef4dd7fba863640739304afb9da01409d06ba38708c82e999a6f03bf443ce81c629634
@@ -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 `specific_days` section in the configuration file
8
- - Specific weeks or months can be defined with `specific_weeks` and `specific_months` configuration
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
- specific_days:
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
- specific_weeks:
37
+ special_weeks:
34
38
  '2016-52': [] # Christmas week
35
- specific_months:
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
- specific_days:
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
- specific_weeks:
77
+ special_weeks:
78
78
  '2016-52': [] # Christmas week
79
- specific_months:
79
+ special_months:
80
80
  '2016-07': [] # No work on July
81
81
 
82
82
  ~~~
@@ -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 = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
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'
@@ -13,7 +13,7 @@ assignments:
13
13
  - project_id: 4321
14
14
  task_id: 424
15
15
  hours: 2
16
- specific_days:
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
- specific_weeks:
28
+ special_weeks:
29
29
  '2016-52': [] # Christmas week
30
- specific_months:
30
+ special_months:
31
31
  '2016-07': [] # No work on July
@@ -1,3 +1,3 @@
1
1
  module Dovico
2
- VERSION = '1.3.0'
2
+ VERSION = '1.4.0'
3
3
  end
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.3.0
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: 2017-12-04 00:00:00.000000000 Z
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
@@ -1,6 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require "dovico"
4
- require "pry"
5
-
6
- Pry.start