jupyter_on_rails 0.5.6 → 0.6.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5b770fb766b3166356d90236e096219f1813db9335fe51bdbe6fec4ec40a5f03
|
4
|
+
data.tar.gz: 4b87ac90a2fd6bea134c5b2a7a71e136280a3210d6602ef8407a03365fd8edab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 277d7e526c9cbb7ef6b6baf2ac4171e714878fa3b2b2608c3bf1bce1aaa4ddf0b6fc52c94dd2715c7fabc244d1b52a4f483926e1a073a251c98125c2b1cfe00b
|
7
|
+
data.tar.gz: 789d5abb172385ee727f05d037be94377bf3bce09824831117ec6c1a1758632faeb5caa81e4a433f45a1d31fde122aea3df9982ab425426374e82d12e36dcac0
|
@@ -5,6 +5,7 @@ module JupyterOnRails
|
|
5
5
|
module ActiveRecordExt
|
6
6
|
extend ::ActiveSupport::Concern
|
7
7
|
|
8
|
+
# Rails 4.0 support
|
8
9
|
unless respond_to?(:class_methods)
|
9
10
|
def self.class_methods(&class_methods_module_definition)
|
10
11
|
mod = const_defined?(:ClassMethods, false) ?
|
@@ -44,6 +45,10 @@ module JupyterOnRails
|
|
44
45
|
::Daru::DataFrame.new(datas)
|
45
46
|
end
|
46
47
|
end
|
48
|
+
|
49
|
+
def to_df
|
50
|
+
::Daru::DataFrame.new([attributes])
|
51
|
+
end
|
47
52
|
end
|
48
53
|
end
|
49
54
|
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.6.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: 2020-03-
|
11
|
+
date: 2020-03-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|