lucarecord 0.2.26 → 0.2.27

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: 526cf95ca548f5f2b4617f0af76337fa1d9a05896b212a4468f2d68db4b3ab03
4
- data.tar.gz: 203299e63b9835ca1da312059df927cc8d65d81bea25d299fd08cf1d5afca0fa
3
+ metadata.gz: 3e81c1ccc95c688bdfa2da3af37635324f1f744f1976b0dd3654514e2a1254b4
4
+ data.tar.gz: 2ed07a97b4bca099f1eb7004476960c3c2a8da03d06ee7f4db6e48226294f431
5
5
  SHA512:
6
- metadata.gz: d53ff1db376c14b4b39f2975dc70ec0cb74a04dc25f7b17da193c532b819f76614399ad019e4101d73acde439bfdef7a0cc6773a8bacda88b0bc22dedeb8c5e8
7
- data.tar.gz: 4feed97a4a7b5f7505f6aee51a71c7301606387f3ce2c1bf7086edf1c3bb5e3ceab42b43e7a5daa2576e94ba4ae8e054a3d5ec88d735b5ff47c903ee0a31290a
6
+ metadata.gz: fcdd0ddae31a118c6532c872361535d89336fa712ba80395a10d5dda7a597c6300214ac2c1cdbab6782bd861d46e9da1e32c48e3fae182c33d63e78b0fcf7424
7
+ data.tar.gz: 4ec6114ea0f761e7ca4f743fce6c2594cac704c0bb6a32082ba35cbc5b9c6e639ce421d13ccf33a46a5359a4030974ff85447133391641beb83d2efaab3e1a91
@@ -311,14 +311,14 @@ module LucaRecord # :nodoc:
311
311
  File.open(subpath, mode) { |f| yield(f, id_set) }
312
312
  end
313
313
  end
314
+ end
314
315
 
315
- # Calculate md5sum with original digest, file content and filename(optional).
316
- #
317
- def update_digest(digest, str, filename = nil)
318
- str = filename.nil? ? str : filename + str
319
- content = Digest::MD5.new.update(str).hexdigest
320
- Digest::MD5.new.update(digest + content).hexdigest
321
- end
316
+ # Calculate md5sum with original digest, file content and filename(optional).
317
+ #
318
+ def update_digest(digest, str, filename = nil)
319
+ str = filename.nil? ? str : filename + str
320
+ content = Digest::MD5.new.update(str).hexdigest
321
+ Digest::MD5.new.update(digest + content).hexdigest
322
322
  end
323
323
 
324
324
  # git object like structure
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module LucaRecord
4
- VERSION = '0.2.26'
4
+ VERSION = '0.2.27'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lucarecord
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.26
4
+ version: 0.2.27
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chuma Takahiro