jupyter_on_rails 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/doc/screenshot-1.png +0 -0
- data/doc/screenshot-2.png +0 -0
- data/lib/jupyter_on_rails/daru/active_record_ext.rb +1 -0
- data/lib/jupyter_on_rails/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 826e285aa4040f231574001abfba2506642c04645fa227fe9e2b9c49d2b0a467
|
4
|
+
data.tar.gz: 679a0d74778a877d9082d0d7ed76d6da999c99699dee7f58e3e1e88057565fa1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e09e893b88442dfc564bf15f250e0b1f816114205ab238907d39eb2f0b534bf8a86577111964e9095f72d9f5f59031191224daf6a8238d1085714c070f7f22b
|
7
|
+
data.tar.gz: 5006e1adbf148be61a8e5ea8eb6542f6d1cb7ea9e74835710d6a7720ac1e026f1247d3dfe489cdd249585a87a19f28fdccdef8e2fc05d003c682343bfe5a7642
|
data/README.md
CHANGED
Binary file
|
Binary file
|
@@ -19,6 +19,7 @@ module JupyterOnRails
|
|
19
19
|
assocs = record.send(assoc)
|
20
20
|
next [attrs] unless assocs.present?
|
21
21
|
|
22
|
+
assocs = [assocs] unless assocs.is_a?(ActiveRecord::Associations::CollectionProxy)
|
22
23
|
assocs.map(&:attributes).map do |assoc_attrs|
|
23
24
|
new_attrs = assoc_attrs.transform_keys do |key|
|
24
25
|
"#{assoc}.#{key}".to_sym
|
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.5.
|
4
|
+
version: 0.5.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-03-
|
11
|
+
date: 2019-03-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -108,6 +108,8 @@ files:
|
|
108
108
|
- Rakefile
|
109
109
|
- bin/console
|
110
110
|
- bin/setup
|
111
|
+
- doc/screenshot-1.png
|
112
|
+
- doc/screenshot-2.png
|
111
113
|
- jupyter_on_rails.gemspec
|
112
114
|
- lib/jupyter_on_rails.rb
|
113
115
|
- lib/jupyter_on_rails/boot.rb
|