fast_ignore 0.4.0 → 0.4.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: 7129d0d60e64bc8b51ab8facc44ddba880dcdf826827a740e813505ac6ce44f1
4
- data.tar.gz: 38006fd4177cbed4e0d8680a151b1ade36baf50e3ab3d3048059537a5c714bba
3
+ metadata.gz: e04a993446a5adf5f369e13852771d66abd503187742c80898e811124529a866
4
+ data.tar.gz: b2bd89f8e2430fa28b7c9930f10eadabafd81dfd49bc89daf8531a0ca2612351
5
5
  SHA512:
6
- metadata.gz: 9ccace7734a566cbaee998a5fc44e646aa166fdd62929f79073d11b4062ec2d2cebebbfd6bfa59872e3e88f8c06c46bbb6a02aaa4a6b74411618875c4f2ccd7e
7
- data.tar.gz: 90d37e05acfe7d6c0dedf4e28b76b631c121a190b8499daa8b620538b7e682637dc1b55b29a7efb8e98af687077fc4e766b5096455109cc4008dd1feff024059
6
+ metadata.gz: 7c575e2da6d571adf99e9d969627c52745e8d6c4708405890dd183a8a6ebb5e92456a4c51dc0a39f88ede5d9d819b64f9feeed2f3c0db8b426a946ec12df169b
7
+ data.tar.gz: 6befd0197a2f56029937bf67956c31aa1d2084559fcef44ca6b9ecec75a4a44cf49df1407f07555f4079dbed53d261a4a322bdcd171b692ef6995e684c6a3edd
@@ -1,3 +1,6 @@
1
+ # v0.4.1
2
+ - oops i did a regexp wrong
3
+
1
4
  # v0.4.0
2
5
  - include_rules support
3
6
  - to make room for this, `:rules` and `:files` keyword arguments are deprecated.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fast_ignore (0.4.0)
4
+ fast_ignore (0.4.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -91,7 +91,7 @@ class FastIgnore
91
91
  private
92
92
 
93
93
  def expand_path(root)
94
- @rule = ::File.expand_path(@rule).delete_prefix(root) if @rule.match?(%r{^(?:[~/]|..?/)})
94
+ @rule = ::File.expand_path(@rule).delete_prefix(root) if @rule.match?(%r{^(?:[~/]|\.{1,2}/)})
95
95
  end
96
96
 
97
97
  def prefix
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class FastIgnore
4
- VERSION = '0.4.0'
4
+ VERSION = '0.4.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.4.0
4
+ version: 0.4.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: 2019-10-05 00:00:00.000000000 Z
11
+ date: 2019-10-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler