osut 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/pull_request.yml +2 -2
- data/README.md +2 -1
- data/Rakefile +0 -5
- data/lib/osut/version.rb +1 -1
- data/osut.gemspec +3 -2
- metadata +3 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5fdc19fa879d4fc3dda3ebb1ca8409404f09b9cf12246d9f7f8ed62eb310f434
|
4
|
+
data.tar.gz: 996f5e7f1db60f63d775889a73ef2a350005e4f43b9a7aa6784fb376e44a0e25
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9bc0bddb23f6b73a894d876c7d0bf1381e3bfda1550e57786096b1ae60ed1efbef2a0411dc4b6a754bcfd9f531188dabaac19125894c8e6a1589be23080d1ed0
|
7
|
+
data.tar.gz: 13c34a5872ffd59666491011b6b3d4fbafd469173e05319509bc3e5394688ecd9408719584ca6f88b30edc3739a2027e255bc8fca2c0ca128cb75f27bde34a7f
|
@@ -39,7 +39,7 @@ jobs:
|
|
39
39
|
docker exec -t test bundle exec rake
|
40
40
|
docker kill test
|
41
41
|
test_330x:
|
42
|
-
runs-on: ubuntu-
|
42
|
+
runs-on: ubuntu-20.04
|
43
43
|
steps:
|
44
44
|
- name: Check out repository
|
45
45
|
uses: actions/checkout@v2
|
@@ -55,7 +55,7 @@ jobs:
|
|
55
55
|
docker exec -t test bundle exec rake
|
56
56
|
docker kill test
|
57
57
|
test_340x:
|
58
|
-
runs-on: ubuntu-
|
58
|
+
runs-on: ubuntu-20.04
|
59
59
|
steps:
|
60
60
|
- name: Check out repository
|
61
61
|
uses: actions/checkout@v2
|
data/README.md
CHANGED
@@ -13,6 +13,7 @@ gem "osut", git: "https://github.com/rd2/osut", branch: "main"
|
|
13
13
|
```
|
14
14
|
bundle install (or 'bundle update')
|
15
15
|
```
|
16
|
+
|
16
17
|
### Recommended use
|
17
18
|
|
18
19
|
As a Ruby module, one can access __osut__ by extending a _Measure_ module or class:
|
@@ -25,7 +26,7 @@ module M
|
|
25
26
|
...
|
26
27
|
end
|
27
28
|
```
|
28
|
-
The logger module [oslg](https://github.com/rd2/oslg) is an __osut__ dependency. _Measure_ developers can (optionally) choose to
|
29
|
+
The logger module [oslg](https://github.com/rd2/oslg) is an __osut__ dependency: DEBUG, WARN and/or ERROR messages may be logged by __osut__, usually as a result of invalid method calls or bad OpenStudio input. _Measure_ developers can (optionally) choose to continue logging messages from within an __osut__-extended module or class, e.g.:
|
29
30
|
|
30
31
|
```
|
31
32
|
M.log(OSut::WARN, "Calculated material thickness > 1m")
|
data/Rakefile
CHANGED
data/lib/osut/version.rb
CHANGED
data/osut.gemspec
CHANGED
@@ -6,7 +6,9 @@ Gem::Specification.new do |s|
|
|
6
6
|
# Specify which files should be added to the gem when it is released.
|
7
7
|
# "git ls-files -z" loads files in the RubyGem that have been added into git.
|
8
8
|
s.files = Dir.chdir(File.expand_path("..", __FILE__)) do
|
9
|
-
`git ls-files -z`.split("\x0").reject
|
9
|
+
`git ls-files -z`.split("\x0").reject do |f|
|
10
|
+
f.match(%r{^(test|spec|features)/})
|
11
|
+
end
|
10
12
|
end
|
11
13
|
|
12
14
|
s.name = "osut"
|
@@ -27,7 +29,6 @@ Gem::Specification.new do |s|
|
|
27
29
|
s.add_development_dependency "bundler", "~> 2.1"
|
28
30
|
s.add_development_dependency "rake", "~> 13.0"
|
29
31
|
s.add_development_dependency "rspec", "~> 3.11"
|
30
|
-
s.add_development_dependency "yard", "~> 0.9"
|
31
32
|
s.add_development_dependency "oslg", "~> 0"
|
32
33
|
|
33
34
|
s.metadata["homepage_uri"] = s.homepage
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: osut
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Denis Bourgeois
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-07-
|
11
|
+
date: 2022-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -52,20 +52,6 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '3.11'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: yard
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - "~>"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '0.9'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '0.9'
|
69
55
|
- !ruby/object:Gem::Dependency
|
70
56
|
name: oslg
|
71
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -104,7 +90,7 @@ licenses:
|
|
104
90
|
- BSD-3-Clause
|
105
91
|
metadata:
|
106
92
|
homepage_uri: https://github.com/rd2/osut
|
107
|
-
source_code_uri: https://github.com/rd2/osut/tree/v0.2.
|
93
|
+
source_code_uri: https://github.com/rd2/osut/tree/v0.2.1
|
108
94
|
bug_tracker_uri: https://github.com/rd2/osut/issues
|
109
95
|
post_install_message:
|
110
96
|
rdoc_options: []
|