gitrb 0.2.7 → 0.2.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1 @@
1
+ *.rbc
@@ -1,42 +1,24 @@
1
+ # -*- encoding: utf-8 -*-
2
+ require File.dirname(__FILE__) + "/lib/gitrb/version"
3
+ require 'date'
4
+
1
5
  Gem::Specification.new do |s|
2
6
  s.name = 'gitrb'
3
- s.version = '0.2.7'
7
+ s.version = Gitrb::VERSION
4
8
  s.summary = 'Pure ruby git implementation'
9
+ s.date = Date.today.to_s
5
10
  s.author = 'Daniel Mendler'
6
11
  s.email = 'mail@daniel-mendler.de'
7
12
  s.homepage = 'https://github.com/minad/gitrb'
8
13
  s.rubyforge_project = %q{gitrb}
9
14
  s.description = 'Fast and lightweight ruby git implementation'
10
- s.require_path = 'lib'
11
15
  s.has_rdoc = true
12
16
  s.extra_rdoc_files = ['README.md']
13
- s.files = %w{
14
- LICENSE
15
- README.md
16
- Rakefile
17
- gitrb.gemspec
18
- lib/gitrb.rb
19
- lib/gitrb/blob.rb
20
- lib/gitrb/commit.rb
21
- lib/gitrb/gitobject.rb
22
- lib/gitrb/pack.rb
23
- lib/gitrb/reference.rb
24
- lib/gitrb/repository.rb
25
- lib/gitrb/tag.rb
26
- lib/gitrb/tree.rb
27
- lib/gitrb/trie.rb
28
- lib/gitrb/user.rb
29
- lib/gitrb/util.rb
30
- lib/gitrb/version.rb
31
- test/bare_repository_test.rb
32
- test/benchmark.rb
33
- test/commit_test.rb
34
- test/helper.rb
35
- test/profile.rb
36
- test/repository_test.rb
37
- test/repository_init_test.rb
38
- test/trie_test.rb
39
- test/tree_test.rb
40
- }
17
+
18
+ s.files = `git ls-files`.split("\n")
19
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
20
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
21
+ s.require_paths = ["lib"]
22
+
41
23
  s.add_development_dependency('bacon')
42
24
  end
@@ -44,8 +44,7 @@ module Gitrb
44
44
  @logger = options[:logger] || Logger.new(nil)
45
45
  @encoding = options[:encoding] || DEFAULT_ENCODING
46
46
 
47
- @path = options[:path]
48
- @path.chomp!('/')
47
+ @path = options[:path].chomp('/')
49
48
  @path += '/.git' if !@bare
50
49
 
51
50
  check_git_version if !options[:ignore_version]
@@ -1,3 +1,3 @@
1
1
  module Gitrb
2
- VERSION = '0.2.7'
2
+ VERSION = '0.2.8'
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitrb
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 7
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 7
10
- version: 0.2.7
9
+ - 8
10
+ version: 0.2.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - Daniel Mendler
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-09-23 00:00:00 +02:00
18
+ date: 2010-11-08 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -41,6 +41,7 @@ extensions: []
41
41
  extra_rdoc_files:
42
42
  - README.md
43
43
  files:
44
+ - .gitignore
44
45
  - LICENSE
45
46
  - README.md
46
47
  - Rakefile
@@ -63,10 +64,10 @@ files:
63
64
  - test/commit_test.rb
64
65
  - test/helper.rb
65
66
  - test/profile.rb
66
- - test/repository_test.rb
67
67
  - test/repository_init_test.rb
68
- - test/trie_test.rb
68
+ - test/repository_test.rb
69
69
  - test/tree_test.rb
70
+ - test/trie_test.rb
70
71
  has_rdoc: true
71
72
  homepage: https://github.com/minad/gitrb
72
73
  licenses: []
@@ -101,5 +102,13 @@ rubygems_version: 1.3.7
101
102
  signing_key:
102
103
  specification_version: 3
103
104
  summary: Pure ruby git implementation
104
- test_files: []
105
-
105
+ test_files:
106
+ - test/bare_repository_test.rb
107
+ - test/benchmark.rb
108
+ - test/commit_test.rb
109
+ - test/helper.rb
110
+ - test/profile.rb
111
+ - test/repository_init_test.rb
112
+ - test/repository_test.rb
113
+ - test/tree_test.rb
114
+ - test/trie_test.rb