cbc 0.1.2 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/README.md +2 -2
- data/lib/cbc/version.rb +1 -1
- data/lib/cbc.rb +3 -2
- metadata +19 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 41c15b63da5fe46def376c0727d0b6419be80bfb3f1c3ecce3f7cfece12eecbd
|
4
|
+
data.tar.gz: e50b647fca22950829ba906da3f23147c3e3729f5e23dd4d166da5ea0424a057
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb1851b253549bedb1c84f0518d9706701d75ce9b9f6d4ff53c84896d6238687812d4ec03d84840196ca7741a5008534516297afc94abdf95d84bdd15871b46a
|
7
|
+
data.tar.gz: '039079c1f1551c484ea39f34edde66291dd0d5998e4398b57d8b6a80bf55aabc1a1fad7c5f17c210f285ed3901f3d465171ec2f8e1ca4a3abb30ae699e025b16'
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
## 0.2.1 (2024-12-29)
|
2
|
+
|
3
|
+
- Fixed shared library detection on Mac x86-64
|
4
|
+
- Fixed warning with Ruby 3.4
|
5
|
+
|
6
|
+
## 0.2.0 (2024-10-22)
|
7
|
+
|
8
|
+
- Added support for `coinor-libcbc3.1` package
|
9
|
+
- Dropped support for Ruby < 3.1
|
10
|
+
|
1
11
|
## 0.1.2 (2023-06-07)
|
2
12
|
|
3
13
|
- Improved support for Mac ARM
|
data/README.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
Check out [Opt](https://github.com/ankane/opt) for a high-level interface
|
6
6
|
|
7
|
-
[![Build Status](https://github.com/ankane/cbc-ruby/workflows/build/badge.svg
|
7
|
+
[![Build Status](https://github.com/ankane/cbc-ruby/actions/workflows/build.yml/badge.svg)](https://github.com/ankane/cbc-ruby/actions)
|
8
8
|
|
9
9
|
## Installation
|
10
10
|
|
@@ -17,7 +17,7 @@ brew install cbc
|
|
17
17
|
And for Ubuntu, use:
|
18
18
|
|
19
19
|
```sh
|
20
|
-
sudo apt-get install coinor-libcbc3
|
20
|
+
sudo apt-get install coinor-libcbc3.1 # or coinor-libcbc3
|
21
21
|
```
|
22
22
|
|
23
23
|
Then add this line to your application’s Gemfile:
|
data/lib/cbc/version.rb
CHANGED
data/lib/cbc.rb
CHANGED
@@ -19,12 +19,13 @@ module Cbc
|
|
19
19
|
if RbConfig::CONFIG["host_cpu"] =~ /arm|aarch64/i
|
20
20
|
["libCbcSolver.dylib", "/opt/homebrew/lib/libCbcSolver.dylib"]
|
21
21
|
else
|
22
|
-
["libCbcSolver.dylib"]
|
22
|
+
["libCbcSolver.dylib", "/usr/local/lib/libCbcSolver.dylib"]
|
23
23
|
end
|
24
24
|
else
|
25
25
|
# coinor-libcbc-dev has libCbcSolver.so
|
26
|
+
# coinor-libcbc3.1 has libCbcSolver.so.3.1
|
26
27
|
# coinor-libcbc3 has libCbcSolver.so.3
|
27
|
-
["libCbcSolver.so", "libCbcSolver.so.3"]
|
28
|
+
["libCbcSolver.so", "libCbcSolver.so.3.1", "libCbcSolver.so.3"]
|
28
29
|
end
|
29
30
|
self.ffi_lib = lib_name
|
30
31
|
|
metadata
CHANGED
@@ -1,16 +1,28 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cbc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Kane
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
12
|
-
dependencies:
|
13
|
-
|
10
|
+
date: 2024-12-29 00:00:00.000000000 Z
|
11
|
+
dependencies:
|
12
|
+
- !ruby/object:Gem::Dependency
|
13
|
+
name: fiddle
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
15
|
+
requirements:
|
16
|
+
- - ">="
|
17
|
+
- !ruby/object:Gem::Version
|
18
|
+
version: '0'
|
19
|
+
type: :runtime
|
20
|
+
prerelease: false
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
22
|
+
requirements:
|
23
|
+
- - ">="
|
24
|
+
- !ruby/object:Gem::Version
|
25
|
+
version: '0'
|
14
26
|
email: andrew@ankane.org
|
15
27
|
executables: []
|
16
28
|
extensions: []
|
@@ -27,7 +39,6 @@ homepage: https://github.com/ankane/cbc-ruby
|
|
27
39
|
licenses:
|
28
40
|
- EPL-2.0
|
29
41
|
metadata: {}
|
30
|
-
post_install_message:
|
31
42
|
rdoc_options: []
|
32
43
|
require_paths:
|
33
44
|
- lib
|
@@ -35,15 +46,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
35
46
|
requirements:
|
36
47
|
- - ">="
|
37
48
|
- !ruby/object:Gem::Version
|
38
|
-
version: '
|
49
|
+
version: '3.1'
|
39
50
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
40
51
|
requirements:
|
41
52
|
- - ">="
|
42
53
|
- !ruby/object:Gem::Version
|
43
54
|
version: '0'
|
44
55
|
requirements: []
|
45
|
-
rubygems_version: 3.
|
46
|
-
signing_key:
|
56
|
+
rubygems_version: 3.6.2
|
47
57
|
specification_version: 4
|
48
58
|
summary: Mixed-integer programming for Ruby
|
49
59
|
test_files: []
|