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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 96283e9f1428196837bfde61a5c9c657634146f590329cfdb2d3d56489fed4bf
4
- data.tar.gz: 8546b8dba97d3cbb2a6f3782b8ec22e35380f62807aa7a7e935ec66d7d8c07fc
3
+ metadata.gz: 9634e848f8f4458b300d1489eeab864157e41f471165a36db741a5e244b010d2
4
+ data.tar.gz: 41e0c22ab5fc95c66b7c4b1ae4e18a00359cf46cab673caf178dac1d6a66d749
5
5
  SHA512:
6
- metadata.gz: 66e503066118034cf82fb80f3fe61d7726dc8d03e7d185a862f54a0c16da0823c2cb5afc7ef2476c93eab68d51e7398cf9132c143ad8e060f99ac7f80661df8c
7
- data.tar.gz: 7e22b98079e7868904212c7fc00a7cc5c2179ceaa6e90d702751405da46a258e0cacaf3de73848aafda005e9372a4a6dc4823e997f70087b79e46e565299fab9
6
+ metadata.gz: 0027bf4c76301f18cc815d0ed0d0b84c2a8eedff2dbe8311e6b80ffee16047b87f7729df434b65bc2fbee976c2fbe6fafa23c6a8451f1a66f875d29ffd9383fc
7
+ data.tar.gz: 8cdcef7833bd4511e942ed32fc84f9c1e5ddf636f189641a7df5a53c7bae56d8a7e9c98dd51b3585ce6c079b8e725cda290e86be3861f3b8e6fb7d2982130698
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- nb_util (0.4.1)
4
+ nb_util (0.4.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -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
@@ -1,3 +1,3 @@
1
1
  module NbUtil
2
- VERSION = "0.4.2"
2
+ VERSION = "0.4.3"
3
3
  end
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.2
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-04 00:00:00.000000000 Z
11
+ date: 2018-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler