enumerable-statistics 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +47 -0
- data/CHANGELOG.md +4 -0
- data/Rakefile +2 -0
- data/enumerable-statistics.gemspec +1 -1
- data/ext/enumerable/statistics/extension/statistics.c +2 -2
- data/lib/enumerable_statistics/version.rb +1 -1
- metadata +6 -8
- data/.travis.yml +0 -32
- data/ext/-bench-/extconf.rb +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e03fe8a749cc70b480ba4ab50285b63b3829cf88e3b24c1fef315d1db26caebb
|
4
|
+
data.tar.gz: ca1ba053b0aa133190f170a253d16d5153033e37d27851084d2484276ae4da48
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c0f2f284ec0565ee1b15661a1abfed165f4ce26f36a8fd30fd8ca66a0a92d4be118ef114de3d02a2a567688b46f579b06f6704c6f01b4bb02dcb4ebcdb73de4
|
7
|
+
data.tar.gz: a0ba31fe6bdc536cdf7152840cd69e6ef47763904fb4e4cf1ec7498c7748a7d246f7a32c90e1d524bd9932af8df9cb942194db3eb593de6979171c5258c8fd67
|
@@ -0,0 +1,47 @@
|
|
1
|
+
name: CI
|
2
|
+
|
3
|
+
on:
|
4
|
+
- push
|
5
|
+
|
6
|
+
jobs:
|
7
|
+
cruby:
|
8
|
+
name: Test
|
9
|
+
runs-on: ${{ matrix.os }}
|
10
|
+
|
11
|
+
strategy:
|
12
|
+
fail-fast: false
|
13
|
+
matrix:
|
14
|
+
os:
|
15
|
+
- ubuntu-latest
|
16
|
+
- macos-latest
|
17
|
+
- windows-latest
|
18
|
+
ruby:
|
19
|
+
- 3.0
|
20
|
+
- 2.7
|
21
|
+
- 2.6
|
22
|
+
- 2.5
|
23
|
+
- 2.4
|
24
|
+
- debug
|
25
|
+
exclude:
|
26
|
+
- os: windows-latest
|
27
|
+
ruby: 3.0
|
28
|
+
- os: windows-latest
|
29
|
+
ruby: debug
|
30
|
+
|
31
|
+
steps:
|
32
|
+
- uses: actions/checkout@v2
|
33
|
+
|
34
|
+
- name: Setup Ruby
|
35
|
+
uses: ruby/setup-ruby@v1
|
36
|
+
with:
|
37
|
+
ruby-version: ${{ matrix.ruby }}
|
38
|
+
|
39
|
+
- run: gem install bundler
|
40
|
+
- run: bundle install
|
41
|
+
|
42
|
+
- run: rake --trace compile
|
43
|
+
|
44
|
+
- run: rake build
|
45
|
+
- run: gem install pkg/*gem
|
46
|
+
|
47
|
+
- run: rake spec
|
data/CHANGELOG.md
CHANGED
data/Rakefile
CHANGED
@@ -27,7 +27,7 @@ Gem::Specification.new do |spec|
|
|
27
27
|
|
28
28
|
spec.required_ruby_version = '>= 2.4'
|
29
29
|
|
30
|
-
spec.add_development_dependency "bundler"
|
30
|
+
spec.add_development_dependency "bundler"
|
31
31
|
spec.add_development_dependency "rake"
|
32
32
|
spec.add_development_dependency "rake-compiler", ">= 0.9.8"
|
33
33
|
spec.add_development_dependency "rspec", ">= 3.4"
|
@@ -44,7 +44,7 @@ struct RRational {
|
|
44
44
|
#endif
|
45
45
|
|
46
46
|
#ifndef RRATIONAL
|
47
|
-
# define RRATIONAL(obj) (
|
47
|
+
# define RRATIONAL(obj) ((struct RRational *)(obj))
|
48
48
|
#endif
|
49
49
|
|
50
50
|
#ifndef RRATIONAL_SET_NUM
|
@@ -64,7 +64,7 @@ struct RComplex {
|
|
64
64
|
#endif
|
65
65
|
|
66
66
|
#ifndef RCOMPLEX
|
67
|
-
# define RCOMPLEX(obj) (
|
67
|
+
# define RCOMPLEX(obj) ((struct RComplex *)(obj))
|
68
68
|
#endif
|
69
69
|
|
70
70
|
#ifndef RCOMPLEX_SET_REAL
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: enumerable-statistics
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kenta Murata
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-12-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
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:
|
26
|
+
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -114,12 +114,11 @@ email:
|
|
114
114
|
executables: []
|
115
115
|
extensions:
|
116
116
|
- ext/enumerable/statistics/extension/extconf.rb
|
117
|
-
- ext/-bench-/extconf.rb
|
118
117
|
extra_rdoc_files: []
|
119
118
|
files:
|
119
|
+
- ".github/workflows/ci.yml"
|
120
120
|
- ".gitignore"
|
121
121
|
- ".rspec"
|
122
|
-
- ".travis.yml"
|
123
122
|
- ".yardopts"
|
124
123
|
- CHANGELOG.md
|
125
124
|
- Gemfile
|
@@ -136,7 +135,6 @@ files:
|
|
136
135
|
- bin/rspec
|
137
136
|
- bin/setup
|
138
137
|
- enumerable-statistics.gemspec
|
139
|
-
- ext/-bench-/extconf.rb
|
140
138
|
- ext/enumerable/statistics/extension/extconf.rb
|
141
139
|
- ext/enumerable/statistics/extension/statistics.c
|
142
140
|
- images/benchmark.png
|
@@ -275,7 +273,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
275
273
|
- !ruby/object:Gem::Version
|
276
274
|
version: '0'
|
277
275
|
requirements: []
|
278
|
-
rubygems_version: 3.
|
276
|
+
rubygems_version: 3.2.3
|
279
277
|
signing_key:
|
280
278
|
specification_version: 4
|
281
279
|
summary: Statistics features for Enumerable
|
data/.travis.yml
DELETED
@@ -1,32 +0,0 @@
|
|
1
|
-
---
|
2
|
-
notification:
|
3
|
-
email:
|
4
|
-
- mrkn@ruby-lang.org
|
5
|
-
|
6
|
-
language: ruby
|
7
|
-
|
8
|
-
before_install:
|
9
|
-
- yes | gem update --system
|
10
|
-
- gem install bundler
|
11
|
-
|
12
|
-
install:
|
13
|
-
- bundle install
|
14
|
-
|
15
|
-
script:
|
16
|
-
- bundle exec rake --trace clobber compile
|
17
|
-
- bundle exec rake spec
|
18
|
-
|
19
|
-
matrix:
|
20
|
-
include:
|
21
|
-
- name: "2.3"
|
22
|
-
rvm: 2.3
|
23
|
-
- name: "2.4"
|
24
|
-
rvm: 2.4.5
|
25
|
-
- name: "2.5"
|
26
|
-
rvm: 2.5.2
|
27
|
-
- name: "2.6"
|
28
|
-
rvm: 2.6
|
29
|
-
- name: "trunk"
|
30
|
-
rvm: ruby-head
|
31
|
-
allow_failures:
|
32
|
-
- rvm: 2.3
|
data/ext/-bench-/extconf.rb
DELETED