pathspec 0.1.2 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.md +11 -3
- data/README.md +31 -6
- data/bin/pathspec-rb +93 -0
- data/lib/pathspec.rb +16 -25
- data/lib/pathspec/gitignorespec.rb +247 -261
- data/lib/pathspec/regexspec.rb +14 -10
- data/lib/pathspec/spec.rb +16 -9
- data/spec/files/gitignore_readme +2 -0
- data/spec/files/gitignore_ruby +51 -0
- data/spec/files/gitignore_simple +1 -0
- data/spec/files/regex_simple +1 -0
- data/spec/spec_helper.rb +1 -4
- data/spec/unit/pathspec/gitignorespec_spec.rb +32 -34
- data/spec/unit/pathspec/spec_spec.rb +5 -5
- data/spec/unit/pathspec_spec.rb +138 -86
- metadata +70 -4
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pathspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brandon High
|
@@ -24,6 +24,34 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: fakefs
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0.13'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0.13'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '12.3'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '12.3'
|
27
55
|
- !ruby/object:Gem::Dependency
|
28
56
|
name: rspec
|
29
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -38,26 +66,60 @@ dependencies:
|
|
38
66
|
- - "~>"
|
39
67
|
- !ruby/object:Gem::Version
|
40
68
|
version: '3.0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rubocop
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0.52'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0.52'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: simplecov
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0.15'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0.15'
|
41
97
|
description: Use to match path patterns such as gitignore
|
42
98
|
email: bh@brandon-high.com
|
43
|
-
executables:
|
99
|
+
executables:
|
100
|
+
- pathspec-rb
|
44
101
|
extensions: []
|
45
102
|
extra_rdoc_files: []
|
46
103
|
files:
|
47
104
|
- CHANGELOG.md
|
48
105
|
- LICENSE
|
49
106
|
- README.md
|
107
|
+
- bin/pathspec-rb
|
50
108
|
- lib/pathspec.rb
|
51
109
|
- lib/pathspec/gitignorespec.rb
|
52
110
|
- lib/pathspec/regexspec.rb
|
53
111
|
- lib/pathspec/spec.rb
|
112
|
+
- spec/files/gitignore_readme
|
113
|
+
- spec/files/gitignore_ruby
|
114
|
+
- spec/files/gitignore_simple
|
115
|
+
- spec/files/regex_simple
|
54
116
|
- spec/spec_helper.rb
|
55
117
|
- spec/unit/pathspec/gitignorespec_spec.rb
|
56
118
|
- spec/unit/pathspec/spec_spec.rb
|
57
119
|
- spec/unit/pathspec_spec.rb
|
58
120
|
homepage: https://github.com/highb/pathspec-ruby
|
59
121
|
licenses:
|
60
|
-
- Apache
|
122
|
+
- Apache-2.0
|
61
123
|
metadata: {}
|
62
124
|
post_install_message:
|
63
125
|
rdoc_options: []
|
@@ -75,11 +137,15 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
137
|
version: '0'
|
76
138
|
requirements: []
|
77
139
|
rubyforge_project:
|
78
|
-
rubygems_version: 2.
|
140
|
+
rubygems_version: 2.7.3
|
79
141
|
signing_key:
|
80
142
|
specification_version: 4
|
81
143
|
summary: 'PathSpec: for matching path patterns'
|
82
144
|
test_files:
|
145
|
+
- spec/files/gitignore_readme
|
146
|
+
- spec/files/gitignore_ruby
|
147
|
+
- spec/files/gitignore_simple
|
148
|
+
- spec/files/regex_simple
|
83
149
|
- spec/spec_helper.rb
|
84
150
|
- spec/unit/pathspec/gitignorespec_spec.rb
|
85
151
|
- spec/unit/pathspec/spec_spec.rb
|