iruby-chartkick 0.3.1 → 0.4.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3c9205612f657c33c8668a8dc7ba9383087bfdf41e2889818db30840fa911857
4
- data.tar.gz: '0283547ff021be8b728c25c51600eb0b6847f03311e8f039066eb130677d4426'
3
+ metadata.gz: 27574bad601e0fbfd9411321b7dba0f5060e7435a48007b4a8cbb0854fac0793
4
+ data.tar.gz: 160c0098e8d0cf47f786f9221c9f8fc7631f674db772e8241431afd4ffb718cf
5
5
  SHA512:
6
- metadata.gz: 7c8a1585cc7343c4abeb65b3be3ae19767ab452b90b48aa7839addf20e23f38987e7e629ce2c6689d909f0c6b17f3b6951eaabac581ec394ba1495a2b0115701
7
- data.tar.gz: ec03a4555165519f3455e630e4997150c1d44309c7f00bb6c652ae1c492e857392bfd26aeff56d9f675f5c0998cde1fcba623053dd933ed154e82e4ccb87dfd2
6
+ metadata.gz: 4595a3635ee34aa733c6a91070a5f7bc46968e30e15f37d783c87aa6d994d6c3879b38a3f29d12e1b67e01c6f10e5993c630691e51f760e06a1d1774ed5eda6c
7
+ data.tar.gz: 0ea729809a363b46bf0e16a9d13fdfd10722e8d9484b64a3d993df85facd7c98566e15ae5ef1298bc498006f838c1d660d88395cedaad83eadfa42ff283bbf87
@@ -2,19 +2,18 @@ name: build
2
2
  on:
3
3
  push:
4
4
  branches:
5
- - master
5
+ - main
6
6
  pull_request:
7
7
  branches:
8
- - master
8
+ - main
9
9
  jobs:
10
10
  build:
11
- if: "!contains(github.event.head_commit.message, '[skip ci]')"
12
11
  runs-on: ubuntu-latest
13
12
  strategy:
14
13
  matrix:
15
- ruby: [ '2.6', '3.0' ]
14
+ ruby: [ '3.1', '3.3.4', '3.3.5' ]
16
15
  steps:
17
- - uses: actions/checkout@v2
16
+ - uses: actions/checkout@v4
18
17
  - uses: ruby/setup-ruby@v1
19
18
  with:
20
19
  ruby-version: ${{ matrix.ruby }}
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.0.1
1
+ 3.3.5
data/CHANGELOG.md CHANGED
@@ -2,7 +2,14 @@
2
2
 
3
3
  ### HEAD (not released yet)
4
4
 
5
+ ### v0.4.0
6
+
7
+ * Upgrade Chartkick to v5.0.1
8
+ * Drop Support for Ruby versions < 3.1
9
+ * Add Support for Ruby v3.3.5
10
+
5
11
  ### v0.3.1
12
+
6
13
  * Update javascript (chartkick v.4.1.0 & chart.js v.3.6.0)
7
14
  * Update chartkick gem (4.1.0)
8
15
 
data/Gemfile.lock CHANGED
@@ -1,62 +1,96 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- iruby-chartkick (0.3.1)
5
- chartkick (~> 4.1.0)
4
+ iruby-chartkick (0.4.0)
5
+ chartkick (~> 5.1.0)
6
6
  iruby
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- chartkick (4.1.0)
11
+ chartkick (5.1.5)
12
12
  data_uri (0.1.0)
13
- diff-lcs (1.4.4)
14
- ffi (1.15.4)
13
+ date (3.4.1)
14
+ diff-lcs (1.6.2)
15
+ erb (5.0.2)
16
+ ffi (1.17.2)
17
+ ffi (1.17.2-aarch64-linux-gnu)
18
+ ffi (1.17.2-aarch64-linux-musl)
19
+ ffi (1.17.2-arm-linux-gnu)
20
+ ffi (1.17.2-arm-linux-musl)
21
+ ffi (1.17.2-arm64-darwin)
22
+ ffi (1.17.2-x86-linux-gnu)
23
+ ffi (1.17.2-x86-linux-musl)
24
+ ffi (1.17.2-x86_64-darwin)
25
+ ffi (1.17.2-x86_64-linux-gnu)
26
+ ffi (1.17.2-x86_64-linux-musl)
15
27
  ffi-rzmq (2.0.7)
16
28
  ffi-rzmq-core (>= 1.0.7)
17
29
  ffi-rzmq-core (1.0.7)
18
30
  ffi
19
- io-console (0.5.9)
20
- irb (1.3.7)
21
- reline (>= 0.2.7)
22
- iruby (0.7.4)
31
+ io-console (0.8.1)
32
+ irb (1.15.2)
33
+ pp (>= 0.6.0)
34
+ rdoc (>= 4.0.0)
35
+ reline (>= 0.4.2)
36
+ iruby (0.8.2)
23
37
  data_uri (~> 0.1)
24
38
  ffi-rzmq
25
39
  irb
40
+ logger
26
41
  mime-types (>= 3.3.1)
27
42
  multi_json (~> 1.11)
28
- native-package-installer
29
- mime-types (3.3.1)
30
- mime-types-data (~> 3.2015)
31
- mime-types-data (3.2021.0901)
32
- multi_json (1.15.0)
33
- native-package-installer (1.1.1)
34
- rake (13.0.6)
35
- reline (0.2.7)
43
+ logger (1.7.0)
44
+ mime-types (3.7.0)
45
+ logger
46
+ mime-types-data (~> 3.2025, >= 3.2025.0507)
47
+ mime-types-data (3.2025.0924)
48
+ multi_json (1.17.0)
49
+ pp (0.6.2)
50
+ prettyprint
51
+ prettyprint (0.2.0)
52
+ psych (5.2.6)
53
+ date
54
+ stringio
55
+ rake (13.2.1)
56
+ rdoc (6.14.2)
57
+ erb
58
+ psych (>= 4.0.0)
59
+ reline (0.6.2)
36
60
  io-console (~> 0.5)
37
- rspec (3.10.0)
38
- rspec-core (~> 3.10.0)
39
- rspec-expectations (~> 3.10.0)
40
- rspec-mocks (~> 3.10.0)
41
- rspec-core (3.10.1)
42
- rspec-support (~> 3.10.0)
43
- rspec-expectations (3.10.1)
61
+ rspec (3.13.1)
62
+ rspec-core (~> 3.13.0)
63
+ rspec-expectations (~> 3.13.0)
64
+ rspec-mocks (~> 3.13.0)
65
+ rspec-core (3.13.5)
66
+ rspec-support (~> 3.13.0)
67
+ rspec-expectations (3.13.5)
44
68
  diff-lcs (>= 1.2.0, < 2.0)
45
- rspec-support (~> 3.10.0)
46
- rspec-mocks (3.10.2)
69
+ rspec-support (~> 3.13.0)
70
+ rspec-mocks (3.13.5)
47
71
  diff-lcs (>= 1.2.0, < 2.0)
48
- rspec-support (~> 3.10.0)
49
- rspec-support (3.10.2)
72
+ rspec-support (~> 3.13.0)
73
+ rspec-support (3.13.6)
74
+ stringio (3.1.7)
50
75
 
51
76
  PLATFORMS
52
- x86_64-darwin-20
53
- x86_64-linux
77
+ aarch64-linux-gnu
78
+ aarch64-linux-musl
79
+ arm-linux-gnu
80
+ arm-linux-musl
81
+ arm64-darwin
82
+ ruby
83
+ x86-linux-gnu
84
+ x86-linux-musl
85
+ x86_64-darwin
86
+ x86_64-linux-gnu
87
+ x86_64-linux-musl
54
88
 
55
89
  DEPENDENCIES
56
90
  bundler
57
91
  iruby-chartkick!
58
- rake (~> 13.0)
59
- rspec (~> 3.0)
92
+ rake (~> 13.2.1)
93
+ rspec (~> 3.13.0)
60
94
 
61
95
  BUNDLED WITH
62
- 2.2.15
96
+ 2.7.2
data/README.md CHANGED
@@ -11,24 +11,24 @@ You like writing [Ruby within Juypter](https://github.com/SciRuby/iruby/) notebo
11
11
  ### Usage
12
12
 
13
13
  You can either include the module `IRuby::Chartkick` and use the wrapper methods, like `line_chart`:
14
-
14
+
15
15
  ```ruby
16
16
  include IRuby::Chartkick
17
-
17
+
18
18
  data = {
19
19
  2019 => 1,
20
20
  2020 => 122,
21
21
  2021 => 34
22
22
  }
23
-
23
+
24
24
  line_chart(data)
25
25
  ```
26
26
 
27
- Or you use the chart wrapper classes directly:
27
+ Or you use the chart wrapper classes directly:
28
28
 
29
29
  ```ruby
30
30
  include IRuby::Chartkick
31
-
31
+
32
32
  data = {
33
33
  2019 => 1,
34
34
  2020 => 122,
@@ -26,9 +26,9 @@ Gem::Specification.new do |spec|
26
26
  spec.require_paths = ["lib"]
27
27
 
28
28
  spec.add_runtime_dependency "iruby"
29
- spec.add_dependency "chartkick", "~> 4.1.0"
29
+ spec.add_dependency "chartkick", "~> 5.1.0"
30
30
 
31
31
  spec.add_development_dependency "bundler"
32
- spec.add_development_dependency "rake", "~> 13.0"
33
- spec.add_development_dependency "rspec", "~> 3.0"
32
+ spec.add_development_dependency "rake", "~> 13.2.1"
33
+ spec.add_development_dependency "rspec", "~> 3.13.0"
34
34
  end
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
  module IRuby
3
3
  module Chartkick
4
- VERSION = "0.3.1"
4
+ VERSION = "0.4.0"
5
5
  end
6
6
  end