cmdstan 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -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 +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5f1f35290531f540948f74615fbf92d7e51d86d2f382427ebe41945a570ac94e
|
4
|
+
data.tar.gz: 14d5ddb746c8e45a2914b4cc354af79b7efd64bf71066f6dda1bb65d0b55165b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 36be447dfbb0fb609730df687581daa35eb793ad1ec66d1ec8a87ef3b2dbddcb80925f78911eeaa3d65c6f2327de4cfe77da40f628f9d7ba7bed220f69a115a2
|
7
|
+
data.tar.gz: 55b1ec0beff220127d4d9474ccdc59b04ef9d9a37522dbbc09a5f19a0bc052e4995722b7bef023dc513a78410b5bf4ca412ba39cc18de529bea832c51708772d
|
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.32.0"
|
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 = "e387890fd02c167c38db34c34a09ff2193c354b203d11ca1d34da0ec4b2b0606"
|
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 = "29fee108d2ae3dca5be7c0a65a70517922e4be671e129d177c84f77a11263d4a"
|
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.2.
|
4
|
+
version: 0.2.2
|
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-04-20 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email: andrew@ankane.org
|
@@ -45,7 +45,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
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
|