right_data 0.5.22 → 0.5.23

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/main.rb +2 -2
  2. metadata +3 -3
data/lib/main.rb CHANGED
@@ -288,10 +288,10 @@ module RightData
288
288
  end
289
289
 
290
290
  # This is a weak check! Also does nothing to check one svn in another.
291
- def svn?(path)
291
+ def self.svn?(path)
292
292
  File.directory?(File.join(path, ".svn"))
293
293
  end
294
- def git?(path)
294
+ def self.git?(path)
295
295
  File.directory?(File.join(path, ".git"))
296
296
  end
297
297
  def self.scan_for_repos(prune, &block)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: right_data
3
3
  version: !ruby/object:Gem::Version
4
- hash: 39
4
+ hash: 37
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 22
10
- version: 0.5.22
9
+ - 23
10
+ version: 0.5.23
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jonathan Siegel