topolys 0.5.2 → 0.6.1

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: b3301fef0d27e3a430a205feac0bbe4560e8c58f8e5aee5a28290b74e67f204c
4
- data.tar.gz: cce3dd8ea4e5a42dcf97cb98597dd6ebe05748dd2f70875981c83e04f6cd43b6
3
+ metadata.gz: 3bb18d30ee726b34ae0e120b80b3c0ef4c65c1bc627a44c1e65f67a6105f8e89
4
+ data.tar.gz: 5ea32d08c42f82bb143d085e24a2186ad150b4ca5479858a9390affd7e9cd282
5
5
  SHA512:
6
- metadata.gz: 3e6e997e94b2694cb7730127cd9022655b697ef82686db58f6b867dc83f9ac9048a77a1c0db7d22dcefdd8847f5538184d8c40bae3edc30d2fc9bac2edfd1d05
7
- data.tar.gz: 61df74ca36f463dcfac81c808c425420903a3ab3a313b9037fc1fb085ac698d65c830b19e9c87957a4f13909da6e5c798be78378a93ce692207fea2b07fe13a7
6
+ metadata.gz: b57339cdf52a7f88d4774a82627dbc31a04ea459597afbbf4275ce9286bf8c5bd8530706083ccc7fc327553ca06c1834c0472f254fbc652250fc635525719fa4
7
+ data.tar.gz: 962c68e4226bccc4db7627570b01bd74dc63ae9a15d19e33d559faa8673bc080331e0669abfe2aec247639a809119262c28f6098eb6f76ada26d09aeb4380985
@@ -4,21 +4,22 @@ on:
4
4
  pull_request:
5
5
  branches:
6
6
  - master
7
-
7
+
8
8
  jobs:
9
9
  test:
10
- runs-on: ubuntu-18.04
10
+ runs-on: ubuntu-20.04
11
11
  strategy:
12
12
  matrix:
13
- ruby: [ '2.4', '2.5' ]
13
+ ruby: [ '2.5', '2.7', '3.0', '3.1' ]
14
14
  name: Ruby ${{ matrix.ruby }} Tests
15
15
  steps:
16
16
  - name: Check out repository
17
- uses: actions/checkout@v2
17
+ uses: actions/checkout@v2
18
18
  - name: Set up Ruby
19
- uses: actions/setup-ruby@v1
19
+ uses: ruby/setup-ruby@v1
20
20
  with:
21
21
  ruby-version: ${{ matrix.ruby }}
22
+ bundler: default
22
23
  - name: Run Tests
23
24
  run: |
24
25
  bundle update
data/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2020-2021 Dan Macumber & Denis Bourgeois
3
+ Copyright (c) 2020-2023 Dan Macumber & Denis Bourgeois
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/lib/topolys/model.rb CHANGED
@@ -1,9 +1,3 @@
1
- begin
2
- require "topolys/version"
3
- rescue LoadError
4
- require File.join(File.dirname(__FILE__), 'version.rb')
5
- end
6
-
7
1
  require 'json'
8
2
  require 'securerandom'
9
3
  require 'set'
@@ -1,3 +1,3 @@
1
1
  module Topolys
2
- VERSION = "0.5.2"
2
+ VERSION = "0.6.1"
3
3
  end
data/lib/topolys.rb CHANGED
@@ -1,4 +1,4 @@
1
- require "topolys/version"
2
- require "topolys/geometry"
3
- require "topolys/transformation"
4
- require "topolys/model"
1
+ require_relative "topolys/version"
2
+ require_relative "topolys/geometry"
3
+ require_relative "topolys/transformation"
4
+ require_relative "topolys/model"
data/topolys.gemspec CHANGED
@@ -37,25 +37,13 @@ Gem::Specification.new do |spec|
37
37
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
38
38
  spec.require_paths = ["lib"]
39
39
 
40
- if /^2.2/.match(RUBY_VERSION)
41
- spec.required_ruby_version = "~> 2.2.0"
42
-
43
- spec.add_development_dependency "public_suffix", "~> 3.1.1"
44
- spec.add_development_dependency "json-schema", "~> 2.7.0"
45
- spec.add_development_dependency "bundler", "~> 1.17.1"
46
- spec.add_development_dependency "rake", "~> 12.3"
47
- spec.add_development_dependency "rspec", "~> 3.7.0"
48
- spec.add_development_dependency "rubocop", "~> 0.54.0"
49
- spec.add_development_dependency "yard", "~> 0.9"
50
- spec.add_development_dependency "parallel","~> 1.19.2"
51
-
52
- else
53
- spec.add_development_dependency "public_suffix", "~> 3.1.1"
54
- spec.add_development_dependency "json-schema", "~> 2.7.0"
55
- spec.add_development_dependency "bundler", "~> 2.1"
56
- spec.add_development_dependency "rake", "~> 13.0"
57
- spec.add_development_dependency "rspec", "~> 3.9"
58
- spec.add_development_dependency "rubocop", "~> 0.54.0"
59
- spec.add_development_dependency "yard", "~> 0.9"
60
- end
40
+ spec.required_ruby_version = ">= 2.5.0"
41
+
42
+ spec.add_runtime_dependency "matrix"
43
+
44
+ spec.add_development_dependency "json-schema", "~> 3.0"
45
+ spec.add_development_dependency "bundler", "~> 2.1"
46
+ spec.add_development_dependency "rake", "~> 13.0"
47
+ spec.add_development_dependency "rspec", "~> 3.11"
48
+
61
49
  end
metadata CHANGED
@@ -1,43 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: topolys
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Macumber & Denis Bourgeois
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-07-10 00:00:00.000000000 Z
11
+ date: 2023-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: public_suffix
14
+ name: matrix
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 3.1.1
20
- type: :development
19
+ version: '0'
20
+ type: :runtime
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: 3.1.1
26
+ version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: json-schema
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 2.7.0
33
+ version: '3.0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 2.7.0
40
+ version: '3.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -72,42 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '3.9'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - "~>"
81
- - !ruby/object:Gem::Version
82
- version: '3.9'
83
- - !ruby/object:Gem::Dependency
84
- name: rubocop
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - "~>"
88
- - !ruby/object:Gem::Version
89
- version: 0.54.0
75
+ version: '3.11'
90
76
  type: :development
91
77
  prerelease: false
92
78
  version_requirements: !ruby/object:Gem::Requirement
93
79
  requirements:
94
80
  - - "~>"
95
81
  - !ruby/object:Gem::Version
96
- version: 0.54.0
97
- - !ruby/object:Gem::Dependency
98
- name: yard
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - "~>"
102
- - !ruby/object:Gem::Version
103
- version: '0.9'
104
- type: :development
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - "~>"
109
- - !ruby/object:Gem::Version
110
- version: '0.9'
82
+ version: '3.11'
111
83
  description: ''
112
84
  email:
113
85
  - dan@automaticmagic.com
@@ -139,7 +111,7 @@ licenses:
139
111
  - MIT
140
112
  metadata:
141
113
  homepage_uri: https://github.com/macumber/topolys.git
142
- source_code_uri: https://github.com/macumber/topolys/tree/v0.5.2
114
+ source_code_uri: https://github.com/macumber/topolys/tree/v0.6.1
143
115
  post_install_message:
144
116
  rdoc_options: []
145
117
  require_paths:
@@ -148,7 +120,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
148
120
  requirements:
149
121
  - - ">="
150
122
  - !ruby/object:Gem::Version
151
- version: '0'
123
+ version: 2.5.0
152
124
  required_rubygems_version: !ruby/object:Gem::Requirement
153
125
  requirements:
154
126
  - - ">="