overrides_tracker 0.1.6 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/overrides_tracker/methods_collector.rb +2 -0
- data/lib/overrides_tracker/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b8f20a52cf948ab3eec220f4cc6f52c224b4074d3196040826cce76201633604
|
4
|
+
data.tar.gz: 3345736c6a3b6d061217b5368f4e17d46737a1beeabbf30f9ee0422ebaccc005
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df2f51accf9ab1d0ee1be2ff0eb0be6a019c4a6e7c2a77814bd700764a427c1cc26af5bb63519dd5a6515f73f4a1fecd432b797b4f244c6b598212104d4da90d
|
7
|
+
data.tar.gz: f80ab3e1cf2310ed3cbff553b85b6c343f136e9dd834a34f4f3ef3841c8b6e917c5b87b64327ce54e252bbd18f8cbccef565bee13edfa6d1af64abd68d94f82c
|
@@ -36,6 +36,7 @@ class OverridesTracker::MethodsCollector
|
|
36
36
|
@overridden_methods_collection[class_name][method_type][method_name] = @methods_collection[class_name][method_type][method_name]
|
37
37
|
@overridden_methods_collection[class_name][method_type][method_name][:overriding_location] = overriding_method.source_location
|
38
38
|
@overridden_methods_collection[class_name][method_type][method_name][:overriding_body] = method_hash[:body]
|
39
|
+
@overridden_methods_collection[class_name][method_type][method_name][:overriding_sha] = method_hash[:sha]
|
39
40
|
end
|
40
41
|
|
41
42
|
def mark_method_as_added_instance(class_name, method_name, overriding_method, method_hash)
|
@@ -146,6 +147,7 @@ class OverridesTracker::MethodsCollector
|
|
146
147
|
file_data[:last_commit_id] = last_commit_id
|
147
148
|
file_data[:last_commit_name] = last_commit_name
|
148
149
|
file_data[:last_commit_name_to_report] = last_commit_name_to_report
|
150
|
+
file_data[:working_directory] = Dir.pwd
|
149
151
|
file_data[:overridden_methods] = @overridden_methods_collection
|
150
152
|
|
151
153
|
File.open(path_to_report_file, "w") do |f|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: overrides_tracker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Simon Meyborg
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-12-
|
11
|
+
date: 2022-12-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: method_source
|