modify by hx
This commit is contained in:
parent
56cb83ffba
commit
e9cfe007bb
2
Gemfile
2
Gemfile
|
@ -44,7 +44,7 @@ group :development do
|
|||
gem 'grape-swagger'
|
||||
gem 'better_errors', '~> 1.1.0'
|
||||
gem 'rack-mini-profiler', '~> 0.9.3'
|
||||
gem 'win32console'
|
||||
#gem 'win32console'
|
||||
end
|
||||
|
||||
group :development, :test do
|
||||
|
|
|
@ -346,10 +346,6 @@ update
|
|||
# end
|
||||
# end
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@changesets = g.commits(@project.gpid)
|
||||
# @changesets = @repository.latest_changesets(@path, @rev)
|
||||
# @changesets_count = @repository.latest_changesets(@path, @rev).count
|
||||
|
@ -406,7 +402,7 @@ update
|
|||
count = count_commits(@project.gpid , 25 , 50)+ 25 * 20
|
||||
elsif g.commits(@project.gpid , :page=>75).count ==0
|
||||
count = count_commits(@project.gpid , 50 , 75)+ 50 * 20
|
||||
elsif g.commits(@project.gpid , :page=>100).count== 0
|
||||
elsif g.commits(@project.gpid , :page=>100).count==0
|
||||
count = count_commits(@project.gpid , 75 , 100) + 75 * 20
|
||||
elsif g.commits(@project.gpid , :page=>125).count==0
|
||||
count = count_commits(@project.gpid , 100 , 125) + 100 * 20
|
||||
|
|
Loading…
Reference in New Issue