-
Notifications
You must be signed in to change notification settings - Fork 18
/
bencode.gemspec
62 lines (54 loc) · 1.87 KB
/
bencode.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
Gem::Specification.new do |s|
s.specification_version = 2 if s.respond_to? :specification_version=
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.rubygems_version = '1.3.5'
## Leave these as is they will be modified for you by the rake gemspec task.
## If your rubyforge_project name is different, then edit it and comment out
## the sub! line in the Rakefile
s.name = 'bencode'
s.version = '1.0.0'
s.date = '2024-08-12'
s.summary = "Encode and decode bencoded data"
s.description = "A simple encoder and decoder for the BitTorrent serialization format."
s.authors = ["Daniel Schierbeck"]
s.email = "daniel.schierbeck@gmail.com"
s.homepage = "http://github.com/dasch/ruby-bencode"
s.license = 'MIT'
s.require_paths = %w[lib]
s.rdoc_options = ["--charset=UTF-8"]
s.extra_rdoc_files = %w[README.md LICENSE]
s.add_development_dependency('rdoc')
s.add_development_dependency('rake')
s.add_development_dependency('minitest')
s.add_development_dependency('shoulda')
# = MANIFEST =
s.files = %w[
Gemfile
LICENSE
README.md
Rakefile
bencode.gemspec
lib/bencode.rb
lib/bencode/core_ext/array.rb
lib/bencode/core_ext/hash.rb
lib/bencode/core_ext/integer.rb
lib/bencode/core_ext/io.rb
lib/bencode/core_ext/object.rb
lib/bencode/core_ext/string.rb
lib/bencode/decode.rb
lib/bencode/parser.rb
test/benchmark/decoding.rb
test/benchmark/encoding.rb
test/bittorrent_test.rb
test/decoding_test.rb
test/encoding_test.rb
test/environment.rb
test/fixtures/python.torrent
test/fixtures/test.torrent
test/shoulda_macros/decoding.rb
test/shoulda_macros/encoding.rb
test/utf8_decoding_test.rb
]
# = MANIFEST =
s.test_files = s.files.select { |path| path =~ /^test\/test_.*\.rb/ }
end