artifacts 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
@@ -136,7 +136,7 @@ class Artifacts
136
136
  @artifacts.each do |artifact|
137
137
  Comment.create( artifact, author, text )
138
138
  end
139
- puts "Commends added to:"
139
+ puts "Comments added to:"
140
140
  list
141
141
  end
142
142
 
@@ -1,3 +1,3 @@
1
1
  class Artifacts
2
- VERSION = "2.0.0"
2
+ VERSION = "2.0.1"
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 2
7
7
  - 0
8
- - 0
9
- version: 2.0.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-13 00:00:00 +02:00
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: 678615055
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: 678615055
126
+ hash: 517004353
127
127
  segments:
128
128
  - 0
129
129
  version: "0"