unitsml 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.github/workflows/rake.yml +11 -0
- data/.github/workflows/release.yml +20 -0
- data/.gitignore +11 -0
- data/.gitmodules +6 -0
- data/.rspec +3 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +83 -0
- data/LICENSE.txt +21 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +9 -0
- data/docs/CODE_OF_CONDUCT.adoc +72 -0
- data/docs/README.adoc +54 -0
- data/docs/navigation.adoc +9 -0
- data/lib/unitsml/dimension.rb +85 -0
- data/lib/unitsml/extender.rb +36 -0
- data/lib/unitsml/formula.rb +164 -0
- data/lib/unitsml/parse.rb +77 -0
- data/lib/unitsml/parser.rb +64 -0
- data/lib/unitsml/prefix.rb +64 -0
- data/lib/unitsml/sqrt.rb +36 -0
- data/lib/unitsml/transform.rb +112 -0
- data/lib/unitsml/unit.rb +111 -0
- data/lib/unitsml/unitsdb.rb +103 -0
- data/lib/unitsml/utility.rb +311 -0
- data/lib/unitsml/version.rb +3 -0
- data/lib/unitsml.rb +17 -0
- data/unitsdb/dimensions.yaml +859 -0
- data/unitsdb/docs/README.adoc +12 -0
- data/unitsdb/docs/navigation.adoc +7 -0
- data/unitsdb/prefixes.yaml +294 -0
- data/unitsdb/quantities.yaml +2467 -0
- data/unitsdb/unit_systems.yaml +16 -0
- data/unitsdb/units.yaml +10502 -0
- data/unitsml.gemspec +40 -0
- metadata +220 -0
@@ -0,0 +1,16 @@
|
|
1
|
+
---
|
2
|
+
- id: SI_base
|
3
|
+
name: SI
|
4
|
+
acceptable: true
|
5
|
+
- id: SI_derived_special
|
6
|
+
name: SI
|
7
|
+
acceptable: true
|
8
|
+
- id: SI_derived_non-special
|
9
|
+
name: SI
|
10
|
+
acceptable: true
|
11
|
+
- id: non-SI_acceptable
|
12
|
+
name: non-SI
|
13
|
+
acceptable: true
|
14
|
+
- id: non-SI_not_acceptable
|
15
|
+
name: non-SI
|
16
|
+
acceptable: false
|