Commit Graph

547 Commits

Author SHA1 Message Date
Will Hopper ca6f51daff (PDOC-108) Add link to 0.99.0 Jira filter in CHANGELOG 2016-10-07 13:48:55 -07:00
Peter Huene eeb5479af4 Merge pull request #109 from whopper/PDOC-108/version_changelog_bump
(PDOC-108) Update CHANGELOG and gemspec for 0.99.0 release
2016-10-07 13:30:24 -07:00
Will Hopper 72d849f68f (PDOC-108) Update CHANGELOG and gemspec for 0.99.0 release 2016-10-07 13:23:04 -07:00
Will Hopper aef17296fa (PDOC-119) Add required ruby version to gemspec
Strings is tested and supported for ruby 1.9.3 and above, so
the gemspec should reflect that.
2016-10-06 16:23:52 -07:00
Henrik Lindberg 7c475a5095 Merge pull request #105 from whopper/maint/code_coverage
(PDOC-88) Add additional spec and acceptance tests
2016-10-03 13:53:05 +02:00
Henrik Lindberg f1c7ad39ae Merge pull request #106 from whopper/PDOC-106/json-tests
(PDOC-106) Add acceptance tests for --emit-json options
2016-10-01 15:05:42 +02:00
Will Hopper c5e3d488da (PDOC-106) Add acceptance test for --emit-json CLI options 2016-09-30 16:35:48 -07:00
Will Hopper 3b66f5888f (maint) Refactor `generate` test to use acceptance helper method 2016-09-30 16:35:42 -07:00
Will Hopper 132d39066c (maint) Add acceptance libdir and Util helper module 2016-09-30 16:35:32 -07:00
Will Hopper 3af15ce4f1 (PDOC-88) Add tests for types and providers into acceptance 2016-09-30 15:08:19 -07:00
Will Hopper beb79d3a63 (PDOC-88) Add acceptance test for puppet functions 2016-09-30 13:39:09 -07:00
Will Hopper ef6db6df41 (PDOC-88) Add additional spec tests to increase code coverage 2016-09-29 14:48:07 -07:00
Jesse Scott f72b7995fe Merge pull request #104 from whopper/maint/beaker_version_pin
(maint) Pin beaker version to < 3.0
2016-09-28 15:02:11 -07:00
Will Hopper 99c01f06ab (maint) Pin beaker version to < 3.0
Beaker 3.0 was recently released, and requires ruby > 2.0.
Since strings needs to support 1.9.3 in CI, we need to pin
beaker to < 3.0.
2016-09-28 14:57:28 -07:00
Henrik Lindberg 5450fc041a Merge pull request #103 from whopper/PDOC-80/remove_puppet_dependency
(PDOC-80) Remove runtime dependency on puppet
2016-09-28 20:58:03 +02:00
Will Hopper ee4f11968a (PDOC-80) Remove runtime dependency on puppet
The runtime dependency on puppet presents problems when
puppet is not installed on the system as a gem, as is the
case in PE installations. Because the dependency will only be
satisfied by a gem, strings currently cannot be installed in
PE 3.8. This had to be worked around in newer PE versions with
a fake gemspec file.

Another issue is that installing strings with an older
version of puppet will force an upgrade to the newest version of
puppet via the gem.

This commit replaces the runtime dependency on puppet with a
requirement which will be present on the gem homepage on
rubygems.org. Requirements are meant to list external requirements
needed for the gem to work, which is correct for puppet as it can be
present via a different type of package.
2016-09-28 11:35:00 -07:00
Will Hopper a44ec44708 Merge pull request #102 from peterhuene/spec-fixes
(PDOC-63) Restore acceptance test to the spec directory.
2016-09-16 15:45:58 -07:00
Peter Huene e5577e199c
(PDOC-63) Restore acceptance test to the spec directory.
Previously the acceptance test was implemented under the `spec` directory and
was moved out to a top level `acceptance` directory.

This broke the expected location for the node configuration files.

This commit puts the acceptance test back where it was previously.

Also fixes a failure in the test now that Markdown is the default markup
language used.
2016-09-16 15:42:00 -07:00
Jesse Scott 0b682d5710 Merge pull request #101 from whopper/maint/gem_source
(maint) Make GEM_SOURCE configurable in Gemfile
2016-09-16 15:19:03 -07:00
Will Hopper 98a14685f4 (maint) Make GEM_SOURCE configurable in Gemfile 2016-09-16 15:15:17 -07:00
Will Hopper ee0cc0e5a4 Merge pull request #100 from peterhuene/spec-fixes
(PDOC-63) Fix specs for Puppet versions less than 4.1.
2016-09-16 13:08:33 -07:00
Peter Huene 9ba9b56306
(PDOC-63) Fix specs for Puppet versions less than 4.1.
The specs test functions written in the Puppet language in a few places, but
this feature is only supported in Puppet 4.1+.  This commit prevents these
specs from running if targeting older versions of Puppet.
2016-09-16 12:16:35 -07:00
Will Hopper ef651fb33a Merge pull request #99 from peterhuene/readme
(maint) Minor fixes to README.
2016-09-16 10:38:10 -07:00
Peter Huene e396000f3d
(maint) Minor fixes to README.
Some minor fixes to the README that need correction following the recent
refactoring commit.
2016-09-16 10:32:43 -07:00
Will Hopper 7ae8e74ec5 Merge pull request #98 from peterhuene/rewrite
(PDOC-63) Code refactoring, fix up, and lots of new functionality.
2016-09-16 09:57:10 -07:00
Peter Huene 01913fcfb0
(PDOC-63) Update README and JSON files.
This commit updates the README and JSON documentation files to make them
consistent with the refactoring work.
2016-09-15 17:15:54 -07:00
Peter Huene 7897c70a52
(maint) RuboCop fixes.
This commit fixes a few RuboCop related failures.
2016-09-15 17:15:54 -07:00
Peter Huene cf77ef1379
(PDOC-63) Add specs to test the new implementation.
This commit adds specs to cover parts of the new implementation of Puppet
Strings.
2016-09-15 17:15:54 -07:00
Peter Huene f2aa7d00c5
(PDOC-63) Implement the Puppet Strings rake tasks.
This commit implements the `strings:generate` and `strings:gh_pages:update`
rake tasks.

The `strings:generate` task is responsible for generating Puppet Strings
documentation.

The `strings:gh_pages:update` task is responsible for updating the `gh_pages`
branch of a GitHub repository with the latest Puppet Strings documentation.
2016-09-15 17:15:53 -07:00
Peter Huene 1be391ee87
(PDOC-63) Implement JSON output.
This commit implements the JSON output for Puppet strings.
2016-09-15 17:15:50 -07:00
Peter Huene f025efe557
(PDOC-63) Implement a Puppet function YARD handler.
This commit implements a YARD handler for Puppet functions and the
associated code object and templates.
2016-09-15 13:55:00 -07:00
Peter Huene b1a15bd43a
(PDOC-63) Implement a Puppet provider YARD handler.
This commit implements a YARD handler for Puppet providers and the
associated code object and templates.
2016-09-15 13:54:55 -07:00
Peter Huene 22396a13d0
(PDOC-63) Implement a Puppet resource type YARD handler.
This commit implements a YARD handler for Puppet resource types and the
associated code object and templates.
2016-09-15 13:54:50 -07:00
Peter Huene 187dec9cee
(PDOC-63) Implement a Puppet defined type YARD handler.
This commit implements a YARD handler for Puppet defined types and the
associated code object and templates.
2016-09-15 13:54:45 -07:00
Peter Huene 7c3cd5463c
(PDOC-63) Implement a Puppet class YARD handler.
This commit implements a YARD handler for Puppet classes and the associated
code object and templates.
2016-09-15 13:54:37 -07:00
Peter Huene f2e41a9c23
(PDOC-63) Implement the Puppet parser.
This commit implements the Puppet language parser that future handlers will use
to generate YARD code objects for classes, defined types, and functions written
in Puppet.
2016-09-15 13:54:32 -07:00
Peter Huene d4bab8a5ab
(PDOC-63) Add initial YARD configuration.
This commit adds the initial YARD configuration.  Subsequent commits will
integrate the code objects, handlers, parsers, tags, and templates to support
Puppet code.
2016-09-15 13:54:27 -07:00
Peter Huene ea9dd0c846
(PDOC-63) Delete the old implementation.
This commit deletes the old implementation to assist in cleaner code reviews of
the upcoming reimplementation.

This commit also moves YARD to version 0.9.5 and lays down a bare bones
implementation of Puppet Strings that currently does nothing.
2016-09-15 13:54:18 -07:00
Peter Huene 56f266db4b
(maint) Rename puppetlab-strings to puppet-strings where appropriate.
This commit changes the source and documentation to reference this project as
`puppet-strings` rather than `puppetlabs-strings`.

This makes the source and project match the gem name.
2016-09-14 13:42:28 -07:00
Peter Huene 33788ce247
(maint) Update gitignore to ignore RubyMine and rvm/rbenv files.
Adding `.idea/` and `.ruby-version` to gitignore.

Also adding `doc/` for YARD output.

Excluding VIM tags only in the root.
2016-09-14 13:42:28 -07:00
Peter Huene b7472d5043 Merge pull request #97 from kylog/pin-rubocop
(maint) Pin rubocop to enable spec support for ruby < 2.0
2016-09-01 16:08:18 -07:00
Kylo Ginsberg a9e55c7e60 (maint) Enable rubocop tests to pass again
* Pin rubocop to enable spec support for ruby < 2.0
* Add 'Enabled: false' for a number of new rubocop tests.
2016-09-01 12:53:24 -07:00
Henrik Lindberg 138dc25a7b Merge pull request #90 from baltimore-puppet-users-group/PDOC-71
(PDOC-71) Workaround for spurious error failures
2016-07-18 13:14:29 +02:00
Trevor Vaughan e39b4f3533 (PDOC-71) Workaround for spurious error failures
This patch catches and reports on issues that have occurred during YARD
processing of the data to be processed.

The issue itself is not resolved but this does provide you with as much
documentation as can be reasonably generated for your materials without
crashing the build.

This was the result of the Baltimore Puppet Users Group Meetup of 22
June 2016.
2016-07-18 07:03:15 -04:00
Hailee Kenney 57a3bffc47 Merge pull request #81 from danzilio/tasks
Adding tasks to automate building GitHub pages from strings docs
2016-07-13 10:18:08 +01:00
Will Hopper 554cb92d77 Merge pull request #91 from HAIL9000/maint/master/tie_strings_to_yard_version
(maint) Tie YARD to version 0.8.7
2016-07-12 12:50:22 -07:00
Hailee Kenney a6e145d20c (maint) Tie YARD to version 0.8.7
Prior to this commit, we were not setting a specific version of
YARD in the Gemfile. Since YARD has a lot of potential to break the
way strings works since strings relies so much on YARD internals,
we should be more deliberate about deciding to upgrade to a new
YARD version.

Once the kinks are worked out with the 0.9 release of YARD, we will
update the Gemfile again.
2016-07-12 19:25:57 +01:00
David Danzilio aac3dd08b0 Adding documentation for the gh_pages task 2016-07-05 15:52:06 -04:00
David Danzilio 825614067a Handling existing doc directory 2016-07-05 15:52:06 -04:00
David Danzilio 84e6ade587 Adding GitHub Pages tasks 2016-07-05 15:52:06 -04:00