@@ -73,6 +73,13 class Repository < ActiveRecord::Base | |||||
73 | self.class.scm_name |
|
73 | self.class.scm_name | |
74 | end |
|
74 | end | |
75 |
|
75 | |||
|
76 | def merge_extra_info(arg) | |||
|
77 | h = extra_info || {} | |||
|
78 | return h if arg.nil? | |||
|
79 | h.merge!(arg) | |||
|
80 | write_attribute(:extra_info, h) | |||
|
81 | end | |||
|
82 | ||||
76 | def supports_cat? |
|
83 | def supports_cat? | |
77 | scm.supports_cat? |
|
84 | scm.supports_cat? | |
78 | end |
|
85 | end |
General Comments 0
You need to be logged in to leave comments.
Login now