Add missing class declaration

README.markdown was missing details about declaring 'my_fw::pre'
and 'my_fw::post' which caused folks following the example to see
the following error:

Could not find dependency Class[My_w::Pre] for Firewall[BLAH]
Update test framework to the modern age

* Install puppetalbs_spec_helper and removed the stuff we were using previously
* Get tests running on 3.0.x
* Update gemspecs to more recent revisions of test tooling

Signed-off-by: Ken Barber <ken@bob.sh>
Merge pull request #102 from kbarber/test_updates

Update test framework to the modern age
working with ip6tables support
Remove gemfile.lock and add to gitignore
Update travis and gemfile to be like stdlib travis files
Fix require of precise puppet library

rspec tests fail unless we added require 'puppet'.

Signed-off-by: Ken Barber <ken@bob.sh>
Merge branch 'standardize_travis'

* standardize_travis:
  Fix require of precise puppet library
  Update travis and gemfile to be like stdlib travis files
  Remove gemfile.lock and add to gitignore
Add tests for socket option

Signed-off-by: Ken Barber <ken@bob.sh>
Added type for socket

Signed-off-by: Ken Barber <ken@bob.sh>
Add support for -m socket option

This adds support to boolean-style flags like '-m socket' as well.

Signed-off-by: Ken Barber <ken@bob.sh>
Merge branch 'ticket/master/socket'

* ticket/master/socket:
  Add support for -m socket option
  Added type for socket
  Add tests for socket option
Add support for single --sport and --dport parsing

Previously if someone already had a rule with a single --sport or --dport we
would fail the parse. This now accepts parsing in the single variant, while
still supporting the multiport variant.

Signed-off-by: Ken Barber <ken@bob.sh>
Merge branch 'ticket/master/single_sport_dport_support_for_parsing'

* ticket/master/single_sport_dport_support_for_parsing:
  Add support for single --sport and --dport parsing
Fix tests for Ruby 1.9.3 from 3e13bf3

Changes in 3e13bf3 broke tests for Ruby 1.9.3 which doesn't support
Enumerable on Strings. Workaround this by casting everything as an array and
flattening to prevent existing arrays from being encapsulated.
Merge pull request #109 from dcarley/fix_tests_ruby_193

Fix tests for Ruby 1.9.3 from 3e13bf3
Merge pull request #96 from sfozz/documentation-fixes

Add missing class declaration
Add Puppet 3.1 to travis-ci test matrix

Signed-off-by: Ken Barber <ken@bob.sh>
Merge branch 'maint/master/add_puppet_31_to_travis'

* maint/master/add_puppet_31_to_travis:
  Add Puppet 3.1 to travis-ci test matrix
Mock Resolv.getaddress in #host_to_ip

Add an expect for Resolv.getaddress in Puppet::Util::Firewall#host_to_ip so
that the test can be run when disconnected from the net. Also isolates it
should should puppetlabs.com move to a different address.