Commit graph

3 commits

Author SHA1 Message Date
Jeff McCune
77b883cae1 Update gemspec, CHANGELOG, Modulefile for 4.0.1 2013-04-11 14:31:29 -07:00
Jeff McCune
475e29f698 Update gemspec for 4.0.0 2013-04-11 14:14:02 -07:00
Jeff McCune
e81a45ee00 (maint) Make stdlib usable as a Ruby GEM
Without this patch it is inconvenient to use the functions included in
stdlib in a development setting.  The Puppet modulepath must be
explicitly set for the functions to be automatically loaded.

This patch addresses the problem by adding a gem specification and
dependency Gemfile.  This makes it possible to directly use stdlib and
all of the components it depends upon, like so:

    $ bundle install --path .bundle/gems/
    $ bundle exec puppet apply -e 'notice count([1, 2, 3])'

The first command will install all of the dependencies, including Puppet
and Facter, into the local project directory.  The second command will
make stdlib avaialable as a Gem, which will be picked up by Puppet since
(#7788) was merged into Puppet in the 3.0 release.
2013-04-10 14:35:42 -07:00