Skip to content

Commit

Permalink
Changed licence, namespace and configuration files.
Browse files Browse the repository at this point in the history
  • Loading branch information
macrini committed Nov 30, 2020
1 parent e0ca0e4 commit b5a9970
Show file tree
Hide file tree
Showing 8 changed files with 104 additions and 366 deletions.
20 changes: 20 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Path-based git attributes
# https://www.kernel.org/pub/software/scm/git/docs/gitattributes.html

# Ignore all test and documentation with "export-ignore".
/.editorconfig export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/.scrutinizer.yml export-ignore
/.styleci.yml export-ignore
/.travis.yml export-ignore
/.github export-ignore
/.vscode export-ignore

/PULL_REQUEST_TEMPLATE.md export-ignore
/ISSUE_TEMPLATE.md export-ignore
/phpcs.xml.dist export-ignore
/phpunit.xml.dist export-ignore
/tests export-ignore
/docs export-ignore
/dev export-ignore
9 changes: 3 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
composer.phar
/vendor/
/bin/

# Commit your application's lock file https://getcomposer.org/doc/01-basic-usage.md#commit-your-composer-lock-file-to-version-control
# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file
# composer.lock
/build/
/vendor/
.phpunit.result.cache
339 changes: 0 additions & 339 deletions LICENSE

This file was deleted.

21 changes: 21 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# The MIT License (MIT)

Copyright (c) 2020 :author_name <:author_email>

> Permission is hereby granted, free of charge, to any person obtaining a copy
> of this software and associated documentation files (the "Software"), to deal
> in the Software without restriction, including without limitation the rights
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
> copies of the Software, and to permit persons to whom the Software is
> furnished to do so, subject to the following conditions:
>
> The above copyright notice and this permission notice shall be included in
> all copies or substantial portions of the Software.
>
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
> THE SOFTWARE.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ The Library of Congress's [Metadata Object Description Schema](http://www.loc.go

```bash
$ composer require proximify/bibutils
$ cd vendor/proximify/bibutils && composer build
```

## Class synopsis
Expand Down Expand Up @@ -146,6 +147,6 @@ This project has adopted the [Proximify Open Source Code of Conduct](https://git

Copyright (c) Proximify Inc. All rights reserved.

Licensed under the [GNU General Public License Version 2](https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html) license.
Licensed under the [MIT](https://opensource.org/licenses/MIT) license. Please see [License File](LICENSE.md) for more information.

**Software component** is made by [Proximify](https://proximify.com). We invite the community to participate.
**Bibutils (PHP Wrapper)** is made by [Proximify](https://proximify.com). We invite the community to participate.
45 changes: 35 additions & 10 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,31 +1,56 @@
{
"name": "proximify/bibutils",
"description": "A PHP class to interface with the Bibutils libraries written in ANSI C.",
"type": "library",
"license": "GPL 2",
"description": "A PHP class to interface with the Bibutils libraries written in ANSI C.",
"keywords": [
"proximify",
"bibutils",
"bibtex",
"endnote",
"uniweb"
],
"homepage": "https://github.com/proximify/bibutils",
"license": "MIT",
"authors": [
{
"name": "Proximify Inc",
"email": "support@proximify.ca"
"email": "support@proximify.ca",
"homepage": "https://proximify.com",
"role": "Developer"
}
],
"autoload": {
"psr-4": {
"Proximify\\": "src"
}
},
"minimum-stability": "stable",
"require": {
"php": ">=7.3"
"php": "~7.3"
},
"require-dev": {
"proximify/cli-actions": "^1.0"
},
"autoload": {
"psr-4": {
"Proximify\\Bibutils\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Proximify\\Bibutils\\": "tests"
}
},
"scripts": {
"test": "phpunit",
"check-style": "phpcs src tests",
"fix-style": "phpcbf src tests",
"post-install-cmd": "@build",
"post-create-project-cmd": "@build",
"build": "cd src/make && make",
"app:read": "Proximify\\CLIActions::auto",
"app:convert": "Proximify\\CLIActions::auto"
},
"extra": {
"branch-alias": {
"dev-master": "1.0-dev"
}
},
"config": {
"sort-packages": true
}
}
29 changes: 21 additions & 8 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/Bibutils.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @license MIT
*/

namespace Proximify;
namespace Proximify\Bibutils;

use Exception;

Expand Down

0 comments on commit b5a9970

Please sign in to comment.