cmdstan 0.1.6 → 0.1.7
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/ext/cmdstan/extconf.rb +6 -4
- data/lib/cmdstan/version.rb +1 -1
- 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: 3b8f1ac614181c49f61854a38bf6c8e7ec1ed7e67fe985a98555e5a8d715f721
|
4
|
+
data.tar.gz: 7c468282651c7c4641de099d1d113136b91b4962a01e088990eb48962bb32be8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1acc7f793f86024eb4dc289f7cbb6029aab0991fac2c8423f06b0339b2e4570a90b8a173bf9d659eb1e0d70635d367f5b2d96e753be0a1a91c5d8d2f6f786ec2
|
7
|
+
data.tar.gz: 9b8ce497e5bec32cec243003f87a5dccbdaeb8139c1b204c7e0f75d610b651bae5bd1191f3b29c627b2fa47db0ef96b549d7537d66a901d89bfe60207b05dd2d
|
data/CHANGELOG.md
CHANGED
data/ext/cmdstan/extconf.rb
CHANGED
@@ -3,10 +3,14 @@ require "fileutils"
|
|
3
3
|
require "net/http"
|
4
4
|
require "tmpdir"
|
5
5
|
|
6
|
-
version = "2.
|
7
|
-
checksum = "
|
6
|
+
version = "2.27.0"
|
7
|
+
checksum = "ff71f4d255cf26c2d8366a8173402656a659399468871305056aa3d56329c1d5"
|
8
8
|
url = "https://github.com/stan-dev/cmdstan/releases/download/v#{version}/cmdstan-#{version}.tar.gz"
|
9
9
|
|
10
|
+
path = ENV["CMDSTAN"] || File.expand_path("../../tmp/cmdstan", __dir__)
|
11
|
+
FileUtils.mkdir_p(path)
|
12
|
+
raise "Directory not empty. Run: rake clean" unless Dir.empty?(path)
|
13
|
+
|
10
14
|
$stdout.sync = true
|
11
15
|
|
12
16
|
def download_file(url, download_path, checksum)
|
@@ -52,8 +56,6 @@ download_path = "#{Dir.tmpdir}/cmdstan-#{version}.tar.gz"
|
|
52
56
|
download_file(url, download_path, checksum)
|
53
57
|
|
54
58
|
# extract
|
55
|
-
path = ENV["CMDSTAN"] || File.expand_path("../../tmp/cmdstan", __dir__)
|
56
|
-
FileUtils.mkdir_p(path)
|
57
59
|
Dir.chdir(path)
|
58
60
|
# TODO use Gem::Package::TarReader from Rubygems
|
59
61
|
tar_args = Gem.win_platform? ? ["--force-local"] : []
|
data/lib/cmdstan/version.rb
CHANGED
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.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Kane
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-08-23 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email: andrew@ankane.org
|
@@ -47,7 +47,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
47
47
|
- !ruby/object:Gem::Version
|
48
48
|
version: '0'
|
49
49
|
requirements: []
|
50
|
-
rubygems_version: 3.2.
|
50
|
+
rubygems_version: 3.2.22
|
51
51
|
signing_key:
|
52
52
|
specification_version: 4
|
53
53
|
summary: Bayesian inference for Ruby, powered by CmdStan
|