-
Notifications
You must be signed in to change notification settings - Fork 4
/
io-like.gemspec
114 lines (107 loc) · 3.03 KB
/
io-like.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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
# encoding: UTF-8
Gem::Specification.new do |s|
s.name = 'io-like'
s.version = '0.3.1'
s.licenses = ['MIT']
s.platform = Gem::Platform::RUBY
s.authors = [
'Jeremy Bopp',
'Jarred Holman',
'Grant Gardner',
'Jordan Pickwell'
]
s.email = %w(
)
s.homepage = 'http://github.com/javanthropus/io-like'
s.summary = 'A module which provides the functionality of an IO object to any including class which provides a couple of simple methods.'
s.description = <<-EOD
The IO::Like module provides all of the methods of typical IO implementations
such as File; most importantly the read, write, and seek series of methods. A
class which includes IO::Like needs to provide only a few methods in order to
enable the higher level methods. Buffering is automatically provided by default
for the methods which normally provide it in IO.
EOD
s.required_ruby_version = '>= 1.8.1'
s.add_development_dependency('rake', '~> 10.3')
s.add_development_dependency('mspec', '~> 1.5')
s.add_development_dependency('yard', '~> 0.8')
s.add_development_dependency('yard-redcarpet-ext', '~> 0.0')
s.add_development_dependency('github-markup', '~> 1.2')
if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('1.9.2')
s.add_development_dependency('redcarpet', '~> 3.1')
end
s.has_rdoc = true
s.extra_rdoc_files = %w(
LICENSE
LICENSE-rubyspec
NEWS.md
README.md
)
s.rdoc_options << '--title' << 'IO::Like Documentation' <<
'--charset' << 'utf-8' <<
'--line-numbers' << '--inline-source'
s.files = %w(
.yardopts
LICENSE
LICENSE-rubyspec
NEWS.md
README.md
Rakefile
lib/io/like.rb
)
s.test_files = %w(
ruby.1.8.mspec
spec/binmode_spec.rb
spec/close_read_spec.rb
spec/close_spec.rb
spec/close_write_spec.rb
spec/closed_spec.rb
spec/each_byte_spec.rb
spec/each_line_spec.rb
spec/each_spec.rb
spec/eof_spec.rb
spec/fixtures/classes.rb
spec/fixtures/gets.txt
spec/fixtures/numbered_lines.txt
spec/fixtures/one_byte.txt
spec/fixtures/paragraphs.txt
spec/fixtures/readlines.txt
spec/flush_spec.rb
spec/getc_spec.rb
spec/gets_spec.rb
spec/isatty_spec.rb
spec/lineno_spec.rb
spec/output_spec.rb
spec/pos_spec.rb
spec/print_spec.rb
spec/printf_spec.rb
spec/putc_spec.rb
spec/puts_spec.rb
spec/read_spec.rb
spec/readchar_spec.rb
spec/readline_spec.rb
spec/readlines_spec.rb
spec/readpartial_spec.rb
spec/rewind_spec.rb
spec/seek_spec.rb
spec/shared/each.rb
spec/shared/eof.rb
spec/shared/pos.rb
spec/shared/tty.rb
spec/shared/write.rb
spec/sync_spec.rb
spec/sysread_spec.rb
spec/sysseek_spec.rb
spec/syswrite_spec.rb
spec/tell_spec.rb
spec/to_io_spec.rb
spec/tty_spec.rb
spec/ungetc_spec.rb
spec/write_spec.rb
spec_helper.rb
)
end