archivededup 0.1.0 → 0.1.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
  SHA256:
3
- metadata.gz: 832d1375b57959d1b4ed4704261478f15d80611f3e8a59eeca5365e2c188c56b
4
- data.tar.gz: 3f93fc4ba314347ee306a45554239cfb8e1ed7ffa0ef0da2a1f88abe54d1540e
3
+ metadata.gz: 9bfe41820fb047f7d674dc0bd98f39695577e5db0fe8297e2f26f07b1bcc14dc
4
+ data.tar.gz: 61c329b8f6959c1e39d187bb66f03ef84163f6ca8485b5714de8a569d47f6f62
5
5
  SHA512:
6
- metadata.gz: 715f06a1e280d06873d5ce900c7368b5f87d4509fa0fd1a4c3efc46c30a333675e40980a3297f6584eefdb90e3319f1954b29d4ab58468e8d281133324ec9d3e
7
- data.tar.gz: 344bfd59b8af9d48430d8e97cc4e2f3594fea58061e5230afc6b901b142ca8c2bb9fa9a1c3234cf4a1ad1b0423ae011217eb8e2dd53c8089341fec605c744a2c
6
+ metadata.gz: b0614ce644261167a7db4d030a4b234a30868197203b55bf76eef107ba998e06e5aabef8914abbd19e0100b537391fb74245cbf3db8e5704e0662fa98be3c7c5
7
+ data.tar.gz: 989de2f7fa26e04aa9e8aef156b29c9d9bf92d1924885eceab68f9498757385ca60cfdcd8ce77faaca0c98787b769e6b4882b423d162ccbff74895254633605c
data/Gemfile.lock CHANGED
@@ -25,6 +25,7 @@ GEM
25
25
 
26
26
  PLATFORMS
27
27
  x86_64-darwin-21
28
+ x86_64-linux
28
29
 
29
30
  DEPENDENCIES
30
31
  archivededup!
data/exe/archivededup CHANGED
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
2
3
  #
3
4
 
4
5
  require 'dbm'
@@ -71,17 +72,16 @@ when /check|remove/
71
72
 
72
73
  db.each_dup do |k, r|
73
74
 
74
- # Skip files in the Documents directory. It's special.
75
- files = r['files'].filter { |f| f !~ /\/(?:Documents|Archive\/Prairie Music)\// }
75
+ files = r['files']
76
76
 
77
77
  # If the filter removed all files, well, do nothing!
78
78
  next if files.length < 2
79
79
 
80
80
  # Skip files with unexpected file extensions.
81
- unless files.find { |f| f =~ /\.(?:png|jpeg|jpg|mp4|mov|mp3|mod|xfc|gif|m4v|3g2|mpg)$/i }
82
- files.each { |f| puts "Not deduping #{f}."}
83
- next
84
- end
81
+ # unless files.find { |f| f =~ /\.(?:png|jpeg|jpg|mp4|mov|mp3|mod|xfc|gif|m4v|3g2|mpg)$/i }
82
+ # files.each { |f| puts "Not deduping #{f}. Not a supported file extension."}
83
+ # next
84
+ # end
85
85
 
86
86
  filekeep = filepicker.pick(files)
87
87
 
@@ -1,3 +1,3 @@
1
1
  module Archivededup
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: archivededup
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Baskinger
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-07-04 00:00:00.000000000 Z
11
+ date: 2023-07-06 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Deduplicate files from an archive directory using a database.
14
14
  email: