cmdstan 0.1.6 → 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3b919404c064aa08c6766d3718c168f70ef422e32d66eebf6de84b901e244d2c
4
- data.tar.gz: 70f11779bdb74a2d0ba2a95ba6ba37c05cd5e637422667474765f3bdbfca2efe
3
+ metadata.gz: 3b8f1ac614181c49f61854a38bf6c8e7ec1ed7e67fe985a98555e5a8d715f721
4
+ data.tar.gz: 7c468282651c7c4641de099d1d113136b91b4962a01e088990eb48962bb32be8
5
5
  SHA512:
6
- metadata.gz: 1238805b583a22b5aef689a70ce0eba43a270e9a090ce531038ac8e93a2d386f202ff800ef80247cb118edf37ef06fe5a9230c9589070a8b6f5e463c6a19363d
7
- data.tar.gz: 7e7c0cdf1b481a400844605eded2822d644eb441f85875bd65d9b91d856150dd40d9a83671d19d2693c28dbae4c17a4af3b07a336a133909c30f7fa9802b2b90
6
+ metadata.gz: 1acc7f793f86024eb4dc289f7cbb6029aab0991fac2c8423f06b0339b2e4570a90b8a173bf9d659eb1e0d70635d367f5b2d96e753be0a1a91c5d8d2f6f786ec2
7
+ data.tar.gz: 9b8ce497e5bec32cec243003f87a5dccbdaeb8139c1b204c7e0f75d610b651bae5bd1191f3b29c627b2fa47db0ef96b549d7537d66a901d89bfe60207b05dd2d
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.1.7 (2021-08-23)
2
+
3
+ - Updated CmdStan to 2.27.0
4
+
1
5
  ## 0.1.6 (2021-02-08)
2
6
 
3
7
  - Updated CmdStan to 2.26.0
@@ -3,10 +3,14 @@ require "fileutils"
3
3
  require "net/http"
4
4
  require "tmpdir"
5
5
 
6
- version = "2.26.0"
7
- checksum = "0bc5529a4818e70ef8181191a515ea5e1a6fce326dda41a040f99deb89bcb663"
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"] : []
@@ -1,3 +1,3 @@
1
1
  module CmdStan
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  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.1.6
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-02-08 00:00:00.000000000 Z
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.3
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