Skip to content

Commit

Permalink
change ownership to Awilum
Browse files Browse the repository at this point in the history
  • Loading branch information
Awilum committed Dec 13, 2022
1 parent f16581f commit 36ae8b2
Show file tree
Hide file tree
Showing 11 changed files with 28 additions and 25 deletions.
8 changes: 4 additions & 4 deletions .github/CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
# Code of Conduct

Like the technical community as a whole, the Craft Plugins team and community is made up of a mixture of professionals and volunteers from all over the world, working on every aspect of the mission - including mentorship, teaching, and connecting people.
Like the technical community as a whole, the Awilum Dev team and community is made up of a mixture of professionals and volunteers from all over the world, working on every aspect of the mission - including mentorship, teaching, and connecting people.

Diversity is one of our strengths. With that, challenges will arise that can lead to communication issues and unhappiness. To that end, we have a few ground rules that we ask people to adhere to. This code applies equally to founders, mentors and those seeking help and guidance.

This isn’t an exhaustive list of things that you can’t do. Rather, take it in the spirit in which it’s intended - a guide to make it easier to enrich all of us and the technical communities in which we participate.

This code of conduct applies to all spaces used by the Craft Plugins community for communication. This includes Craft Plugins Discord, GitHub, Twitter, Facebook, meetups, conferences, and any other relevant forums. Violations of this code outside of any spaces managed by the Craft Plugins team will still affect a person’s ability to participate within them.
This code of conduct applies to all spaces used by the Awilum Dev community for communication. This includes Awilum Dev Discord, GitHub, Twitter, Facebook, meetups, conferences, and any other relevant forums. Violations of this code outside of any spaces managed by the Awilum Dev team will still affect a person’s ability to participate within them.

If you believe someone is violating the code of conduct, we ask that you report it by contacting us from [awilum@msn.com](mailto:[email protected]). We take all reports seriously, and your identity will remain confidential.

- **Be friendly and patient.**
- **Be welcoming.** We strive to be a community that welcomes and supports people of all backgrounds and identities. This includes, but is not limited to members of any race, ethnicity, culture, national origin, colour, immigration status, social and economic class, educational level, sex, sexual orientation, gender identity and expression, age, size, family status, political belief, religion, and mental and physical ability.
- **Be considerate.** Your work will be used by other people, and you in turn will depend on the work of others. Any decision you take will affect users and colleagues, and you should take those consequences into account when making decisions. Remember that we’re a world-wide community, so you might not be communicating in someone else’s primary language.
- **Be respectful.** Not all of us will agree all the time, but disagreement is no excuse for poor behavior and poor manners. We might all experience some frustration now and then, but we cannot allow that frustration to turn into a personal attack. It’s important to remember that a community where people feel uncomfortable or threatened is not a productive one. Members of the Craft Plugins community should be respectful when dealing with other members as well as with people outside the Craft Plugins community.
- **Be respectful.** Not all of us will agree all the time, but disagreement is no excuse for poor behavior and poor manners. We might all experience some frustration now and then, but we cannot allow that frustration to turn into a personal attack. It’s important to remember that a community where people feel uncomfortable or threatened is not a productive one. Members of the Awilum Dev community should be respectful when dealing with other members as well as with people outside the Awilum Dev community.
- **Be careful in the words that you choose.** We are a community of professionals, and we conduct ourselves professionally. Be kind to others. Do not insult or put down other participants. Harassment and other exclusionary behavior aren’t acceptable. This includes, but is not limited to:

- Violent threats or language directed against another person.
Expand All @@ -26,6 +26,6 @@ If you believe someone is violating the code of conduct, we ask that you report
- Advocating for, or encouraging, any of the above behavior.
- Repeated harassment of others. In general, if someone asks you to stop, then stop.

- **When we disagree, try to understand why.** Disagreements, both social and technical, happen all the time and Craft Plugins is no exception. It is important that we resolve disagreements and differing views constructively. Remember that we’re different. The strength of Craft Plugins comes from its varied community, people from a wide range of backgrounds. Different people have different perspectives on issues. Being unable to understand why someone holds a viewpoint doesn’t mean that they’re wrong. Don’t forget that it is human to err and blaming each other doesn’t get us anywhere. Instead, focus on helping to resolve issues and learning from mistakes.
- **When we disagree, try to understand why.** Disagreements, both social and technical, happen all the time and Awilum Dev is no exception. It is important that we resolve disagreements and differing views constructively. Remember that we’re different. The strength of Awilum Dev comes from its varied community, people from a wide range of backgrounds. Different people have different perspectives on issues. Being unable to understand why someone holds a viewpoint doesn’t mean that they’re wrong. Don’t forget that it is human to err and blaming each other doesn’t get us anywhere. Instead, focus on helping to resolve issues and learning from mistakes.

*Credits for the sources and inspiration of this code of conduct go to the [Speak Up! project.](http://web.archive.org/web/20141109123859/http://speakup.io/coc.html)*
2 changes: 1 addition & 1 deletion .github/COMMIT_CONVENTION.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ to read on GitHub as well as in various git tools.

The footer should contain a [closing reference to an issue](https://help.github.com/articles/closing-issues-via-commit-messages/) if any.

Samples: (even more [samples](https://github.com/craft-plugins/reading-time/commits/master))
Samples: (even more [samples](https://github.com/awilum/craft-reading-time/commits/master))

### Revert
If the commit reverts a previous commit, it should begin with `revert: `, followed by the header of the reverted commit. In the body it should say: `This reverts commit <hash>.`, where the hash is the SHA of the commit being reverted.
Expand Down
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
custom: ['https://awilum.github.io/donate']
custom: ['https://awilum.github.io/donate/']
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<a name="1.1.0"></a>
# [1.1.0](https://github.com/awilum/craft-benchmark) (2022-12-13)
* Transfer ownership to Awilum

<a name="1.0.0"></a>
# [1.0.0](https://github.com/craft-plugins/reading-time) (2022-11-22)
# [1.0.0](https://github.com/awilum/craft-reading-time) (2022-11-22)
* Initial release
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<h1 align="center">Reading Time plugin for <a href="https://github.com/craftcms">Craft CMS</a></h1>

<p align="center">
<img src="https://img.shields.io/badge/license-MIT-blue.svg?label=License" alt="License MIT"> <img alt="GitHub Repo stars" src="https://img.shields.io/github/stars/craft-plugins/reading-time?label=Stars"> <img alt="GitHub forks" src="https://img.shields.io/github/forks/craft-plugins/reading-time?label=Forks"> <a href="https://hitsofcode.com"><img alt="Hits of Code" src="https://hitsofcode.com/github/craft-plugins/reading-time?branch=1.x"></a>
<img src="https://img.shields.io/badge/license-MIT-blue.svg?label=License" alt="License MIT"> <img alt="GitHub Repo stars" src="https://img.shields.io/github/stars/awilum/craft-reading-time?label=Stars"> <img alt="GitHub forks" src="https://img.shields.io/github/forks/awilum/craft-reading-time?label=Forks"> <a href="https://hitsofcode.com"><img alt="Hits of Code" src="https://hitsofcode.com/github/awilum/craft-reading-time?branch=1.x"></a>
</p>

Reading Time plugin shows the estimated reading time of the content, in seconds or minutes.
Expand All @@ -20,7 +20,7 @@ To install the plugin, follow these instructions.
cd /path/to/project
```
2. In your terminal run `composer require craft-plugins/reading-time`.
2. In your terminal run `composer require awilum/craft-reading-time`.
3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Reading Time.
Expand Down Expand Up @@ -76,11 +76,11 @@ Also you can use `readingTime` filter in your twig templates:
Use `readingTime` function in the PHP:
```php
use function CraftPlugins\ReadingTime\readingTime;
use function Awilum\CraftReadingTime\readingTime;
echo readingTime('Some text here ...');
```

## LICENSE
[The MIT License (MIT)](https://github.com/craft-plugins/reading-time/blob/master/LICENSE.md)
[The MIT License (MIT)](https://github.com/awilum/craft-reading-time/blob/master/LICENSE.md)
Copyright (c) [Sergey Romanenko](https://awilum.github.io/)
14 changes: 7 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "craft-plugins/reading-time",
"name": "awilum/craft-reading-time",
"description": "Reading Time plugin shows the estimated reading time of the content, in seconds or minutes.",
"type": "craft-plugin",
"keywords": ["twig", "craft", "craft-plugin", "craftcms"],
Expand All @@ -8,21 +8,21 @@
{
"name": "Sergey Romanenko",
"email": "[email protected]",
"homepage": "https://awilum.github.io"
"homepage": "https://awilum.github.io/"
}
],
"support": {
"email": "[email protected]",
"issues": "https://github.com/craft-plugins/reading-time/issues?state=open",
"source": "https://github.com/craft-plugins/reading-time",
"docs": "https://github.com/craft-plugins/reading-time/master/README.md"
"issues": "https://github.com/awilum/craft-reading-time/issues?state=open",
"source": "https://github.com/awilum/craft-reading-time",
"docs": "https://github.com/awilum/craft-reading-time/master/README.md"
},
"require": {
"craftcms/cms": "^4.3.3"
},
"autoload": {
"psr-4": {
"CraftPlugins\\ReadingTime\\": "src/"
"Awilum\\CraftReadingTime\\": "src/"
},
"files": ["src/functions.php"]
},
Expand All @@ -31,7 +31,7 @@
"extra": {
"name": "Reading Time",
"handle": "reading-time",
"class": "CraftPlugins\\ReadingTime\\ReadingTime"
"class": "Awilum\\CraftReadingTime\\ReadingTime"
},
"require-dev": {
"ext-iconv": "*",
Expand Down
1 change: 0 additions & 1 deletion phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
</testsuites>
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">./app</directory>
<directory suffix=".php">./src</directory>
</include>
</coverage>
Expand Down
4 changes: 2 additions & 2 deletions src/ReadingTime.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@

declare(strict_types=1);

namespace CraftPlugins\ReadingTime;
namespace Awilum\CraftReadingTime;

use Craft;
use craft\base\Plugin;
use CraftPlugins\ReadingTime\ReadingTimeTwigExtension;
use Awilum\CraftReadingTime\ReadingTimeTwigExtension;

class ReadingTime extends Plugin
{
Expand Down
4 changes: 2 additions & 2 deletions src/ReadingTimeTwigExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@

declare(strict_types=1);

namespace CraftPlugins\ReadingTime;
namespace Awilum\CraftReadingTime;

use Twig\Environment;
use Twig\Extension\AbstractExtension;
use Twig\TwigFunction;
use Twig\TwigFilter;
use Twig_Extension;
use function CraftPlugins\ReadingTime\readingTime;
use function Awilum\CraftReadingTime\readingTime;

class ReadingTimeTwigExtension extends AbstractExtension
{
Expand Down
2 changes: 1 addition & 1 deletion src/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

declare(strict_types=1);

namespace CraftPlugins\ReadingTime;
namespace Awilum\CraftReadingTime;

/**
* Get reading time
Expand Down
2 changes: 1 addition & 1 deletion tests/ReadingTimeTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

use function CraftPlugins\ReadingTime\readingTime;
use function Awilum\CraftReadingTime\readingTime;

beforeEach(function () {
$this->content = <<<CONTENT
Expand Down

0 comments on commit 36ae8b2

Please sign in to comment.