file_checking 1.0.3 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.idea/file_checking.iml +0 -1
- data/.idea/workspace.xml +29 -35
- data/bin/file_checking +1 -1
- data/file_checking.gemspec +1 -1
- metadata +2 -4
- data/Gemfile.bak +0 -4
- data/Gemfile.lock.bak +0 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3ff5b1839fc9cc20ed7a58b94b4b72376da02447
|
4
|
+
data.tar.gz: 11920b199c9500092dd7f77ca573f8153752fc92
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac45d72837a853796b7138feda34fdc2f3232d8bf1637c538f1c3a1f5d8bb0ad4f06f8b429183ac598fc1ee1f2e084692c55350476fa6198a935ccd254419b13
|
7
|
+
data.tar.gz: dd9df0f35f4d8e404630b2a99ee44813acedc0480a441c469bedf3bdc8f70ac16b953a805d0da8956fe49c34cfb660b5dcf7c122f4593c1620a482cc6112d690
|
data/.idea/file_checking.iml
CHANGED
@@ -17,7 +17,6 @@
|
|
17
17
|
<orderEntry type="jdk" jdkName="RVM: ruby-2.1.2" jdkType="RUBY_SDK" />
|
18
18
|
<orderEntry type="sourceFolder" forTests="false" />
|
19
19
|
<orderEntry type="library" scope="PROVIDED" name="bundler (v1.6.2, RVM: ruby-2.1.2) [gem]" level="application" />
|
20
|
-
<orderEntry type="library" scope="PROVIDED" name="rake (v10.3.2, RVM: ruby-2.1.2) [gem]" level="application" />
|
21
20
|
</component>
|
22
21
|
</module>
|
23
22
|
|
data/.idea/workspace.xml
CHANGED
@@ -25,11 +25,9 @@
|
|
25
25
|
<file leaf-file-name="file_checking" pinned="false" current="false" current-in-tab="false">
|
26
26
|
<entry file="file://$PROJECT_DIR$/bin/file_checking">
|
27
27
|
<provider selected="true" editor-type-id="text-editor">
|
28
|
-
<state vertical-scroll-proportion="0.0" vertical-offset="
|
29
|
-
<caret line="
|
30
|
-
<folding
|
31
|
-
<element signature="e#2187#3860#0" expanded="true" />
|
32
|
-
</folding>
|
28
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="170" max-vertical-offset="1802">
|
29
|
+
<caret line="33" column="51" selection-start-line="33" selection-start-column="51" selection-end-line="33" selection-end-column="51" />
|
30
|
+
<folding />
|
33
31
|
</state>
|
34
32
|
</provider>
|
35
33
|
</entry>
|
@@ -46,15 +44,15 @@
|
|
46
44
|
</file>
|
47
45
|
<file leaf-file-name="README.md" pinned="false" current="false" current-in-tab="false">
|
48
46
|
<entry file="file://$PROJECT_DIR$/README.md">
|
49
|
-
<provider editor-type-id="MarkdownPreviewEditor">
|
50
|
-
<state />
|
51
|
-
</provider>
|
52
47
|
<provider selected="true" editor-type-id="text-editor">
|
53
|
-
<state vertical-scroll-proportion="
|
48
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="680" max-vertical-offset="782">
|
54
49
|
<caret line="40" column="42" selection-start-line="40" selection-start-column="42" selection-end-line="40" selection-end-column="42" />
|
55
50
|
<folding />
|
56
51
|
</state>
|
57
52
|
</provider>
|
53
|
+
<provider editor-type-id="MarkdownPreviewEditor">
|
54
|
+
<state />
|
55
|
+
</provider>
|
58
56
|
</entry>
|
59
57
|
</file>
|
60
58
|
<file leaf-file-name="Rakefile" pinned="false" current="false" current-in-tab="false">
|
@@ -70,7 +68,7 @@
|
|
70
68
|
<file leaf-file-name=".gitignore" pinned="false" current="false" current-in-tab="false">
|
71
69
|
<entry file="file://$PROJECT_DIR$/.gitignore">
|
72
70
|
<provider selected="true" editor-type-id="text-editor">
|
73
|
-
<state vertical-scroll-proportion="0.0" vertical-offset="
|
71
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="391" max-vertical-offset="493">
|
74
72
|
<caret line="23" column="0" selection-start-line="23" selection-start-column="0" selection-end-line="23" selection-end-column="0" />
|
75
73
|
<folding />
|
76
74
|
</state>
|
@@ -88,8 +86,8 @@
|
|
88
86
|
<option name="changedFiles">
|
89
87
|
<list>
|
90
88
|
<option value="$PROJECT_DIR$/.gitignore" />
|
91
|
-
<option value="$PROJECT_DIR$/bin/file_checking" />
|
92
89
|
<option value="$PROJECT_DIR$/README.md" />
|
90
|
+
<option value="$PROJECT_DIR$/bin/file_checking" />
|
93
91
|
<option value="$PROJECT_DIR$/file_checking.gemspec" />
|
94
92
|
</list>
|
95
93
|
</option>
|
@@ -287,7 +285,7 @@
|
|
287
285
|
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
|
288
286
|
<window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
|
289
287
|
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
290
|
-
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.
|
288
|
+
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.25579977" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
|
291
289
|
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
|
292
290
|
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
|
293
291
|
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />
|
@@ -295,11 +293,11 @@
|
|
295
293
|
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
|
296
294
|
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
|
297
295
|
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
298
|
-
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
299
296
|
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
297
|
+
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
300
298
|
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="SLIDING" type="SLIDING" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
301
|
-
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
|
302
299
|
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
|
300
|
+
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
|
303
301
|
</layout>
|
304
302
|
</component>
|
305
303
|
<component name="Vcs.Log.UiProperties">
|
@@ -326,9 +324,7 @@
|
|
326
324
|
<provider selected="true" editor-type-id="text-editor">
|
327
325
|
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="3026">
|
328
326
|
<caret line="95" column="84" selection-start-line="72" selection-start-column="0" selection-end-line="95" selection-end-column="84" />
|
329
|
-
<folding
|
330
|
-
<element signature="e#2187#3860#0" expanded="true" />
|
331
|
-
</folding>
|
327
|
+
<folding />
|
332
328
|
</state>
|
333
329
|
</provider>
|
334
330
|
</entry>
|
@@ -341,15 +337,15 @@
|
|
341
337
|
</provider>
|
342
338
|
</entry>
|
343
339
|
<entry file="file://$PROJECT_DIR$/README.md">
|
344
|
-
<provider editor-type-id="MarkdownPreviewEditor">
|
345
|
-
<state />
|
346
|
-
</provider>
|
347
340
|
<provider selected="true" editor-type-id="text-editor">
|
348
341
|
<state vertical-scroll-proportion="0.0" vertical-offset="187" max-vertical-offset="714">
|
349
342
|
<caret line="11" column="0" selection-start-line="11" selection-start-column="0" selection-end-line="11" selection-end-column="0" />
|
350
343
|
<folding />
|
351
344
|
</state>
|
352
345
|
</provider>
|
346
|
+
<provider editor-type-id="MarkdownPreviewEditor">
|
347
|
+
<state />
|
348
|
+
</provider>
|
353
349
|
</entry>
|
354
350
|
<entry file="file://$PROJECT_DIR$/Rakefile">
|
355
351
|
<provider selected="true" editor-type-id="text-editor">
|
@@ -367,6 +363,17 @@
|
|
367
363
|
</state>
|
368
364
|
</provider>
|
369
365
|
</entry>
|
366
|
+
<entry file="file://$PROJECT_DIR$/README.md">
|
367
|
+
<provider selected="true" editor-type-id="text-editor">
|
368
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="680" max-vertical-offset="782">
|
369
|
+
<caret line="40" column="42" selection-start-line="40" selection-start-column="42" selection-end-line="40" selection-end-column="42" />
|
370
|
+
<folding />
|
371
|
+
</state>
|
372
|
+
</provider>
|
373
|
+
<provider editor-type-id="MarkdownPreviewEditor">
|
374
|
+
<state />
|
375
|
+
</provider>
|
376
|
+
</entry>
|
370
377
|
<entry file="file://$PROJECT_DIR$/Rakefile">
|
371
378
|
<provider selected="true" editor-type-id="text-editor">
|
372
379
|
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="614">
|
@@ -385,21 +392,8 @@
|
|
385
392
|
</entry>
|
386
393
|
<entry file="file://$PROJECT_DIR$/bin/file_checking">
|
387
394
|
<provider selected="true" editor-type-id="text-editor">
|
388
|
-
<state vertical-scroll-proportion="0.0" vertical-offset="
|
389
|
-
<caret line="
|
390
|
-
<folding>
|
391
|
-
<element signature="e#2187#3860#0" expanded="true" />
|
392
|
-
</folding>
|
393
|
-
</state>
|
394
|
-
</provider>
|
395
|
-
</entry>
|
396
|
-
<entry file="file://$PROJECT_DIR$/README.md">
|
397
|
-
<provider editor-type-id="MarkdownPreviewEditor">
|
398
|
-
<state />
|
399
|
-
</provider>
|
400
|
-
<provider selected="true" editor-type-id="text-editor">
|
401
|
-
<state vertical-scroll-proportion="-25.185184" vertical-offset="0" max-vertical-offset="782">
|
402
|
-
<caret line="40" column="42" selection-start-line="40" selection-start-column="42" selection-end-line="40" selection-end-column="42" />
|
395
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="170" max-vertical-offset="1802">
|
396
|
+
<caret line="33" column="51" selection-start-line="33" selection-start-column="51" selection-end-line="33" selection-end-column="51" />
|
403
397
|
<folding />
|
404
398
|
</state>
|
405
399
|
</provider>
|
data/bin/file_checking
CHANGED
@@ -31,7 +31,7 @@ end
|
|
31
31
|
# Iterate over all files and sub-directories.
|
32
32
|
# The arguments code block are the md5 of the file and a corressponding instance of the class File
|
33
33
|
def each_md5
|
34
|
-
Dir.glob(File.join('**', '*')) do |file|
|
34
|
+
Dir.glob(File.join('**', '*'), File::FNM_DOTMATCH) do |file|
|
35
35
|
next if @exceptions.include?(file) or file == INDEX_FILE or File.directory?(file) or file == @file_exceptions
|
36
36
|
yield(Digest::MD5.hexdigest(IO.read(file)), File.new(file))
|
37
37
|
end
|
data/file_checking.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
Gem::Specification.new do |spec|
|
3
3
|
spec.name = 'file_checking'
|
4
|
-
spec.version = '1.0
|
4
|
+
spec.version = '1.1.0'
|
5
5
|
spec.authors = ['Numa de Montmollin']
|
6
6
|
spec.email = ['facenord.sud@gmail.com']
|
7
7
|
spec.summary = %q{This is a tool designed for indexing files and after that to tell which file has been modified, deleted or created.}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: file_checking
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Numa de Montmollin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-10-
|
11
|
+
date: 2014-10-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -56,8 +56,6 @@ files:
|
|
56
56
|
- ".idea/scopes/scope_settings.xml"
|
57
57
|
- ".idea/vcs.xml"
|
58
58
|
- ".idea/workspace.xml"
|
59
|
-
- Gemfile.bak
|
60
|
-
- Gemfile.lock.bak
|
61
59
|
- README.md
|
62
60
|
- Rakefile
|
63
61
|
- bin/file_checking
|
data/Gemfile.bak
DELETED