jupyter_on_rails 0.9.0 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +30 -28
- data/lib/jupyter_on_rails/railtie/jupyter.rake +7 -1
- data/lib/jupyter_on_rails/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: 84b32009995240fae40e2d80e6a68039ed673f69fe96817b12351e2ee68ef379
|
4
|
+
data.tar.gz: 0bf6f03122bfbe572a61cefb2fbda365bda43e935c199a38fa0e8c2780a9f991
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ae8424810f441ce8b5aac30a7fce4333a20309fe02b5eee48675c7b1968a74b50b5b5afbaf36019c25c1165f625d6659fa0b7a7f38872d6c1b212d0d66e5b33
|
7
|
+
data.tar.gz: 3c54d670bbd7961a0f82a7e5786e8240d00e3ea28ca5ec372015db907f9ef94b615465d97bb7037053a5b8bfcc178539ef0422a379e0775102eb2f1acbaf1470
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
jupyter_on_rails (0.
|
4
|
+
jupyter_on_rails (0.10.0)
|
5
5
|
daru
|
6
6
|
iruby
|
7
7
|
railties
|
@@ -9,26 +9,26 @@ PATH
|
|
9
9
|
GEM
|
10
10
|
remote: https://rubygems.org/
|
11
11
|
specs:
|
12
|
-
actionpack (6.1.
|
13
|
-
actionview (= 6.1.
|
14
|
-
activesupport (= 6.1.
|
12
|
+
actionpack (6.1.4.1)
|
13
|
+
actionview (= 6.1.4.1)
|
14
|
+
activesupport (= 6.1.4.1)
|
15
15
|
rack (~> 2.0, >= 2.0.9)
|
16
16
|
rack-test (>= 0.6.3)
|
17
17
|
rails-dom-testing (~> 2.0)
|
18
18
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
19
|
-
actionview (6.1.
|
20
|
-
activesupport (= 6.1.
|
19
|
+
actionview (6.1.4.1)
|
20
|
+
activesupport (= 6.1.4.1)
|
21
21
|
builder (~> 3.1)
|
22
22
|
erubi (~> 1.4)
|
23
23
|
rails-dom-testing (~> 2.0)
|
24
24
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
25
|
-
activesupport (6.1.
|
25
|
+
activesupport (6.1.4.1)
|
26
26
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
27
27
|
i18n (>= 1.6, < 2)
|
28
28
|
minitest (>= 5.1)
|
29
29
|
tzinfo (~> 2.0)
|
30
30
|
zeitwerk (~> 2.3)
|
31
|
-
addressable (2.
|
31
|
+
addressable (2.8.0)
|
32
32
|
public_suffix (>= 2.0.2, < 5.0)
|
33
33
|
ast (2.4.2)
|
34
34
|
async (1.29.0)
|
@@ -52,7 +52,7 @@ GEM
|
|
52
52
|
backports (3.21.0)
|
53
53
|
builder (3.2.4)
|
54
54
|
bump (0.10.0)
|
55
|
-
concurrent-ruby (1.1.
|
55
|
+
concurrent-ruby (1.1.9)
|
56
56
|
console (1.12.0)
|
57
57
|
fiber-local
|
58
58
|
crass (1.0.6)
|
@@ -75,7 +75,7 @@ GEM
|
|
75
75
|
faraday (>= 0.8)
|
76
76
|
faraday-net_http (1.0.1)
|
77
77
|
faraday-net_http_persistent (1.1.0)
|
78
|
-
ffi (1.15.
|
78
|
+
ffi (1.15.4)
|
79
79
|
ffi-rzmq (2.0.7)
|
80
80
|
ffi-rzmq-core (>= 1.0.7)
|
81
81
|
ffi-rzmq-core (1.0.7)
|
@@ -94,33 +94,35 @@ GEM
|
|
94
94
|
i18n (1.8.10)
|
95
95
|
concurrent-ruby (~> 1.0)
|
96
96
|
io-console (0.5.9)
|
97
|
-
irb (1.3.
|
98
|
-
reline (>= 0.
|
99
|
-
iruby (0.7.
|
97
|
+
irb (1.3.7)
|
98
|
+
reline (>= 0.2.7)
|
99
|
+
iruby (0.7.4)
|
100
100
|
data_uri (~> 0.1)
|
101
101
|
ffi-rzmq
|
102
102
|
irb
|
103
103
|
mime-types (>= 3.3.1)
|
104
104
|
multi_json (~> 1.11)
|
105
|
-
|
105
|
+
native-package-installer
|
106
|
+
loofah (2.12.0)
|
106
107
|
crass (~> 1.0.2)
|
107
108
|
nokogiri (>= 1.5.9)
|
108
109
|
method_source (1.0.0)
|
109
|
-
mime-types (3.
|
110
|
+
mime-types (3.4.1)
|
110
111
|
mime-types-data (~> 3.2015)
|
111
|
-
mime-types-data (3.2021.
|
112
|
-
mini_portile2 (2.
|
112
|
+
mime-types-data (3.2021.1115)
|
113
|
+
mini_portile2 (2.6.1)
|
113
114
|
minitest (5.14.4)
|
114
115
|
multi_json (1.15.0)
|
115
116
|
multipart-post (2.1.1)
|
117
|
+
native-package-installer (1.1.1)
|
116
118
|
nio4r (2.5.7)
|
117
|
-
nokogiri (1.
|
118
|
-
mini_portile2 (~> 2.
|
119
|
+
nokogiri (1.12.5)
|
120
|
+
mini_portile2 (~> 2.6.1)
|
119
121
|
racc (~> 1.4)
|
120
122
|
octokit (4.21.0)
|
121
123
|
faraday (>= 0.9)
|
122
124
|
sawyer (~> 0.8.0, >= 0.5.3)
|
123
|
-
packable (1.3.
|
125
|
+
packable (1.3.15)
|
124
126
|
backports
|
125
127
|
parallel (1.20.1)
|
126
128
|
parser (3.0.1.1)
|
@@ -133,25 +135,25 @@ GEM
|
|
133
135
|
protocol-hpack (~> 1.4)
|
134
136
|
protocol-http (~> 0.18)
|
135
137
|
public_suffix (4.0.6)
|
136
|
-
racc (1.
|
138
|
+
racc (1.6.0)
|
137
139
|
rack (2.2.3)
|
138
140
|
rack-test (1.1.0)
|
139
141
|
rack (>= 1.0, < 3)
|
140
142
|
rails-dom-testing (2.0.3)
|
141
143
|
activesupport (>= 4.2.0)
|
142
144
|
nokogiri (>= 1.6)
|
143
|
-
rails-html-sanitizer (1.
|
145
|
+
rails-html-sanitizer (1.4.2)
|
144
146
|
loofah (~> 2.3)
|
145
|
-
railties (6.1.
|
146
|
-
actionpack (= 6.1.
|
147
|
-
activesupport (= 6.1.
|
147
|
+
railties (6.1.4.1)
|
148
|
+
actionpack (= 6.1.4.1)
|
149
|
+
activesupport (= 6.1.4.1)
|
148
150
|
method_source
|
149
|
-
rake (>= 0.
|
151
|
+
rake (>= 0.13)
|
150
152
|
thor (~> 1.0)
|
151
153
|
rainbow (3.0.0)
|
152
154
|
rake (13.0.3)
|
153
155
|
regexp_parser (2.1.1)
|
154
|
-
reline (0.2.
|
156
|
+
reline (0.2.7)
|
155
157
|
io-console (~> 0.5)
|
156
158
|
retriable (3.1.2)
|
157
159
|
rexml (3.2.5)
|
@@ -189,4 +191,4 @@ DEPENDENCIES
|
|
189
191
|
rubocop
|
190
192
|
|
191
193
|
BUNDLED WITH
|
192
|
-
2.2.
|
194
|
+
2.2.22
|
@@ -12,7 +12,13 @@ namespace :jupyter do
|
|
12
12
|
|
13
13
|
env = { 'JUPYTER_DATA_DIR' => ipython_dir.to_s }
|
14
14
|
commands = %w[jupyter notebook]
|
15
|
-
|
15
|
+
|
16
|
+
if (Rails.root / 'pyproject.toml').exist?
|
17
|
+
commands = %w[poetry run] + commands
|
18
|
+
elsif (Rails.root / 'Pipfile').exist?
|
19
|
+
commands = %w[pipenv run] + commands
|
20
|
+
end
|
21
|
+
|
16
22
|
Process.exec(env, *commands)
|
17
23
|
end
|
18
24
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jupyter_on_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yuki INOUE
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-11-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bump
|
@@ -156,7 +156,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
156
156
|
- !ruby/object:Gem::Version
|
157
157
|
version: '0'
|
158
158
|
requirements: []
|
159
|
-
rubygems_version: 3.2.
|
159
|
+
rubygems_version: 3.2.32
|
160
160
|
signing_key:
|
161
161
|
specification_version: 4
|
162
162
|
summary: Integrate jupyter into rails
|