cmetrics 0.2.5 → 0.3.3
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/.github/workflows/apt.yml +5 -1
- data/.github/workflows/yum.yml +4 -4
- data/ci/yum-test.sh +10 -0
- data/ext/cmetrics/extconf.rb +2 -2
- data/lib/cmetrics/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b3082373fb19c02ab07622d8bd98a430f9515e742ab88a352976257ecfdb10d7
|
|
4
|
+
data.tar.gz: 87f019a6897a2e3f74387b00c8f7c4c8e4598d4ab0d3f17b1a09c903d34e0eda
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dd71043751ba82e3bad42dcbf4a8c53ab0c500abcdbc93aaac6faf4ba6178919c443b01aa0b730cbd0d390992987f41f8889037ad860f1b43ba612c3a9cd0435
|
|
7
|
+
data.tar.gz: cb8d3dfb9f19da2269536143903eff18cce053f7c7de339e671655d409551ee51bdf8543c5598e4898c9eb84137da3afd43e71fc6523ad4df3475dd1ad2bd8bb
|
data/.github/workflows/apt.yml
CHANGED
|
@@ -13,6 +13,7 @@ jobs:
|
|
|
13
13
|
- Debian GNU/Linux Buster amd64
|
|
14
14
|
- Ubuntu Bionic amd64
|
|
15
15
|
- Ubuntu Focal amd64
|
|
16
|
+
- Ubuntu Jammy amd64
|
|
16
17
|
include:
|
|
17
18
|
- label: Debian GNU/Linux Bullseye amd64
|
|
18
19
|
test-docker-image: debian:bullseye
|
|
@@ -26,6 +27,9 @@ jobs:
|
|
|
26
27
|
- label: Ubuntu Focal amd64
|
|
27
28
|
test-docker-image: ubuntu:focal
|
|
28
29
|
test-script: ci/apt-test.sh
|
|
30
|
+
- label: Ubuntu Jammy amd64
|
|
31
|
+
test-docker-image: ubuntu:jammy
|
|
32
|
+
test-script: ci/apt-test.sh
|
|
29
33
|
runs-on: ubuntu-latest
|
|
30
34
|
steps:
|
|
31
35
|
- uses: actions/checkout@master
|
|
@@ -36,4 +40,4 @@ jobs:
|
|
|
36
40
|
--tty \
|
|
37
41
|
--volume ${PWD}:/cmetrics-ruby \
|
|
38
42
|
${{ matrix.test-docker-image }} \
|
|
39
|
-
/cmetrics-ruby/${{ matrix.test-script }}
|
|
43
|
+
/cmetrics-ruby/${{ matrix.test-script }}
|
data/.github/workflows/yum.yml
CHANGED
|
@@ -10,15 +10,15 @@ jobs:
|
|
|
10
10
|
matrix:
|
|
11
11
|
label:
|
|
12
12
|
- CentOS 7 x86_64
|
|
13
|
-
-
|
|
13
|
+
- RockyLinux OS 8 x86_64
|
|
14
14
|
- Fedora 34 x86_64
|
|
15
15
|
- AmazonLinux 2 x86_64
|
|
16
16
|
include:
|
|
17
17
|
- label: CentOS 7 x86_64
|
|
18
18
|
test-docker-image: centos:7
|
|
19
19
|
test-script: ci/yum-test.sh
|
|
20
|
-
- label:
|
|
21
|
-
test-docker-image:
|
|
20
|
+
- label: RockyLinux OS 8 x86_64
|
|
21
|
+
test-docker-image: rockylinux:8
|
|
22
22
|
test-script: ci/yum-test.sh
|
|
23
23
|
- label: Fedora 34 x86_64
|
|
24
24
|
test-docker-image: fedora:34
|
|
@@ -36,4 +36,4 @@ jobs:
|
|
|
36
36
|
--tty \
|
|
37
37
|
--volume ${PWD}:/cmetrics-ruby \
|
|
38
38
|
${{ matrix.test-docker-image }} \
|
|
39
|
-
/cmetrics-ruby/${{ matrix.test-script }}
|
|
39
|
+
/cmetrics-ruby/${{ matrix.test-script }}
|
data/ci/yum-test.sh
CHANGED
data/ext/cmetrics/extconf.rb
CHANGED
|
@@ -46,7 +46,7 @@ class BuildCMetrics
|
|
|
46
46
|
@recipe.target = File.join(ROOT, "ports")
|
|
47
47
|
@recipe.files << {
|
|
48
48
|
url: "https://codeload.github.com/calyptia/cmetrics/tar.gz/v#{version}",
|
|
49
|
-
sha256sum: "
|
|
49
|
+
sha256sum: "9f0bdc64268ddaa0906ebd8ae4e5cb396f9730695e5697514fc3a5287fe41826",
|
|
50
50
|
}
|
|
51
51
|
end
|
|
52
52
|
|
|
@@ -70,7 +70,7 @@ class BuildCMetrics
|
|
|
70
70
|
end
|
|
71
71
|
end
|
|
72
72
|
|
|
73
|
-
cmetrics = BuildCMetrics.new("0.
|
|
73
|
+
cmetrics = BuildCMetrics.new("0.3.3", cmake_command: determine_preferred_command("cmake3", "cmake"))
|
|
74
74
|
cmetrics.build
|
|
75
75
|
|
|
76
76
|
libdir = RbConfig::CONFIG["libdir"]
|
data/lib/cmetrics/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cmetrics
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Hiroshi Hatake
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2022-05-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -147,7 +147,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
147
147
|
- !ruby/object:Gem::Version
|
|
148
148
|
version: '0'
|
|
149
149
|
requirements: []
|
|
150
|
-
rubygems_version: 3.2.
|
|
150
|
+
rubygems_version: 3.2.32
|
|
151
151
|
signing_key:
|
|
152
152
|
specification_version: 4
|
|
153
153
|
summary: C binding for cmetric library.
|