iev 0.2.0 → 0.2.5

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: e6e6ba63fb8c18b055cf2915c1deddd1e92b77ddf7d78410b472e2602739e5d4
4
- data.tar.gz: 951d226d50c412cbe91c4beac9f2b3eb85c302c9d6deb2032171c68f9899c956
3
+ metadata.gz: 0ecaba7215dbd4d5e7881ef64bd5efb2977acf8a30d3bece44e2c915f485997e
4
+ data.tar.gz: a9a5ae122e5cf87ff01ff8e7929daa6816b314842078d1c0b875d2ca78a7c7b1
5
5
  SHA512:
6
- metadata.gz: 9f404a23da498ae4aae84d826f96f434b95c059c0c94b9ad12e67d9fb00c21175fff9f5e79e565ec967743a081098a73697c5378061b19b2c623da33a6802786
7
- data.tar.gz: 6f51cd0ac4f6e975d1dfd41f65cddeab55c2d521da913dee581bcf3bde8a075282ab34ece5d7ebbe5a75aa1a11d325748dfca34bb906d18655c58a142bb30673
6
+ metadata.gz: 8f748be53f10d3889f4c331b0ec46b265d9233797672185149134f2d56d133172337400968ce9a357e949e3bee3119eec5abd8df7e6f255e60ef1dac50aa72cd
7
+ data.tar.gz: 134e28259355bfc46f6ac2110bcf01544e9e9acaccb917f2f1c0e72ef3d4b27b79b874d5e82cde6d54e261843a07ae71b2add7544de5d0f3f160af2986cc7f12
@@ -0,0 +1,32 @@
1
+ # Auto-generated by Cimas: Do not edit it manually!
2
+ # See https://github.com/metanorma/cimas
3
+ name: rake
4
+
5
+ on:
6
+ push:
7
+ branches: [ master, main ]
8
+ tags: [ v* ]
9
+ pull_request:
10
+
11
+ jobs:
12
+ rake:
13
+ name: Test on Ruby ${{ matrix.ruby }} ${{ matrix.os }}
14
+ runs-on: ${{ matrix.os }}
15
+ continue-on-error: ${{ matrix.experimental }}
16
+ strategy:
17
+ fail-fast: false
18
+ matrix:
19
+ ruby: [ '3.0', '2.7', '2.6', '2.5', '2.4' ]
20
+ os: [ ubuntu-latest, windows-latest, macos-latest ]
21
+ experimental: [ false ]
22
+ steps:
23
+ - uses: actions/checkout@v2
24
+ with:
25
+ submodules: true
26
+
27
+ - uses: ruby/setup-ruby@v1
28
+ with:
29
+ ruby-version: ${{ matrix.ruby }}
30
+ bundler-cache: true
31
+
32
+ - run: bundle exec rake
data/.hound.yml ADDED
@@ -0,0 +1,5 @@
1
+ # Auto-generated by Cimas: Do not edit it manually!
2
+ # See https://github.com/metanorma/cimas
3
+ ruby:
4
+ enabled: true
5
+ config_file: .rubocop.yml
data/.rubocop.yml ADDED
@@ -0,0 +1,10 @@
1
+ # Auto-generated by Cimas: Do not edit it manually!
2
+ # See https://github.com/metanorma/cimas
3
+ inherit_from:
4
+ - https://raw.githubusercontent.com/riboseinc/oss-guides/master/ci/rubocop.yml
5
+
6
+ # local repo-specific modifications
7
+ # ...
8
+
9
+ AllCops:
10
+ TargetRubyVersion: 2.4
data/Gemfile CHANGED
@@ -1,6 +1,6 @@
1
1
  source "https://rubygems.org"
2
2
 
3
- git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
3
+ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
4
4
 
5
5
  # Specify your gem's dependencies in iev.gemspec
6
6
  gemspec
data/LICENSE.txt CHANGED
@@ -1,21 +1,25 @@
1
- The MIT License (MIT)
1
+ BSD 2-Clause License
2
2
 
3
- Copyright (c) 2018 Andrei Kislichenko
3
+ Copyright (c) 2018, Ribose
4
+ All rights reserved.
4
5
 
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
6
+ Redistribution and use in source and binary forms, with or without
7
+ modification, are permitted provided that the following conditions are met:
11
8
 
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
9
+ * Redistributions of source code must retain the above copyright notice, this
10
+ list of conditions and the following disclaimer.
14
11
 
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- THE SOFTWARE.
12
+ * Redistributions in binary form must reproduce the above copyright notice,
13
+ this list of conditions and the following disclaimer in the documentation
14
+ and/or other materials provided with the distribution.
15
+
16
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
17
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
20
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
22
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
23
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
24
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
25
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
data/README.adoc CHANGED
@@ -1,5 +1,11 @@
1
1
  = Iev
2
2
 
3
+ image:https://img.shields.io/gem/v/iev.svg["Gem Version", link="https://rubygems.org/gems/iev"]
4
+ image:https://github.com/metanorma/iev/workflows/rake/badge.svg["Build Status", link="https://github.com/metanorma/iev/actions?query=workflow%3Arake"]
5
+ image:https://codeclimate.com/github/metanorma/iev/badges/gpa.svg["Code Climate", link="https://codeclimate.com/github/metanorma/iev"]
6
+ image:https://img.shields.io/github/issues-pr-raw/metanorma/iev.svg["Pull Requests", link="https://github.com/metanorma/iev/pulls"]
7
+ image:https://img.shields.io/github/commits-since/metanorma/iev/latest.svg["Commits since latest",link="https://github.com/metanorma/iev/releases"]
8
+
3
9
  Fetch and encode IEV term from Electropedia.
4
10
 
5
11
  == Installation
data/Rakefile CHANGED
@@ -3,4 +3,4 @@ require "rspec/core/rake_task"
3
3
 
4
4
  RSpec::Core::RakeTask.new(:spec)
5
5
 
6
- task :default => :spec
6
+ task default: :spec
data/iev.gemspec CHANGED
@@ -1,4 +1,4 @@
1
- lib = File.expand_path("../lib", __FILE__)
1
+ lib = File.expand_path("lib", __dir__)
2
2
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
3
  require "iev/version"
4
4
 
@@ -8,10 +8,10 @@ Gem::Specification.new do |spec|
8
8
  spec.authors = ["Ribose Inc."]
9
9
  spec.email = ["open.source@ribose.com"]
10
10
 
11
- spec.summary = %q{IEV: Fetch and encode IEV term from Electropedia}
12
- spec.description = %q{IEV: Fetch and encode IEV term from Electropedia}
13
- spec.homepage = "https://github.com/riboseinc/iev"
14
- spec.license = "MIT"
11
+ spec.summary = "IEV: Fetch and encode IEV term from Electropedia"
12
+ spec.description = "IEV: Fetch and encode IEV term from Electropedia"
13
+ spec.homepage = "https://github.com/metanorma/iev"
14
+ spec.license = "BSD-2-Clause"
15
15
 
16
16
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
17
17
  f.match(%r{^(test|spec|features)/})
@@ -19,12 +19,13 @@ Gem::Specification.new do |spec|
19
19
  spec.bindir = "exe"
20
20
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
21
21
  spec.require_paths = ["lib"]
22
+ spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
22
23
 
23
- spec.add_development_dependency "bundler", "~> 1.16"
24
- spec.add_development_dependency 'pry-byebug'
25
- spec.add_development_dependency "rake", "~> 10.0"
24
+ spec.add_development_dependency "bundler"
25
+ spec.add_development_dependency "pry-byebug"
26
+ spec.add_development_dependency "rake", "~> 13.0"
26
27
  spec.add_development_dependency "rspec", "~> 3.0"
27
- spec.add_development_dependency 'simplecov'
28
+ spec.add_development_dependency "simplecov"
28
29
 
29
- spec.add_dependency 'nokogiri'
30
+ spec.add_dependency "nokogiri", "~> 1.11"
30
31
  end
data/lib/iev.rb CHANGED
@@ -10,13 +10,16 @@ module Iev
10
10
  # @param [String] code for example "103-01-02"
11
11
  # @param [String] lang language code, for examle "en"
12
12
  #
13
- # @return [String, nil] if found than term, if code not found then empty string,
14
- # if langguage not fiund then nil.
13
+ # @return [String, nil] if found than term,
14
+ # if code not found then empty string,
15
+ # if language not found then nil.
15
16
  #
16
17
  def self.get(code, lang)
17
- url = "http://www.electropedia.org/iev/iev.nsf/display?openform&ievref=#{code}"
18
+ url = "http://www.electropedia.org/iev/iev.nsf/"\
19
+ "display?openform&ievref=#{code}"
18
20
  doc = Nokogiri::HTML OpenURI.open_uri(url), nil, "UTF-8"
19
- xpath = "//table/tr/td/div/font[.=\"#{lang}\"]/../../following-sibling::td[2]"
21
+ xpath = "//table/tr/td/div/font[.=\"#{lang}\"]/../../"\
22
+ "following-sibling::td[2]"
20
23
  doc.at(xpath)&.text&.strip
21
24
  end
22
25
  end
data/lib/iev/db.rb CHANGED
@@ -1,4 +1,5 @@
1
- require 'pstore'
1
+ # require 'pstore'
2
+ require_relative "db_cache"
2
3
 
3
4
  module Iev
4
5
  # Cache class.
@@ -22,65 +23,58 @@ module Iev
22
23
  private
23
24
 
24
25
  def check_bibliocache(code, lang)
25
- id = code + '/' + lang
26
+ id = "#{code}/#{lang}"
26
27
  return bib_retval(new_bib_entry(code, lang)) if @db.nil?
27
- @db.transaction do
28
- # @db.delete(id) unless valid_bib_entry?(@db[id])
29
- @db[id] ||= new_bib_entry(code, lang)
30
- if @local_db.nil? then bib_retval(@db[id])
31
- else
32
- @local_db.transaction do
33
- @local_db[id] ||= @db[id]
34
- bib_retval(@local_db[id])
35
- end
36
- end
28
+
29
+ # @db.delete(id) unless valid_bib_entry?(@db[id])
30
+ @db[id] ||= new_bib_entry(code, lang)
31
+ if @local_db.nil? then bib_retval(@db[id])
32
+ else
33
+ @local_db[id] ||= @db[id]
34
+ bib_retval(@local_db[id])
37
35
  end
38
36
  end
39
37
 
40
38
  def bib_retval(entry)
41
39
  # entry['term'] == 'not_found' ? '' : entry['term']
42
- entry['term']
40
+ # entry["term"]
41
+ /^not_found/.match?(entry) ? nil : entry
43
42
  end
44
43
 
45
44
  # @return [Hash]
46
45
  def new_bib_entry(code, lang)
47
- term = Iev.get(code, lang)
48
- # term = 'not_found' if term.nil? || term.empty?
49
- { 'term' => term, 'definition' => nil }
46
+ Iev.get(code, lang)
50
47
  end
51
48
 
52
- # @param filename [String] DB filename
49
+ # @param dir [String] DB dir
53
50
  # @param global [TrueClass, FalseClass]
54
- # @return [PStore]
55
- def open_cache_biblio(filename, global: true)
56
- return nil if filename.nil?
57
- db = PStore.new filename
58
- if File.exist? filename
59
- if global
60
- unless check_cache_version(db)
61
- File.delete filename
62
- warn 'Global cache version is obsolete and cleared.'
63
- end
64
- save_cache_version db
65
- elsif check_cache_version(db) then db
66
- else
67
- warn 'Local cache version is obsolete.'
68
- nil
51
+ # @return [Iev::DbCache, nil]
52
+ def open_cache_biblio(dir, global: true)
53
+ return nil if dir.nil?
54
+
55
+ db = DbCache.new dir
56
+ if global
57
+ unless db.check_version?
58
+ FileUtils.rm_rf(Dir.glob(File.join(dir, "*")), secure: true)
59
+ warn "Global cache version is obsolete and cleared."
69
60
  end
61
+ db.set_version
62
+ elsif db.check_version? then db
70
63
  else
71
- save_cache_version db
64
+ warn "Local cache version is obsolete."
65
+ nil
72
66
  end
73
67
  end
74
68
 
75
- def check_cache_version(cache_db)
76
- cache_db.transaction { cache_db[:version] == VERSION }
77
- end
69
+ # def check_cache_version(cache_db)
70
+ # cache_db.transaction { cache_db[:version] == VERSION }
71
+ # end
78
72
 
79
- def save_cache_version(cache_db)
80
- unless File.exist? cache_db.path
81
- cache_db.transaction { cache_db[:version] = VERSION }
82
- end
83
- cache_db
84
- end
73
+ # def save_cache_version(cache_db)
74
+ # unless File.exist? cache_db.path
75
+ # cache_db.transaction { cache_db[:version] = VERSION }
76
+ # end
77
+ # cache_db
78
+ # end
85
79
  end
86
80
  end
@@ -0,0 +1,117 @@
1
+ require "fileutils"
2
+
3
+ module Iev
4
+ class DbCache
5
+ # @return [String]
6
+ attr_reader :dir
7
+
8
+ # @param dir [String] DB directory
9
+ def initialize(dir)
10
+ @dir = dir
11
+ FileUtils::mkdir_p @dir
12
+ file_version = "#{@dir}/version"
13
+ File.exist? file_version or
14
+ File.write file_version, VERSION, encoding: "utf-8"
15
+ end
16
+
17
+ # Save item
18
+ # @param key [String]
19
+ # @param value [String] Bibitem xml serialization
20
+ def []=(key, value)
21
+ return if value.nil?
22
+
23
+ prefix_dir = "#{@dir}/#{prefix(key)}"
24
+ FileUtils::mkdir_p prefix_dir
25
+ File.write filename(key), value, encoding: "utf-8"
26
+ end
27
+
28
+ # Read item
29
+ # @param key [String]
30
+ # @return [String]
31
+ def [](key)
32
+ file = filename key
33
+ return unless File.exist? file
34
+
35
+ File.read(file, encoding: "utf-8")
36
+ end
37
+
38
+ # Return fetched date
39
+ # @param key [String]
40
+ # @return [String]
41
+ def fetched(key)
42
+ value = self[key]
43
+ return unless value
44
+
45
+ # if value =~ /^not_found/
46
+ # value.match(/\d{4}-\d{2}-\d{2}/).to_s
47
+ # else
48
+ doc = Nokogiri::XML value
49
+ doc.at("/bibitem/fetched")&.text
50
+ # end
51
+ end
52
+
53
+ # Returns all items
54
+ # @return [Array<Hash>]
55
+ def all
56
+ Dir.glob("#{@dir}/**/*.xml").sort.map do |f|
57
+ File.read(f, encoding: "utf-8")
58
+ end
59
+ end
60
+
61
+ # Delete item
62
+ # @param key [String]
63
+ def delete(key)
64
+ file = filename key
65
+ File.delete file if File.exist? file
66
+ end
67
+
68
+ # Check if version of the DB match to the gem version.
69
+ # @return [TrueClass, FalseClass]
70
+ def check_version?
71
+ v = File.read "#{@dir}/version", encoding: "utf-8"
72
+ v == VERSION
73
+ end
74
+
75
+ # Set version of the DB to the gem version.
76
+ # @return [Iev::DbCache]
77
+ def set_version
78
+ File.write "#{@dir}/version", VERSION, encoding: "utf-8"
79
+ self
80
+ end
81
+
82
+ # if cached reference is undated, expire it after 60 days
83
+ # @param key [String]
84
+ # @param year [String]
85
+ # def valid_entry?(key)
86
+ # datestr = fetched key
87
+ # return false unless datestr
88
+
89
+ # date = Date.parse datestr
90
+ # year || Date.today - date < 60
91
+ # end
92
+
93
+ private
94
+
95
+ # Return item's file name
96
+ # @param key [String]
97
+ # @return [String]
98
+ def filename(key)
99
+ # prefcode = key.downcase.match /^(?<prefix>[^\(]+)\((?<code>[^\)]+)/
100
+ # if prefcode
101
+ # "#{@dir}/#{prefcode[:prefix]}/#{prefcode[:code].gsub(/[-:\s\/]/, '_')}.xml"
102
+ # else
103
+ "#{@dir}/#{key.gsub(/[-:\s\/]/, '_')}.xml"
104
+ # end
105
+ end
106
+
107
+ # Return item's subdir
108
+ # @param key [String]
109
+ # @return [String]
110
+ def prefix(key)
111
+ # @registry.processors.detect do |_n, p|
112
+ # /^#{p.prefix}/.match(key) || processor.defaultprefix.match(key)
113
+ # end[1].prefix.downcase
114
+ key.downcase.match(/^[^(]+(?=\()/).to_s
115
+ end
116
+ end
117
+ end
data/lib/iev/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Iev
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.5".freeze
3
3
  end
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iev
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-07-30 00:00:00.000000000 Z
11
+ date: 2021-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '1.16'
19
+ version: '0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '1.16'
26
+ version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: pry-byebug
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '10.0'
47
+ version: '13.0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '10.0'
54
+ version: '13.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rspec
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -84,16 +84,16 @@ dependencies:
84
84
  name: nokogiri
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ">="
87
+ - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '0'
89
+ version: '1.11'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ">="
94
+ - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '0'
96
+ version: '1.11'
97
97
  description: 'IEV: Fetch and encode IEV term from Electropedia'
98
98
  email:
99
99
  - open.source@ribose.com
@@ -101,11 +101,12 @@ executables: []
101
101
  extensions: []
102
102
  extra_rdoc_files: []
103
103
  files:
104
+ - ".github/workflows/rake.yml"
104
105
  - ".gitignore"
106
+ - ".hound.yml"
105
107
  - ".rspec"
106
- - ".travis.yml"
108
+ - ".rubocop.yml"
107
109
  - Gemfile
108
- - Gemfile.lock
109
110
  - LICENSE.txt
110
111
  - README.adoc
111
112
  - Rakefile
@@ -114,12 +115,13 @@ files:
114
115
  - iev.gemspec
115
116
  - lib/iev.rb
116
117
  - lib/iev/db.rb
118
+ - lib/iev/db_cache.rb
117
119
  - lib/iev/version.rb
118
- homepage: https://github.com/riboseinc/iev
120
+ homepage: https://github.com/metanorma/iev
119
121
  licenses:
120
- - MIT
122
+ - BSD-2-Clause
121
123
  metadata: {}
122
- post_install_message:
124
+ post_install_message:
123
125
  rdoc_options: []
124
126
  require_paths:
125
127
  - lib
@@ -127,16 +129,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
127
129
  requirements:
128
130
  - - ">="
129
131
  - !ruby/object:Gem::Version
130
- version: '0'
132
+ version: 2.4.0
131
133
  required_rubygems_version: !ruby/object:Gem::Requirement
132
134
  requirements:
133
135
  - - ">="
134
136
  - !ruby/object:Gem::Version
135
137
  version: '0'
136
138
  requirements: []
137
- rubyforge_project:
138
- rubygems_version: 2.7.6
139
- signing_key:
139
+ rubygems_version: 3.1.4
140
+ signing_key:
140
141
  specification_version: 4
141
142
  summary: 'IEV: Fetch and encode IEV term from Electropedia'
142
143
  test_files: []
data/.travis.yml DELETED
@@ -1,14 +0,0 @@
1
- sudo: false
2
- language: ruby
3
-
4
- rvm:
5
- - 2.5
6
- - 2.4
7
- - 2.3
8
- - ruby-head
9
-
10
- before_install: gem install bundler -v 1.16.1
11
-
12
- matrix:
13
- allow_failures:
14
- - rvm: ruby-head
data/Gemfile.lock DELETED
@@ -1,57 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- iev (0.2.0)
5
- nokogiri
6
-
7
- GEM
8
- remote: https://rubygems.org/
9
- specs:
10
- byebug (10.0.2)
11
- coderay (1.1.2)
12
- diff-lcs (1.3)
13
- docile (1.3.1)
14
- json (2.1.0)
15
- method_source (0.9.0)
16
- mini_portile2 (2.3.0)
17
- nokogiri (1.8.4)
18
- mini_portile2 (~> 2.3.0)
19
- pry (0.11.3)
20
- coderay (~> 1.1.0)
21
- method_source (~> 0.9.0)
22
- pry-byebug (3.6.0)
23
- byebug (~> 10.0)
24
- pry (~> 0.10)
25
- rake (10.5.0)
26
- rspec (3.7.0)
27
- rspec-core (~> 3.7.0)
28
- rspec-expectations (~> 3.7.0)
29
- rspec-mocks (~> 3.7.0)
30
- rspec-core (3.7.1)
31
- rspec-support (~> 3.7.0)
32
- rspec-expectations (3.7.0)
33
- diff-lcs (>= 1.2.0, < 2.0)
34
- rspec-support (~> 3.7.0)
35
- rspec-mocks (3.7.0)
36
- diff-lcs (>= 1.2.0, < 2.0)
37
- rspec-support (~> 3.7.0)
38
- rspec-support (3.7.1)
39
- simplecov (0.16.1)
40
- docile (~> 1.1)
41
- json (>= 1.8, < 3)
42
- simplecov-html (~> 0.10.0)
43
- simplecov-html (0.10.2)
44
-
45
- PLATFORMS
46
- ruby
47
-
48
- DEPENDENCIES
49
- bundler (~> 1.16)
50
- iev!
51
- pry-byebug
52
- rake (~> 10.0)
53
- rspec (~> 3.0)
54
- simplecov
55
-
56
- BUNDLED WITH
57
- 1.16.2