classifieds 0.2.2 → 0.2.3

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
  SHA1:
3
- metadata.gz: d6d409658285a51984fa62c9c70833593f6ec516
4
- data.tar.gz: 3245625b00c570c2e0f5532b49d453bcc44cdad6
3
+ metadata.gz: 9a16234fab1931047beac73eb8b3f11c4db7ecf4
4
+ data.tar.gz: e53323aee4d7707d55e1523f7b7a362e83add621
5
5
  SHA512:
6
- metadata.gz: 47fb6152fb475e202712ed4dda885c0c334134680ea3d9e6ced9f481453d858e43622b58ed967772c4e2bf87bb48644ee9dc6369a93b32880316cd20954e3847
7
- data.tar.gz: 5df1af17642507a30ecad363ae0fe4d39e4a8a7b88ea9e5fabdfff7f5ebcc279f17b1878af3afb1f296fa5221a54eca65469a1a4a8e8f2080bb00de7cbb401fd
6
+ metadata.gz: e4445650f29ee0fdb032ec11092d5a8750faf878bfe576eaabd6eddd7860c41813fea0ace3ed95178e661c5a6ee9de17e1c4939e809102fb0335d5a5dcd2168b
7
+ data.tar.gz: 3c86bd19806f5e72f4536a215a9a7937bfbfdfd6e8facae57998f1ccfe10a24496199d4899c94ac4a17aead00930014dc5da04190975a6ff45462f3d255dd23f
@@ -178,8 +178,8 @@ module Classifieds
178
178
  target_directory = File.expand_path(Dir.pwd)
179
179
  until target_directory == '/' do
180
180
  Find.find(target_directory) do |path|
181
+ return target_directory if path =~ /#{Regexp.escape(SOURCE_FILE)}$/
181
182
  Find.prune if path =~ %r|^#{target_directory}/|
182
- return target_directory if path =~ /#{SOURCE_FILE}$/
183
183
  end
184
184
  target_directory = File.expand_path('..', target_directory)
185
185
  end
@@ -1,3 +1,3 @@
1
1
  module Classifieds
2
- VERSION = '0.2.2'
2
+ VERSION = '0.2.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: classifieds
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - kaihar4