-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathbit-struct.gemspec
More file actions
31 lines (28 loc) · 1.05 KB
/
bit-struct.gemspec
File metadata and controls
31 lines (28 loc) · 1.05 KB
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
# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib/', __FILE__)
$:.unshift lib unless $:.include?(lib)
require 'bit-struct'
Gem::Specification.new do |s|
s.name = "bit-struct"
s.version = BitStruct::VERSION
s.required_rubygems_version = Gem::Requirement.new(">= 0")
s.authors = ["Joel VanderWerf"]
s.date = Time.now.strftime "%Y-%m-%d"
s.description = "Library for packed binary data stored in ruby Strings. Useful for accessing fields in network packets and binary files."
s.email = "[email protected]"
s.extra_rdoc_files = ["History.txt", "README.md", "LICENSE"]
s.files = Dir[
"History.txt", "README.md", "LICENSE", "Rakefile",
"lib/**/*.rb",
"examples/*.{rb,txt}",
"test/*.rb"
]
s.test_files = Dir["test/*.rb"]
s.homepage = "https://github.com/vjoel/bit-struct"
s.license = "Ruby"
s.rdoc_options = [
"--quiet", "--line-numbers", "--inline-source",
"--title", "BitStruct", "--main", "README.md"]
s.require_paths = ["lib"]
s.summary = "Library for packed binary data stored in ruby Strings"
end