nanoc-nbconvert 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NWFiZGEzMzExODJhYjUyY2I2MjhhYzhiYjY5MGNiMmI4NGQ1ZWUyZQ==
4
+ ZDQyZmQ0MzdmNjFlNzRmNjA5N2VjZjRiYjM5OWNmNDVlMTY2NjU3Yg==
5
5
  data.tar.gz: !binary |-
6
- NmZmYTZiOGM5MzRhMzUzYjVhYjY5ZTg1Mjk0MWFkZTFjYjQ1NDU4Yg==
6
+ MDAzNTcxYjA5MDIyM2RlOTY0MzI0MmQyYTc5Njc0MmUwZDhjOTNmMw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YTY5ZTFmYjAyZThhNDI4NmNjNTc0MGIzOThmZjkyOTkwYjYzM2IyYjMxYzM3
10
- ODBmYjJkNDhmMzM0NjY5MjJkODBkNWExZWI1MTdmMGRmYzBlYjYzMzUwMDkw
11
- ZDg4MmFmZWQzMTQ1NjI4NzZiNGUwNjQ5YzQ3MzFmZjU3ZjA0ZjI=
9
+ NzRjZjBmMTczYzAyNzYxYThhOWI0N2VlZTQ1ZmRkMTIzMzJjN2E2NjBjN2Jk
10
+ NTk3YjJmOTY1ZDQ1NzY1Mzc1NGQ2ZWYxZjk0YWI5N2QwMTY0YmIyZWVhZTIy
11
+ YjFjZTVjYTE1MmQ0OGE4YzM4ODdjZDhhMDI0MDAyMWYwYjliM2U=
12
12
  data.tar.gz: !binary |-
13
- YmUxY2MwOGUzNmVhMWEyMDYxNTMwNGMxNjY1ZDY2MTUwMTExMGYwMmQ5Y2Zh
14
- MzU5MTNiN2MyYWVlMDE4YTFkYjIxNDUwYjgwZjc1ODAzYzA5ZDJhNzAxMmNm
15
- NGY5ZDBmNjUxMjI4ZWY0Mjc3NDQ5MTk1ZGIxZWIzZWMxNDk0ZjY=
13
+ MTQ0YWZhNzA1ZmFkNzVmZTQ4NzJkOGU3OTFjMjRhNmQ2NWE5MWQ2MzYxZGI3
14
+ NWEzNTRhNzBlZDc4N2YwNWJmZDUwYjZkNDBiMzg3MzRmNGM0NThiMmYyOGU0
15
+ MDBlM2FmMTZiN2ExYTZiMjRmZDBlOGJjZjQ1NDRjNzUwMGJjMDU=
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- nanoc-nbconvert (0.0.1.0)
4
+ nanoc-nbconvert (0.1.1)
5
5
  nanoc
6
6
 
7
7
  GEM
@@ -0,0 +1,9 @@
1
+ require 'nanoc'
2
+
3
+ module Nanoc
4
+ module Filters
5
+ autoload 'NBConvert', 'nanoc/filters/nbconvert'
6
+
7
+ Nanoc::Filter.register '::Nanoc::Filters::NBConvert', :nbconvert
8
+ end
9
+ end
@@ -1,11 +1,12 @@
1
1
  # encoding: utf-8
2
2
 
3
- require "open3"
4
3
 
5
4
  module Nanoc::Filters
6
5
 
7
6
  class NBConvert < Nanoc::Filter
8
7
 
8
+ require "open3"
9
+
9
10
  identifier :nbconvert
10
11
 
11
12
  def run(content, params={})
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'nanoc-nbconvert'
5
- s.version = '0.1.0'
5
+ s.version = '0.1.1'
6
6
  s.homepage = 'http://github.com/kunxi/nanoc-nbconvert'
7
7
  s.summary = %q{A nanoc filter to convert IPython notebook}
8
8
  s.description = %q{A nanoc filter to convert IPython notebook}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nanoc-nbconvert
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kun Xi
@@ -54,6 +54,7 @@ files:
54
54
  - Rakefile
55
55
  - README.md
56
56
  - lib/nanoc/filters/nbconvert.rb
57
+ - lib/nanoc-nbconvert.rb
57
58
  - test/data/example.html
58
59
  - test/data/example.ipynb
59
60
  - test/filters/test_nbconvert.rb