jekyll-jupyter-notebook 0.0.1 → 0.0.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
  SHA1:
3
- metadata.gz: 04de8f0f5ba04540d05b1ce17679bb5e35498a0f
4
- data.tar.gz: 321d7c95adafc0559e52dd9ba915a82aa1c011d7
3
+ metadata.gz: 2d8a308475c3bbced91a8f917dd2269cd5841f2f
4
+ data.tar.gz: 7bfd27ff41148e95d335eb16a53ef5649227156d
5
5
  SHA512:
6
- metadata.gz: d6fb14101710ddca1a115369fe91cfdeb60e5647a602f01084c92d7e12fcfac0e6dfdddbb720083d5b630f19b4094fd41d0fb62dd476a159637afaa655569f5a
7
- data.tar.gz: fb3860742fa20e9307df1eec71c8528d5d20d9eeb5cf3a407b8627682a69e3909a1f4fc072428ca8e965de36e0209be8c89147ae3a9ae558891c10ccb03c9365
6
+ metadata.gz: 3cdf4e001557890333f746d30ce5c4b6b790ccd61215b0c1fe0a0a5167a16de48436e93040ebc266b8170901b5c64f8709705e9b5ad8aba8d3f193454d17bd43
7
+ data.tar.gz: 774011d293718da25e201b8348dda74c597e470fc3c9e8e4e5de473accfda7258eda13bf8ffb79aaa04b98be9b607f521cbe3e65648e5655f0daec281a35516d
data/Rakefile CHANGED
@@ -34,12 +34,12 @@ end
34
34
  Packnga::ReleaseTask.new(spec) do
35
35
  end
36
36
 
37
- desc "Run tests"
38
- task :test do
39
- ruby("test/run-test.rb")
40
- end
37
+ # desc "Run tests"
38
+ # task :test do
39
+ # ruby("test/run-test.rb")
40
+ # end
41
41
 
42
- task default: :test
42
+ # task default: :test
43
43
 
44
44
  desc "Update site"
45
45
  task :site do
@@ -0,0 +1,22 @@
1
+ # News
2
+
3
+ ## 0.0.2 - 2017-09-03
4
+
5
+ ### Improvements
6
+
7
+ * Disabled unused `test` task. [GitHub#2][Reported by Yang Bo]
8
+
9
+ * Added `_posts/` support.
10
+ [GitHub#3][Reported by Diego Ferigo][Reported by Li-Pin Juan]
11
+
12
+ ### Thanks
13
+
14
+ * Yang Bo
15
+
16
+ * Diego Ferigo
17
+
18
+ * Li-Pin Juan
19
+
20
+ ## 0.0.1 - 2017-04-28
21
+
22
+ Initial release!!!
@@ -26,8 +26,9 @@ module JekyllJupyterNotebook
26
26
  end
27
27
 
28
28
  def render(context)
29
+ dir = context["page"]["dir"] || File.dirname(context["page"]["path"])
29
30
  notebook_path = File.join(context["site"]["source"],
30
- context["page"]["dir"],
31
+ dir,
31
32
  @notebook_path)
32
33
  Dir.mktmpdir do |output|
33
34
  system("jupyter",
@@ -11,5 +11,5 @@
11
11
  # limitations under the License.
12
12
 
13
13
  module JekyllJupyterNotebook
14
- VERSION = "0.0.1"
14
+ VERSION = "0.0.2"
15
15
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-jupyter-notebook
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kouhei Sutou
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-27 00:00:00.000000000 Z
11
+ date: 2017-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -106,6 +106,7 @@ files:
106
106
  - README.md
107
107
  - Rakefile
108
108
  - doc/text/apache-2.0.txt
109
+ - doc/text/news.md
109
110
  - jekyll-jupyter-notebook.gemspec
110
111
  - lib/jekyll-jupyter-notebook.rb
111
112
  - lib/jekyll-jupyter-notebook/tag.rb