Skip to content

Commit

Permalink
Merge pull request #20 from hhandoko/chore/update_package_name
Browse files Browse the repository at this point in the history
Chore - Update package name
  • Loading branch information
hhandoko authored Mar 4, 2018
2 parents 1353547 + b22a34b commit 51fba3e
Show file tree
Hide file tree
Showing 81 changed files with 164 additions and 164 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# The MIT License (MIT)
#
# Original - Copyright (c) 2014 Jöerg Viola, Marco Sinigaglia
# Derivative - Copyright (c) 2016 Citadel Technology Solutions Pte Ltd
# Derivative - Copyright (c) 2016 - 2018 play2-scala-pdf Contributors
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
The MIT License (MIT)

Original - Copyright (c) 2014 Jöerg Viola, Marco Sinigaglia
Derivative - Copyright (c) 2016 Citadel Technology Solutions Pte Ltd
Derivative - Copyright (c) 2016 - 2018 play2-scala-pdf Contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[![License](https://img.shields.io/badge/license-MIT-brightgreen.svg)](LICENSE)
[![Master Build Status](https://travis-ci.org/hhandoko/play2-scala-pdf.svg?branch=master)](https://travis-ci.org/hhandoko/play2-scala-pdf)
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.builtamont/play2-scala-pdf_2.12/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.builtamont/play2-scala-pdf_2.12)
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.hhandoko/play2-scala-pdf_2.12/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.hhandoko/play2-scala-pdf_2.12)

### !!! IMPORTANT NOTICE !!!

Dear play2-scala-pdf users, I will be making some significant changes to this project over the next couple of months:

- ~~The project repository will be moved under my own account (i.e. `hhandoko/play2-scala-pdf`)~~
- The project organisation namespace will be updated to `com.hhandoko`
- ~~The project organisation namespace will be updated to `com.hhandoko`~~

I have joined a new company, but unfortunately there were no other developers in my previous company able to pick up the responsibility of maintaining this project. Rather than abandoning it, I will continue to develop and maintain it but in my personal capacity.

Expand Down Expand Up @@ -41,7 +41,7 @@ Currently, the module is hosted at Maven Central Repository. Include the followi
``` scala
libraryDependencies ++= Seq(
...
"com.builtamont" %% "play2-scala-pdf" % "2.0.0.P26" // Use `2.0.0.P25` for Play 2.5.x apps or `2.0.0.P24 for Play 2.4.x apps
"com.hhandoko" %% "play2-scala-pdf" % "2.0.0.P26" // Use `2.0.0.P25` for Play 2.5.x apps or `2.0.0.P24 for Play 2.4.x apps
)
```

Expand All @@ -67,7 +67,7 @@ You can use a standard Play! Scala template like this one:
}
```

Then this template, after having imported ```com.builtamont.play.pdf.PdfGenerator```, can simply be rendered as:
Then this template, after having imported ```com.hhandoko.play.pdf.PdfGenerator```, can simply be rendered as:
``` scala
class HomeController @Inject() (pdfGen: PdfGenerator) extends Controller {

Expand Down Expand Up @@ -123,7 +123,7 @@ Please read [CONTRIBUTING] for more details.

## Releases

https://github.com/builtamont/play2-scala-pdf/releases
https://github.com/hhandoko/play2-scala-pdf/releases

[CONTRIBUTING]: CONTRIBUTING.md
[Flying Saucer library]: https://github.com/flyingsaucerproject/flyingsaucer
Expand Down
2 changes: 1 addition & 1 deletion examples/play24-example/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# The MIT License (MIT)
#
# Original - Copyright (c) 2014 Jöerg Viola, Marco Sinigaglia
# Derivative - Copyright (c) 2016 Citadel Technology Solutions Pte Ltd
# Derivative - Copyright (c) 2016 - 2018 play2-scala-pdf Contributors
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* The MIT License (MIT)
*
* Original - Copyright (c) 2014 Jöerg Viola, Marco Sinigaglia
* Derivative - Copyright (c) 2016 Citadel Technology Solutions Pte Ltd
* Derivative - Copyright (c) 2016 - 2018 play2-scala-pdf Contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand All @@ -24,12 +24,12 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package com.builtamont
package com.hhandoko

import com.google.inject.{AbstractModule, Provides}
import net.codingwell.scalaguice.ScalaModule

import com.builtamont.play.pdf.PdfGenerator
import com.hhandoko.play.pdf.PdfGenerator

class ApplicationModule extends AbstractModule with ScalaModule {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* The MIT License (MIT)
*
* Original - Copyright (c) 2014 Jöerg Viola, Marco Sinigaglia
* Derivative - Copyright (c) 2016 Citadel Technology Solutions Pte Ltd
* Derivative - Copyright (c) 2016 - 2018 play2-scala-pdf Contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand All @@ -24,14 +24,14 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package com.builtamont.controllers
package com.hhandoko.controllers

import javax.inject._

import play.api.Configuration
import play.api.mvc._

import com.builtamont.play.pdf.PdfGenerator
import com.hhandoko.play.pdf.PdfGenerator

/**
* Home controller.
Expand Down
2 changes: 1 addition & 1 deletion examples/play24-example/app/views/example.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* The MIT License (MIT)
*
* Original - Copyright (c) 2014 Jöerg Viola, Marco Sinigaglia
* Derivative - Copyright (c) 2016 Citadel Technology Solutions Pte Ltd
* Derivative - Copyright (c) 2016 - 2018 play2-scala-pdf Contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions examples/play24-example/app/views/index.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* The MIT License (MIT)
*
* Original - Copyright (c) 2014 Jöerg Viola, Marco Sinigaglia
* Derivative - Copyright (c) 2016 Citadel Technology Solutions Pte Ltd
* Derivative - Copyright (c) 2016 - 2018 play2-scala-pdf Contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -33,7 +33,7 @@ <h1>Hello, world!</h1>
`play2-scala-pdf` is a Play! module to help generate PDF documents dynamically from Play! web application.
It simply renders Play! HTML and CSS-based view templates to PDF via <a href="https://github.com/flyingsaucerproject/flyingsaucer">Flying Saucer library</a>, which uses older, open-source version of iText for PDF generation.
</p>
<p><a class="btn btn-primary btn-lg" href="https://github.com/builtamont/play2-scala-pdf" role="button">Github</a></p>
<p><a class="btn btn-primary btn-lg" href="https://github.com/hhandoko/play2-scala-pdf" role="button">Github</a></p>

}

Expand Down
12 changes: 6 additions & 6 deletions examples/play24-example/app/views/main.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* The MIT License (MIT)
*
* Original - Copyright (c) 2014 Jöerg Viola, Marco Sinigaglia
* Derivative - Copyright (c) 2016 Citadel Technology Solutions Pte Ltd
* Derivative - Copyright (c) 2016 - 2018 play2-scala-pdf Contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -62,13 +62,13 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="@com.builtamont.controllers.routes.HomeController.index().url">`play2-scala-pdf` Example Application</a>
<a class="navbar-brand" href="@com.hhandoko.controllers.routes.HomeController.index().url">`play2-scala-pdf` Example Application</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li><a href="@com.builtamont.controllers.routes.HomeController.index().url">Home</a></li>
<li><a href="@com.builtamont.controllers.routes.HomeController.exampleHtml().url">HTML Rendering</a></li>
<li><a href="@com.builtamont.controllers.routes.HomeController.examplePdf().url">PDF Rendering</a></li>
<li><a href="@com.hhandoko.controllers.routes.HomeController.index().url">Home</a></li>
<li><a href="@com.hhandoko.controllers.routes.HomeController.exampleHtml().url">HTML Rendering</a></li>
<li><a href="@com.hhandoko.controllers.routes.HomeController.examplePdf().url">PDF Rendering</a></li>
</ul>
</div>
</div>
Expand All @@ -90,7 +90,7 @@
<hr>

<footer>
<p>Copyright &copy; 2016 Citadel Technology Solutions Pte Ltd</p>
<p>Copyright &copy; 2016 - 2018 play2-scala-pdf Contributors</p>
</footer>
</div>

Expand Down
2 changes: 1 addition & 1 deletion examples/play24-example/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* The MIT License (MIT)
*
* Original - Copyright (c) 2014 Jöerg Viola, Marco Sinigaglia
* Derivative - Copyright (c) 2016 Citadel Technology Solutions Pte Ltd
* Derivative - Copyright (c) 2016 - 2018 play2-scala-pdf Contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions examples/play24-example/conf/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# The MIT License (MIT)
#
# Original - Copyright (c) 2014 Jöerg Viola, Marco Sinigaglia
# Derivative - Copyright (c) 2016 Citadel Technology Solutions Pte Ltd
# Derivative - Copyright (c) 2016 - 2018 play2-scala-pdf Contributors
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -39,7 +39,7 @@ play {

# Register the user modules
modules {
enabled += "com.builtamont.ApplicationModule"
enabled += "com.hhandoko.ApplicationModule"
}

}
Expand Down
2 changes: 1 addition & 1 deletion examples/play24-example/conf/logback.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
The MIT License (MIT)
Original - Copyright (c) 2014 Jöerg Viola, Marco Sinigaglia
Derivative - Copyright (c) 2016 Citadel Technology Solutions Pte Ltd
Derivative - Copyright (c) 2016 - 2018 play2-scala-pdf Contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
8 changes: 4 additions & 4 deletions examples/play24-example/conf/routes
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# The MIT License (MIT)
#
# Original - Copyright (c) 2014 Jöerg Viola, Marco Sinigaglia
# Derivative - Copyright (c) 2016 Citadel Technology Solutions Pte Ltd
# Derivative - Copyright (c) 2016 - 2018 play2-scala-pdf Contributors
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -34,6 +34,6 @@
GET /assets/*file controllers.Assets.versioned(path = "/public", file: Asset)

# Pages
GET /example.pdf com.builtamont.controllers.HomeController.examplePdf
GET /example com.builtamont.controllers.HomeController.exampleHtml
GET / com.builtamont.controllers.HomeController.index
GET /example.pdf com.hhandoko.controllers.HomeController.examplePdf
GET /example com.hhandoko.controllers.HomeController.exampleHtml
GET / com.hhandoko.controllers.HomeController.index
2 changes: 1 addition & 1 deletion examples/play24-example/public/css/main-print.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* The MIT License (MIT)
*
* Original - Copyright (c) 2014 Jöerg Viola, Marco Sinigaglia
* Derivative - Copyright (c) 2016 Citadel Technology Solutions Pte Ltd
* Derivative - Copyright (c) 2016 - 2018 play2-scala-pdf Contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion examples/play24-example/public/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* The MIT License (MIT)
*
* Original - Copyright (c) 2014 Jöerg Viola, Marco Sinigaglia
* Derivative - Copyright (c) 2016 Citadel Technology Solutions Pte Ltd
* Derivative - Copyright (c) 2016 - 2018 play2-scala-pdf Contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions examples/play24-example/test/ApplicationSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* The MIT License (MIT)
*
* Original - Copyright (c) 2014 Jöerg Viola, Marco Sinigaglia
* Derivative - Copyright (c) 2016 Citadel Technology Solutions Pte Ltd
* Derivative - Copyright (c) 2016 - 2018 play2-scala-pdf Contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand All @@ -29,7 +29,7 @@ import org.scalatestplus.play._
import play.api.test._
import play.api.test.Helpers._

import com.builtamont.controllers.routes
import com.hhandoko.controllers.routes

class ApplicationSpec extends PlaySpec with OneAppPerTest {

Expand Down
4 changes: 2 additions & 2 deletions examples/play24-example/test/IntegrationSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* The MIT License (MIT)
*
* Original - Copyright (c) 2014 Jöerg Viola, Marco Sinigaglia
* Derivative - Copyright (c) 2016 Citadel Technology Solutions Pte Ltd
* Derivative - Copyright (c) 2016 - 2018 play2-scala-pdf Contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand All @@ -26,7 +26,7 @@
*/
import org.scalatestplus.play._

import com.builtamont.controllers.routes
import com.hhandoko.controllers.routes

class IntegrationSpec extends PlaySpec with OneServerPerTest with OneBrowserPerTest with HtmlUnitFactory {

Expand Down
2 changes: 1 addition & 1 deletion examples/play25-example/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# The MIT License (MIT)
#
# Original - Copyright (c) 2014 Jöerg Viola, Marco Sinigaglia
# Derivative - Copyright (c) 2016 Citadel Technology Solutions Pte Ltd
# Derivative - Copyright (c) 2016 - 2018 play2-scala-pdf Contributors
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* The MIT License (MIT)
*
* Original - Copyright (c) 2014 Jöerg Viola, Marco Sinigaglia
* Derivative - Copyright (c) 2016 Citadel Technology Solutions Pte Ltd
* Derivative - Copyright (c) 2016 - 2018 play2-scala-pdf Contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand All @@ -24,14 +24,14 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package com.builtamont
package com.hhandoko

import com.google.inject.{AbstractModule, Provides}
import net.codingwell.scalaguice.ScalaModule

import _root_.play.api.Environment

import com.builtamont.play.pdf.PdfGenerator
import com.hhandoko.play.pdf.PdfGenerator

class ApplicationModule extends AbstractModule with ScalaModule {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* The MIT License (MIT)
*
* Original - Copyright (c) 2014 Jöerg Viola, Marco Sinigaglia
* Derivative - Copyright (c) 2016 Citadel Technology Solutions Pte Ltd
* Derivative - Copyright (c) 2016 - 2018 play2-scala-pdf Contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand All @@ -24,15 +24,15 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package com.builtamont.controllers
package com.hhandoko.controllers

import javax.inject._
import scala.concurrent.ExecutionContext

import play.api.Configuration
import play.api.mvc._

import com.builtamont.play.pdf.PdfGenerator
import com.hhandoko.play.pdf.PdfGenerator

/**
* Home controller.
Expand Down
2 changes: 1 addition & 1 deletion examples/play25-example/app/views/example.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* The MIT License (MIT)
*
* Original - Copyright (c) 2014 Jöerg Viola, Marco Sinigaglia
* Derivative - Copyright (c) 2016 Citadel Technology Solutions Pte Ltd
* Derivative - Copyright (c) 2016 - 2018 play2-scala-pdf Contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions examples/play25-example/app/views/index.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* The MIT License (MIT)
*
* Original - Copyright (c) 2014 Jöerg Viola, Marco Sinigaglia
* Derivative - Copyright (c) 2016 Citadel Technology Solutions Pte Ltd
* Derivative - Copyright (c) 2016 - 2018 play2-scala-pdf Contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -33,7 +33,7 @@ <h1>Hello, world!</h1>
`play2-scala-pdf` is a Play! module to help generate PDF documents dynamically from Play! web application.
It simply renders Play! HTML and CSS-based view templates to PDF via <a href="https://github.com/flyingsaucerproject/flyingsaucer">Flying Saucer library</a>, which uses older, open-source version of iText for PDF generation.
</p>
<p><a class="btn btn-primary btn-lg" href="https://github.com/builtamont/play2-scala-pdf" role="button">Github</a></p>
<p><a class="btn btn-primary btn-lg" href="https://github.com/hhandoko/play2-scala-pdf" role="button">Github</a></p>

}

Expand Down
Loading

0 comments on commit 51fba3e

Please sign in to comment.