metanorma-unece 0.0.13 → 0.0.14

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: 53b8636e2a653b20e080afc8800bb32ddcc6acab949f3bcc94901ec283a97ed4
4
- data.tar.gz: 437cad2230a5168a1a167a0dfb22bc959c1e9aeb14f6a71bfe8a137b5e24dc93
3
+ metadata.gz: 79707d19acbe64d0c3233f2dc34b68680868e6a992fc4bd52b1140b29dc14acd
4
+ data.tar.gz: 62dc9f47274c1c9bc3da8ffdba203c394490a4495501bb3cb4b2c0f2fe4bc99c
5
5
  SHA512:
6
- metadata.gz: 6a3f3d7db7d6c4ac94d71628e6ab8a2c3392bfa05db861a3fea3edef38a5c04dd64996af017032dfca6300be33d849c7704daf1c2625c263a4dd7e5eb60c3b16
7
- data.tar.gz: 45e70bea116288b824581b3cfde56764de696de5cd854359206688b5f837328e6c1fd0c9619e79eb0355464f5afaad3bfd2e295c04acd80f53c60adfd301763c
6
+ metadata.gz: 1737b1c955c46acf63c14bb80be28e3c67b517fe2ec1d20294a7c5c1cf701c9136c82ca46eea0bd604d305311dadfd670008825c60a4d9db20b00ef0c7ab5a8b
7
+ data.tar.gz: 6c118f6f6b65b1f23849088c49964eb34009a17a2422d903fe1ae69b2383a4454433c9a6ad7c70c3b03e274a0eb47f3f6dfdd51c9c43f6b72042b4528fb992dd
data/.travis.yml CHANGED
@@ -8,14 +8,8 @@ rvm:
8
8
  - ruby-head
9
9
  before_install:
10
10
  - gem install bundler -v 2.0.1
11
- - unset _JAVA_OPTIONS
12
- - wget "http://downloads.sourceforge.net/project/plantuml/plantuml.jar?r=&ts=1424308684&use_mirror=jaist" -O plantuml.jar
13
- - sudo mkdir -p /opt/plantuml
14
- - sudo cp plantuml.jar /opt/plantuml
15
- - echo "#! /bin/sh" > plantuml.sh
16
- - echo 'exec java -jar /opt/plantuml/plantuml.jar "$@"' >> plantuml.sh
17
- - sudo install -m 755 -D plantuml.sh /usr/bin/plantuml
18
- - plantuml -version
11
+ - travis_retry sudo apt-get update
12
+ - sudo bash -c "curl -L https://raw.githubusercontent.com/metanorma/plantuml-install/master/ubuntu.sh | bash"
19
13
  matrix:
20
14
  allow_failures:
21
15
  - rvm: ruby-head
data/README.adoc CHANGED
@@ -3,6 +3,8 @@
3
3
  image:https://img.shields.io/gem/v/metanorma-unece.svg["Gem Version", link="https://rubygems.org/gems/metanorma-unece"]
4
4
  image:https://img.shields.io/travis/metanorma/metanorma-unece/master.svg["Build Status", link="https://travis-ci.org/metanorma/metanorma-unece"]
5
5
  image:https://codeclimate.com/github/metanorma/metanorma-unece/badges/gpa.svg["Code Climate", link="https://codeclimate.com/github/metanorma/metanorma-unece"]
6
+ image:https://ci.appveyor.com/api/projects/status/lqqkdhc7bswaqpp8?svg=true["Appveyor Build Status", link="https://ci.appveyor.com/project/ribose/metanorma-unece"]
7
+
6
8
 
7
9
  WARNING: This gem is still under development.
8
10
 
data/appveyor.yml ADDED
@@ -0,0 +1,30 @@
1
+ version: '{build}'
2
+
3
+ environment:
4
+ matrix:
5
+ - RUBY_VERSION: 25
6
+ - RUBY_VERSION: 24
7
+ - RUBY_VERSION: 23
8
+ - RUBY_VERSION: _trunk
9
+
10
+ matrix:
11
+ allow_failures:
12
+ - RUBY_VERSION: _trunk
13
+
14
+ install:
15
+ - ps: . { iwr -useb https://raw.githubusercontent.com/metanorma/metanorma-build-scripts/master/appveyor.ps1 } | iex
16
+ - refreshenv
17
+
18
+ build_script:
19
+ - set PATH=C:\Ruby%RUBY_VERSION%\bin;%PATH%
20
+ - bundle update
21
+ - bundle install
22
+
23
+ before_test:
24
+ - ruby -v
25
+ - gem -v
26
+ - bundle -v
27
+
28
+ test_script:
29
+ - bundle exec rake
30
+
@@ -837,26 +837,29 @@
837
837
  <ref name="ContributorInfo"/>
838
838
  </element>
839
839
  </define>
840
+ <define name="DocRelationType">
841
+ <choice>
842
+ <value>obsoletes</value>
843
+ <value>updates</value>
844
+ <value>updatedBy</value>
845
+ <value>complements</value>
846
+ <value>derivedFrom</value>
847
+ <value>translatedFrom</value>
848
+ <value>adoptedFrom</value>
849
+ <value>equivalent</value>
850
+ <value>identical</value>
851
+ <value>nonequivalent</value>
852
+ <value>includedIn</value>
853
+ <value>includes</value>
854
+ <value>instance</value>
855
+ <value>partOf</value>
856
+ <value>hasDraft</value>
857
+ </choice>
858
+ </define>
840
859
  <define name="docrelation">
841
860
  <element name="relation">
842
861
  <attribute name="type">
843
- <choice>
844
- <value>obsoletes</value>
845
- <value>updates</value>
846
- <value>updatedBy</value>
847
- <value>complements</value>
848
- <value>derivedFrom</value>
849
- <value>translatedFrom</value>
850
- <value>adoptedFrom</value>
851
- <value>equivalent</value>
852
- <value>identical</value>
853
- <value>nonequivalent</value>
854
- <value>includedIn</value>
855
- <value>includes</value>
856
- <value>instance</value>
857
- <value>partOf</value>
858
- <value>hasDraft</value>
859
- </choice>
862
+ <ref name="DocRelationType"/>
860
863
  </attribute>
861
864
  <element name="bibitem">
862
865
  <ref name="BibliographicItem"/>
@@ -1,7 +1,7 @@
1
1
  <script>
2
2
  //TOC generation
3
3
  $('#toc').toc({
4
- 'selectors': 'h1,h2:not(.TermNum)', //elements to use as headings
4
+ 'selectors': toclevel(), //elements to use as headings
5
5
  'container': 'main', //element to find all selectors in
6
6
  'smoothScrolling': true, //enable or disable smooth scrolling on click
7
7
  'prefix': 'toc', //prefix for anchor tags and class names
@@ -51,21 +51,10 @@ module IsoDoc
51
51
  @meta.set(:toc, @toc)
52
52
  end
53
53
 
54
- def html_head
54
+ def googlefonts
55
55
  <<~HEAD.freeze
56
- <title>{{ doctitle }}</title>
57
- <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
58
-
59
- <!--TOC script import-->
60
- <script type="text/javascript" src="https://cdn.rawgit.com/jgallen23/toc/0.3.2/dist/toc.min.js"></script>
61
-
62
- <!--Google fonts-->
63
56
  <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i|Space+Mono:400,700" rel="stylesheet">
64
57
  <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,400i,500,700,900" rel="stylesheet">
65
- <!--Font awesome import for the link icon-->
66
- <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.8/css/solid.css" integrity="sha384-v2Tw72dyUXeU3y4aM2Y0tBJQkGfplr39mxZqlTBDUZAb9BGoC40+rdFCG0m10lXk" crossorigin="anonymous">
67
- <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.8/css/fontawesome.css" integrity="sha384-q3jl8XQu1OpdLgGFvNRnPdj5VIlCvgsDQTQB6owSOHWlAurxul7f+JpUOVdAiJ5P" crossorigin="anonymous">
68
- <style class="anchorjs"></style>
69
58
  HEAD
70
59
  end
71
60
 
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Unece
3
- VERSION = "0.0.13"
3
+ VERSION = "0.0.14"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-unece
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.13
4
+ version: 0.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-03-23 00:00:00.000000000 Z
11
+ date: 2019-04-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: asciidoctor
@@ -292,7 +292,7 @@ dependencies:
292
292
  version: 1.1.0
293
293
  description: 'Metanorma for UNECE: United Nations Economic Commission for Europe.
294
294
 
295
- '
295
+ '
296
296
  email:
297
297
  - open.source@ribose.com
298
298
  executables: []
@@ -308,6 +308,7 @@ files:
308
308
  - LICENSE
309
309
  - README.adoc
310
310
  - Rakefile
311
+ - appveyor.yml
311
312
  - bin/console
312
313
  - bin/rspec
313
314
  - bin/setup