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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: db480dd0b66703b18e2b2b381a2b7e8503dbbb7ad9a0d0602689059dc4b965b1
4
- data.tar.gz: 0b7dfd212a1d16ba74d816a20e3273e73ec54838d8359501efad1755118e51c3
3
+ metadata.gz: 826e285aa4040f231574001abfba2506642c04645fa227fe9e2b9c49d2b0a467
4
+ data.tar.gz: 679a0d74778a877d9082d0d7ed76d6da999c99699dee7f58e3e1e88057565fa1
5
5
  SHA512:
6
- metadata.gz: 3378f5acca6859363fe341814b483f0a8e70c0c8577497aec33330a8866ea733e87c04947a16110706bf4a207105ff846a328147b7f149f98f22d5ca226cb525
7
- data.tar.gz: 5ecb5de5b600ba2d83cf045770c9ab0c1cd9d23181f15b57942bc0f23d7a566463c469926bdabf336cd2b76b91fb81227b0a44887aedf36f661f558faae676a1
6
+ metadata.gz: 0e09e893b88442dfc564bf15f250e0b1f816114205ab238907d39eb2f0b534bf8a86577111964e9095f72d9f5f59031191224daf6a8238d1085714c070f7f22b
7
+ data.tar.gz: 5006e1adbf148be61a8e5ea8eb6542f6d1cb7ea9e74835710d6a7720ac1e026f1247d3dfe489cdd249585a87a19f28fdccdef8e2fc05d003c682343bfe5a7642
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # JupyterOnRails
2
2
 
3
- Rails is loaded on jupyter dead easy.
3
+ Integrate Rails and Jupyter
4
4
 
5
5
  ![Alt text](the_screenshot.png?raw=true "Title")
6
6
 
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
@@ -1,3 +1,3 @@
1
1
  module JupyterOnRails
2
- VERSION = '0.5.0'
2
+ VERSION = '0.5.1'
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.5.0
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-04 00:00:00.000000000 Z
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