-
Notifications
You must be signed in to change notification settings - Fork 7
/
grack.gemspec
88 lines (85 loc) · 3.53 KB
/
grack.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
Gem::Specification.new do |s|
s.name = 'grack'
s.version = '0.1.1'
s.platform = Gem::Platform::RUBY
s.authors = ['Scott Chacon', 'Dawa Ometto', 'Jeremy Bopp']
s.email =
s.homepage = 'https://github.com/grackorg/grack'
s.license = 'MIT'
s.summary = <<-EOS
This project aims to replace the builtin git-http-backend CGI handler
distributed with C Git with a Rack application.
EOS
s.description = <<-EOD
This project aims to replace the builtin git-http-backend CGI handler
distributed with C Git with a Rack application. By default, Grack uses calls to
git on the system to implement Smart HTTP. Since the git-http-backend is really
just a simple wrapper for the upload-pack and receive-pack processes with the
'--stateless-rpc' option, this does not actually re-implement very much.
However, it is possible to use a different backend by specifying a different
Adapter.
EOD
s.add_dependency('rack')
s.add_development_dependency('rake', '>= 12.3.3', '~> 12.3.3')
s.add_development_dependency('rack-test', '~> 0.6', '>= 0.6.3')
s.add_development_dependency('minitest', '~> 5.8', '>= 5.8.0')
s.add_development_dependency('mocha', '~> 1.1', '>= 1.1.0')
s.add_development_dependency('simplecov', '~> 0.10', '>= 0.10.0')
s.add_development_dependency('yard', '~> 0.9.24')
s.add_development_dependency('redcarpet', '~> 3.1', '>= 3.1.0')
s.add_development_dependency('github-markup', '~> 1.0', '>= 1.0.2')
s.add_development_dependency('pry', '~> 0')
# Explicitly list all non-test files that should be included into the gem
# here. This and the test_files list will be compared against an
# automatically generated list by rake to identify files potentially missed by
# inclusion or exclusion rules.
s.files = %w(
.travis.yml
.yardopts
LICENSE
NEWS.md
README.md
Rakefile
lib/git_adapter.rb
lib/grack.rb
lib/grack/app.rb
lib/grack/file_streamer.rb
lib/grack/git_adapter.rb
lib/grack/io_streamer.rb
)
# Explicitly list all test files that should be included into the gem here.
s.test_files = %w(
tests/app_test.rb
tests/example/_git/COMMIT_EDITMSG
tests/example/_git/HEAD
tests/example/_git/config
tests/example/_git/description
tests/example/_git/hooks/applypatch-msg.sample
tests/example/_git/hooks/commit-msg.sample
tests/example/_git/hooks/post-commit.sample
tests/example/_git/hooks/post-receive.sample
tests/example/_git/hooks/post-update.sample
tests/example/_git/hooks/pre-applypatch.sample
tests/example/_git/hooks/pre-commit.sample
tests/example/_git/hooks/pre-rebase.sample
tests/example/_git/hooks/prepare-commit-msg.sample
tests/example/_git/hooks/update.sample
tests/example/_git/index
tests/example/_git/info/exclude
tests/example/_git/info/refs
tests/example/_git/logs/HEAD
tests/example/_git/logs/refs/heads/master
tests/example/_git/objects/31/d73eb4914a8ddb6cb0e4adf250777161118f90
tests/example/_git/objects/cb/067e06bdf6e34d4abebf6cf2de85d65a52c65e
tests/example/_git/objects/ce/013625030ba8dba906f756967f9e9ca394464a
tests/example/_git/objects/info/packs
tests/example/_git/objects/pack/pack-62c9f443d8405cd6da92dcbb4f849cc01a339c06.idx
tests/example/_git/objects/pack/pack-62c9f443d8405cd6da92dcbb4f849cc01a339c06.pack
tests/example/_git/refs/heads/master
tests/file_streamer_test.rb
tests/git_adapter_test.rb
tests/io_streamer_test.rb
tests/test_helper.rb
)
end