ronin-web-spider 0.2.0.rc2 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7aedd94cd4b3f96a07824419722763a91374590e6944ab3ae58c6ff1432837ca
4
- data.tar.gz: 67d2d63b5468838f60f8b3aa3975dcb8f0842f66ca1d776384fb29c6a7f6a8ca
3
+ metadata.gz: 005a85677f28561695a81764891b032df60253f1908b71adb6395a5812919bcf
4
+ data.tar.gz: 13d83d6dcfdd35e9c3745e55614a04e3787b91d72a842adf530d216753aa3d91
5
5
  SHA512:
6
- metadata.gz: b9e7588f16084226b812db561261122af81fea2bd2d4c1b529c7cc1763e48060c90f716475e930029159f9cd1f886866f47ea03be8c4131c850af0b6d73da8c0
7
- data.tar.gz: 253283e0e5f8046d4d41fb9bf445933017e81b92e72c817aa0d4c6850c4952e0ec687e727196707f71e0343a97ba0f492a409e070a3c00e8d0fd8640feda75d5
6
+ metadata.gz: 733c696e2799aabd40bed11dba4829cdcfe902537096cf3fb46d5db5406c850e12a9d896e39dd86f53b1f124d824456e96f109b501794f945a626518a835ca15
7
+ data.tar.gz: ea49a778b22a0aaf3fa150df20aaa3759edaa775483b0fb7b0c5ee7a0e414934cedd1740091d73df7d8da30ffb93fdde786cdb57f5828e64071d78e00ad6bd2a
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- ruby-3.1
1
+ ruby-3.3
data/ChangeLog.md CHANGED
@@ -1,4 +1,4 @@
1
- ### 0.2.0 / 2024-XX-XX
1
+ ### 0.2.0 / 2024-07-22
2
2
 
3
3
  * Added {Ronin::Web::Spider::Agent#every_javascript_url_string}.
4
4
  * Added {Ronin::Web::Spider::Agent#every_javascript_relative_path_string}.
data/README.md CHANGED
@@ -32,6 +32,14 @@ ronin-web-spider is a collection of common web spidering routines using the
32
32
  * [every_javascript_string][docs-every_javascript_string] - yields every
33
33
  single-quoted or double-quoted String literal from all JavaScript source
34
34
  code.
35
+ * [every_javascript_relative_path_string][docs-every_javascript_relative_path_string] -
36
+ yields every relative path JavaScript string (ex: `foo/bar`).
37
+ * [every_javascript_absolute_path_string][docs-every_javascript_absolute_path_string] -
38
+ yields every relative path JavaScript string (ex: `/foo/bar`).
39
+ * [every_javascript_path_string][docs-every_javascript_path_string] -
40
+ yields every relative path JavaScript string (ex: `foo/bar` or `/foo/bar`).
41
+ * [every_javascript_url_string][docs-every_javascript_url_string] -
42
+ yields every URL JavaScript string (ex: `https://example.com/foo/bar`).
35
43
  * [every_javascript_comment][docs-every_javascript_comment] - yields every
36
44
  JavaScript comment.
37
45
  * [every_comment][docs-every_comment] - yields every HTML or JavaScript
@@ -46,6 +54,10 @@ ronin-web-spider is a collection of common web spidering routines using the
46
54
  [docs-every_html_comment]: https://ronin-rb.dev/docs/ronin-web-spider/Ronin/Web/Spider/Agent.html#every_html_comment-instance_method
47
55
  [docs-every_javascript]: https://ronin-rb.dev/docs/ronin-web-spider/Ronin/Web/Spider/Agent.html#every_javascript-instance_method
48
56
  [docs-every_javascript_string]: https://ronin-rb.dev/docs/ronin-web-spider/Ronin/Web/Spider/Agent.html#every_javascript_string-instance_method
57
+ [docs-every_javascript_relative_path_string]: https://ronin-rb.dev/docs/ronin-web-spider/Ronin/Web/Spider/Agent.html#every_javascript_relative_path_string-instance_method
58
+ [docs-every_javascript_absolute_path_string]: https://ronin-rb.dev/docs/ronin-web-spider/Ronin/Web/Spider/Agent.html#every_javascript_absolute_path_string-instance_method
59
+ [docs-every_javascript_path_string]: https://ronin-rb.dev/docs/ronin-web-spider/Ronin/Web/Spider/Agent.html#every_javascript_path_string-instance_method
60
+ [docs-every_javascript_url_string]: https://ronin-rb.dev/docs/ronin-web-spider/Ronin/Web/Spider/Agent.html#every_javascript_url_string-instance_method
49
61
  [docs-every_javascript_comment]: https://ronin-rb.dev/docs/ronin-web-spider/Ronin/Web/Spider/Agent.html#every_javascript_comment-instance_method
50
62
  [docs-every_comment]: https://ronin-rb.dev/docs/ronin-web-spider/Ronin/Web/Spider/Agent.html#every_comment-instance_method
51
63
 
@@ -327,7 +327,7 @@ module Ronin
327
327
  # @since 0.1.1
328
328
  JAVASCRIPT_INLINE_REGEX_REGEX = %r{
329
329
  (?# match before the regex to avoid matching division operators )
330
- (?:[\{\[\(;:,]\s*|=\s*)
330
+ (?:[\{\[\(;:,]\s*|=\s*|return\s*)
331
331
  /
332
332
  (?# inline regex contents )
333
333
  (?:
@@ -22,7 +22,7 @@ module Ronin
22
22
  module Web
23
23
  module Spider
24
24
  # ronin-web-spider version
25
- VERSION = '0.2.0.rc2'
25
+ VERSION = '0.2.0'
26
26
  end
27
27
  end
28
28
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ronin-web-spider
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0.rc2
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Postmodern
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-23 00:00:00.000000000 Z
11
+ date: 2024-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: spidr
@@ -106,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
106
106
  - !ruby/object:Gem::Version
107
107
  version: '0'
108
108
  requirements: []
109
- rubygems_version: 3.3.27
109
+ rubygems_version: 3.5.11
110
110
  signing_key:
111
111
  specification_version: 4
112
112
  summary: A collection of common web spidering routines.