numo-tiny_linalg 0.0.1 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/.rubocop.yml DELETED
@@ -1,47 +0,0 @@
1
- require:
2
- - rubocop-rake
3
- - rubocop-minitest
4
- - rubocop-performance
5
-
6
- AllCops:
7
- TargetRubyVersion: 2.7
8
- NewCops: enable
9
- DisplayCopNames: true
10
- DisplayStyleGuide: true
11
- Exclude:
12
- - 'tmp/**/*'
13
- - 'vendor/**/*'
14
-
15
- Gemspec/RequiredRubyVersion:
16
- Enabled: false
17
-
18
- Layout/LineLength:
19
- AllowedPatterns: ['(\A|\s)#']
20
-
21
- Metrics/AbcSize:
22
- Max: 40
23
- Exclude:
24
- - 'test/**/*'
25
-
26
- Metrics/BlockLength:
27
- Exclude:
28
- - 'test/**/*'
29
- - '*.gemspec'
30
-
31
- Metrics/CyclomaticComplexity:
32
- Max: 16
33
-
34
- Metrics/MethodLength:
35
- Max: 40
36
- Exclude:
37
- - 'test/**/*'
38
-
39
- Metrics/PerceivedComplexity:
40
- Max: 16
41
-
42
- Naming/MethodParameterName:
43
- Enabled: false
44
-
45
- Style/GlobalVars:
46
- Exclude:
47
- - 'ext/**/*'
data/Gemfile DELETED
@@ -1,15 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- source 'https://rubygems.org'
4
-
5
- # Specify your gem's dependencies in tiny_linalg.gemspec
6
- gemspec
7
-
8
- gem 'minitest', '~> 5.0'
9
- gem 'rake', '~> 13.0'
10
- gem 'rake-compiler'
11
- gem 'rubocop', '~> 1.21'
12
- gem 'rubocop-minitest', '~> 0.30.0'
13
- gem 'rubocop-performance', '~> 1.17'
14
- gem 'rubocop-rake', '~> 0.6.0'
15
- gem 'yard', github: '/yoshoku/yard', branch: 'jquery-3.6.0'
data/Rakefile DELETED
@@ -1,30 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'bundler/gem_tasks'
4
- require 'rake/testtask'
5
-
6
- Rake::TestTask.new(:test) do |t|
7
- t.libs << 'test'
8
- t.libs << 'lib'
9
- t.test_files = FileList['test/**/test_*.rb']
10
- end
11
-
12
- require 'rubocop/rake_task'
13
-
14
- RuboCop::RakeTask.new
15
-
16
- require 'rake/extensiontask'
17
-
18
- task build: :compile # rubocop:disable Rake/Desc
19
-
20
- desc 'Run clang-format'
21
- task :'clang-format' do
22
- sh 'clang-format -style=file -Werror --dry-run ext/numo/tiny_linalg/*.cpp ext/numo/tiny_linalg/*.hpp'
23
- end
24
-
25
- Rake::ExtensionTask.new('tiny_linalg') do |ext|
26
- ext.ext_dir = 'ext/numo/tiny_linalg'
27
- ext.lib_dir = 'lib/numo/tiny_linalg'
28
- end
29
-
30
- task default: %i[clobber compile test rubocop]
data/commitlint.config.js DELETED
@@ -1 +0,0 @@
1
- module.exports = { extends: ['@commitlint/config-conventional'] };
@@ -1,42 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require_relative 'lib/numo/tiny_linalg/version'
4
-
5
- Gem::Specification.new do |spec|
6
- spec.name = 'numo-tiny_linalg'
7
- spec.version = Numo::TinyLinalg::VERSION
8
- spec.authors = ['yoshoku']
9
- spec.email = ['yoshoku@outlook.com']
10
-
11
- spec.summary = <<~MSG
12
- Numo::TinyLinalg is a subset library from Numo::Linalg consisting only of methods used in Machine Learning algorithms.
13
- MSG
14
- spec.description = <<~MSG
15
- Numo::TinyLinalg is a subset library from Numo::Linalg consisting only of methods used in Machine Learning algorithms.
16
- MSG
17
- spec.homepage = 'https://github.com/yoshoku/numo-tiny_linalg'
18
- spec.license = 'BSD-3-Clause'
19
-
20
- spec.metadata['homepage_uri'] = spec.homepage
21
- spec.metadata['source_code_uri'] = spec.homepage
22
- spec.metadata['changelog_uri'] = "#{spec.homepage}/blob/main/CHANGELOG.md"
23
-
24
- # Specify which files should be added to the gem when it is released.
25
- # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
26
- spec.files = Dir.chdir(__dir__) do
27
- `git ls-files -z`.split("\x0").reject do |f|
28
- (f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|circleci)|appveyor)})
29
- end
30
- end
31
- spec.bindir = 'exe'
32
- spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
33
- spec.require_paths = ['lib']
34
- spec.extensions = ['ext/numo/tiny_linalg/extconf.rb']
35
-
36
- # Uncomment to register a new dependency of your gem
37
- spec.add_dependency 'numo-narray', '>= 0.9.1'
38
-
39
- # For more information and examples about making a new gem, check out our
40
- # guide at: https://bundler.io/guides/creating_gem.html
41
- spec.metadata['rubygems_mfa_required'] = 'true'
42
- end
data/package.json DELETED
@@ -1,15 +0,0 @@
1
- {
2
- "name": "numo-tiny_linalg",
3
- "repository": "git@github.com:yoshoku/numo-tiny_linalg.git",
4
- "author": "Atsushi Tatsuma <yoshoku@outlook.com>",
5
- "license": "BSD-3-Clause",
6
- "private": true,
7
- "scripts": {
8
- "prepare": "husky install"
9
- },
10
- "devDependencies": {
11
- "@commitlint/cli": "^17.6.1",
12
- "@commitlint/config-conventional": "^17.6.1",
13
- "husky": "^8.0.3"
14
- }
15
- }
File without changes
File without changes
File without changes
File without changes