##// END OF EJS Templates
scm: git: use "-c log.decorate=no" option instead of "--no-decorate" of "git log" above Git 1.7.2 (#8081, #8083)....
scm: git: use "-c log.decorate=no" option instead of "--no-decorate" of "git log" above Git 1.7.2 (#8081, #8083). Git on Redmine CI Server does not support "--no-decorate" option of "git log". git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5349 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r2816:35333367dff6
r5229:b23bf1f2999b
Show More
time_entry_activity.rb
10 lines | 236 B | text/x-ruby | RubyLexer
/ test / exemplars / time_entry_activity.rb
class TimeEntryActivity < Enumeration
generator_for :name, :method => :next_name
generator_for :type => 'TimeEntryActivity'
def self.next_name
@last_name ||= 'TimeEntryActivity0'
@last_name.succ!
@last_name
end
end