AoBane 0.1.0 → 0.1.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.
- data/lib/AoBane/utilities.rb +1 -1
- data/lib/AoBane/version.rb +1 -1
- data/lib/AoBane.rb +3 -3
- metadata +2 -2
data/lib/AoBane/utilities.rb
CHANGED
@@ -16,7 +16,7 @@ $MAX_H = 6
|
|
16
16
|
@@log.level = Logger::WARN
|
17
17
|
|
18
18
|
### Return a caluculated section number and string.############################
|
19
|
-
def calcSectionNo(startNo, range, size, dep, str)
|
19
|
+
def calcSectionNo(startNo=1, range=0, size=0, dep=1, str='')
|
20
20
|
stack = Stack.instance
|
21
21
|
i = dep.to_i
|
22
22
|
counter = 0
|
data/lib/AoBane/version.rb
CHANGED
data/lib/AoBane.rb
CHANGED
@@ -51,8 +51,8 @@ require 'AoBane/utilities'
|
|
51
51
|
require 'math_ml/string'
|
52
52
|
|
53
53
|
module AoBane
|
54
|
-
VERSION = '0.1.
|
55
|
-
VERSION_NUMBER = 0.
|
54
|
+
VERSION = '0.1.1'
|
55
|
+
VERSION_NUMBER = 0.0101
|
56
56
|
RELEASE_DATE = '2013-04-08'
|
57
57
|
VERSION_LABEL = "#{VERSION} (#{RELEASE_DATE})"
|
58
58
|
|
@@ -554,7 +554,6 @@ module AoBane
|
|
554
554
|
nrange.pop
|
555
555
|
raise "Syntax Error!"
|
556
556
|
end
|
557
|
-
match = ""
|
558
557
|
end
|
559
558
|
next
|
560
559
|
}
|
@@ -564,6 +563,7 @@ module AoBane
|
|
564
563
|
}
|
565
564
|
#calculate numbering
|
566
565
|
range = nrange[1].to_i - nrange[0].to_i
|
566
|
+
if range == 0 then range = 1 end
|
567
567
|
if range < 0 then
|
568
568
|
p "AoBane Syntax Error:Header range is WRONG!" +
|
569
569
|
"@ l.#{html_text_number}";exit(-1)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: AoBane
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-04-
|
12
|
+
date: 2013-04-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: math_ml
|