sy 2.0.26 → 2.0.27

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
  SHA1:
3
- metadata.gz: db9e1787d0946b23fe62607d1e84cd6ba29f65eb
4
- data.tar.gz: a5b370d1208617685000f4193b66c2528b70aea4
3
+ metadata.gz: 3b19a3fd14baf445515b6cd05fdc68411f563834
4
+ data.tar.gz: 6f13452bfcea1b15fc7a6b407e7e50322611ca52
5
5
  SHA512:
6
- metadata.gz: cb1e66300893d4d546cbe0752a174035b5001820e3083b11e55506eecf552a2e59d69e915c5a35a635b3ba5f08185404d36af7d259cd5ab04a5bc199dc6ccd8d
7
- data.tar.gz: 6044b36f27ee0fc00d770353ea9445f219f48eb51d828613c6edf75072952a7da10963ce8205abf8ba713e7d3fac95385d5db391b52c0f929394701499d69468
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 file
24
- [https:://github.com/boris-s/lib/sy.rb] for the DSL statements defining default
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
 
@@ -1,5 +1,5 @@
1
1
  module SY
2
- VERSION = "2.0.26"
2
+ VERSION = "2.0.27"
3
3
  DEBUG = false # debug mode switch - sometimes there are lines like
4
4
  # puts "something" if SY::DEBUG
5
5
  end
@@ -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
- # require 'sy'
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
- # require 'sy'
36
- require './../lib/sy/noinclude'
37
- require './../lib/sy/imperial'
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
@@ -10,8 +10,8 @@ require 'mathn'
10
10
  require 'minitest/autorun'
11
11
 
12
12
  # The following will load SY library
13
- # require 'sy'
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.26
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-08-18 00:00:00.000000000 Z
11
+ date: 2013-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport