diff options
| author | Tomoyuki Sahara <[email protected]> | 2013-07-23 10:09:24 +0900 |
|---|---|---|
| committer | Tomoyuki Sahara <[email protected]> | 2013-07-23 10:09:24 +0900 |
| commit | 116f75a8ce9d5d11d41268ecc95863f4e10f2729 (patch) | |
| tree | 665659d4587a72f85e5a0cb975a16fcbc7fc4565 /doc | |
| parent | e8df8dcae673cbe4c616d8d44b77d0aeb30f16e4 (diff) | |
| download | mruby-116f75a8ce9d5d11d41268ecc95863f4e10f2729.tar.gz mruby-116f75a8ce9d5d11d41268ecc95863f4e10f2729.zip | |
"spec.author" is better for single-author gems.
"spec.author=" expects a String represents a single author.
"spec.authors=" expects an Array which is a list of multiple authors.
http://guides.rubygems.org/specification-reference/
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/mrbgems/README.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/mrbgems/README.md b/doc/mrbgems/README.md index 1062adc6b..07f7002fb 100644 --- a/doc/mrbgems/README.md +++ b/doc/mrbgems/README.md @@ -99,7 +99,7 @@ GEM directory. A typical GEM specification could look like this for example: MRuby::Gem::Specification.new('c_and_ruby_extension_example') do |spec| spec.license = 'MIT' - spec.authors = 'mruby developers' + spec.author = 'mruby developers' end The mrbgems build process will use this specification to compile Object and Ruby @@ -124,7 +124,7 @@ In case your GEM is depending on other GEMs please use MRuby::Gem::Specification.new('c_and_ruby_extension_example') do |spec| spec.license = 'MIT' - spec.authors = 'mruby developers' + spec.author = 'mruby developers' # add GEM dependency mruby-parser. # Version has to be between 1.0.0 and 1.5.2 |
