fast_ignore 0.15.0 → 0.15.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f96030c8670a5d709139689212b3a78a0eb0b5266cbd0057954863ae89e11745
4
- data.tar.gz: a2815ec68f6c367a4450efce8799aa359adeee1ad1aaa971b589cd8612ddbb61
3
+ metadata.gz: 4899762ee54c59acb1fa001e7f36a3aada9299dd3896814def76605f1af88bb0
4
+ data.tar.gz: adec5396184fa9a6012c7292726783ea7c823866f7223894de6eec8c199b9679
5
5
  SHA512:
6
- metadata.gz: 5c22c6c79a6605473156a041d5ddb5b81f943605dc4360dd8577acd56718c928c106e044169b13bc73c7e884ffcc5516c7a6b5d6134fee9aaa4aa73d0178b791
7
- data.tar.gz: 1d165e44b50d9b1c301c5cad8ff3c443bfb2f9134be09e28a4e90539c960a269083485f6ff30bc6df6e2ec82347630187ebf0082cd2d06ba7416e9c70f37ea6f
6
+ metadata.gz: 664b6792d6205c3f15b3f0e045d01cff9540a6bf2b88e76ea10ea3b606cb9ba7d8be1ee48873bf96c162e8f1446fc93d491d01888410da8fb5d55fc26ae74290
7
+ data.tar.gz: 01fec165029777a3f0065a2362b1acba9ef9b745d53cb06c26760184597a1155a535e8c60c3b3879a5b09635ec6670bbfa49504285e740909d61e249d2556bcc
@@ -1,3 +1,6 @@
1
+ # v0.15.1
2
+ - Updated dependencies to allow running on ruby 3.0.0.preview1
3
+
1
4
  # v0.15.0
2
5
  - fixed a handful of character class edge cases to match git behavior
3
6
  - mostly ranges with - or / as one end of the range
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # FastIgnore
2
2
 
3
- [![travis](https://travis-ci.com/robotdana/fast_ignore.svg?branch=master)](https://travis-ci.com/robotdana/fast_ignore)
3
+ [![travis](https://travis-ci.com/robotdana/fast_ignore.svg?branch=main)](https://travis-ci.com/robotdana/fast_ignore)
4
4
  [![Gem Version](https://badge.fury.io/rb/fast_ignore.svg)](https://rubygems.org/gems/fast_ignore)
5
5
 
6
6
  This started as a way to quickly and natively ruby-ly parse gitignore files and find matching files.
@@ -15,7 +15,7 @@ FastIgnore.new(relative: true).sort == `git ls-files`.split("\n").sort
15
15
  ## Features
16
16
 
17
17
  - Fast (faster than using `` `git ls-files`.split("\n") `` for small repos (because it avoids the overhead of ``` `` ```))
18
- - Supports ruby 2.4-2.7 & jruby
18
+ - Supports ruby 2.4-3.0.0.preview1 & jruby
19
19
  - supports all [gitignore rule patterns](https://git-scm.com/docs/gitignore#_pattern_format)
20
20
  - doesn't require git to be installed
21
21
  - supports a gitignore-esque "include" patterns. ([`include_rules:`](#include_rules)/[`include_files:`](#include_files))
@@ -86,7 +86,7 @@ class FastIgnore
86
86
  @loaded_gitignore_files << parent_path
87
87
  end
88
88
 
89
- def each_recursive(parent_full_path, parent_relative_path, &block) # rubocop:disable Metrics/MethodLength, Metrics/AbcSize
89
+ def each_recursive(parent_full_path, parent_relative_path, &block) # rubocop:disable Metrics/MethodLength
90
90
  children = ::Dir.children(parent_full_path)
91
91
  load_gitignore(parent_relative_path, check_exists: false) if @gitignore_enabled && children.include?('.gitignore')
92
92
 
@@ -100,7 +100,7 @@ class FastIgnore
100
100
  end
101
101
  end
102
102
 
103
- def process_character_class # rubocop:disable Metrics/MethodLength, Metrics/AbcSize
103
+ def process_character_class # rubocop:disable Metrics/MethodLength
104
104
  return unless @s.character_class_start?
105
105
 
106
106
  @re.append_character_class_open
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class FastIgnore
4
- VERSION = '0.15.0'
4
+ VERSION = '0.15.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fast_ignore
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.15.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dana Sherson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-18 00:00:00.000000000 Z
11
+ date: 2020-10-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -86,28 +86,28 @@ dependencies:
86
86
  requirements:
87
87
  - - ">="
88
88
  - !ruby/object:Gem::Version
89
- version: 0.74.0
89
+ version: 0.93.1
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - ">="
95
95
  - !ruby/object:Gem::Version
96
- version: 0.74.0
96
+ version: 0.93.1
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: rubocop-rspec
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - "~>"
101
+ - - ">="
102
102
  - !ruby/object:Gem::Version
103
- version: '1'
103
+ version: 1.44.1
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - "~>"
108
+ - - ">="
109
109
  - !ruby/object:Gem::Version
110
- version: '1'
110
+ version: 1.44.1
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: simplecov
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -167,16 +167,16 @@ licenses:
167
167
  metadata:
168
168
  homepage_uri: https://github.com/robotdana/fast_ignore
169
169
  source_code_uri: https://github.com/robotdana/fast_ignore
170
- changelog_uri: https://github.com/robotdana/fast_ignore/blob/master/CHANGELOG.md
170
+ changelog_uri: https://github.com/robotdana/fast_ignore/blob/main/CHANGELOG.md
171
171
  post_install_message:
172
172
  rdoc_options: []
173
173
  require_paths:
174
174
  - lib
175
175
  required_ruby_version: !ruby/object:Gem::Requirement
176
176
  requirements:
177
- - - "~>"
177
+ - - ">="
178
178
  - !ruby/object:Gem::Version
179
- version: '2.4'
179
+ version: 2.4.0
180
180
  required_rubygems_version: !ruby/object:Gem::Requirement
181
181
  requirements:
182
182
  - - ">="