method_introspection 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/method_introspection/code_helpers.rb +3 -3
- data/lib/method_introspection/load_project.rb +2 -2
- data/lib/method_introspection/version/version.rb +3 -3
- data/lib/method_introspection.rb +0 -0
- data/test/test.rb +0 -0
- data/test/test_code_helpers.rb +0 -0
- data/test/test_helper.rb +0 -0
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 22ec03ac662d3011ad3c7004acf56a667ae1c0d487f29aef51c6925a88e8886c
|
4
|
+
data.tar.gz: c0bc6f64b768db97db0952db6d4f1c9179d00a533e8359be3e319eb1f155026b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d58287be002d6418218d769f2cd31ffdca9cba36e4825e2635d1938fe11298aeee36d57e2301fcfb06e448b858d04028d78454cd3396b9e566904868e447e09
|
7
|
+
data.tar.gz: 63921c74191c37c313b54e4efbfa6e9c83c586f31455ca66567ee7405cb77f277f167fcc70922893c38281c7360d96b9cd783be424784b71468956ef145ab7dd
|
@@ -1,5 +1,5 @@
|
|
1
|
-
#!/
|
2
|
-
# Encoding:
|
1
|
+
#!/usr/bin/ruby -w
|
2
|
+
# Encoding: UTF-8
|
3
3
|
# frozen_string_literal: true
|
4
4
|
# =========================================================================== #
|
5
5
|
module MethodIntrospection
|
@@ -15,7 +15,7 @@ module CodeHelpers
|
|
15
15
|
# @return [String]
|
16
16
|
# ========================================================================= #
|
17
17
|
def extract_last_comment(lines)
|
18
|
-
result = ''
|
18
|
+
result = ''.dup
|
19
19
|
lines.each { |line|
|
20
20
|
# ===================================================================== #
|
21
21
|
# Add any line that is a valid ruby comment but stop the moment
|
@@ -1,5 +1,5 @@
|
|
1
|
-
#!/
|
2
|
-
# Encoding:
|
1
|
+
#!/usr/bin/ruby -w
|
2
|
+
# Encoding: UTF-8
|
3
3
|
# frozen_string_literal: true
|
4
4
|
# =========================================================================== #
|
5
5
|
module MethodIntrospection
|
@@ -7,6 +7,6 @@ module MethodIntrospection
|
|
7
7
|
# ========================================================================= #
|
8
8
|
# === VERSION
|
9
9
|
# ========================================================================= #
|
10
|
-
VERSION = '0.0.
|
10
|
+
VERSION = '0.0.12'
|
11
11
|
|
12
12
|
end
|
data/lib/method_introspection.rb
CHANGED
File without changes
|
data/test/test.rb
CHANGED
File without changes
|
data/test/test_code_helpers.rb
CHANGED
File without changes
|
data/test/test_helper.rb
CHANGED
File without changes
|
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: method_introspection
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robert
|
8
8
|
- A.
|
9
9
|
- Heiler
|
10
|
-
autorequire:
|
10
|
+
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2022-05-04 00:00:00.000000000 Z
|
14
14
|
dependencies: []
|
15
15
|
description: This gem allows us to inspect the source code for a method and the documentation.
|
16
16
|
email: shevegen@gmail.com
|
@@ -33,7 +33,7 @@ homepage: http://shevegen.square7.ch/
|
|
33
33
|
licenses:
|
34
34
|
- MIT
|
35
35
|
metadata: {}
|
36
|
-
post_install_message:
|
36
|
+
post_install_message:
|
37
37
|
rdoc_options: []
|
38
38
|
require_paths:
|
39
39
|
- lib
|
@@ -41,15 +41,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
41
41
|
requirements:
|
42
42
|
- - ">="
|
43
43
|
- !ruby/object:Gem::Version
|
44
|
-
version:
|
44
|
+
version: 3.1.2
|
45
45
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
47
|
- - ">="
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version: 3.
|
49
|
+
version: 3.3.12
|
50
50
|
requirements: []
|
51
|
-
rubygems_version: 3.
|
52
|
-
signing_key:
|
51
|
+
rubygems_version: 3.3.12
|
52
|
+
signing_key:
|
53
53
|
specification_version: 4
|
54
54
|
summary: This gem allows us to inspect the source code for a method and the documentation.
|
55
55
|
test_files:
|