Skip to content

Commit 4f8bd47

Browse files
committed
Support GitBucket 4.35.0
1 parent cba8d2f commit 4f8bd47

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ version please follow the instruction below**
3838

3939
| pages version | gitbucket version |
4040
| :---: | :---: |
41+
| 1.9.0 | 4.35.0 |
4142
| 1.8.0 | 4.32.0 |
4243
| 1.7.0 | 4.23.0 |
4344
| 1.6.0 | 4.19.0 |

build.sbt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
organization := "gitbucket"
22
name := "gitbucket-pages-plugin"
33
scalaVersion := "2.13.3"
4-
version := "1.8.0"
5-
gitbucketVersion := "4.32.0"
4+
version := "1.9.0"
5+
gitbucketVersion := "4.35.0"
66
scalacOptions := Seq("-unchecked", "-deprecation", "-encoding", "utf8", "-feature")
77

88
scalafmtOnCompile := true

src/main/scala/Plugin.scala

+2-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ class Plugin extends gitbucket.core.plugin.Plugin {
3333
new Version("1.6.0"),
3434
new Version("1.7.0"),
3535
new Version("1.7.1"),
36-
new Version("1.8.0")
36+
new Version("1.8.0"),
37+
new Version("1.9.0")
3738
)
3839

3940
override val controllers: Seq[(String, ControllerBase)] = Seq("/*" -> new PagesController)

src/main/scala/gitbucket/plugin/model/Pages.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ trait PagesComponent { self: gitbucket.core.model.Profile =>
1212
val userName = column[String]("USER_NAME")
1313
val repositoryName = column[String]("REPOSITORY_NAME")
1414
val source = column[PageSourceType]("SOURCE")
15-
def * = (userName, repositoryName, source) <> ((Page.apply _).tupled, Page.unapply)
15+
def * = (userName, repositoryName, source).<>((Page.apply _).tupled, Page.unapply)
1616
}
1717
}
1818

0 commit comments

Comments
 (0)