pathutil 0.7.0 → 0.8.0

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
  SHA1:
3
- metadata.gz: 6b0296ccfb61a8b376943ff027b07020ae2aa277
4
- data.tar.gz: 9dc9b709a51f21fb3fa0f9a2ea8830f85b88b4d7
3
+ metadata.gz: 10eb85d7db5342ac2978cd159221524b1cead985
4
+ data.tar.gz: deac9b9124bf459d5b9e1bea70fdd006b45a8d65
5
5
  SHA512:
6
- metadata.gz: e0d87dce8eb3753bbe1758b128f91ed1316aa15eb5dfe5ccc93351cc097205eac31fbf29ec43472e3e87704b06e7e863a1283575be6b0c5050eb88096212b171
7
- data.tar.gz: ba0fcc18801dc104621d3149df0fcc370ebfef24b471384071b5badb6b189bdb6a5ad82a6ffebd0504d065c5b83ccfc175669d617b861d66f1d651f1d6eb99a7
6
+ metadata.gz: 6ee563e008813fcc79818215a071fd224a372a16bb52973e8c5596508ec5b8081e73a8912e7af1f12722eee3070d1b427e653c70e065a3838e5266c8a85c72d2
7
+ data.tar.gz: 4f443a490e076c9a03d110b7968d5900873bae36ccd4ce8df2b2e545e3f130c37d7b2aeddd013ec32a2d5bde36f006b7da0262cf77f5cb14aec29fe78e8900b9
data/lib/pathutil.rb CHANGED
@@ -238,7 +238,7 @@ class Pathutil
238
238
 
239
239
  def fnmatch?(matcher)
240
240
  matcher.is_a?(Regexp) ? !!(self =~ matcher) : \
241
- File.fnmatch(self, matcher)
241
+ File.fnmatch(matcher, self)
242
242
  end
243
243
 
244
244
  # --------------------------------------------------------------------------
@@ -5,5 +5,5 @@
5
5
  # ----------------------------------------------------------------------------
6
6
 
7
7
  class Pathutil
8
- VERSION = "0.7.0"
8
+ VERSION = "0.8.0"
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pathutil
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jordon Bedwell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-07 00:00:00.000000000 Z
11
+ date: 2016-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: forwardable-extended
@@ -57,7 +57,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
57
57
  version: '0'
58
58
  requirements: []
59
59
  rubyforge_project:
60
- rubygems_version: 2.6.2
60
+ rubygems_version: 2.6.3
61
61
  signing_key:
62
62
  specification_version: 4
63
63
  summary: Almost like Pathname but just a little less insane.