kucodiff 0.2.0 → 0.2.1

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: 59e1b9b9b4ac8a580ad3f6d8cc5d67b81fdd18de
4
- data.tar.gz: 98be6f305b643cd96c419bf2287dc18f67a97e48
3
+ metadata.gz: cc7a9fee577353c9b0d12160b0a00cc6f8b6325a
4
+ data.tar.gz: 81cda8035f50ca59908f88064fe3b7f273128679
5
5
  SHA512:
6
- metadata.gz: 34ada378819ea565b3a14ff9a3229072e45bd18a7c26d860b1cb274dc8ce5414a11e1623167dbd794ce0e44a67fab82479473b6027d682802b7d129d5f77038e
7
- data.tar.gz: 233c20efb8dc84254cd1b049d1dfb9764dca5cec5d55c9694de42d252382586481a866dd46d92d922b42140b1dfdeff0f1d29b9affd26d5e1a6a57eea641df06
6
+ metadata.gz: f18b565c6e64ccc715de6a87b24bd48592cff258b234f0b829c2906bc010759dfc39c9f1ac27c3ed7807f229159b47606ca82811dd8ed5301aa2b539dfbb2888
7
+ data.tar.gz: 4f1a87766ba6afe954bd774266d9b26217efa76e29622b174587f6793af1371d16f170ec28c18d4a1b91956ed581e66cacc158fe12235195ea19f067856a2ab9
data/lib/kucodiff.rb CHANGED
@@ -32,7 +32,7 @@ module Kucodiff
32
32
 
33
33
  def read(file)
34
34
  content = if file.end_with?('.yml', '.yaml')
35
- YAML.load_stream(File.read(file)) # TODO: test need for stream
35
+ YAML.load_stream(File.read(file), file) # TODO: test need for stream
36
36
  else raise ArgumentError, "unknown file format in #{file}"
37
37
  end.first
38
38
 
@@ -1,3 +1,3 @@
1
1
  module Kucodiff
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kucodiff
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Grosser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-01 00:00:00.000000000 Z
11
+ date: 2017-04-30 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: michael@grosser.it