isodoc 1.1.3.pre.alpha3 → 1.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 28b247461fa24c079dcb4d026b6384e803f83d11cba292464d8972ce3df6b562
4
- data.tar.gz: 97e778665b9ba5712c4fd8df9f6dae55c650ce95857854271bb98b1c1bdf4b81
3
+ metadata.gz: 51829acf741b07dd3c2ab2be2d56ca10aa26f32cd45830c53fe53a0ac26c8ad5
4
+ data.tar.gz: f7e70d7ca7b40958a35799f564c05b0a3d5342efdf3c6e3dd5e41536a7bb9825
5
5
  SHA512:
6
- metadata.gz: f59bba90a9f52c65bf7457cbd82de139101a917953b8db65357a63ad130843704bbf83be142fd9abdcc5f76e6586a1d1d2ded46531fe18b5e1edb7f201eb071d
7
- data.tar.gz: 8816a32293fdc6f3d82ade76fb5a76d83aa9e0c3eb93df6a146cd1643cda2e27d671cbbcc9db54e890eab9eb37c020d1fc264ef681e8f9600a8776ae9d1a13c8
6
+ metadata.gz: e2ff423a107d6b06cc723c943ac2311513c78a46d8b63f4ded2e8b7ebf94794d00796ef2b52ad2921dc1efd97cbba8bc43b29b0e8091b2c9430627db67a75f4f
7
+ data.tar.gz: ec09dbbcf25e13bb08352f49d77c1565473f768af554a3d2b1b7311b0862f63e730fee0f69b7af82f99ce8f3a020b3088b429ed253a9852708138867dd848519
@@ -37,8 +37,8 @@ Gem::Specification.new do |spec|
37
37
  spec.add_dependency "liquid"
38
38
  spec.add_dependency "roman-numerals"
39
39
  spec.add_dependency "metanorma", "~> 1.1.0"
40
- spec.add_dependency "rake", "~> 12.0"
41
40
 
41
+ spec.add_development_dependency "rake", "~> 13.0"
42
42
  spec.add_development_dependency "byebug", "~> 9.1"
43
43
  spec.add_development_dependency "sassc", "~> 2.4.0"
44
44
  spec.add_development_dependency "equivalent-xml", "~> 0.6"
@@ -155,8 +155,12 @@ module IsoDoc
155
155
  "$bodyfont: #{b};\n$headerfont: #{h};\n$monospacefont: #{m};\n"
156
156
  end
157
157
 
158
- def html_doc_path(file)
159
- File.join(@libdir, File.join('html', file))
158
+ def html_doc_path(*file)
159
+ file.each do |f|
160
+ ret = File.join(@libdir, File.join('html', f))
161
+ File.exist?(ret) and return ret
162
+ end
163
+ nil
160
164
  end
161
165
 
162
166
  def convert_scss(filename, stylesheet)
@@ -165,11 +169,11 @@ module IsoDoc
165
169
 
166
170
  [File.join(Gem.loaded_specs['isodoc'].full_gem_path,
167
171
  'lib', 'isodoc'),
168
- File.dirname(filename)].each do |name|
169
- SassC.load_paths << name
170
- end
171
- SassC::Engine.new(scss_fontheader + stylesheet, syntax: :scss,
172
- importer: SasscImporter)
172
+ File.dirname(filename)].each do |name|
173
+ SassC.load_paths << name
174
+ end
175
+ SassC::Engine.new(scss_fontheader + stylesheet, syntax: :scss,
176
+ importer: SasscImporter)
173
177
  .render
174
178
  end
175
179
 
@@ -239,7 +243,7 @@ module IsoDoc
239
243
 
240
244
  def middle_clause
241
245
  "//clause[parent::sections][not(xmlns:title = 'Scope')]"\
242
- '[not(descendant::terms)]'
246
+ '[not(descendant::terms)]'
243
247
  end
244
248
  end
245
249
  end
@@ -1,3 +1,3 @@
1
1
  module IsoDoc
2
- VERSION = "1.1.3-alpha3".freeze
2
+ VERSION = "1.1.3".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: isodoc
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3.pre.alpha3
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
@@ -142,14 +142,14 @@ dependencies:
142
142
  requirements:
143
143
  - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: '12.0'
146
- type: :runtime
145
+ version: '13.0'
146
+ type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - "~>"
151
151
  - !ruby/object:Gem::Version
152
- version: '12.0'
152
+ version: '13.0'
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: byebug
155
155
  requirement: !ruby/object:Gem::Requirement
@@ -417,9 +417,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
417
417
  version: 2.4.0
418
418
  required_rubygems_version: !ruby/object:Gem::Requirement
419
419
  requirements:
420
- - - ">"
420
+ - - ">="
421
421
  - !ruby/object:Gem::Version
422
- version: 1.3.1
422
+ version: '0'
423
423
  requirements: []
424
424
  rubygems_version: 3.0.3
425
425
  signing_key: