artifacts 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/artifacts.rb +0 -4
- data/lib/artifacts/executable.rb +1 -1
- data/lib/artifacts/version.rb +1 -1
- metadata +5 -5
data/lib/artifacts.rb
CHANGED
@@ -11,16 +11,12 @@ require 'artifacts/comment'
|
|
11
11
|
class Artifacts
|
12
12
|
|
13
13
|
FILENAME = '.artifacts'
|
14
|
-
REPOSITORY_DIRECTORIES = %w|.git _darcs|
|
15
14
|
|
16
15
|
def self.guess_path
|
17
16
|
directory = Dir.pwd
|
18
17
|
until directory.empty? do
|
19
18
|
path = File.join( directory, FILENAME )
|
20
19
|
return directory if File.exists?( path )
|
21
|
-
REPOSITORY_DIRECTORIES.each do |repo|
|
22
|
-
return directory if File.exists?( File.join( directory, repo ) )
|
23
|
-
end
|
24
20
|
previous_directory = directory
|
25
21
|
directory = File.join( File.split( directory )[0..-2] )
|
26
22
|
break if directory == previous_directory
|
data/lib/artifacts/executable.rb
CHANGED
data/lib/artifacts/version.rb
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 2
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 2.0.
|
8
|
+
- 1
|
9
|
+
version: 2.0.1
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Clive Crous
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2011-02-
|
17
|
+
date: 2011-02-14 00:00:00 +02:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -114,7 +114,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
114
114
|
requirements:
|
115
115
|
- - ">="
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
hash:
|
117
|
+
hash: 517004353
|
118
118
|
segments:
|
119
119
|
- 0
|
120
120
|
version: "0"
|
@@ -123,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
123
123
|
requirements:
|
124
124
|
- - ">="
|
125
125
|
- !ruby/object:Gem::Version
|
126
|
-
hash:
|
126
|
+
hash: 517004353
|
127
127
|
segments:
|
128
128
|
- 0
|
129
129
|
version: "0"
|