iso_1996 2.0.0 → 2.0.1

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: 3a342d4cc66ef866a054ca283ab255f1e4042c740ab6bde20ce2e6f8a38519fe
4
- data.tar.gz: eb2c91913088dacbeda0a4c255ba1e91bd9a2d993b20cfbafb059be7d92b0919
3
+ metadata.gz: 6722b04a3a9597e08f988a919443c5f09e2f84558cc6f901baf40a7af3af8be7
4
+ data.tar.gz: 6a7b230b84d0e0c03123c0e0bf163473ad3df78de44a93ccac3c4e634b133273
5
5
  SHA512:
6
- metadata.gz: 3a00dbcda666bd801d0652fc56b178c96778c5cc3b57a7a42a166daf25c6eeb44d8ab726066569c582cc6cca917f1226c68fc87feb929a39fdf70515a9d376c9
7
- data.tar.gz: 3524db873c527e91422a977beb119342ee6f2360f10edd75e14d7b02234c33e1f4dd99e1e55910011b500b2b03a8dfeaef41ee74b6fbf141d817e57c97669bd5
6
+ metadata.gz: 0651a77612c0b8583070ffbdf85d101137c12e227c222709dc7d1f3a81350cab1f7201132e1e7c9411474a6350865e4ee3b90524719f2c1c8761181d3bc37292
7
+ data.tar.gz: ac81ec147e522a3d78126e92bae53f02b6785dd58c40e719a7895e5f0f19e77c02ef6dd3cba1fd7712206c4d32e7399ae65fecfaabf748139e26485f854f94ae
@@ -26,14 +26,20 @@ module ISO_1996
26
26
  REFERENCE_TIME = 1.0 # s
27
27
 
28
28
  ##
29
- # Standard durations for day, evening, night periods as defined in Annex C.2
29
+ # Standard duration for day period as defined in Annex C.2
30
30
  DAY_DURATION = 12.0 # hours
31
+ ##
32
+ # Standard duration for evening period as defined in Annex C.2
31
33
  EVENING_DURATION = 4.0 # hours
34
+ ##
35
+ # Standard duration for night period as defined in Annex C.2
32
36
  NIGHT_DURATION = 8.0 # hours
33
37
 
34
38
  ##
35
- # Penalties for evening and night periods as defined in Annex C.2
39
+ # Penalty for evening period as defined in Annex C.2
36
40
  EVENING_PENALTY = 5.0 # dB
41
+ ##
42
+ # Penalty for night period as defined in Annex C.2
37
43
  NIGHT_PENALTY = 10.0 # dB
38
44
  end
39
45
  include Constants
@@ -1,6 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ISO_1996
4
+ ##
5
+ # Withdrawn standards
6
+ #
4
7
  module Withdrawn
5
8
 
6
9
  ##
data/lib/iso_1996.rb CHANGED
@@ -1,5 +1,11 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require_relative 'iso_1996/withdrawn/part_1_2003'
4
+ require_relative 'iso_1996/withdrawn/part_2_2007'
5
+ require_relative 'iso_1996/withdrawn/part_3_1987'
6
+ require_relative 'iso_1996/part_1_2016'
7
+ require_relative 'iso_1996/part_2_2017'
8
+
3
9
  ##
4
10
  # = ISO 1996 - Acoustics - Description, measurement and assessment of environmental noise
5
11
  #
@@ -14,7 +20,7 @@
14
20
  #
15
21
  # Author:: Maciej Ciemborowicz
16
22
  # Date:: July 11, 2025
17
- # Version:: 2.0.0
23
+ # Version:: 2.0.1
18
24
  # License:: MIT
19
25
  #
20
26
  # == Usage
@@ -35,15 +41,9 @@
35
41
  # @see https://www.iso.org/standard/28633.html ISO 1996-1:2003
36
42
  # @see https://www.iso.org/standard/23776.html ISO 1996-2:2007
37
43
  # @see https://www.iso.org/standard/6750.html ISO 1996-3:1987
38
-
39
- require_relative 'iso_1996/withdrawn/part_1_2003'
40
- require_relative 'iso_1996/withdrawn/part_2_2007'
41
- require_relative 'iso_1996/withdrawn/part_3_1987'
42
- require_relative 'iso_1996/part_1_2016'
43
- require_relative 'iso_1996/part_2_2017'
44
-
44
+ #
45
45
  module ISO_1996
46
46
  ##
47
47
  # Current version of the gem
48
- VERSION = "2.0.0"
48
+ VERSION = "2.0.1"
49
49
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iso_1996
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maciej Ciemborowicz