Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mruby
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
mruby
Commits
a26599b5
Commit
a26599b5
authored
Jun 22, 2014
by
Yukihiro "Matz" Matsumoto
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2413 from take-cheeze/summary_doc
Update documentation of `summary` property of mrbgem spec.
parents
c43afd68
ad74bf6d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
doc/mrbgems/README.md
doc/mrbgems/README.md
+5
-2
No files found.
doc/mrbgems/README.md
View file @
a26599b5
...
@@ -105,6 +105,7 @@ GEM directory. A typical GEM specification could look like this for example:
...
@@ -105,6 +105,7 @@ GEM directory. A typical GEM specification could look like this for example:
MRuby
::
Gem
::
Specification
.
new
(
'c_and_ruby_extension_example'
)
do
|
spec
|
MRuby
::
Gem
::
Specification
.
new
(
'c_and_ruby_extension_example'
)
do
|
spec
|
spec
.
license
=
'MIT'
spec
.
license
=
'MIT'
spec
.
author
=
'mruby developers'
spec
.
author
=
'mruby developers'
spec
.
summary
=
'Example mrbgem using C and ruby'
end
end
```
```
...
@@ -119,11 +120,13 @@ information purpose:
...
@@ -119,11 +120,13 @@ information purpose:
*
`spec.author`
or
`spec.authors`
(Developer name or a list of them)
*
`spec.author`
or
`spec.authors`
(Developer name or a list of them)
*
`spec.version`
(Current version)
*
`spec.version`
(Current version)
*
`spec.description`
(Detailed description)
*
`spec.description`
(Detailed description)
*
`spec.summary`
(Short summary)
*
`spec.summary`
*
One line short description of mrbgem.
*
Printed in build summary of rake when set.
*
`spec.homepage`
(Homepage)
*
`spec.homepage`
(Homepage)
*
`spec.requirements`
(External requirements as information for user)
*
`spec.requirements`
(External requirements as information for user)
The
license and author
properties are required in every GEM!
The
`license`
and
`author`
properties are required in every GEM!
In case your GEM is depending on other GEMs please use
In case your GEM is depending on other GEMs please use
`spec.add_dependency(gem, *requirements[, default_get_info])`
like:
`spec.add_dependency(gem, *requirements[, default_get_info])`
like:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment