jupyter_on_rails 0.4.0 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8e6369cfa99c15261de10721130c486f17eb74b2cb1314ee12d9dcbd3cc05e56
4
- data.tar.gz: 0fb2755e9c07b722653afa7f21bb22e0ea2696bcb6c5a4cc2ead1aa8979dc45b
3
+ metadata.gz: 3b73af6425d6dc4c113600a8d92eb308bd1b1b73e10c6ddab45bbdee3eb003fa
4
+ data.tar.gz: c0a23dffcb6ac10913e9f55770a8a047260157343aa8924afb604890a8366acc
5
5
  SHA512:
6
- metadata.gz: 810b4806aeddac18ef4daca0af9d73686bfbc31bcdc39dd5c41ace0fa0ffb746828d5c366c142e52274a10aa68f3c4352766b809a2afddc042ac3bf1b59fac7f
7
- data.tar.gz: d79f7edbcfb58449b58b7922d5adc22758d90648bd985e77ddae581e18d5e9da74bc27d7d216cf8067f8a8f3960ea1b9dc2c9c935b9f165c0b346504e481ef65
6
+ metadata.gz: 951f50bff513b74766689b6fabb39dc5f44943e40ae99bddcf2b171e66c807e9721f216553f3496f06cc64aa68b0c23d236333d6beaca941ef91d389041c41b3
7
+ data.tar.gz: cfe80592f4e99248b307bb69474cf37b805b206519c1ebad4ca757ec9f82adaa1bcaaf33e829359f8c26ed362bd27900fb433ed8db6e23fb55f99818406129f2
@@ -42,4 +42,5 @@ Gem::Specification.new do |spec|
42
42
  spec.add_dependency 'railties'
43
43
 
44
44
  spec.add_dependency 'activerecord-import'
45
+ spec.add_dependency 'daru'
45
46
  end
@@ -8,6 +8,11 @@ module JupyterOnRails
8
8
  end
9
9
 
10
10
  config.before_configuration do
11
+ begin
12
+ require 'daru'
13
+ rescue LoadError
14
+ end
15
+
11
16
  if defined?(::Daru) && defined?(::ActiveRecord)
12
17
  class ::ActiveRecord::Base
13
18
  include ::JupyterOnRails::Daru::ActiveRecordExt
@@ -1,3 +1,3 @@
1
1
  module JupyterOnRails
2
- VERSION = '0.4.0'
2
+ VERSION = '0.4.2'
3
3
  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.0
4
+ version: 0.4.2
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-02-25 00:00:00.000000000 Z
11
+ date: 2019-03-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -80,6 +80,20 @@ dependencies:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: daru
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
83
97
  description: "`rails jupyter:notebook` to open jupyter with rails app kernel of your
84
98
  project."
85
99
  email: