rspec-html-matchers 0.7.0 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +5 -0
  3. data/README.md +2 -2
  4. data/spec/spec_helper.rb +2 -3
  5. metadata +19 -11
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ed044ed780b0ef4fefc403e3d644e6759b45232e
4
- data.tar.gz: 3a9a74c22ee2c89bfae15fd3de267b3cf048604e
3
+ metadata.gz: 8be66d725f89beeac9807e254253f19f9a4f9309
4
+ data.tar.gz: 0652146df0dca81d60e2f1b420660ebcc0307d8a
5
5
  SHA512:
6
- metadata.gz: 52855bb634b6ccf3a31995e7d3a7730410d3f7c3209b9bfe9a42b9c924db3b7eb7d028d95a5523d1c02e87eab4929aad565a5483e7e1f1101a8eee8bad55cc2c
7
- data.tar.gz: ecedc6b4e6791348db17d86a0338ccdeccfa3aa35e97a99a641358247cae14c89a39c6f2a56f026eba9b0f1d94b8f3757cc87b3186d8aa59a96ddfcb58fa3cac
6
+ metadata.gz: 134663281de1d4af000d01ecd68eee731941e1f20c132f0a9e1fb4a3294dc0968f34dceb701ff836c907a664a95cf561bcd2692537afd67fe688d5bd5bdf1f5e
7
+ data.tar.gz: 599a0dd8096dbc6c1e19d8524d8b81351e1c37386a84a9dde242af9769e00d1a5066fbce7692df9e7030008c5dd525ab2aa855665404cf3343ef3d5295b39686
data/CHANGELOG.md CHANGED
@@ -11,6 +11,11 @@ unreleased(TODO)
11
11
  * order matching
12
12
  * improve documentation, add more usage examples (look at changelog and code!)
13
13
 
14
+ 0.7.1
15
+ -----
16
+
17
+ * become compatible with RSpec pre-release versions
18
+
14
19
  0.7.0
15
20
  -----
16
21
 
data/README.md CHANGED
@@ -149,7 +149,7 @@ Input could be any html string. Let's take a look at these examples:
149
149
  end
150
150
 
151
151
  # mymock.text == 'Some content here'
152
- expect('<p> Some content&nbsphere</p>').to have_tag('p', :content => mymock.text)
152
+ expect('<p> Some content&nbsphere</p>').to have_tag('p', :text => mymock.text)
153
153
  # or
154
154
  expect('<p> Some content&nbsphere</p>').to have_tag('p') do
155
155
  with_content mymock.text
@@ -227,7 +227,7 @@ Contributors
227
227
  MIT Licensed
228
228
  ============
229
229
 
230
- Copyright (c) 2011-2014 Dmitrij Mjakotnyi
230
+ Copyright (c) 2011-2016 Dmitrij Mjakotnyi
231
231
 
232
232
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
233
233
 
data/spec/spec_helper.rb CHANGED
@@ -1,16 +1,15 @@
1
1
  if defined?(SimpleCov)
2
2
  SimpleCov.start do
3
3
  add_group 'Main', '/lib/'
4
- add_filter "/spec/"
4
+ add_filter '/spec/'
5
5
  end
6
6
  end
7
7
 
8
8
  require 'rspec-html-matchers'
9
9
 
10
- Dir[File.expand_path("../../spec/support/**/*.rb",__FILE__)].each { |f| require f }
10
+ Dir[File.expand_path('../../spec/support/**/*.rb', __FILE__)].each { |f| require f }
11
11
 
12
12
  RSpec.configure do |config|
13
-
14
13
  config.include RSpecHtmlMatchers
15
14
 
16
15
  config.expect_with :rspec do |c|
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-html-matchers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - kucaahbe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-10 00:00:00.000000000 Z
11
+ date: 2016-02-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 3.0.0.a
20
+ - - "<"
18
21
  - !ruby/object:Gem::Version
19
- version: '3'
22
+ version: '4'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: 3.0.0.a
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '3'
32
+ version: '4'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: nokogiri
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -136,8 +142,10 @@ dependencies:
136
142
  - - "~>"
137
143
  - !ruby/object:Gem::Version
138
144
  version: '1'
139
- description: |
140
- Nokogiri based 'have_tag' and 'with_tag' matchers for rspec 3. Does not depend on assert_select matcher, provides useful error messages.
145
+ description: 'Nokogiri based ''have_tag'' and ''with_tag'' matchers for rspec 3. Does
146
+ not depend on assert_select matcher, provides useful error messages.
147
+
148
+ '
141
149
  email:
142
150
  - kucaahbe@ukr.net
143
151
  executables: []
@@ -177,16 +185,16 @@ required_rubygems_version: !ruby/object:Gem::Requirement
177
185
  version: '0'
178
186
  requirements: []
179
187
  rubyforge_project: rspec-html-matchers
180
- rubygems_version: 2.4.5
188
+ rubygems_version: 2.5.1
181
189
  signing_key:
182
190
  specification_version: 4
183
191
  summary: Nokogiri based 'have_tag' and 'with_tag' matchers for rspec 3
184
192
  test_files:
193
+ - spec/form_matchers_spec.rb
185
194
  - spec/have_tag_spec.rb
195
+ - spec/spec_helper.rb
186
196
  - spec/support/asset_helpers.rb
187
197
  - spec/support/raise_spec_error_helper.rb
188
- - spec/form_matchers_spec.rb
189
- - spec/spec_helper.rb
190
198
  - features/step_definitions/steps.rb
191
199
  - features/support/env.rb
192
200
  - features/js_generated_content.feature