cmdstan 0.2.1 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/LICENSE.txt +1 -1
- data/lib/cmdstan/install.rb +3 -3
- data/lib/cmdstan/version.rb +1 -1
- data/lib/cmdstan.rb +6 -6
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d999f16d473beed02a81e38bcc0b8cae80a3eee618d1dd480a11f765ed9096c0
|
4
|
+
data.tar.gz: 25d5de3672e5302e117f60f75a83f9b4e70b76ff1b0ec7b5fa12bb0a7e50ab9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7347434cfad349c8568d6c68c541178214556a3d134bec085744f366aeb7c796b4f20438bdae976a3fbfcaebd72840e3b5c80c9caa301d010ee60b64873bbcac
|
7
|
+
data.tar.gz: fae8773a405a4ace61d6db1fc1e1f6d81319710c46cc9eaffb1494ec66d95be68688d90ba2f0ac3e59b664982342071c9afa97df6b2f491bc93847a87553cf1d
|
data/CHANGELOG.md
CHANGED
data/LICENSE.txt
CHANGED
data/lib/cmdstan/install.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
module CmdStan
|
2
2
|
module Install
|
3
3
|
def cmdstan_version
|
4
|
-
"2.
|
4
|
+
"2.33.1"
|
5
5
|
end
|
6
6
|
|
7
7
|
def cmdstan_installed?
|
@@ -14,10 +14,10 @@ module CmdStan
|
|
14
14
|
|
15
15
|
# no stanc3 binary for Mac ARM
|
16
16
|
if RbConfig::CONFIG["host_os"] !~ /darwin/i && RbConfig::CONFIG["host_cpu"] =~ /arm|aarch64/i
|
17
|
-
checksum = "
|
17
|
+
checksum = "c683cd171f89a2c4eab49f6617e8584d5962a839b1203f6cb46d882d25b93f67"
|
18
18
|
url = "https://github.com/stan-dev/cmdstan/releases/download/v#{version}/cmdstan-#{version}-linux-arm64.tar.gz"
|
19
19
|
else
|
20
|
-
checksum = "
|
20
|
+
checksum = "b848bb61178bd71980355b80994030537726d5e5862c4ddc926f23a22a001e4a"
|
21
21
|
url = "https://github.com/stan-dev/cmdstan/releases/download/v#{version}/cmdstan-#{version}.tar.gz"
|
22
22
|
end
|
23
23
|
|
data/lib/cmdstan/version.rb
CHANGED
data/lib/cmdstan.rb
CHANGED
@@ -8,12 +8,12 @@ require "open3"
|
|
8
8
|
require "tempfile"
|
9
9
|
|
10
10
|
# modules
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
11
|
+
require_relative "cmdstan/install"
|
12
|
+
require_relative "cmdstan/utils"
|
13
|
+
require_relative "cmdstan/mcmc"
|
14
|
+
require_relative "cmdstan/mle"
|
15
|
+
require_relative "cmdstan/model"
|
16
|
+
require_relative "cmdstan/version"
|
17
17
|
|
18
18
|
module CmdStan
|
19
19
|
class Error < StandardError; end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cmdstan
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Kane
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-10-11 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email: andrew@ankane.org
|
@@ -38,14 +38,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
38
38
|
requirements:
|
39
39
|
- - ">="
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: '
|
41
|
+
version: '3'
|
42
42
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - ">="
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: '0'
|
47
47
|
requirements: []
|
48
|
-
rubygems_version: 3.
|
48
|
+
rubygems_version: 3.4.10
|
49
49
|
signing_key:
|
50
50
|
specification_version: 4
|
51
51
|
summary: Bayesian inference for Ruby, powered by CmdStan
|