Commit Graph

483 Commits

Author SHA1 Message Date
Hailee Kenney 73518f9d41 (maint) Require rspec 3
Prior to this commit, the Gemfile did not specify an rspec version
but relied on methods that were only in rspec 3. In order to prevent
failures when running with versions older than 3, tie the specs to
3.1 or greater, which is what puppet does.
2016-04-25 16:45:52 -07:00
Kylo Ginsberg 7e3470f7cf Merge pull request #82 from HAIL9000/maint/master/remove_module_related_content
(maint) Remove module related content
2016-04-22 15:39:16 -07:00
Hailee Kenney 5b035398d5 Merge pull request #80 from dmitryilyin/master
Add Puppet type name in front of the provider name
2016-04-22 13:54:15 -07:00
Hailee Kenney 2aa821f0ce (maint) Remove module metadata
Since we're not releasing strings as a moudle anymore, remove the
module metadata.
2016-04-22 13:19:04 -07:00
Hailee Kenney b355e5d57d (maint) Update README to reflect lack of module
Update the README to reflect the fact that strings will not longer
be released as a forge module. Include a quick note to explain that
while the module is still available on the forge, that is not the
preferred method of installation because it will not be updated.
2016-04-22 13:18:58 -07:00
Dmitry Ilyin 432eed1469 Add Puppet type name in front of the provider name
It will prevent providers of different types but with
the same name from merging together.
For example:
type1:ruby
type2:ruby
type3:ruby
Will be different providers instead of the one "ruby" provider.
2016-04-06 13:18:40 +03:00
Bryan Jen 2b8b4a706b Merge pull request #79 from HAIL9000/maint/master/update_changelog_0.4.0
(maint) update changelog and module metadata
2016-03-30 10:24:17 -07:00
Hailee Kenney 2526bc1b03 (maint) Add upper bound to puppet version
Update the module metadata so that it has an upper bound of puppet
5.0.0.
2016-03-30 10:14:01 -07:00
Hailee Kenney 4b30bb90f8 (maint) Update CHANGELOG for 0.4.0 release 2016-03-30 10:13:56 -07:00
Hailee Kenney 94e4efa6fa (maint) Fix 'type_expr' typo
Fix a typo where we were calling 'pop_param.type_exp' when we meant
to call 'pop_param.type_expr'.
2016-03-29 11:36:21 -07:00
Kylo Ginsberg 015ce70f5a Merge pull request #78 from HAIL9000/maint/master/PDOC-70_update_rake_task_readme
(PDOC-70) Update rake task documentation
2016-03-25 09:52:41 -07:00
Kylo Ginsberg ffb387fec5 Merge pull request #76 from HAIL9000/maint/master/try_to_improve_travis
(maint) Don't install beaker for spec tests in travis
2016-03-25 09:52:17 -07:00
Kylo Ginsberg 32ce409e99 Merge pull request #74 from HAIL9000/maint/master/PDOC-74_deprecate_module
(PDOC-74) Deprecate module in favor of gem
2016-03-25 09:51:42 -07:00
Hailee Kenney 946cae44a0 (PDOC-70) Update rake task documentation
Prior to this commit, the rake task section of the README did not
reflect that strings:generate rake task would also create a strings.json
file. Update the README to include this detail.
2016-03-24 23:32:10 -07:00
Hailee Kenney 80e05bf6b1 Merge pull request #72 from garethr/output-json-from-rake-task
(PDOC-70) Always generate the JSON doc when running the rake task
2016-03-24 23:10:29 -07:00
Henrik Lindberg a3227b8b1f Merge pull request #77 from HAIL9000/issue/master/PDOC-75-strings_fails_with_puppet_4.4.0
(PDOC-75) Work with both versions of 'interpret_any'
2016-03-25 00:32:16 +01:00
Hailee Kenney 91b46be4ea (maint) Remove deprecated rspec method
Prior to this commit, strings relied on failure_message_for_should
which produced a deprecation warning. Use the suggested alternative
'failure_message' instead to removed the deprecation warning and
ensure the tests are up to date.
2016-03-24 16:01:21 -07:00
Hailee Kenney e541e7c027 (PDOC-75) Work with both versions of 'interpret_any'
Prior to this commit, strings would fail with puppet 4.4.0 and
newer. This was because strings was making use of a method that was
marked API private and thus subject to change. The method was changed
in 4.4.0 release of puppet to take two variables, meaning that strings
much adjust how it calls the method based on the version of puppet
it's running with.
2016-03-24 16:01:10 -07:00
Hailee Kenney 5d3f013d73 (maint) Don't install beaker for spec tests in travis
Prior to this commit, the beaker gem and all its dependencies were
being installed just to run spec tests. Excluding beaker when running
spec tests should make things go faster because we won't have to
install so many gems.
2016-03-22 11:23:12 -07:00
Hailee Kenney f6584bd8eb (maint) Update module version in metadata
Update the module metadata to reflect that this is the 0.4.0 release
of strings.
2016-03-16 15:07:21 -07:00
Hailee Kenney 3e56169d5e (PDOC-74) Update gemspec not to rely on metadata
Prior to this commit, the gemspec for strings relied on the module
metadata.json. Since we would ultimately like to stop releasing
strings as a module entirely, update the gemspec not to rely on the
module metadata so it is not broken when we ultimately remove it.
2016-03-16 15:07:15 -07:00
Hailee Kenney 0a4233614d (PDOC-74) Update README to reflect gem release
Since 0.4.0 will be the last version of strings released as a puppet
module, update the README to reflect the fact that this method of
distribution is deprecated and add a description of how to install
the Ruby gem version of strings.
2016-03-15 23:28:07 -07:00
Gareth Rushgrove 9160e6f970 (PDOC-70) Always generate the JSON doc when running the rake task
I'm super enthusiastic about the potential for folks to build things on
top of the JSON output, we've had several related conversations at
Config Management Camp and on puppet-dev recently. I think this is a
sane default, and calling the file strings.json seems a nice
reinforcement.
2016-03-13 12:15:03 +00:00
Hailee Kenney 678ba735e8 Merge pull request #71 from garethr/rake-file-fix
Fix issue running strings:generate without a yardopts file
2016-02-08 22:00:29 -08:00
Gareth Rushgrove 8bbbd7f698 Fix issue running strings:generate without a yardopts file
Without a .yardopts options array.pop is nil, and everything explodes
with an exception. Applying this patch allowed for running rake
strings:generate cleanly.

Note that this did not affect strings:serve.
2016-02-03 13:56:54 +01:00
Hailee Kenney 3a8067bad5 Merge pull request #70 from garethr/rake-task-documentation
(MAINT) Correct the link and task names for the Rake task
2015-12-17 11:27:29 -08:00
Gareth Rushgrove 31e154b83c (MAINT) Correct the link and task names for the Rake task 2015-12-16 10:52:01 +00:00
Henrik Lindberg 3c70b5d3d2 Merge pull request #69 from HAIL9000/issue/master/PDOC-58_strings_server_throws_exception
(maint) Fix ruby namespacing issue
2015-12-12 01:14:54 -08:00
Hailee Kenney 9e32817380 (maint) Fix ruby namespacing issue
Prior to this commit, strings would raise an error when the server
command was run against a module directory that contained the strings
module. This was due to the fact that we were trying to reference
the YARD namespace but our own namespace was being prepending to the
front, making Ruby think the two class were the same.

In order to stop this from happening, prepend a :: to the front of the
YARD version of the class to tell Ruby that we mean the YARD namespace.
2015-12-08 12:00:58 -08:00
Hailee Kenney eaddebbdc9 Merge pull request #68 from roidelapluie/accident
(maint) Delete .rb file that was probably commited by accident
2015-11-03 10:04:03 -08:00
Julien Pivotto a2e622d2aa (maint) Delete .rb file that was probably commited by accident
Extension of the file is .rb but should be .erb, so I guess thir file
was committed by accident.
2015-10-26 16:28:01 +01:00
Hailee Kenney 26a9d73ef2 Merge pull request #67 from roidelapluie/spdx
metadata.json: Use SPDX standardized short identifier for license
2015-10-20 08:35:22 -07:00
Julien Pivotto 7ccd8b2e92 metadata.json: Use SPDX standardized short identifier for license
This commit changes the metadata.json to use the
SPDX licence short identifier in the metadata.json.

SPDX is an effort from the Linux foundation to easily
parse and identify open-source licenses. Some tools
in the Puppet Ecosystem relies on those short
identifiers, like the metadata-json-lint project.

- https://spdx.org/licenses
- https://github.com/puppet-community/metadata-json-lint
2015-10-20 10:52:30 +02:00
Hailee Kenney 2deaee8431 Merge pull request #66 from HAIL9000/maint/master/update_readme
(maint) Make some small updates to the README
2015-10-19 13:04:36 -07:00
Hailee Kenney 0deed02353 (maint) Make some small updates to the README
Update the README so that it is accurate
2015-10-19 11:53:52 -07:00
Hailee Kenney 93f0dd923b Merge pull request #55 from iankronquist/emit-json-pdoc-23
(PDOC-23) Emit json
2015-10-19 08:07:21 -07:00
Ian Kronquist 86414df8de (PDOC-23) Polish JSON output command line behavior
Fix path where json is saved.
Suppress statistics when emitting json to stdout.
2015-10-16 15:50:04 -07:00
Ian Kronquist 0e1dbb17be (PDOC-23) Document JSON structure format 2015-10-16 15:50:04 -07:00
Ian Kronquist a9a387a05a (PDOC-23) Define JSON Structure for Puppet code 2015-10-16 15:50:04 -07:00
Ian Kronquist 0b0d3c9587 (PDOC-23) Add JSON Registry back end 2015-10-16 15:49:58 -07:00
Hailee Kenney d033183002 Merge pull request #54 from danzilio/gem
(PDOC-28) Make puppet strings available as a gem
2015-10-07 11:00:43 -07:00
Hailee Kenney 5206c8c62e Merge pull request #65 from puppetlabs/metadata_updates
make metadata match pmt output
2015-09-22 16:12:40 -07:00
Morgan Haskel 1078b72119 make metadata match pmt output 2015-09-22 16:11:16 -07:00
Morgan Haskel 336d8f2b26 Merge pull request #64 from HAIL9000/maint/master/prep_for_0.3.1
(maint) Update CHANGELOG and metadata for 0.3.1
2015-09-22 16:05:37 -07:00
Hailee Kenney 7fbb64b912 (maint) Update CHANGELOG and metadata for 0.3.1 2015-09-22 16:03:12 -07:00
Hailee Kenney d965d06bca Merge pull request #61 from iankronquist/same-name-type-and-provider
Same name type and provider
2015-09-21 16:47:34 -07:00
Hailee Kenney 4e1e8cf36d Merge pull request #62 from iankronquist/type-warnings-fixes
Last PR for the Summer
2015-09-21 16:46:28 -07:00
David Schmitt a450bea5c4 Merge pull request #63 from puppetlabs/0.3.0
Release Prep 0.3.0
2015-09-21 14:53:42 +01:00
Jonathan Tripathy dcf22ee93b Release Prep 0.3.0 2015-09-21 14:29:47 +01:00
JT (Jonny) 5aac81981f Merge pull request #58 from iankronquist/0.3.0-changelog
(maint) Update changelog for 0.3.0 release
2015-09-21 14:25:00 +01:00