motoko 1.1.0 → 1.2.0
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 +4 -4
- data/CHANGELOG.md +15 -3
- data/README.md +3 -3
- data/Rakefile +1 -1
- data/lib/motoko/config.rb +8 -2
- data/lib/motoko/version.rb +1 -1
- data/motoko.gemspec +4 -1
- metadata +4 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: afdc99968db371cd3d21a8a847fd16835402e6f1b8a3828201cea5b66ae13430
|
|
4
|
+
data.tar.gz: ff6deff1cee6c93c20a4b1ca00649f2c2b1e8a756e85765ad133adfbcc06a959
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2515aec9da7c404cb6dbbaf2b2995e930e1e2256bd9f07b51abb49cb49696a69c83e062d990aebf1ecf46784eea4eec2e770882254f50878edb69f7ceaf4918c
|
|
7
|
+
data.tar.gz: 6e6019963b2e56fe02ed759b5353e792f9a7aa31d0c4e9d29c6fd76ff25bef774a191e081fecc74bf2acf22342418fe00ef1ae94cf6aab4367b84da32e047503
|
data/CHANGELOG.md
CHANGED
|
@@ -5,13 +5,25 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
-
## [1.
|
|
8
|
+
## [1.2.0](https://github.com/opus-codium/motoko/tree/1.2.0) (2021-12-06)
|
|
9
9
|
|
|
10
|
-
[Full Changelog](https://github.com/
|
|
10
|
+
[Full Changelog](https://github.com/opus-codium/motoko/compare/v1.1.0...1.2.0)
|
|
11
11
|
|
|
12
12
|
**Implemented enhancements:**
|
|
13
13
|
|
|
14
|
-
-
|
|
14
|
+
- Add support for project configuration files [\#3](https://github.com/opus-codium/motoko/pull/3) ([smortex](https://github.com/smortex))
|
|
15
|
+
|
|
16
|
+
**Merged pull requests:**
|
|
17
|
+
|
|
18
|
+
- Relocate the project [\#4](https://github.com/opus-codium/motoko/pull/4) ([smortex](https://github.com/smortex))
|
|
19
|
+
|
|
20
|
+
## [v1.1.0](https://github.com/opus-codium/motoko/tree/v1.1.0) (2021-07-26)
|
|
21
|
+
|
|
22
|
+
[Full Changelog](https://github.com/opus-codium/motoko/compare/v1.0.0...v1.1.0)
|
|
23
|
+
|
|
24
|
+
**Implemented enhancements:**
|
|
25
|
+
|
|
26
|
+
- Allow shortcuts to replace the list of columns [\#2](https://github.com/opus-codium/motoko/pull/2) ([smortex](https://github.com/smortex))
|
|
15
27
|
|
|
16
28
|
|
|
17
29
|
|
data/README.md
CHANGED
|
@@ -95,7 +95,7 @@ romain@zappy ~ % pdb-inventory -F datacenter=/sbg/
|
|
|
95
95
|
```
|
|
96
96
|
## Configuration
|
|
97
97
|
|
|
98
|
-
At startup, Motoko will load system-wide configuration from `/etc/motoko/config.yaml`,
|
|
98
|
+
At startup, Motoko will try to load a system-wide configuration from `/etc/motoko/config.yaml`, a user configuration from `~/.config/motoko/config.yaml` and a project configuration from `.motoko.yaml` in the current working directory.
|
|
99
99
|
|
|
100
100
|
### Columns
|
|
101
101
|
|
|
@@ -211,7 +211,7 @@ sudo /opt/puppetlabs/puppet/bin/gem install --bindir /opt/puppetlabs/bin motoko-
|
|
|
211
211
|
|
|
212
212
|
## Contributing
|
|
213
213
|
|
|
214
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
|
214
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/opus-codium/motoko. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/opus-codium/motoko/blob/master/CODE_OF_CONDUCT.md).
|
|
215
215
|
|
|
216
216
|
|
|
217
217
|
## License
|
|
@@ -220,4 +220,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
|
|
|
220
220
|
|
|
221
221
|
## Code of Conduct
|
|
222
222
|
|
|
223
|
-
Everyone interacting in the Motoko project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/
|
|
223
|
+
Everyone interacting in the Motoko project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/opus-codium/motoko/blob/master/CODE_OF_CONDUCT.md).
|
data/Rakefile
CHANGED
|
@@ -14,7 +14,7 @@ GitHubChangelogGenerator::RakeTask.new :changelog do |config|
|
|
|
14
14
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
15
15
|
HEADER
|
|
16
16
|
config.exclude_labels = %w[duplicate question invalid wontfix wont-fix skip-changelog ignore]
|
|
17
|
-
config.user = '
|
|
17
|
+
config.user = 'opus-codium'
|
|
18
18
|
config.project = 'motoko'
|
|
19
19
|
config.since_tag = 'v1.0.0'
|
|
20
20
|
end
|
data/lib/motoko/config.rb
CHANGED
|
@@ -14,6 +14,7 @@ module Motoko
|
|
|
14
14
|
|
|
15
15
|
load_system_config
|
|
16
16
|
load_user_config
|
|
17
|
+
load_project_config
|
|
17
18
|
end
|
|
18
19
|
|
|
19
20
|
def load_system_config
|
|
@@ -33,11 +34,16 @@ module Motoko
|
|
|
33
34
|
load_config(d) if File.directory?(d)
|
|
34
35
|
end
|
|
35
36
|
|
|
37
|
+
def load_project_config
|
|
38
|
+
load_only_config('.motoko.yaml')
|
|
39
|
+
end
|
|
40
|
+
|
|
36
41
|
def load_config(directory)
|
|
37
42
|
load_classes(directory)
|
|
43
|
+
load_only_config(File.join(directory, 'config.yaml'))
|
|
44
|
+
end
|
|
38
45
|
|
|
39
|
-
|
|
40
|
-
|
|
46
|
+
def load_only_config(filename)
|
|
41
47
|
return unless File.readable?(filename)
|
|
42
48
|
|
|
43
49
|
config = YAML.safe_load(File.read(filename))
|
data/lib/motoko/version.rb
CHANGED
data/motoko.gemspec
CHANGED
|
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
|
|
|
9
9
|
spec.email = ['romain@blogreen.org']
|
|
10
10
|
|
|
11
11
|
spec.summary = 'Inventory tools for Puppet / Choria infrastructures'
|
|
12
|
-
spec.homepage = 'https://github.com/
|
|
12
|
+
spec.homepage = 'https://github.com/opus-codium/motoko'
|
|
13
13
|
spec.license = 'MIT'
|
|
14
14
|
spec.required_ruby_version = Gem::Requirement.new('>= 2.5.0')
|
|
15
15
|
|
|
@@ -33,4 +33,7 @@ Gem::Specification.new do |spec|
|
|
|
33
33
|
spec.add_dependency 'terminal-table'
|
|
34
34
|
|
|
35
35
|
spec.add_development_dependency 'github_changelog_generator'
|
|
36
|
+
spec.metadata = {
|
|
37
|
+
'rubygems_mfa_required' => 'true',
|
|
38
|
+
}
|
|
36
39
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: motoko
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Romain Tartière
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-07
|
|
11
|
+
date: 2021-12-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: choria-mcorpc-support
|
|
@@ -114,14 +114,11 @@ files:
|
|
|
114
114
|
- lib/motoko/utils/time_ago.rb
|
|
115
115
|
- lib/motoko/version.rb
|
|
116
116
|
- motoko.gemspec
|
|
117
|
-
homepage: https://github.com/
|
|
117
|
+
homepage: https://github.com/opus-codium/motoko
|
|
118
118
|
licenses:
|
|
119
119
|
- MIT
|
|
120
120
|
metadata:
|
|
121
|
-
|
|
122
|
-
homepage_uri: https://github.com/smortex/motoko
|
|
123
|
-
source_code_uri: https://github.com/smortex/motoko
|
|
124
|
-
changelog_uri: https://github.com/smortex/motoko
|
|
121
|
+
rubygems_mfa_required: 'true'
|
|
125
122
|
post_install_message:
|
|
126
123
|
rdoc_options: []
|
|
127
124
|
require_paths:
|