ydim 1.1.4 → 1.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 669770fe5a8004f1698fa1c421d49d4f35a414d5159f1c1732b82c16fffa9452
4
- data.tar.gz: 8e764d6b080742a06c580cca2533a2c8f6df9498b86e69382ce435aee662996a
3
+ metadata.gz: 0e5f53b42fbdc66ca0b05da68957b0621fef14c1c5123939e663895fc52b094f
4
+ data.tar.gz: 0b0377f58780313293f21072e5fea737b2c9fe08a555db9e2498f01954115644
5
5
  SHA512:
6
- metadata.gz: ad881091d075cd0374f2b83ad2bb47d8b96e274581463bf96aa17011bb5e0ee470c267f92b9c627bc3f8a0827716ec86731adab73c101253aeac686b2ea80a29
7
- data.tar.gz: 7bed78d992d39f73c9edeeff169ab8bee441326afaaaa19c947a844e59315e904fb81d0859e78a80a553a697e8546c822130635c1631eb3c57b3e1446b13623c
6
+ metadata.gz: 18304fab8af6cc62469f6443569ddd0ab667bede93f6d752d9e341cc2e18386542acd86ec056f3d8f40da93418137704f4ef18407b7633986eece916260386a8
7
+ data.tar.gz: f7930455ae2ce1ca4c71d979ab605f5c11d7c629e48306519a41f9dd14834c78754ab410fbf5423e60347851cc63e8eacf248d093ed5978a7cfc8eafc6db9940
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ === 1.1.5/ 21.01.2023
2
+
3
+ * Read ALL configuration values only from /etc/ydim
4
+
1
5
  === 1.1.4/ 21.01.2023
2
6
 
3
7
  * Read configuration values only from /etc/ydim
data/bin/ydim-edit CHANGED
@@ -19,10 +19,9 @@ module YDIM
19
19
  end
20
20
  end
21
21
 
22
- ydim_default_dir = File.join(ENV['HOME'], '.ydim')
22
+ ydim_default_dir = '/etc/ydim'
23
23
  default_config_files = [
24
- File.join(ydim_default_dir, 'ydimd.yml'),
25
- '/etc/ydim/ydimd.yml',
24
+ File.join(ydim_default_dir, 'ydim.yml'),
26
25
  ]
27
26
  defaults = {
28
27
  'autoinvoice_hour' => nil,
data/lib/ydim/config.rb CHANGED
@@ -8,10 +8,9 @@ require 'fileutils'
8
8
  module YDIM
9
9
  class Client
10
10
  home_dir = ENV['HOME'] || '/tmp'
11
- ydim_default_dir = File.join(home_dir, '.ydim')
11
+ ydim_default_dir = '/etc/ydim'
12
12
  default_config_files = [
13
13
  File.join(ydim_default_dir, 'ydim.yml'),
14
- '/etc/ydim/ydim.yml',
15
14
  ]
16
15
  defaults = {
17
16
  'client_url' => 'druby://localhost:0',
data/lib/ydim/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module YDIM
2
- VERSION = '1.1.4'
2
+ VERSION = '1.1.5'
3
3
  end
data/lib/ydim/ydim-edit CHANGED
@@ -19,10 +19,9 @@ module YDIM
19
19
  end
20
20
  end
21
21
 
22
- ydim_default_dir = File.join(ENV['HOME'], '.ydim')
22
+ ydim_default_dir = '/etc/ydim'
23
23
  default_config_files = [
24
- File.join(ydim_default_dir, 'ydimd.yml'),
25
- '/etc/ydim/ydimd.yml',
24
+ File.join(ydim_default_dir, 'ydim.yml'),
26
25
  ]
27
26
  defaults = {
28
27
  'autoinvoice_hour' => nil,
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ydim
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.4
4
+ version: 1.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masaomi Hatakeyama, Zeno R.R. Davatz, Niklaus Giger