svn_hooks 0.0.3 → 0.0.4

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.
data/lib/svn_stat.rb CHANGED
@@ -1,3 +1,4 @@
1
+ # Details about the commit in question
1
2
  require 'svn_file_stat'
2
3
 
3
4
  module SVN
@@ -5,11 +6,9 @@ module SVN
5
6
  attr_reader :repository_path, :revision, :event
6
7
 
7
8
  def initialize repository_path, revision_number = nil
8
- @revision = revision_number || svnlook(youngest)
9
+ @revision = revision_number || svnlook('youngest')
9
10
  @repository_path = repository_path
10
11
  @event = SVN_EVENT
11
-
12
- @svnlook_path = `which svnlook`.chomp
13
12
  end
14
13
 
15
14
  def author
@@ -40,7 +39,7 @@ module SVN
40
39
  end
41
40
 
42
41
  def svnlook query
43
- `#{@svnlook_path} #{query} #{@repository_path} #{revision_string}`.chomp
42
+ `#{SVN_LOOK} #{query} #{@repository_path} #{revision_string}`.chomp
44
43
  end
45
44
  end
46
45
  end
metadata CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.9.4
3
3
  specification_version: 1
4
4
  name: svn_hooks
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.0.3
6
+ version: 0.0.4
7
7
  date: 2007-11-25 00:00:00 -08:00
8
8
  summary: svn_hooks
9
9
  require_paths:
@@ -12,7 +12,7 @@ require_paths:
12
12
  - lib
13
13
  email: grijalva@gmail.com
14
14
  homepage: http://rubyforge.org/projects/svn-hooks/
15
- rubyforge_project:
15
+ rubyforge_project: svn-hooks
16
16
  description: A domain specific language for implementing svn repository hooks in Ruby.
17
17
  autorequire:
18
18
  - svn_stat
@@ -21,7 +21,7 @@ autorequire:
21
21
  - svn_dsl
22
22
  default_executable:
23
23
  bindir: bin
24
- has_rdoc: false
24
+ has_rdoc: true
25
25
  required_ruby_version: !ruby/object:Gem::Version::Requirement
26
26
  requirements:
27
27
  - - ">"
@@ -40,13 +40,44 @@ files:
40
40
  - lib/svn_hooks.rb
41
41
  - lib/svn_stat.rb
42
42
  - README
43
+ - doc/classes/Regexp.html
44
+ - doc/classes/Regexp.src
45
+ - doc/classes/Regexp.src/M000001.html
46
+ - doc/classes/SVN/DSL.html
47
+ - doc/classes/SVN/DSL.src
48
+ - doc/classes/SVN/DSL.src/M000002.html
49
+ - doc/classes/SVN/DSL.src/M000004.html
50
+ - doc/classes/SVN/FileStat.html
51
+ - doc/classes/SVN/FileStat.src
52
+ - doc/classes/SVN/FileStat.src/M000011.html
53
+ - doc/classes/SVN/FileStat.src/M000012.html
54
+ - doc/classes/SVN/FileStat.src/M000013.html
55
+ - doc/classes/SVN/Stat.html
56
+ - doc/classes/SVN/Stat.src
57
+ - doc/classes/SVN/Stat.src/M000006.html
58
+ - doc/classes/SVN/Stat.src/M000007.html
59
+ - doc/classes/SVN/Stat.src/M000008.html
60
+ - doc/classes/SVN/Stat.src/M000009.html
61
+ - doc/classes/SVN/Stat.src/M000010.html
62
+ - doc/classes/SVN.html
63
+ - doc/created.rid
64
+ - doc/files/lib/svn_dsl_rb.html
65
+ - doc/files/lib/svn_file_stat_rb.html
66
+ - doc/files/lib/svn_hooks_rb.html
67
+ - doc/files/lib/svn_stat_rb.html
68
+ - doc/files/README.html
69
+ - doc/fr_class_index.html
70
+ - doc/fr_file_index.html
71
+ - doc/fr_method_index.html
72
+ - doc/index.html
73
+ - doc/rdoc-style.css
43
74
  test_files:
44
75
  - test/svn_hooks_test.rb
45
76
  - test/test_helper.rb
46
77
  rdoc_options: []
47
78
 
48
- extra_rdoc_files: []
49
-
79
+ extra_rdoc_files:
80
+ - README
50
81
  executables:
51
82
  - svn_rubyhooks
52
83
  extensions: []