overrides_tracker 0.1.12 → 0.1.13
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 +4 -4
- data/.circleci/config.yml +20 -0
- data/Gemfile.lock +109 -0
- data/README.md +83 -38
- data/lib/external/require_all.rb +252 -0
- data/lib/overrides_tracker/comparer.rb +9 -5
- data/lib/overrides_tracker/hash_decorator.rb +41 -0
- data/lib/overrides_tracker/version.rb +1 -1
- data/overrides_tracker/branch_name#last_commit_id.otf +1 -0
- data/overrides_tracker.gemspec +2 -2
- data/spec/overrides_tracker/api_spec.rb +227 -0
- data/spec/overrides_tracker/comparer_spec.rb +965 -0
- data/spec/overrides_tracker/file_observer_spec.rb +10 -0
- data/spec/overrides_tracker/hash_decorator_spec.rb +42 -0
- data/spec/overrides_tracker/methods_collector_spec.rb +336 -0
- data/spec/overrides_tracker/string_colorizer_spec.rb +73 -0
- data/spec/overrides_tracker/util_spec.rb +58 -0
- data/spec/overrides_tracker/version_spec.rb +9 -0
- data/spec/result_files/master.otf +134 -0
- data/spec/test_classes/custom_class.rb +31 -0
- metadata +21 -6
@@ -0,0 +1,31 @@
|
|
1
|
+
class CustomClass
|
2
|
+
def self.call
|
3
|
+
'custom class'
|
4
|
+
end
|
5
|
+
|
6
|
+
def self.singleton_test_method
|
7
|
+
'singleton_test_method'
|
8
|
+
end
|
9
|
+
|
10
|
+
def instance_test_method
|
11
|
+
'instance_test_method'
|
12
|
+
end
|
13
|
+
|
14
|
+
def instance_override_test_method
|
15
|
+
'instance_override_test_method'
|
16
|
+
end
|
17
|
+
|
18
|
+
def instance_added_test_method
|
19
|
+
'instance_added_test_method'
|
20
|
+
end
|
21
|
+
|
22
|
+
def self.singleton_added_test_method
|
23
|
+
'singleton_added_test_method'
|
24
|
+
end
|
25
|
+
|
26
|
+
def self.overrides_tracker_finished_file
|
27
|
+
@overrides_tracker_finished_file_called = true
|
28
|
+
end
|
29
|
+
|
30
|
+
extend OverridesTracker::FileObserver
|
31
|
+
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.
|
4
|
+
version: 0.1.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Simon Meyborg
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-01-
|
11
|
+
date: 2023-01-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -38,8 +38,8 @@ dependencies:
|
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
|
-
description: Overrides Tracker
|
42
|
-
for comparison across branches.
|
41
|
+
description: Overrides Tracker keeps track of all overriding methods and their sources
|
42
|
+
and allows for comparison across branches.
|
43
43
|
email:
|
44
44
|
- meyborg@syborgstudios.com
|
45
45
|
executables:
|
@@ -47,12 +47,14 @@ executables:
|
|
47
47
|
extensions: []
|
48
48
|
extra_rdoc_files: []
|
49
49
|
files:
|
50
|
+
- ".circleci/config.yml"
|
50
51
|
- ".gitignore"
|
51
52
|
- ".rspec"
|
52
53
|
- ".travis.yml"
|
53
54
|
- CHANGELOG.md
|
54
55
|
- CODE_OF_CONDUCT.md
|
55
56
|
- Gemfile
|
57
|
+
- Gemfile.lock
|
56
58
|
- LICENSE
|
57
59
|
- LICENSE.txt
|
58
60
|
- README.md
|
@@ -60,17 +62,30 @@ files:
|
|
60
62
|
- bin/console
|
61
63
|
- bin/overrides_tracker
|
62
64
|
- bin/setup
|
65
|
+
- lib/external/require_all.rb
|
63
66
|
- lib/overrides_tracker.rb
|
64
67
|
- lib/overrides_tracker/api.rb
|
65
68
|
- lib/overrides_tracker/comparer.rb
|
66
69
|
- lib/overrides_tracker/file_observer.rb
|
70
|
+
- lib/overrides_tracker/hash_decorator.rb
|
67
71
|
- lib/overrides_tracker/methods_collector.rb
|
68
72
|
- lib/overrides_tracker/string_colorizer.rb
|
69
73
|
- lib/overrides_tracker/util.rb
|
70
74
|
- lib/overrides_tracker/version.rb
|
71
75
|
- overrides_tracker.gemspec
|
76
|
+
- overrides_tracker/branch_name#last_commit_id.otf
|
77
|
+
- spec/overrides_tracker/api_spec.rb
|
78
|
+
- spec/overrides_tracker/comparer_spec.rb
|
79
|
+
- spec/overrides_tracker/file_observer_spec.rb
|
80
|
+
- spec/overrides_tracker/hash_decorator_spec.rb
|
81
|
+
- spec/overrides_tracker/methods_collector_spec.rb
|
82
|
+
- spec/overrides_tracker/string_colorizer_spec.rb
|
83
|
+
- spec/overrides_tracker/util_spec.rb
|
84
|
+
- spec/overrides_tracker/version_spec.rb
|
72
85
|
- spec/overrides_tracker_spec.rb
|
86
|
+
- spec/result_files/master.otf
|
73
87
|
- spec/spec_helper.rb
|
88
|
+
- spec/test_classes/custom_class.rb
|
74
89
|
homepage: https://github.com/SyborgStudios/overrides_tracker
|
75
90
|
licenses:
|
76
91
|
- MIT
|
@@ -97,6 +112,6 @@ requirements: []
|
|
97
112
|
rubygems_version: 3.0.3.1
|
98
113
|
signing_key:
|
99
114
|
specification_version: 4
|
100
|
-
summary: Overrides Tracker
|
101
|
-
comparison across branches.
|
115
|
+
summary: Overrides Tracker keeps track of all overriding methods and their sources
|
116
|
+
and allows for comparison across branches.
|
102
117
|
test_files: []
|