scnr-introspector 0.3.1 → 0.3.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: a055f5743ec95419ddfdc219f5ccac33cd598915e9ae31cc01630af3f7862492
4
- data.tar.gz: 70bf4d9e143be5226a668582f4771ca39e53de67d5492ce1caebc8988c180bc6
3
+ metadata.gz: 846398e37d66803faee372c4cb3d162aa8e43846a99c36fa369d641c785f6a8f
4
+ data.tar.gz: fbecc1af26e329a7a8ea7f3a9b2cba671acaeab7a90d6f4517f0ebbd59c0be9e
5
5
  SHA512:
6
- metadata.gz: 84cf6bc2e52be2da63cb471a905c633f8e4722439ca7eb4c79ce83dc350a070fe490ad4165eab940af30f7c71e5a35d27adb0824c06ed5d783e695b51b2bb342
7
- data.tar.gz: 323c5dd53eb5b8488c15e07db278f82fb306acb298824f646da4929b99728b99a3e8310365a1f51159d4ab94ab3cad01cc18041f28cbd2a829958b4c067b3a19
6
+ metadata.gz: e3a55cfa7f4b6cf5cfd44e321ce95d918735ebb55293c41e9291670bad567a7d838429bec993299ca32ced4822b131727f1df0a5f5ce6c7e5d2f512bc16ecbc2
7
+ data.tar.gz: e61ac2e28a1fcf4c7cca40946b2f1285d8477f4e6488e1e89f17376e63653358ae315e527a8ce8112323a5f59f07eff7fa337523dc8b5584840f2257f5ca6b3b
@@ -34,7 +34,7 @@ class Sink
34
34
  filepath = @method_source_location.first
35
35
  lineno = @method_source_location.last
36
36
 
37
- if File.exists? filepath
37
+ if File.exist? filepath
38
38
  File.open filepath do |f|
39
39
  begin
40
40
  @method_source = MyMethodSource::CodeHelpers.expression_at( File.open( f ), lineno )
@@ -46,7 +46,7 @@ class Sink
46
46
 
47
47
  if !@source && @backtrace
48
48
  source_location = @backtrace.first.split( ':' ).first
49
- if File.exists? source_location
49
+ if File.exist? source_location
50
50
  @source = IO.read( source_location )
51
51
  end
52
52
  end
@@ -1 +1 @@
1
- 0.3.1
1
+ 0.3.2
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scnr-introspector
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tasos Laskos
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2025-01-12 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: bundler
@@ -30,14 +29,14 @@ dependencies:
30
29
  requirements:
31
30
  - - "~>"
32
31
  - !ruby/object:Gem::Version
33
- version: '10.0'
32
+ version: '13.0'
34
33
  type: :development
35
34
  prerelease: false
36
35
  version_requirements: !ruby/object:Gem::Requirement
37
36
  requirements:
38
37
  - - "~>"
39
38
  - !ruby/object:Gem::Version
40
- version: '10.0'
39
+ version: '13.0'
41
40
  - !ruby/object:Gem::Dependency
42
41
  name: puma
43
42
  requirement: !ruby/object:Gem::Requirement
@@ -80,7 +79,6 @@ dependencies:
80
79
  - - ">="
81
80
  - !ruby/object:Gem::Version
82
81
  version: '0'
83
- description:
84
82
  email:
85
83
  - tasos.laskos@gmail.com
86
84
  executables: []
@@ -107,7 +105,6 @@ homepage: http://ecsypno.com
107
105
  licenses:
108
106
  - Commercial
109
107
  metadata: {}
110
- post_install_message:
111
108
  rdoc_options: []
112
109
  require_paths:
113
110
  - lib
@@ -122,8 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
122
119
  - !ruby/object:Gem::Version
123
120
  version: '0'
124
121
  requirements: []
125
- rubygems_version: 3.4.22
126
- signing_key:
122
+ rubygems_version: 3.6.9
127
123
  specification_version: 4
128
124
  summary: Rack application security scanner built around the SCNR::Engine.
129
125
  test_files: []