Skip to content

Latest commit

 

History

History
230 lines (156 loc) · 5.5 KB

CHANGELOG.md

File metadata and controls

230 lines (156 loc) · 5.5 KB

Changelog

NOTE: the master branch has been deprecated, for latest docs and stuff use main branch instead

0.10.0

  • relax rspec dependecy upper limit
  • add ruby 3.0 to test matrix
  • add ruby 3.1 to test matrix
  • remove 1.8 ruby from test matrix, this is the first step to remove it's support completely

0.9.4

  • html/body matching from now is forbidden (#75)
  • make ruby 2.7 possible to fail on CI

0.9.3

  • fix for :seen option (#73)
  • fix for html/body matching (#62)
  • a bit of linting and refactoring

0.9.2

  • fixed have_empty_tag matcher on jruby
  • added ruby 2.7 to build matrix (no official support until stable release though)
  • added ruby 2.6 to build matrix (#70)

infrastructure/misc:

  • migrated to travis-ci.com instead of travis-ci.org (thanks Hamada Takayuki for inspiration: #70)
  • refactor travis-ci build setup
  • updated status badges to SVG (thanks to Olle Jonsson: #71)

0.9.1

  • re-added ruby support back to 1.8.7 (supporting same versions as rspec 3)
  • split lib in few files

0.9.0

  • fixed with_tag nesting (thanks to randoum: #59)
  • added ~> 2.4 ruby support
  • removed ~> 2 ruby support

0.8.2

0.8.1

0.8.0

  • "seen" text matching (thanks to Alex Shi)

0.7.3

  • move license information into separate LICENSE.md file

0.7.2

  • add support for frozen_string_literals
  • fix for rdoc links and not only

0.7.1

  • become compatible with RSpec pre-release versions

0.7.0

  • new, explicit configuration, refer to README
  • added ruby 2.2.0 to CI

0.6.1

  • rspec 3 version update
  • added ruby 2.1.2 to CI

0.6.0

  • introduced rspec 3.0.0 compatibility (thanks to Tiago)

0.5.0

  • new "expect" syntax support

0.4.4

0.4.3

  • added license to gemspec

0.4.2

  • added :without to have_tag? like have_tag('div', :without => { :class => 'test' }) NOTE: currently only classes supported

0.4.1

  • ruby 2.0.0 support

0.4.0

  • added with_text matcher
  • some code refactoring, but a lot of refactoring left for future
  • rewritten README, added more usage examples
  • removed dealing with whitespaces (#11), too much magic for usage (#16)
  • some attempt to improve documentation

0.3.5

  • Fix for content matching regexps with single and double quotes (#14 thanks to watsonbox)

0.3.4

  • capybara support

0.2.4

  • added simple #description method for "it { should have_tag }" cases

0.2.3

  • fix for unicode text matching (issue #13)

0.2.2

  • leading and trailing whitespaces are ignored in tags where they should be ignored(#11, and again thanks to Simon Schoeters)
  • whitespaces ignoring as browser does in :text matching
  • have_tag backwards compability(thanks to Felix Tjandrawibawa, #12)

0.2.1

  • make possible use non-string as :text option(#10, thanks for idea to Simon Schoeters)

0.2.0

  • a little bit refactoring
  • added some html5 inputs
  • added message for should_not
  • raise exception when wrong parametres specified(:count and :minimum (or :maximum) simultaneously)
  • support all versions of nokogiri since 1.4.4

0.1.6 (nokogiri update)

  • updated nokogiri to 1.5.0 version, for nokokiri less than 1.5.0 use 0.0.6 release of this gem

0.0.6

  • allow for single quotes in content matchers (thanks to Kelly Felkins).

0.0.5 (trial-trip)

  • added some experimental matchers:
    • have_form
      • with_hidden_field
      • with_text_field
      • with_password_field
      • with_file_field?
      • with_text_area
      • with_check_box
      • with_radio_button
      • with_select
        • with_option
      • with_submit

0.0.4 (bugfix)

  • additional parameters(:count,:text,:with) rely on each other to match what exactly tester want to match(link to comment)

0.0.3

  • now following will work:

    rendered.should have_tag('div') do
      with_tag('p')
    end
    
  • tags can be specified via symbol

  • classes can be specified via array or string(class-names separated by spaces), so following will work:

    '<div class="one two">'.should have_tag('div', :with => { :class => ['two', 'one'] })
    '<div class="one two">'.should have_tag('div', :with => { :class => 'two one' })
    

0.0.2

  • documented source code
  • added changelog

0.0.1

  • all needed options and error messages