nb_util 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/nb_util/ipynb2tex.rb +2 -2
- data/lib/nb_util/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9634e848f8f4458b300d1489eeab864157e41f471165a36db741a5e244b010d2
|
4
|
+
data.tar.gz: 41e0c22ab5fc95c66b7c4b1ae4e18a00359cf46cab673caf178dac1d6a66d749
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0027bf4c76301f18cc815d0ed0d0b84c2a8eedff2dbe8311e6b80ffee16047b87f7729df434b65bc2fbee976c2fbe6fafa23c6a8451f1a66f875d29ffd9383fc
|
7
|
+
data.tar.gz: 8cdcef7833bd4511e942ed32fc84f9c1e5ddf636f189641a7df5a53c7bae56d8a7e9c98dd51b3585ce6c079b8e725cda290e86be3861f3b8e6fb7d2982130698
|
data/Gemfile.lock
CHANGED
data/lib/nb_util/ipynb2tex.rb
CHANGED
@@ -217,10 +217,10 @@ module NbUtil
|
|
217
217
|
File.open(splitter[1], 'w') do |f|
|
218
218
|
f.print splitter[0].gsub!(/section/, 'chapter')
|
219
219
|
if num+1 != chapter_size
|
220
|
-
f.print split[1].sub!(/\\section{#{chapter[num+1]}}\\label.*/m, '')
|
220
|
+
f.print split[1].to_s.sub!(/\\section{#{chapter[num+1]}}\\label.*/m, '')
|
221
221
|
end
|
222
222
|
if num+1 == chapter_size
|
223
|
-
f.print split[1]
|
223
|
+
f.print split[1].to_s
|
224
224
|
end
|
225
225
|
end
|
226
226
|
end
|
data/lib/nb_util/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nb_util
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Masatoshi Kowaki
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-01-
|
11
|
+
date: 2018-01-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|