insite 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5149a50ee698c0eeec91cb7127d89a2eb175f09d50967bc40fefa78137cee823
4
- data.tar.gz: 4644600b968f6f8846a1a3f5c1e9fc02c89afd7d88c81f9e0f45bd873e5d7858
3
+ metadata.gz: 140cc225b61ec7d1eed65eb6da2e56bb9c8bd93eb10b038e953955112b8c80ae
4
+ data.tar.gz: ad0f773ce13d35339d31bc4995d8575d068cb00f62515f4cbe4956ccde4bcc1b
5
5
  SHA512:
6
- metadata.gz: a40f146bd90b92f28939eb81917d33fb7d61ec82a3f943a5c2012a4aba12eb4bc273f0305435a68d3759ce87a5a5cba721a2d5b024a991f8f3ede5e23540988a
7
- data.tar.gz: 269097cb25d93d68a441510daf7642660577aab7f63571ee8b1055af4922c4607ffd3c32e7724b84b12fa9ed70994552fceaf19bf1ec47fe101f75af1fa4e819
6
+ metadata.gz: 68aad6503cc6d0d1936db14dd7c3f8391c104d69887988beef8f2ebe07eb2a50c2699b5fd40911c6ca7a2b3bae98ad893f64a05dda53492c18377fe12df8ebda
7
+ data.tar.gz: 5b6aa0dc57f05ee9cbfc183fbf07b02f3167a39029139983e69072d932f4bab3f7858181cf7c5883503dbe88b6c3a118b791f83ec272cd2f1c8f9e7afb148136
@@ -264,15 +264,6 @@ module Insite
264
264
 
265
265
  match = @url_template.match(@browser.url)
266
266
 
267
- # Raise if args are provided and the page doesn't take any args.
268
- if (@all_arguments - [:scheme]).empty? && args
269
- raise(
270
- Insite::Errors::PageInitError,
271
- "#{args.class} was provided as a #{self.class.name} initialization argument, " \
272
- "but the page URL doesn't require any arguments.\n\n#{caller.join("\n")}"
273
- )
274
- end
275
-
276
267
  if @all_arguments.present? && !args
277
268
  @all_arguments.each do |arg|
278
269
  if match && match.keys.include?(arg.to_s)
@@ -1,3 +1,3 @@
1
1
  module Insite
2
- VERSION = '0.2.1'
2
+ VERSION = '0.2.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: insite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Fitisoff
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-11 00:00:00.000000000 Z
11
+ date: 2018-10-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport