Refactor the ParsedFile provider unit test

The initial implementation of the unit tests for a simple provider
inheriting ParsedFile was imperfect and full of repitition. The
restructuring makes the code reflect the semantics a lot better.

Based on suggestions from Adrien Thebo.
(maint) Update rubygems source to use https

This gets ride of the warning with Bundler 1.3.0:

    The source :rubygems is deprecated because HTTP requests are
    insecure.
    Please change your source to 'https://rubygems.org' ...
Merge branch 'maint/2.7.x/gemfile_https' into 2.7.x

* maint/2.7.x/gemfile_https:
  (maint) Update rubygems source to use https
Merge branch '2.7.x' into 3.0.x

* 2.7.x:
  (maint) Update rubygems source to use https
Merge branch '3.0.x' into 3.1.x

* 3.0.x:
  (maint) Update rubygems source to use https
(maint) Refactor parsedfile specs to remove instance vars

The current test coverage for the ParsedFile provider uses an instance
variable referencing the class. This commit removes the instance
variable use and replaces them by setting `subject` to an anonymous
subclass of ParsedFile.
(maint) convert parsedfile helpers to let blocks

This commit replaces the use of instance variables with `let` blocks in
the parsedfile provider specs.
Merge branch 'pull-1494'

This closes GH-1494
Merge branch '3.1.x'

* 3.1.x:
  (maint) Update rubygems source to use https