relaton-calconnect 0.1.0 → 0.1.1

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: 9f236a8d9cdbe6bc2e8f496ec0de9859587dc78bb66965f85de32a2cdea85425
4
- data.tar.gz: e65812c95d64bd1396fabe17de060bf0b3c53bad0112434076577c944e5383e5
3
+ metadata.gz: a5141b709c3c3bd004135eccdb5106afd277e7895ce83e0a2ede1a5d34cfe4dc
4
+ data.tar.gz: a6e004bb53559b1c93cc5e8440d6f1321d9d4e812b759c27aa35436d93547e0a
5
5
  SHA512:
6
- metadata.gz: 81d25d7fe6209cb16d5a77e318ba859886f568f7b0bc5fa5ea8c362d31ad4a3251fa257a8b6ba3e1bb976d0cb846cc2a61e60ebc8e3ab53e951ca5add375778c
7
- data.tar.gz: 0caecfd261ae5315cb5e4fb1ffbcd5ad35c1cd823531dfcfd32ba72c77bffe17a9a849f857b70bac43ef4058dd348cdcd371634dad7a47ead5cb6ffce313e8d5
6
+ metadata.gz: 01fd976b8177efbb5e915242b5a789f359386d583802406d2f72780a6e123acb834474da97a3528e52b4eb1ab5ae83df4a627a8c1cf58ad7fa66e16509fd7bec
7
+ data.tar.gz: 064d048c51efe260bb8423462042801da623b415cf43fd204cdf61ad8ddacfe50b18c301c58942da80841c6b111fbca88c11eac9e0152501bfc3b3ce6a168a7c
@@ -0,0 +1,29 @@
1
+ # Auto-generated !!! Do not edit it manually
2
+ # use ci-master https://github.com/metanorma/metanorma-build-scripts
3
+ name: macos
4
+
5
+ on: [push]
6
+
7
+ jobs:
8
+ test-macos:
9
+ name: Test on Ruby ${{ matrix.ruby }} macOS
10
+ runs-on: macos-latest
11
+ strategy:
12
+ matrix:
13
+ ruby: [ '2.6', '2.5', '2.4' ]
14
+ steps:
15
+ - uses: actions/checkout@master
16
+ with:
17
+ submodules: recursive
18
+ - name: Use Ruby
19
+ uses: actions/setup-ruby@v1
20
+ with:
21
+ ruby-version: ${{ matrix.ruby }}
22
+ architecture: 'x64'
23
+ - name: Update gems
24
+ run: |
25
+ sudo gem install bundler -v "~> 2" --force
26
+ bundle install --jobs 4 --retry 3
27
+ - name: Run specs
28
+ run: |
29
+ bundle exec rake
@@ -0,0 +1,29 @@
1
+ # Auto-generated !!! Do not edit it manually
2
+ # use ci-master https://github.com/metanorma/metanorma-build-scripts
3
+ name: ubuntu
4
+
5
+ on: [push]
6
+
7
+ jobs:
8
+ test-linux:
9
+ name: Test on Ruby ${{ matrix.ruby }} Ubuntu
10
+ runs-on: ubuntu-latest
11
+ strategy:
12
+ matrix:
13
+ ruby: [ '2.6', '2.5', '2.4' ]
14
+ steps:
15
+ - uses: actions/checkout@master
16
+ with:
17
+ submodules: recursive
18
+ - name: Use Ruby
19
+ uses: actions/setup-ruby@v1
20
+ with:
21
+ ruby-version: ${{ matrix.ruby }}
22
+ architecture: 'x64'
23
+ - name: Update gems
24
+ run: |
25
+ gem install bundler -v "~> 2"
26
+ bundle install --jobs 4 --retry 3
27
+ - name: Run specs
28
+ run: |
29
+ bundle exec rake
@@ -0,0 +1,32 @@
1
+ # Auto-generated !!! Do not edit it manually
2
+ # use ci-master https://github.com/metanorma/metanorma-build-scripts
3
+ name: windows
4
+
5
+ on: [push]
6
+
7
+ jobs:
8
+ test-windows:
9
+ name: Test on Ruby ${{ matrix.ruby }} Windows
10
+ runs-on: windows-latest
11
+ strategy:
12
+ matrix:
13
+ ruby: [ '2.6', '2.5', '2.4' ]
14
+ steps:
15
+ - uses: actions/checkout@master
16
+ with:
17
+ submodules: recursive
18
+ - name: Use Ruby
19
+ uses: actions/setup-ruby@v1
20
+ with:
21
+ ruby-version: ${{ matrix.ruby }}
22
+ architecture: 'x64'
23
+ - name: Update gems
24
+ shell: pwsh
25
+ run: |
26
+ gem install bundler -v "~> 2"
27
+ bundle config --local path vendor/bundle
28
+ bundle update
29
+ bundle install --jobs 4 --retry 3
30
+ - name: Run specs
31
+ run: |
32
+ bundle exec rake
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- relaton-calconnect (0.1.0)
4
+ relaton-calconnect (0.1.1)
5
5
  faraday
6
6
  relaton-iso-bib (~> 0.3.0)
7
7
 
@@ -19,7 +19,7 @@ GEM
19
19
  docile (1.3.2)
20
20
  equivalent-xml (0.6.0)
21
21
  nokogiri (>= 1.4.3)
22
- faraday (0.15.4)
22
+ faraday (0.17.1)
23
23
  multipart-post (>= 1.2, < 3)
24
24
  hashdiff (1.0.0)
25
25
  isoics (0.1.8)
@@ -81,4 +81,4 @@ DEPENDENCIES
81
81
  webmock
82
82
 
83
83
  BUNDLED WITH
84
- 2.0.1
84
+ 2.0.2
@@ -31,7 +31,7 @@ module RelatonCalconnect
31
31
  # @param docid [String]
32
32
  def from_yaml(docid, **_opts)
33
33
  data["root"]["items"].select do |doc|
34
- doc["docid"]["id"].include?(docid)
34
+ doc["docid"] && doc["docid"]["id"].include?(docid)
35
35
  end.map { |h| Hit.new(h, self) }
36
36
  end
37
37
 
@@ -1,3 +1,3 @@
1
1
  module RelatonCalconnect
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-calconnect
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
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-11-01 00:00:00.000000000 Z
11
+ date: 2019-11-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -172,10 +172,12 @@ executables: []
172
172
  extensions: []
173
173
  extra_rdoc_files: []
174
174
  files:
175
+ - ".github/workflows/macos.yml"
176
+ - ".github/workflows/ubuntu.yml"
177
+ - ".github/workflows/windows.yml"
175
178
  - ".gitignore"
176
179
  - ".rspec"
177
180
  - ".rubocop.yml"
178
- - ".travis.yml"
179
181
  - Gemfile
180
182
  - Gemfile.lock
181
183
  - LICENSE.txt
data/.travis.yml DELETED
@@ -1,18 +0,0 @@
1
- # Auto-generated !!! Do not edit it manually
2
- # use ci-master https://github.com/metanorma/metanorma-build-scripts
3
- language: ruby
4
- cache: bundler
5
- os:
6
- - linux
7
- - osx
8
- rvm:
9
- - 2.6
10
- - 2.5
11
- - 2.4
12
- - ruby-head
13
- before_install:
14
- - gem install bundler -v "~> 2"
15
- - bundle update
16
- matrix:
17
- allow_failures:
18
- - rvm: ruby-head