MarketRubyGems
Company Profile

RubyGems

RubyGems is a package manager for the Ruby programming language that provides a standard format for distributing Ruby programs and libraries, a tool designed to easily manage the installation of gems, and a server for distributing them. It was created by Chad Fowler, Jim Weirich, David Alan Black, Paul Brannan and Richard Kilmer in 2004.

History
Development on RubyGems started in November 2003 and was released to the public on March 14, 2004, or Pi Day 2004. It was created by Chad Fowler, Jim Weirich, David Alan Black, Paul Brannan and Richard Kilmer during RubyConf 2004. These compatibility issues led to a rapid development of RubyGems, switching to a 4–6 week release schedule, and more version releases. There were 117 releases from 2011 to 2016. 45 versions were released in 2013, which is the highest number of releases in a year for RubyGems. == Structure of a gem ==
Structure of a gem
Every gem contains a name, version and platform. Gems work only on ruby designed for a particular platform based on CPU architecture and operating-system type and version. Each gem consists of: • Code • Documentation • Gem specification (Gemspec) The code organization follows the following structure for a gem called gem_name: gem_name/ ├── bin/ │ └── gem_name ├── lib/ │ └── gem_name.rb ├── test/ │ └── test_gem_name.rb ├── README ├── Rakefile └── gem_name.gemspec • The lib directory contains the code for the gem. • The test (or spec) directory is used for testing. • Rakefile is used by Rake to automate tests and to generate code. • README includes the documentation, RDOC, for most gems. • Gem specification (gemspec) contains information about the author of the gem, the time of creation and the purpose the gem serves. ==Security concerns==
Security concerns
Since gems run their own code in an application it may lead to various security issues due to installation of malicious gems. The creator of a malicious gem may be able to compromise the user's system or server. A number of methods have been developed to counter the security threat: • Cryptographic signing of gems since RubyGems version 0.8.11. The gem cert and gem install commands are used for this purpose. • New signing models such as X509 and OpenPGP have been proposed and are actively being discussed among Ruby experts. == See also ==
tickerdossier.comtickerdossier.substack.com