rober 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
  SHA256:
3
- metadata.gz: 2cccaa4f074430389d194fabdf5cff2c2a3cd47e946047d7dca391125caa9922
4
- data.tar.gz: 3b26925d32c08ba5b3d5d24a33fe82333268796617002e283075f100a85f1af3
3
+ metadata.gz: '0825f034935865b5ed68caf8eb9b578deedf1ec9db29d8a8a3cb2e2d5bca7b0f'
4
+ data.tar.gz: a01351990f2963ab996f0c62d0aa42cffa3fdb509582f7c72adc0122bde59249
5
5
  SHA512:
6
- metadata.gz: e1230636603141cf0c3126373240279494ab0c5b893ced763b37dcb79e9d5d55880e968f7bd5aaae9a10c2ff2d6cd1700ccc06bb0ae19ad7d203219dc7dee459
7
- data.tar.gz: ef3cf0bf4b89fc571193f9e15a35a77869fd903f66f04edb234f95b7c677f23d0e8441dd5137940aaa1eba9f6b3913703de9e09a54129bad55e7f822389a509a
6
+ metadata.gz: 4538153a4c43434634c0ae4a65617b27f8525f7e24b4447411d734a177043fedb7770441585fabcb1d3db6569ff3a2224ad931b1de9922c592fa0f1bb20dd39a
7
+ data.tar.gz: 2e67235947083811ddc8fd6785db45c06a9c3eb246c87f0c646d6480ec7a4d659249323a8606412e5a59083ca887658e1d69c7a6a65c02558b7f9d92666f436b
data/README.md CHANGED
@@ -30,6 +30,9 @@ TODO: Write usage instructions here
30
30
 
31
31
  ## Changes
32
32
 
33
+ 2018-01-10 0.0.5
34
+ fix path
35
+
33
36
  2018-01-10 0.0.4
34
37
  fix comment nil and path downcase
35
38
 
data/lib/rober/reader.rb CHANGED
@@ -3,10 +3,9 @@ require 'nokogiri'
3
3
  module Rober
4
4
  class Reader
5
5
  def self.read(path)
6
- path = path.downcase
7
- if path.end_with?("edm")
6
+ if path.downcase.end_with?("edm")
8
7
  read_edm(path)
9
- elsif path.end_with?("dbm")
8
+ elsif path.downcase.end_with?("dbm")
10
9
  read_dbm(path)
11
10
  else
12
11
  {}
data/lib/rober/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Rober
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rober
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
  - aoyagikouhei