sherlock 0.1.2 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/lib/sherlock.rb +1 -1
- data/lib/{collection.rb → sherlock/collection.rb} +0 -0
- data/lib/{collection → sherlock/collection}/base.rb +0 -0
- data/lib/{collection → sherlock/collection}/files.rb +0 -0
- data/lib/{collection → sherlock/collection}/lines.rb +0 -0
- data/lib/{collection → sherlock/collection}/matched_line.rb +0 -0
- data/lib/{core_ext.rb → sherlock/core_ext.rb} +0 -0
- data/lib/{latex.rb → sherlock/latex.rb} +0 -0
- data/lib/{version.rb → sherlock/version.rb} +2 -2
- data/spec/collection/base_spec.rb +2 -0
- data/spec/collection/matched_line_spec.rb +2 -3
- metadata +47 -68
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
NGNlMGFkMjc1MjNiMWJiZGUxNmIwZTYwYWIwOGUyOGY4M2RlZTlkOA==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
YjU1MmM4ZTIzNzZmOGIxOGI5YmY1YTNmNjY4OWMyOWNjMTUwZDQwYg==
|
7
|
+
!binary "U0hBNTEy":
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
ZTNiN2MyNTI3MTI0MzQ3ZTA0MzY1NTQ3NWEwNDFlZDFjN2EyYjRjYjQxMTM1
|
10
|
+
MmNlYzEwZWZkYTY4YWFjMmU3ZDEzYmY2ZDNlZTczMGNlMTQ2Njg1NGE4Yzdl
|
11
|
+
NDk1NjE5Nzg3NTJkYjE5ZGZmZTMxZTZmZDZmZjRiYTAwMDQxZWQ=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
NTVlYzQ3YzI3ZmQ1NGNkNjJjNGExZGI3YmNjN2YwY2QwZTRkZjhkYzRlZDQ3
|
14
|
+
OThhMmZkYTdjNWJmNzA2YzI0YzJhYmY5YzgxZWEyMWI5YmRhODM4NDgxMmRm
|
15
|
+
ZDZlNDk2ZjE4ZGYwY2FiZGUwZTgxNGQxOTBlMWRiNjA3Yzk2Zjg=
|
data/lib/sherlock.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# TODO: Output-Methoden für File- und Line-Collections, Tabellen, success & failure inkl. optionaler Colorierung.
|
4
4
|
|
5
5
|
%w(collection core_ext latex version).each do |_module|
|
6
|
-
require File.join(File.dirname(__FILE__), _module)
|
6
|
+
require File.join(File.dirname(__FILE__), "sherlock", _module)
|
7
7
|
end
|
8
8
|
|
9
9
|
module Sherlock
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -18,9 +18,8 @@ describe Sherlock::Collection::Files do
|
|
18
18
|
new_line = line.gsub(/^(.*)/, 'X \1')
|
19
19
|
new_line[0..0].should == 'X'
|
20
20
|
new_line.changed?.should == true
|
21
|
-
|
21
|
+
line[0..0].should_not == 'X'
|
22
22
|
line.changed?.should == false
|
23
23
|
end
|
24
24
|
end
|
25
|
-
|
26
|
-
end
|
25
|
+
end
|
metadata
CHANGED
@@ -1,96 +1,75 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: sherlock
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 1
|
9
|
-
- 2
|
10
|
-
version: 0.1.2
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.0
|
11
5
|
platform: ruby
|
12
|
-
authors:
|
13
|
-
-
|
6
|
+
authors:
|
7
|
+
- René Föhring
|
14
8
|
autorequire:
|
15
9
|
bindir: bin
|
16
10
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
- !ruby/object:Gem::Dependency
|
11
|
+
date: 2013-05-02 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
21
14
|
name: rspec
|
22
|
-
|
23
|
-
|
24
|
-
none: false
|
25
|
-
requirements:
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
26
17
|
- - ~>
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
hash: 27
|
29
|
-
segments:
|
30
|
-
- 1
|
31
|
-
- 3
|
32
|
-
- 0
|
18
|
+
- !ruby/object:Gem::Version
|
33
19
|
version: 1.3.0
|
34
20
|
type: :runtime
|
35
|
-
|
36
|
-
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 1.3.0
|
27
|
+
description: A library for filtering lists of files and performing actions on their
|
28
|
+
content.
|
37
29
|
email: rf@bamaru.de
|
38
30
|
executables: []
|
39
|
-
|
40
31
|
extensions: []
|
41
|
-
|
42
32
|
extra_rdoc_files: []
|
43
|
-
|
44
|
-
|
45
|
-
- lib/collection/base.rb
|
46
|
-
- lib/collection/
|
47
|
-
- lib/collection/
|
48
|
-
- lib/collection/
|
49
|
-
- lib/
|
50
|
-
- lib/
|
51
|
-
- lib/
|
33
|
+
files:
|
34
|
+
- lib/sherlock/version.rb
|
35
|
+
- lib/sherlock/collection/base.rb
|
36
|
+
- lib/sherlock/collection/lines.rb
|
37
|
+
- lib/sherlock/collection/matched_line.rb
|
38
|
+
- lib/sherlock/collection/files.rb
|
39
|
+
- lib/sherlock/core_ext.rb
|
40
|
+
- lib/sherlock/latex.rb
|
41
|
+
- lib/sherlock/collection.rb
|
52
42
|
- lib/sherlock.rb
|
53
|
-
-
|
54
|
-
- spec/
|
43
|
+
- spec/fixtures/simple/lines.txt
|
44
|
+
- spec/fixtures/simple/lorem.txt
|
45
|
+
- spec/spec_helper.rb
|
55
46
|
- spec/collection/files_spec.rb
|
47
|
+
- spec/collection/base_spec.rb
|
56
48
|
- spec/collection/lines_spec.rb
|
57
49
|
- spec/collection/matched_line_spec.rb
|
58
|
-
- spec/fixtures/simple/lines.txt
|
59
|
-
- spec/fixtures/simple/lorem.txt
|
60
50
|
- spec/sherlock_spec.rb
|
61
|
-
- spec/spec_helper.rb
|
62
51
|
homepage: http://github.com/rrrene/sherlock
|
63
52
|
licenses: []
|
64
|
-
|
53
|
+
metadata: {}
|
65
54
|
post_install_message:
|
66
55
|
rdoc_options: []
|
67
|
-
|
68
|
-
require_paths:
|
56
|
+
require_paths:
|
69
57
|
- lib
|
70
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
requirements:
|
82
|
-
- - ">="
|
83
|
-
- !ruby/object:Gem::Version
|
84
|
-
hash: 3
|
85
|
-
segments:
|
86
|
-
- 0
|
87
|
-
version: "0"
|
88
|
-
requirements:
|
58
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - ! '>='
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '0'
|
63
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - ! '>='
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '0'
|
68
|
+
requirements:
|
89
69
|
- none
|
90
70
|
rubyforge_project:
|
91
|
-
rubygems_version:
|
71
|
+
rubygems_version: 2.0.3
|
92
72
|
signing_key:
|
93
|
-
specification_version:
|
73
|
+
specification_version: 4
|
94
74
|
summary: A library for filtering lists of files and performing actions on their content.
|
95
75
|
test_files: []
|
96
|
-
|