jupyter_on_rails 0.2.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/lib/jupyter_on_rails/daru/active_record_ext.rb +13 -0
- data/lib/jupyter_on_rails/railtie.rb +10 -0
- data/lib/jupyter_on_rails/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: acb987152e18462c17c8b46cec074aecda7450e9461a5cac2d0cea966de49b04
|
4
|
+
data.tar.gz: 992b7ad60f5db9a75485f72181a828bfaa058e110762521dccf2cbaee240ae2a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 065f41a91dc2c1c7cb2f56b301ac91375cea2f2593da0bd0905da08292dee90a29a66c02a7b8afb8fca917de38f5bbff12da60a22d0acebc2048d91389baa002
|
7
|
+
data.tar.gz: c59c90281a8339a33ef2f594e8e2fe5784fa8f22060879b72b708ca37e14359e5792abae224149ab985eb7504b88bcc60adb8ecc83af8619b3cfc91116b3c241
|
data/.gitignore
CHANGED
@@ -1,7 +1,17 @@
|
|
1
|
+
require_relative 'daru/active_record_ext'
|
2
|
+
|
1
3
|
module JupyterOnRails
|
2
4
|
class Railtie < ::Rails::Railtie
|
3
5
|
rake_tasks do
|
4
6
|
load 'jupyter_on_rails/railtie/jupyter.rake'
|
5
7
|
end
|
8
|
+
|
9
|
+
config.before_configuration do
|
10
|
+
if defined?(::Daru) && defined?(::ActiveRecord)
|
11
|
+
class ::ActiveRecord::Base
|
12
|
+
include ::JupyterOnRails::Daru::ActiveRecordExt
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
6
16
|
end
|
7
17
|
end
|
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.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yuki INOUE
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-02-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -83,6 +83,7 @@ files:
|
|
83
83
|
- jupyter_on_rails.gemspec
|
84
84
|
- lib/jupyter_on_rails.rb
|
85
85
|
- lib/jupyter_on_rails/boot.rb
|
86
|
+
- lib/jupyter_on_rails/daru/active_record_ext.rb
|
86
87
|
- lib/jupyter_on_rails/iruby_kernel_extention.rb
|
87
88
|
- lib/jupyter_on_rails/railtie.rb
|
88
89
|
- lib/jupyter_on_rails/railtie/jupyter.rake
|