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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9e23061febdcbf30770082f0fccb3b16aabd5fd18a8f9ae7decdf3b268703e02
4
- data.tar.gz: 0e672c27b10625c3b287f160362c8fcc4619062fe169b3681c90f5fa9fcf45f4
3
+ metadata.gz: 5fdc19fa879d4fc3dda3ebb1ca8409404f09b9cf12246d9f7f8ed62eb310f434
4
+ data.tar.gz: 996f5e7f1db60f63d775889a73ef2a350005e4f43b9a7aa6784fb376e44a0e25
5
5
  SHA512:
6
- metadata.gz: fda291e260dfabb52f7a01f7ab68120475e60e82db082287df2a1647a6254b0f7e8585b23aa32e75001ec1ef6b0c9c5802606bfe1c2f0181d960e5752633d043
7
- data.tar.gz: 74c78f3af6ca9e73d97f9b4f5f28c45f05e5002326ebeaa9b731ce1d6143b97595f2eb6af309fe799c280c04b8a3a233444d213372e8d77264568e49d9f3f5db
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-18.04
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-18.04
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 log debug, informative, warning or error messages from within an __osut__-extended module or class, e.g.:
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
@@ -3,9 +3,4 @@ require "rspec/core/rake_task"
3
3
 
4
4
  RSpec::Core::RakeTask.new(:spec)
5
5
 
6
- require "yard"
7
- YARD::Rake::YardocTask.new do |t|
8
- t.files = ["lib/osut/utils.rb"]
9
- end
10
-
11
6
  task default: :spec
data/lib/osut/version.rb CHANGED
@@ -29,5 +29,5 @@
29
29
  # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30
30
 
31
31
  module OSut
32
- VERSION = "0.2.0".freeze
32
+ VERSION = "0.2.1".freeze
33
33
  end
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 { |f| f.match(%r{^(test|spec|features)/}) }
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.0
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-27 00:00:00.000000000 Z
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.0
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: []