iev 0.2.1 → 0.2.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1dd87e06f2d1a737fd1233fc30716689f6c25812a8dcb18f74babd9e275d6345
4
- data.tar.gz: 202a491fe395342bfc8a227e25442d87b8c4a85ed7c512aed621a721263359f5
3
+ metadata.gz: 720a6fffeaa72634aae0ef4e96b0334e332d09e7b5d9afb07fbbfc81bc1c888e
4
+ data.tar.gz: 34f839524299a48a4019e50cdf5d3c25eb3d591b8d097386526dfb55b54a4738
5
5
  SHA512:
6
- metadata.gz: 1e614046c3e48693dd000c611e2b25f8b8e028466c55e0b6297ac77d09be72c928d79db480850643aff3577d9edc4b08239816bf49db0dcc0288924739942e2c
7
- data.tar.gz: 1ce017de6aed35931abbfb71d2d4a2155c2cb2aeb1163d39636a118b8313627f02a75e26c732703c6d559b3c01156efabb4b34009834e2699fc71a36e0490e5a
6
+ metadata.gz: 580cb981a5819ba7d707c0db7ef44c6ad9495ccb8bdc5b9741a631422567ce7b1e9466a92f3f560b0f97b9f20f5d9ff9f7f8da8f37b67a713a649f3d00fab503
7
+ data.tar.gz: f47344d9a2c59deb0df8c2dc9591cb09e080a44fbc2593c14783791aeb774a679be93b28c190762fe6c7dbac7915226caf35e0a1238d90f415eb154a5e8f0f6e
@@ -1,26 +1,26 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- iev (0.2.0)
4
+ iev (0.2.2)
5
5
  nokogiri
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- byebug (10.0.2)
10
+ byebug (11.0.1)
11
11
  coderay (1.1.2)
12
12
  diff-lcs (1.3)
13
13
  docile (1.3.1)
14
- json (2.1.0)
14
+ json (2.2.0)
15
15
  method_source (0.9.2)
16
16
  mini_portile2 (2.4.0)
17
- nokogiri (1.10.1)
17
+ nokogiri (1.10.2)
18
18
  mini_portile2 (~> 2.4.0)
19
19
  pry (0.12.2)
20
20
  coderay (~> 1.1.0)
21
21
  method_source (~> 0.9.0)
22
- pry-byebug (3.6.0)
23
- byebug (~> 10.0)
22
+ pry-byebug (3.7.0)
23
+ byebug (~> 11.0)
24
24
  pry (~> 0.10)
25
25
  rake (10.5.0)
26
26
  rspec (3.8.0)
@@ -3,6 +3,7 @@
3
3
  image:https://img.shields.io/gem/v/iev.svg["Gem Version", link="https://rubygems.org/gems/iev"]
4
4
  image:https://img.shields.io/travis/metanorma/iev/master.svg["Build Status", link="https://travis-ci.com/metanorma/iev"]
5
5
  image:https://codeclimate.com/github/metanorma/iev/badges/gpa.svg["Code Climate", link="https://codeclimate.com/github/metanorma/iev"]
6
+ image:https://ci.appveyor.com/api/projects/status/qifxbnyscgwgca0y?svg=true["Appveyor Build Status", link="https://ci.appveyor.com/project/ribose/iev"]
6
7
 
7
8
  Fetch and encode IEV term from Electropedia.
8
9
 
@@ -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
+
@@ -55,7 +55,7 @@ module Iev
55
55
  db = DbCache.new dir
56
56
  if global
57
57
  unless db.check_version?
58
- FileUtils.rm_rf dir + "/."
58
+ FileUtils.rm_rf(Dir.glob(File.join(dir, '*')), secure: true)
59
59
  warn "Global cache version is obsolete and cleared."
60
60
  end
61
61
  db.set_version
@@ -1,3 +1,3 @@
1
1
  module Iev
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iev
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.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: 2019-03-14 00:00:00.000000000 Z
11
+ date: 2019-04-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -111,6 +111,7 @@ files:
111
111
  - LICENSE.txt
112
112
  - README.adoc
113
113
  - Rakefile
114
+ - appveyor.yml
114
115
  - bin/console
115
116
  - bin/setup
116
117
  - iev.gemspec