fast_ignore 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '078431fdfb48356146694f1fffba57803f876a1b67f52c6b8180ec5f9efe2f30'
4
- data.tar.gz: 4c9e880bf30a6656382a7437b97847be095c4e4f77276979a52e11e421905cb6
3
+ metadata.gz: d8901671b9acd8245e3d52201b5b29dd381725e374405fa683f069d3f1999561
4
+ data.tar.gz: e29905aeebe987d96351df144d53d0cff3f70cfd55c320a89bf15c29f71a3fbb
5
5
  SHA512:
6
- metadata.gz: b986db1ce0dc3a0359cd7d556e52caaa5c9adc3f6ff0d513fed436f036b73db937546c981705c7da560fe9833c2f24fe2e521d428575bd1f3d05c8f15fb37535
7
- data.tar.gz: d871816557a546cd2a43bc2206b5dbcab7fa3a4418ff8ffb98f85d36ea66cbe12dd9aac329bb30db9f4d7144c75b09423b8e2054597540caf2a6f42edf682478
6
+ metadata.gz: 2b586d4b3517a783436c78c50bcc7148e3fb1f44a1a2444bb5872c11579bc73227999772e1627395bb0427713394345ab84e9bbc7cc945456d1223215e9f4b9d
7
+ data.tar.gz: 98d677f7d4ef3e590dddce57db5b7850fdbb656f09bf288d5e0e4267af8d9f3f58963f77adfbd0bfb65e5e9ac7f88badbe1094d8249258d51f59a0746aacc063
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ # v0.3.1
2
+ - upgrade rubocop version requirement to avoid github security warning
3
+
1
4
  # v0.3.0
2
5
  - Supports 2.3 - 2.6
3
6
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fast_ignore (0.3.0)
4
+ fast_ignore (0.3.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -53,7 +53,7 @@ DEPENDENCIES
53
53
  pry (~> 0)
54
54
  rake (~> 10.0)
55
55
  rspec (~> 3.0)
56
- rubocop (~> 0)
56
+ rubocop (>= 0.74.0)
57
57
  rubocop-rspec (~> 1)
58
58
 
59
59
  BUNDLED WITH
data/README.md CHANGED
@@ -2,7 +2,8 @@
2
2
 
3
3
  [![travis](https://travis-ci.org/robotdana/fast_ignore.svg?branch=master)](https://travis-ci.org/robotdana/fast_ignore)
4
4
 
5
- Filter a directory tree using a .gitignore file. Recognises all of the gitignore rules.
5
+ Filter a directory tree using a .gitignore file. Recognises all of the [gitignore rules](https://www.git-scm.com/docs/gitignore#_pattern_format) ([except one](#known-issues))
6
+
6
7
  ```ruby
7
8
  FastIgnore.new(relative: true).sort == `git ls-files`.split("\n").sort
8
9
  ```
@@ -72,13 +73,11 @@ FastIgnore.new.allowed?('/absolute/path/to/file')
72
73
 
73
74
  ## Known issues
74
75
  - Doesn't take into account project excludes in `.git/info/exclude`
75
- - Doesn't take into account globally ignored files in `git config core.excludesFile`
76
- ```ruby
77
- `git ls-files`.split("\n")
78
- ```
76
+ - Doesn't take into account globally ignored files in `git config core.excludesFile`.
79
77
  - Doesn't follow this rule in the gitignore documentation because I don't understand what it means that isn't covered by other rules:
80
- If the pattern does not contain a slash /, Git treats it as a shell glob pattern and checks for a match against the pathname relative to the location of the .gitignore file
81
- (relative to the toplevel of the work tree if not from a .gitignore file)
78
+
79
+ > [If the pattern does not contain a slash /, Git treats it as a shell glob pattern and checks for a match against the pathname relative to the location of the `.gitignore` file (relative to the toplevel of the work tree if not from a `.gitignore` file)](https://www.git-scm.com/docs/gitignore#_pattern_format)
80
+
82
81
  if someone can explain it with examples [make an issue please](https://github.com/robotdana/fast_ignore/issues/new)
83
82
 
84
83
  ## Development
data/fast_ignore.gemspec CHANGED
@@ -31,6 +31,6 @@ Gem::Specification.new do |spec|
31
31
  spec.add_development_dependency 'pry', '~> 0'
32
32
  spec.add_development_dependency 'rake', '~> 10.0'
33
33
  spec.add_development_dependency 'rspec', '~> 3.0'
34
- spec.add_development_dependency 'rubocop', '~> 0'
34
+ spec.add_development_dependency "rubocop", ">= 0.74.0"
35
35
  spec.add_development_dependency 'rubocop-rspec', '~> 1'
36
36
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class FastIgnore
4
- VERSION = '0.3.0'
4
+ VERSION = '0.3.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fast_ignore
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dana Sherson
@@ -70,16 +70,16 @@ dependencies:
70
70
  name: rubocop
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - "~>"
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
- version: '0'
75
+ version: 0.74.0
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - "~>"
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
- version: '0'
82
+ version: 0.74.0
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rubocop-rspec
85
85
  requirement: !ruby/object:Gem::Requirement