sy 2.0.26 → 2.0.27
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/lib/sy/version.rb +1 -1
- data/test/noinclude_test.rb +6 -5
- data/test/sy_test.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3b19a3fd14baf445515b6cd05fdc68411f563834
|
4
|
+
data.tar.gz: 6f13452bfcea1b15fc7a6b407e7e50322611ca52
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 534c0d1d7f0d8f8721c808d218d1d3ef730bd847604aa55f5d47ef338bd4268c9620a9c1e612014c66f3cfebc7df255d60f6c73d6092762eb70809fa087136ed
|
7
|
+
data.tar.gz: 17fe5ab62c28f9b1f07769195aef954e6a72af6b9e7a68819939a63a0f0fe65653c252abd64edb1b6bcf471997b5b856f1605ebb3a5ce571685cc299fbc3a7af
|
data/README.md
CHANGED
@@ -20,9 +20,9 @@ computer will understand, that these numbers represent magnitudes of the physica
|
|
20
20
|
quantity `SY::Length` expressed in the unit `SY::METRE`. Equally, we can use
|
21
21
|
abbreviations (such as `5.m`, `2.5.m`), prefixes (such as `5.km`, `5.kilometre`,
|
22
22
|
`5.km`), exponents (such as `5.m²` for 5 square metres), and chaining (such as
|
23
|
-
`5.m.s⁻¹` to denote speed of 5 metres per second). Please read also the code
|
24
|
-
|
25
|
-
quantities and their units.
|
23
|
+
`5.m.s⁻¹` to denote speed of 5 metres per second). Please read also the [sy code
|
24
|
+
file](lib/sy.rb) for the DSL statements defining
|
25
|
+
default quantities and their units.
|
26
26
|
|
27
27
|
## Unicode exponents
|
28
28
|
|
data/lib/sy/version.rb
CHANGED
data/test/noinclude_test.rb
CHANGED
@@ -17,8 +17,8 @@ require 'minitest/autorun'
|
|
17
17
|
describe "case of require 'sy/noinclude'" do
|
18
18
|
before do
|
19
19
|
# The following will load SY library
|
20
|
-
|
21
|
-
require './../lib/sy/noinclude'
|
20
|
+
require 'sy/noinclude'
|
21
|
+
# require './../lib/sy/noinclude'
|
22
22
|
end
|
23
23
|
|
24
24
|
it "should show at least some signs of life" do
|
@@ -32,9 +32,10 @@ end
|
|
32
32
|
describe "require 'sy/noinclude'; require 'sy/imperial'" do
|
33
33
|
before do
|
34
34
|
# The following will load SY library
|
35
|
-
|
36
|
-
require '
|
37
|
-
require './../lib/sy/
|
35
|
+
require 'sy/noinclude'
|
36
|
+
require 'sy/imperial'
|
37
|
+
# require './../lib/sy/noinclude'
|
38
|
+
# require './../lib/sy/imperial'
|
38
39
|
end
|
39
40
|
|
40
41
|
it "should show signs of life" do
|
data/test/sy_test.rb
CHANGED
@@ -10,8 +10,8 @@ require 'mathn'
|
|
10
10
|
require 'minitest/autorun'
|
11
11
|
|
12
12
|
# The following will load SY library
|
13
|
-
|
14
|
-
require './../lib/sy'
|
13
|
+
require 'sy'
|
14
|
+
# require './../lib/sy'
|
15
15
|
|
16
16
|
# **************************************************************************
|
17
17
|
# THE SPECIFICATIONS START HERE
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.27
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- boris
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-09-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|