zold-score 0.4.6 → 0.6.0
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 +4 -4
- data/.0pdd.yml +3 -0
- data/.github/workflows/actionlint.yml +25 -0
- data/.github/workflows/codecov.yml +27 -0
- data/.github/workflows/copyrights.yml +19 -0
- data/.github/workflows/markdown-lint.yml +19 -0
- data/.github/workflows/pdd.yml +19 -0
- data/.github/workflows/rake.yml +28 -0
- data/.github/workflows/reuse.yml +19 -0
- data/.github/workflows/typos.yml +19 -0
- data/.github/workflows/xcop.yml +15 -0
- data/.github/workflows/yamllint.yml +19 -0
- data/.gitignore +9 -4
- data/.rubocop.yml +12 -2
- data/.rultor.yml +11 -12
- data/.simplecov +16 -37
- data/Gemfile +17 -20
- data/LICENSE.txt +1 -1
- data/LICENSES/MIT.txt +21 -0
- data/README.md +28 -24
- data/REUSE.toml +35 -0
- data/Rakefile +3 -29
- data/ext/score_suffix/ScoreSuffix.cpp +14 -27
- data/ext/score_suffix/extconf.rb +10 -22
- data/lib/zold/score.rb +28 -59
- data/renovate.json +6 -0
- data/test/test__helper.rb +33 -0
- data/test/zold/test_score.rb +17 -34
- data/zold-score.gemspec +7 -35
- metadata +29 -118
- data/.travis.yml +0 -20
- data/appveyor.yml +0 -39
data/.travis.yml
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
language: ruby
|
|
2
|
-
rvm:
|
|
3
|
-
- 2.3.1
|
|
4
|
-
- 2.3.3
|
|
5
|
-
- 2.4.5
|
|
6
|
-
cache: bundler
|
|
7
|
-
branches:
|
|
8
|
-
only:
|
|
9
|
-
- master
|
|
10
|
-
install:
|
|
11
|
-
- travis_retry bundle update
|
|
12
|
-
- gem install pdd
|
|
13
|
-
- sudo apt-get install cppcheck
|
|
14
|
-
script:
|
|
15
|
-
- pdd -f /dev/null
|
|
16
|
-
- cppcheck --enable=all --quiet --suppress=unusedFunction .
|
|
17
|
-
- export RUBYOPT="-W0"
|
|
18
|
-
- rake --quiet
|
|
19
|
-
after_success:
|
|
20
|
-
- "bash <(curl -s https://codecov.io/bash)"
|
data/appveyor.yml
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
version: '{build}'
|
|
2
|
-
skip_tags: true
|
|
3
|
-
clone_depth: 10
|
|
4
|
-
branches:
|
|
5
|
-
only:
|
|
6
|
-
- master
|
|
7
|
-
except:
|
|
8
|
-
- gh-pages
|
|
9
|
-
os: Windows Server 2012
|
|
10
|
-
environment:
|
|
11
|
-
MAKE: mingw32-make
|
|
12
|
-
matrix:
|
|
13
|
-
- ruby_version: "23-x64"
|
|
14
|
-
- ruby_version: "24-x64"
|
|
15
|
-
- ruby_version: "25-x64"
|
|
16
|
-
install:
|
|
17
|
-
- ps: |
|
|
18
|
-
$Env:PATH = "C:\Ruby${Env:ruby_version}\bin;C:\msys64\mingw64\bin;${Env:PATH}"
|
|
19
|
-
if ($Env:ruby_version -match "^23" ) {
|
|
20
|
-
# RubyInstaller; download OpenSSL headers from OpenKnapsack Project
|
|
21
|
-
$Env:openssl_dir = "C:\Ruby${Env:ruby_version}"
|
|
22
|
-
appveyor DownloadFile http://dl.bintray.com/oneclick/OpenKnapsack/x64/openssl-1.0.2j-x64-windows.tar.lzma
|
|
23
|
-
7z e openssl-1.0.2j-x64-windows.tar.lzma
|
|
24
|
-
7z x -y -oC:\Ruby${Env:ruby_version} openssl-1.0.2j-x64-windows.tar
|
|
25
|
-
} else {
|
|
26
|
-
# RubyInstaller2; openssl package seems to be installed already
|
|
27
|
-
$Env:openssl_dir = "C:\msys64\mingw64"
|
|
28
|
-
}
|
|
29
|
-
- bundle config --local path vendor/bundle
|
|
30
|
-
- bundle config build.openssl --with-openssl-dir=%openssl_dir%
|
|
31
|
-
- ruby -v
|
|
32
|
-
- bundle -v
|
|
33
|
-
build_script:
|
|
34
|
-
- bundle update
|
|
35
|
-
- bundle install
|
|
36
|
-
test_script:
|
|
37
|
-
- bundle exec rake --trace
|
|
38
|
-
cache:
|
|
39
|
-
- vendor/bundle
|