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 +4 -4
- data/lib/classifieds/main.rb +1 -1
- data/lib/classifieds/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9a16234fab1931047beac73eb8b3f11c4db7ecf4
|
|
4
|
+
data.tar.gz: e53323aee4d7707d55e1523f7b7a362e83add621
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e4445650f29ee0fdb032ec11092d5a8750faf878bfe576eaabd6eddd7860c41813fea0ace3ed95178e661c5a6ee9de17e1c4939e809102fb0335d5a5dcd2168b
|
|
7
|
+
data.tar.gz: 3c86bd19806f5e72f4536a215a9a7937bfbfdfd6e8facae57998f1ccfe10a24496199d4899c94ac4a17aead00930014dc5da04190975a6ff45462f3d255dd23f
|
data/lib/classifieds/main.rb
CHANGED
|
@@ -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
|
data/lib/classifieds/version.rb
CHANGED