ruby-units 2.3.2 → 2.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/dependabot.yml +16 -0
- data/.github/workflows/codeql-analysis.yml +70 -0
- data/.github/workflows/tests.yml +10 -1
- data/.ruby-version +1 -1
- data/CHANGELOG.txt +2 -0
- data/Gemfile +2 -1
- data/Gemfile.lock +86 -67
- data/lib/ruby-units.rb +0 -1
- data/lib/ruby_units/configuration.rb +5 -4
- data/lib/ruby_units/definition.rb +6 -2
- data/lib/ruby_units/namespaced.rb +0 -3
- data/lib/ruby_units/unit.rb +230 -220
- data/lib/ruby_units/version.rb +1 -1
- data/ruby-units.gemspec +4 -2
- metadata +39 -9
data/lib/ruby_units/version.rb
CHANGED
data/ruby-units.gemspec
CHANGED
@@ -33,9 +33,11 @@ Gem::Specification.new do |spec|
|
|
33
33
|
spec.add_development_dependency 'rubocop'
|
34
34
|
spec.add_development_dependency 'rubocop-rake'
|
35
35
|
spec.add_development_dependency 'rubocop-rspec'
|
36
|
-
spec.add_development_dependency 'simplecov-html'
|
37
36
|
spec.add_development_dependency 'simplecov'
|
37
|
+
spec.add_development_dependency 'simplecov-html'
|
38
38
|
spec.add_development_dependency 'solargraph'
|
39
|
-
spec.add_development_dependency 'terminal-notifier-guard'
|
40
39
|
spec.add_development_dependency 'terminal-notifier'
|
40
|
+
spec.add_development_dependency 'terminal-notifier-guard'
|
41
|
+
spec.add_development_dependency 'webrick'
|
42
|
+
spec.add_development_dependency 'yard'
|
41
43
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-units
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kevin Olbrich
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-08-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: guard-rspec
|
@@ -109,7 +109,7 @@ dependencies:
|
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
|
-
name: simplecov
|
112
|
+
name: simplecov
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
115
|
- - ">="
|
@@ -123,7 +123,7 @@ dependencies:
|
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '0'
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
|
-
name: simplecov
|
126
|
+
name: simplecov-html
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
129
|
- - ">="
|
@@ -150,6 +150,20 @@ dependencies:
|
|
150
150
|
- - ">="
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: '0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: terminal-notifier
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
153
167
|
- !ruby/object:Gem::Dependency
|
154
168
|
name: terminal-notifier-guard
|
155
169
|
requirement: !ruby/object:Gem::Requirement
|
@@ -165,7 +179,21 @@ dependencies:
|
|
165
179
|
- !ruby/object:Gem::Version
|
166
180
|
version: '0'
|
167
181
|
- !ruby/object:Gem::Dependency
|
168
|
-
name:
|
182
|
+
name: webrick
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - ">="
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0'
|
188
|
+
type: :development
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - ">="
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '0'
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: yard
|
169
197
|
requirement: !ruby/object:Gem::Requirement
|
170
198
|
requirements:
|
171
199
|
- - ">="
|
@@ -189,6 +217,8 @@ files:
|
|
189
217
|
- ".csslintrc"
|
190
218
|
- ".eslintignore"
|
191
219
|
- ".eslintrc"
|
220
|
+
- ".github/dependabot.yml"
|
221
|
+
- ".github/workflows/codeql-analysis.yml"
|
192
222
|
- ".github/workflows/tests.yml"
|
193
223
|
- ".gitignore"
|
194
224
|
- ".rspec"
|
@@ -228,7 +258,7 @@ metadata:
|
|
228
258
|
homepage_uri: https://github.com/olbrich/ruby-units
|
229
259
|
source_code_uri: https://github.com/olbrich/ruby-units
|
230
260
|
changelog_uri: https://github.com/olbrich/ruby-units/releases
|
231
|
-
post_install_message:
|
261
|
+
post_install_message:
|
232
262
|
rdoc_options: []
|
233
263
|
require_paths:
|
234
264
|
- lib
|
@@ -243,8 +273,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
243
273
|
- !ruby/object:Gem::Version
|
244
274
|
version: '2.0'
|
245
275
|
requirements: []
|
246
|
-
rubygems_version: 3.
|
247
|
-
signing_key:
|
276
|
+
rubygems_version: 3.3.17
|
277
|
+
signing_key:
|
248
278
|
specification_version: 4
|
249
279
|
summary: Provides classes and methods to perform unit math and conversions
|
250
280
|
test_files: []
|