relaton-ecma 1.14.1 → 1.14.2

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: 5bc67bcba0ff063e94f85b12e208b74231c8ffd77736a047e910797eb1da211c
4
- data.tar.gz: 34396c96fdf0d4b8d8d1f1cff04f72f135a103f3a830f6784521ff46f5e24367
3
+ metadata.gz: ccb93a32e1674146e6e2465d8a264f9322f12616be106f921f6176412ef1e22d
4
+ data.tar.gz: 163267a6fbffc14dc71eaf072e29856cd899a383055ea21f2126d7cd12675128
5
5
  SHA512:
6
- metadata.gz: 83fde052717c206e86a00e893581538878f03ae25a06c24f9288d8adbc69c92ec4e3a1003b39ff7e8a834be4360e7a81eb802e42924c7d14c178a18c39f013c1
7
- data.tar.gz: e4adc23d844076f2c555b677db11a2e799041ae5b9fc3ec43f7fac51fd583db964bef5cf874dc656fd5c5b3d23151bb60752f3f270f7d631f62ce3b05412cbdc
6
+ metadata.gz: 56b043e9a77b57410600001a6cfbde0fe24d9b723d3d2911013e3ce933f3fe5c9297d7032e3725efbf150c77b3938cf59904e40cb63a9a3f9eb96a50e0b402f8
7
+ data.tar.gz: de9fce557065d77645e09d18a41f262b01558cfeb844e3007b46551936ea66261a3a37bc37afe8c6b6ecdbc431d93b0411e98862b93a69644e3d41ab3433f76e
@@ -5,6 +5,7 @@ name: rake
5
5
  on:
6
6
  push:
7
7
  branches: [ master, main ]
8
+ tags: [ v* ]
8
9
  pull_request:
9
10
 
10
11
  jobs:
@@ -10,8 +10,9 @@ on:
10
10
  Next release version. Possible values: x.y.z, major, minor, patch or pre|rc|etc
11
11
  required: true
12
12
  default: 'skip'
13
- push:
14
- tags: [ v* ]
13
+ repository_dispatch:
14
+ types: [ do-release ]
15
+
15
16
 
16
17
  jobs:
17
18
  release:
data/README.adoc CHANGED
@@ -32,12 +32,15 @@ Or install it yourself as:
32
32
  === Fetch documents
33
33
 
34
34
  Documents can be fetched by reference. The structure of the reference depends on the type of the document. There are three types of documents:
35
+
35
36
  - ECMA standards
36
37
  - ECMA technical reports
37
38
  - ECMA mementos
38
39
 
39
40
  ECMA standards have the following reference structure: `ECMA-{NUMBER}[ ed{EDITION}][ vol{VOLUME}]`. Where: `NUMBER` is a number of the standard, `EDITION` is an edition of the standard, and `VOLUME` is a volume of the standard. The `EDITION` and `VOLUME` are optional. If `EDITION` is not specified, the latest edition of the standard will be fetched. If `VOLUME` is not specified, the first volume of the standard will be fetched. +
41
+
40
42
  ECMA technical reports have the following reference structure: `ECMA TR/{NUMBER}[ ed{EDITION}]`. Where: `NUMBER` is a number of the technical report, and `EDITION` is an edition of the technical report. The `EDITION` is optional. If `EDITION` is not specified, the latest edition of the technical report will be fetched. +
43
+
41
44
  ECMA mementos have the following reference structure: `ECMA MEM/{YEAR}`. Where: `YEAR` is an year of the memento.
42
45
 
43
46
  [source,ruby]
@@ -47,5 +47,12 @@ module RelatonEcma
47
47
  def grammar_hash
48
48
  @grammar_hash ||= ::RelatonEcma.grammar_hash
49
49
  end
50
+
51
+ #
52
+ # Remove index file
53
+ #
54
+ def remove_index_file
55
+ Relaton::Index.find_or_create(:ECMA, url: true).remove_file
56
+ end
50
57
  end
51
58
  end
@@ -1,3 +1,3 @@
1
1
  module RelatonEcma
2
- VERSION = "1.14.1".freeze
2
+ VERSION = "1.14.2".freeze
3
3
  end
data/relaton_ecma.gemspec CHANGED
@@ -32,5 +32,5 @@ Gem::Specification.new do |spec| # rubocop:disable Metrics/BlockLength
32
32
 
33
33
  spec.add_dependency "mechanize", "~> 2.7"
34
34
  spec.add_dependency "relaton-bib", "~> 1.14.0"
35
- spec.add_dependency "relaton-index", "~> 0.1.6"
35
+ spec.add_dependency "relaton-index", "~> 0.2.0"
36
36
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-ecma
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.14.1
4
+ version: 1.14.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-04-27 00:00:00.000000000 Z
11
+ date: 2023-05-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: equivalent-xml
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 0.1.6
75
+ version: 0.2.0
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 0.1.6
82
+ version: 0.2.0
83
83
  description: "RelatonEcma: retrieve ECMA Standards for bibliographic use \nusing the
84
84
  BibliographicItem model.\n"
85
85
  email: