crf 0.0.8 → 0.0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/lib/crf/finder.rb +0 -1
- data/lib/crf/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 39439b8314df8014898523b78f41b0b1f7bc6887
|
4
|
+
data.tar.gz: 413044e24a72a934083899bea6011cd4ffddbbea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1cebe9599e4735ffd9f56e4dba20a037b89416209e676c9849f56ac0a2f8188ca5eac3610fc779a2a062c159ff509042adb8b4fae601ff142746b5f1488ee576
|
7
|
+
data.tar.gz: c8e754cdadd719faf3bedcee8d02be743eb10a6a1e68cc4d1fbdc6ff98c526c700909653d16aff5be07d2451a274989c94171e742fee45259e18b8f18eb71472
|
data/README.md
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
[![Test Coverage](https://codeclimate.com/github/alebian/crf/badges/coverage.svg)](https://codeclimate.com/github/alebian/crf/coverage)
|
7
7
|
[![Inline docs](http://inch-ci.org/github/alebian/crf.svg)](http://inch-ci.org/github/alebian/crf)
|
8
8
|
|
9
|
-
This gem finds exact duplicate files inside
|
9
|
+
This gem finds exact duplicate files inside given directories and all of each sub directories. The result of the execution gets stored in a file called crf_log.txt. The execution time depends on the amount of files and each size, so be careful (or patient). You have options to run an approximated version of the algorithm which is faster but more inaccurate.
|
10
10
|
|
11
11
|
## Installation
|
12
12
|
|
@@ -29,7 +29,7 @@ Or install it yourself as:
|
|
29
29
|
After installing the gem, you can use it in your command line:
|
30
30
|
|
31
31
|
```
|
32
|
-
crf
|
32
|
+
crf PATH_1 PATH_2 .. [-f] [-n] [-o]
|
33
33
|
```
|
34
34
|
Or you can use it in any ruby code you want:
|
35
35
|
|
@@ -39,7 +39,7 @@ require 'crf'
|
|
39
39
|
path = './test'
|
40
40
|
options = { interactive: true, progress: true, fast: false }
|
41
41
|
|
42
|
-
crf_checker = Crf::Checker.new(
|
42
|
+
crf_checker = Crf::Checker.new([paths], options)
|
43
43
|
crf_checker.check_repeated_files
|
44
44
|
```
|
45
45
|
|
data/lib/crf/finder.rb
CHANGED
data/lib/crf/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: crf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.8
|
4
|
+
version: 0.0.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alejandro Bezdjian
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-10-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: colorize
|
@@ -156,7 +156,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
156
156
|
version: '0'
|
157
157
|
requirements: []
|
158
158
|
rubyforge_project:
|
159
|
-
rubygems_version: 2.
|
159
|
+
rubygems_version: 2.5.1
|
160
160
|
signing_key:
|
161
161
|
specification_version: 4
|
162
162
|
summary: Look for exact duplicated files.
|