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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a349cfc8219a5e3c54b7fcf01e4c8bcb826ececedb3fa81e1b0a3217cbdc7cc4
4
- data.tar.gz: 6a602b0a8a08c566f461c8246858d2bf2204a672cff70db325bee4984906215a
3
+ metadata.gz: b8f20a52cf948ab3eec220f4cc6f52c224b4074d3196040826cce76201633604
4
+ data.tar.gz: 3345736c6a3b6d061217b5368f4e17d46737a1beeabbf30f9ee0422ebaccc005
5
5
  SHA512:
6
- metadata.gz: d43eb13bca15ad87a32c47183090a70a23d93d33fd6717f78c1c4c668a1a9c3254fec879771ddc15ab33a782ce03f716d949efbfc8dd9245ba92c2bd722ccac8
7
- data.tar.gz: db00cf8aed2a4a65b4536be2e7a075488db611b551f877f40682089e6ac13e390f4aeeae276f2ec01b5598974c219b0f09716398c48054ed5d52b26d5e83dae1
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|
@@ -1,3 +1,3 @@
1
1
  module OverridesTracker
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.8"
3
3
  end
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.6
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-07 00:00:00.000000000 Z
11
+ date: 2022-12-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: method_source