|
1 | 1 | $LOAD_PATH.unshift '.' |
2 | 2 | require 'lib/email_reply_parser' |
3 | 3 |
|
4 | | -## This is the rakegem gemspec template. Make sure you read and understand |
5 | | -## all of the comments. Some sections require modification, and others can |
6 | | -## be deleted if you don't need them. Once you understand the contents of |
7 | | -## this file, feel free to delete any comments that begin with two hash marks. |
8 | | -## You can find comprehensive Gem::Specification documentation, at |
9 | | -## http://docs.rubygems.org/read/chapter/20 |
10 | 4 | Gem::Specification.new do |s| |
11 | 5 | s.specification_version = 2 if s.respond_to? :specification_version= |
12 | 6 | s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= |
13 | 7 | s.rubygems_version = '1.3.5' |
14 | 8 | s.license = 'MIT' |
15 | 9 |
|
16 | | - ## Leave these as is they will be modified for you by the rake gemspec task. |
17 | | - ## If your rubyforge_project name is different, then edit it and comment out |
18 | | - ## the sub! line in the Rakefile |
19 | 10 | s.name = 'email_reply_parser' |
20 | 11 | s.version = EmailReplyParser::VERSION |
21 | 12 | s.date = Time.now.strftime('%Y-%m-%d') |
22 | | - s.rubyforge_project = 'email_reply_parser' |
23 | 13 |
|
24 | | - ## Make sure your summary is short. The description may be as long |
25 | | - ## as you like. |
26 | | - s.summary = "Short description used in Gem listings." |
27 | | - s.description = "Long description. Maybe copied from the README." |
| 14 | + s.summary = "EmailReplyParser is a small library to parse plain text " \ |
| 15 | + "email content." |
| 16 | + s.description = "EmailReplyParser is a small library to parse plain text " \ |
| 17 | + "email content. This is what GitHub uses to display comments " \ |
| 18 | + "that were created from email replies." |
28 | 19 |
|
29 | | - ## List the primary authors. If there are a bunch of authors, it's probably |
30 | | - ## better to set the email to an email list or something. If you don't have |
31 | | - ## a custom homepage, consider using your GitHub URL or the like. |
32 | 20 | s.authors = ["Rick Olson"] |
33 | 21 | s.email = 'technoweenie@gmail.com' |
34 | 22 | s.homepage = 'http://github.com/github/email_reply_parser' |
35 | 23 |
|
36 | | - ## This gets added to the $LOAD_PATH so that 'lib/NAME.rb' can be required as |
37 | | - ## require 'NAME.rb' or'/lib/NAME/file.rb' can be as require 'NAME/file.rb' |
38 | 24 | s.require_paths = %w[lib] |
39 | 25 |
|
40 | | - ## This sections is only necessary if you have C extensions. |
41 | | - #s.require_paths << 'ext' |
42 | | - #s.extensions = %w[ext/extconf.rb] |
43 | | - |
44 | | - ## If your gem includes any executables, list them here. |
45 | | - #s.executables = ["name"] |
46 | | - #s.default_executable = 'name' |
47 | | - |
48 | | - ## Specify any RDoc options here. You'll want to add your README and |
49 | | - ## LICENSE files to the extra_rdoc_files list. |
50 | 26 | s.rdoc_options = ["--charset=UTF-8"] |
51 | 27 | s.extra_rdoc_files = %w[README.md LICENSE] |
52 | 28 |
|
53 | | - ## List your runtime dependencies here. Runtime dependencies are those |
54 | | - ## that are needed for an end user to actually USE your code. |
55 | 29 | #s.add_dependency('DEPNAME', [">= 1.1.0", "< 2.0.0"]) |
56 | 30 |
|
57 | | - ## List your development dependencies here. Development dependencies are |
58 | | - ## those that are only needed during development |
59 | 31 | #s.add_development_dependency('DEVDEPNAME', [">= 1.1.0", "< 2.0.0"]) |
60 | 32 |
|
61 | 33 | ## Leave this section as-is. It will be automatically generated from the |
@@ -94,8 +66,5 @@ Gem::Specification.new do |s| |
94 | 66 | ] |
95 | 67 | # = MANIFEST = |
96 | 68 |
|
97 | | - ## Test files will be grabbed from the file list. Make sure the path glob |
98 | | - ## matches what you actually use. |
99 | 69 | s.test_files = s.files.select { |path| path =~ /^test\/.*_test\.rb/ } |
100 | 70 | end |
101 | | - |
0 commit comments