Skip to content

Commit 1e28a54

Browse files
authored
Composer v2 support
* Support composer v2: add missing methods * [TASK] update license parts, change vendor name until initial vendor answers about the future work on his repository Related: #1
1 parent 6156c1f commit 1e28a54

8 files changed

Lines changed: 82 additions & 442 deletions

File tree

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
/vendor/
2+
/composer.lock
3+
/.idea

LICENSE

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
The MIT License (MIT)
22

33
Copyright (c) 2016 Mercari, Inc
4+
Copyright (c) 2020 Josef Glatz, supseven.at
5+
6+
Copyright for portions of project Foo are held by Mercari, Inc, 2016 as part of project composer-diff-plugin. All other copyright for project composer-diff-plugin are held by Josef Glatz, supseven.at, 2020.
47

58
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:
69

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
composer-diff-plugin
2-
==================
2+
====================
33

44
composer plugin to show library version diff at "composer update".
55

@@ -9,27 +9,28 @@ feature
99
-----------------
1010

1111
* print upgrade/downgrade/add/remove of libraries.
12-
* output `composer.list` file
12+
* output `composer.list` file which can be added to project's GIT repository.
1313

1414

1515
Install
1616
-----------------
1717

1818
```bash
19-
$ composer global require mercari/composer-diff-plugin
19+
$ composer global require josefglatz/composer-diff-plugin
2020
```
2121

2222
Uninstall
2323
----------------
2424

2525
```bash
26-
$ composer global remove mercari/composer-diff-plugin
26+
$ composer global remove josefglatz/composer-diff-plugin
2727
```
2828

2929
License
3030
---------------
3131

3232
Copyright 2016 Mercari, Inc.
33+
Copyright 2020 Josef Glatz, supseven.at
3334

3435
Licensed under the MIT License
3536

@@ -38,6 +39,6 @@ Contribution
3839

3940
Fork the project, create a feature branch, and send us a pull request.
4041

41-
Please read the CLA carefully before submitting your contribution to Mercari.
42+
Please read the CLA carefully before submitting your contribution to Mercari repository.
4243

4344
https://www.mercari.com/cla/

composer.json

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,30 @@
11
{
2-
"name": "mercari/composer-diff-plugin",
3-
"description": "composer plugin to show library version diff at \"composer update\"",
2+
"name": "josefglatz/composer-diff-plugin",
3+
"description": "composer plugin which creates a composer.list file and shows library version diff at \"composer update\"",
44
"type": "composer-plugin",
55
"license": "MIT",
66
"authors": [
77
{
88
"name": "Hiraku NAKANO",
99
"email": "hiraku@mercari.com"
10+
},
11+
{
12+
"name": "Josef Glatz",
13+
"email": "j.glatz@supseven.at"
1014
}
1115
],
1216
"require": {
13-
"composer-plugin-api": ">=1.0.0-alpha10"
17+
"composer-runtime-api": "^2"
1418
},
1519
"require-dev": {
16-
"composer/composer": "1.0.0-alpha10"
20+
"composer/composer": "^2.0"
1721
},
1822
"autoload": {
1923
"psr-4": {
20-
"Mercari\\ComposerDiffPlugin\\": "src/"
24+
"JosefGlatz\\ComposerDiffPlugin\\": "src/"
2125
}
2226
},
2327
"extra": {
24-
"class": "Mercari\\ComposerDiffPlugin\\DiffPlugin"
28+
"class": "JosefGlatz\\ComposerDiffPlugin\\DiffPlugin"
2529
}
2630
}

0 commit comments

Comments
 (0)