lib/trackler/implementation.rb in trackler-2.0.8.55 vs lib/trackler/implementation.rb in trackler-2.1.0.0
- old
+ new
@@ -44,9 +44,16 @@
def git_url
[track.repository, "tree/master", exercise_dir].join("/")
end
+ # DEPRECATED: We changed the class to hold on to a
+ # track object, however downstream dependencies send the
+ # to the track_id message.
+ def track_id
+ track.id
+ end
+
private
def regexes_to_ignore
(IGNORE_PATTERNS + [@track.ignore_pattern]).map do |pattern|
Regexp.new(pattern, Regexp::IGNORECASE)