rubythinking 0.2.0 → 0.3.0
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 +4 -4
- data/.DS_Store +0 -0
- data/.ruby-version +1 -1
- data/Gemfile.lock +59 -16
- data/lib/rubythinking/version.rb +1 -1
- data/lib/rubythinking.rb +3 -1
- data/local_reinstall.sh +1 -1
- data/rubythinking.gemspec +1 -1
- metadata +4 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b9f788175b4704192720cc103b13129d000c54e6fbc054d6a482b2fa430999e7
|
4
|
+
data.tar.gz: f40c7da71b7e071db10fc6d52dfb9b49687b9b409998bbffef2b17f58829d56d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e59e99b539e0a0c03660e623b51ce51d425036d28f72605df584d015dd4ab723c55e57821213ad011a5e17c7a32367e2c9204e1eeb92f58f684ba6570dc12b7
|
7
|
+
data.tar.gz: fcd87b8292787202c5b8c3fac2aa8518f620d594cd0e9fee2dfc090fc45fe14c4d68e4a6c905bc9fa5ff43dee17c3858b0b4b3f8b1e0e6714b2b825b5015fa0b
|
data/.DS_Store
CHANGED
Binary file
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.
|
1
|
+
3.3.5
|
data/Gemfile.lock
CHANGED
@@ -1,36 +1,79 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rubythinking (0.
|
4
|
+
rubythinking (0.3.0)
|
5
5
|
cmd_stan_rb
|
6
6
|
croupier
|
7
7
|
distribution
|
8
|
-
|
8
|
+
iruby-chartkick
|
9
9
|
|
10
10
|
GEM
|
11
11
|
remote: https://rubygems.org/
|
12
12
|
specs:
|
13
|
+
chartkick (4.1.3)
|
13
14
|
cmd_stan_rb (0.4.0)
|
14
15
|
croupier (1.6.0)
|
15
|
-
|
16
|
+
data_uri (0.1.0)
|
17
|
+
date (3.4.1)
|
18
|
+
diff-lcs (1.6.2)
|
16
19
|
distribution (0.8.0)
|
20
|
+
erb (5.0.2)
|
21
|
+
ffi (1.17.2)
|
22
|
+
ffi (1.17.2-arm64-darwin)
|
23
|
+
ffi-rzmq (2.0.7)
|
24
|
+
ffi-rzmq-core (>= 1.0.7)
|
25
|
+
ffi-rzmq-core (1.0.7)
|
26
|
+
ffi
|
27
|
+
io-console (0.8.1)
|
28
|
+
irb (1.15.2)
|
29
|
+
pp (>= 0.6.0)
|
30
|
+
rdoc (>= 4.0.0)
|
31
|
+
reline (>= 0.4.2)
|
32
|
+
iruby (0.8.2)
|
33
|
+
data_uri (~> 0.1)
|
34
|
+
ffi-rzmq
|
35
|
+
irb
|
36
|
+
logger
|
37
|
+
mime-types (>= 3.3.1)
|
38
|
+
multi_json (~> 1.11)
|
39
|
+
iruby-chartkick (0.3.1)
|
40
|
+
chartkick (~> 4.1.0)
|
41
|
+
iruby
|
42
|
+
logger (1.7.0)
|
43
|
+
mime-types (3.7.0)
|
44
|
+
logger
|
45
|
+
mime-types-data (~> 3.2025, >= 3.2025.0507)
|
46
|
+
mime-types-data (3.2025.0924)
|
47
|
+
multi_json (1.17.0)
|
48
|
+
pp (0.6.2)
|
49
|
+
prettyprint
|
50
|
+
prettyprint (0.2.0)
|
51
|
+
psych (5.2.6)
|
52
|
+
date
|
53
|
+
stringio
|
17
54
|
rake (12.3.3)
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
55
|
+
rdoc (6.14.2)
|
56
|
+
erb
|
57
|
+
psych (>= 4.0.0)
|
58
|
+
reline (0.6.2)
|
59
|
+
io-console (~> 0.5)
|
60
|
+
rspec (3.13.1)
|
61
|
+
rspec-core (~> 3.13.0)
|
62
|
+
rspec-expectations (~> 3.13.0)
|
63
|
+
rspec-mocks (~> 3.13.0)
|
64
|
+
rspec-core (3.13.5)
|
65
|
+
rspec-support (~> 3.13.0)
|
66
|
+
rspec-expectations (3.13.5)
|
25
67
|
diff-lcs (>= 1.2.0, < 2.0)
|
26
|
-
rspec-support (~> 3.
|
27
|
-
rspec-mocks (3.
|
68
|
+
rspec-support (~> 3.13.0)
|
69
|
+
rspec-mocks (3.13.5)
|
28
70
|
diff-lcs (>= 1.2.0, < 2.0)
|
29
|
-
rspec-support (~> 3.
|
30
|
-
rspec-support (3.
|
31
|
-
|
71
|
+
rspec-support (~> 3.13.0)
|
72
|
+
rspec-support (3.13.6)
|
73
|
+
stringio (3.1.7)
|
32
74
|
|
33
75
|
PLATFORMS
|
76
|
+
arm64-darwin-23
|
34
77
|
ruby
|
35
78
|
|
36
79
|
DEPENDENCIES
|
@@ -39,4 +82,4 @@ DEPENDENCIES
|
|
39
82
|
rubythinking!
|
40
83
|
|
41
84
|
BUNDLED WITH
|
42
|
-
2.
|
85
|
+
2.7.2
|
data/lib/rubythinking/version.rb
CHANGED
data/lib/rubythinking.rb
CHANGED
@@ -1,9 +1,11 @@
|
|
1
1
|
require "rubythinking/version"
|
2
2
|
require "rubythinking/distributions"
|
3
3
|
require "rubythinking/distributions/binomial"
|
4
|
-
require "vega"
|
5
4
|
require "cmd_stan_rb"
|
6
5
|
require "croupier"
|
6
|
+
require "iruby/chartkick"
|
7
|
+
|
8
|
+
include IRuby::Chartkick
|
7
9
|
|
8
10
|
module Rubythinking
|
9
11
|
# Mimicks R API
|
data/local_reinstall.sh
CHANGED
@@ -1 +1 @@
|
|
1
|
-
gem build rubythinking.gemspec && gem install rubythinking-0.
|
1
|
+
gem build rubythinking.gemspec && gem install rubythinking-0.3.0.gem && iruby register --force
|
data/rubythinking.gemspec
CHANGED
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
|
|
25
25
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
26
26
|
spec.require_paths = ["lib"]
|
27
27
|
|
28
|
-
spec.add_runtime_dependency "
|
28
|
+
spec.add_runtime_dependency "iruby-chartkick"
|
29
29
|
spec.add_runtime_dependency "distribution"
|
30
30
|
spec.add_runtime_dependency "croupier"
|
31
31
|
spec.add_runtime_dependency "cmd_stan_rb"
|
metadata
CHANGED
@@ -1,17 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubythinking
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robin Stammer
|
8
|
-
autorequire:
|
9
8
|
bindir: exe
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
13
|
+
name: iruby-chartkick
|
15
14
|
requirement: !ruby/object:Gem::Requirement
|
16
15
|
requirements:
|
17
16
|
- - ">="
|
@@ -106,7 +105,6 @@ metadata:
|
|
106
105
|
homepage_uri: https://github.com/rstammer/rubythinking
|
107
106
|
source_code_uri: https://github.com/rstammer/rubythinking
|
108
107
|
changelog_uri: https://github.com/rstammer/rubythinking
|
109
|
-
post_install_message:
|
110
108
|
rdoc_options: []
|
111
109
|
require_paths:
|
112
110
|
- lib
|
@@ -121,8 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
121
119
|
- !ruby/object:Gem::Version
|
122
120
|
version: '0'
|
123
121
|
requirements: []
|
124
|
-
rubygems_version: 3.
|
125
|
-
signing_key:
|
122
|
+
rubygems_version: 3.7.2
|
126
123
|
specification_version: 4
|
127
124
|
summary: Ruby code translations and additional material for the book "Statistical
|
128
125
|
Rethinking" of Richard McElreath
|