xpub 0.0.4 → 0.0.5

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,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4755e8a57c86c5559588ada062ecb44eee955340
4
- data.tar.gz: 669f94b7fb38fa711d3ff3289ee3c2f773ea4aa4
3
+ metadata.gz: 0473ad049dd7ed21f6e235d01ba2e757dac48024
4
+ data.tar.gz: 5374e57d851d2cc78ea0163cb8d35f9ccffd4764
5
5
  SHA512:
6
- metadata.gz: eb0b877030198911e6bea6b0f803b153d0d8c6dcbf9ce186a5ea432b25163734b09c36befe66fc19bb3cc5dac8248665fc9ae46f82d47c1ce6de63738e9e2ea1
7
- data.tar.gz: 3d8f4a72dcb41f48c659b183bdb35fc8b5bc037ba01967ad774f1e69783bbb578368da9258449ba6000e328369702e13b2ab075714cdb4f6abd0c21a56fb9d14
6
+ metadata.gz: 2ea2c19e1063fb7ce9c212d8278b24943104556fbf900a049d008f0071be06ffbaa65a1d6eb0d9139e0d30a78ddaca99237a75aa05af3da85e53293a64b4ab01
7
+ data.tar.gz: b7d83bbcb73294392cb820066e0675a3a2965df3a25a2e583c96bc48e2fb2f93f497bf315b9907d4ef86e74010eeeac620baf6b191fafc68a1f82c7aba00fcd2
@@ -61,7 +61,7 @@ module Xpub
61
61
 
62
62
  def img_files
63
63
  validate
64
- Dir.glob("#{full_path}/**/*.{jpeg,jpg,png,bmp,pdf}").sort.map { |path|
64
+ Dir.glob("#{full_path}/**/*.{jpeg,jpg,png,bmp,pdf}").sort.map { |path|
65
65
  img = CallImgFile.new path.sub(full_path + "/", "")
66
66
  img.validate
67
67
  img
@@ -88,8 +88,8 @@ module Xpub
88
88
 
89
89
  def md_files
90
90
  validate
91
- Dir.glob("#{full_path}/**/*.md").sort.map { |path|
92
- mf = CallMdFile.new path.sub(full_path + "/", "")
91
+ Dir.glob("#{full_path}/**/*.md").sort.map { |path|
92
+ mf = CallMdFile.new path.sub("#{Dir::getwd}/src/", "")
93
93
  mf.validate
94
94
  mf
95
95
  }
data/lib/xpub/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Xpub
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xpub
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yoshihisa AMAKATA
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-12 00:00:00.000000000 Z
11
+ date: 2015-05-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler