Skip to content

Commit 9e182fc

Browse files
committed
Merge branch 'master' into 17
2 parents c589bbd + 1e44966 commit 9e182fc

File tree

11 files changed

+46
-37
lines changed

11 files changed

+46
-37
lines changed

.rultor.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,8 @@ readers:
1818
# https://danielkummer.github.io/git-flow-cheatsheet/index.html
1919
assets:
2020
settings.xml: "dgroup/ossrh#settings.xml"
21-
# @todo #/DEV Generate a new key for signing and publishing artifacts to Maven Central.
22-
pubring.gpg: "dgroup/ossrh#enumberable4j-pubring.gpg"
23-
secring.gpg: "dgroup/ossrh#enumberable4j-secring.gpg"
21+
pubring.gpg: "dgroup/ossrh#8B01AA62_enumerable4j_pubring.gpg"
22+
secring.gpg: "dgroup/ossrh#8B01AA62_enumerable4j_secring.gpg"
2423

2524
merge:
2625
env:
@@ -37,4 +36,4 @@ release:
3736
mvn versions:set "-DnewVersion=${tag}"
3837
git add pom.xml
3938
git commit -am "${tag}"
40-
mvn -X -V -Dgpg.homedir="$HOME" -P qulice,ossrh-enumberable4j -s ../settings.xml clean deploy
39+
mvn -X -V -Dgpg.homedir="$HOME" -P qulice,ossrh-enumerable4j -s ../settings.xml clean deploy

pom.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,6 @@
200200
<reuseForks>true</reuseForks>
201201
<useSystemClassLoader>false</useSystemClassLoader>
202202
<threadCount>4</threadCount>
203-
<argLine>${argLine} -Xmx2048m</argLine>
204203
</configuration>
205204
</plugin>
206205
<!-- @todo #/DEV Activate JMH for testing on JDK8
@@ -343,6 +342,12 @@
343342
</goals>
344343
</execution>
345344
</executions>
345+
<configuration>
346+
<gpgArguments>
347+
<arg>--pinentry-mode</arg>
348+
<arg>loopback</arg>
349+
</gpgArguments>
350+
</configuration>
346351
</plugin>
347352
<plugin>
348353
<groupId>org.sonatype.plugins</groupId>

readme.md

Lines changed: 29 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -7,26 +7,29 @@
77
[![CI](https://github.com/dgroup/enumerable4j/actions/workflows/build.yml/badge.svg)](https://github.com/dgroup/enumerable4j/actions/workflows/build.yml)
88
[![0pdd](http://www.0pdd.com/svg?name=dgroup/enumerable4j)](http://www.0pdd.com/p?name=dgroup/enumerable4j)
99
[![Dependency Status](https://requires.io/github/dgroup/enumerable4j/requirements.svg?branch=master)](https://requires.io/github/dgroup/enumerable4j/requirements/?branch=master)
10-
[![Known Vulnerabilities](https://snyk.io/test/github/dgroup/enumerable4j/badge.svg)](https://snyk.io/org/dgroup/project/4a9f3433-7da5-4c24-985e-ee1d3077c458/?tab=dependencies&vulns=vulnerable)
10+
[![Known Vulnerabilities](https://snyk.io/test/github/dgroup/enumerable4j/badge.svg)](https://snyk.io/org/dgroup/project/4a9f3433-7da5-4c24-985e-ee1d3077c458/?tab=dependencies\&vulns=vulnerable)
1111

1212
[![DevOps By Rultor.com](http://www.rultor.com/b/dgroup/enumerable4j)](http://www.rultor.com/p/dgroup/enumerable4j)
1313
[![EO badge](http://www.elegantobjects.org/badge.svg)](http://www.elegantobjects.org/#principles)
1414
[![We recommend IntelliJ IDEA](http://www.elegantobjects.org/intellij-idea.svg)](https://www.jetbrains.com/idea/)
1515

1616
[![Qulice](https://img.shields.io/badge/qulice-passed-blue.svg)](http://www.qulice.com/)
17-
[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=dgroup_enumerable4j&metric=sqale_rating)](https://sonarcloud.io/dashboard?id=dgroup_enumerable4j)
17+
[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=dgroup_enumerable4j\&metric=sqale_rating)](https://sonarcloud.io/dashboard?id=dgroup_enumerable4j)
1818
[![Codebeat Badge](https://codebeat.co/badges/ef2fc64b-b2cf-4cc5-8b01-c9b4baaae87a)](https://codebeat.co/projects/github-com-dgroup-enumerable4j-master)
19-
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/eb956780f5b34519ac193c204062acae)](https://www.codacy.com/gh/dgroup/enumerable4j/dashboard?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=dgroup/enumerable4j&amp;utm_campaign=Badge_Grade)
19+
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/eb956780f5b34519ac193c204062acae)](https://www.codacy.com/gh/dgroup/enumerable4j/dashboard?utm_source=github.com\&utm_medium=referral\&utm_content=dgroup/enumerable4j\&utm_campaign=Badge_Grade)
2020
[![Codecov](https://codecov.io/gh/dgroup/enumerable4j/branch/master/graph/badge.svg)](https://codecov.io/gh/dgroup/enumerable4j)
2121

22-
- [Overview](#overview)
23-
- [How to use?](#how-to-use)
24-
- [.all](#all)
25-
- [.any](#any)
26-
- [.none](#none)
27-
- [.select](#select)
28-
- [How to contribute?](#how-to-contribute)
29-
- [Contributors](#contributors)
22+
* [Overview](#overview)
23+
24+
* [How to use?](#how-to-use)
25+
* [.all](#all)
26+
* [.any](#any)
27+
* [.none](#none)
28+
* [.select](#select)
29+
30+
* [How to contribute?](#how-to-contribute)
31+
32+
* [Contributors](#contributors)
3033

3134
### Overview
3235

@@ -40,7 +43,7 @@ Get the latest version [here](https://github.com/dgroup/enumerable4j/releases):
4043
```xml
4144

4245
<dependency>
43-
<groupId>io.dgroup</groupId>
46+
<groupId>io.github.dgroup</groupId>
4447
<artifactId>enumerable4j</artifactId>
4548
<version>${version}</version>
4649
</dependency>
@@ -49,29 +52,33 @@ Get the latest version [here](https://github.com/dgroup/enumerable4j/releases):
4952
Java version required: 1.8+.
5053

5154
enumerable4j | Java 8 | [cactoos](https://github.com/yegor256/cactoos)
52-
------ | ------ | ------ |
55+
|------ | ------ | ------ |
5356
`.all(...)` | `.stream().allMatch(...);` | `new And<>(...,...).value()`
5457
`.select(...)` | `.stream().filter(...).collect(Collectors.toList())` | `new Filtered<>(...,...)`
5558

56-
#### all
59+
#### .all
60+
5761
```java
5862
Collection<Integer> src = new EnumerableOf<>(1, 2, 3);
5963
boolean allPositive = src.all(v -> v > 0); // true
6064
```
6165

6266
#### .any
67+
6368
```java
6469
Collection<Integer> src = new EnumerableOf<>(-1, 0, 1);
6570
boolean oneIsPositive = src.any(v -> v > 0); // true
6671
```
6772

6873
#### .none
74+
6975
```java
7076
Collection<Integer> src = new EnumerableOf<>(-2, -1, 0);
7177
boolean noneIsPositive = src.none(v -> v > 0); // true
7278
```
7379

7480
#### .select
81+
7582
```java
7683
Collection<Integer> src = new EnumerableOf<>(-1, 1, 2);
7784
Collection<Integer> positive = src.select(v -> v > 0); // [1, 2]
@@ -81,14 +88,14 @@ Collection<Integer> positive = src.select(v -> v > 0); // [1, 2]
8188

8289
[![EO badge](http://www.elegantobjects.org/badge.svg)](http://www.elegantobjects.org/#principles)
8390

84-
1. Pull requests are welcome! Don't forget to add your name to contribution section and run this,
85-
beforehand:
86-
```
91+
1. Pull requests are welcome! Don't forget to add your name to contribution section and run this,
92+
beforehand:
93+
```bash
8794
mvn -Pqulice clean install
8895
```
89-
2. Everyone interacting in this project’s codebases, issue trackers, chat rooms is expected to
90-
follow the [code of conduct](.github/CODE_OF_CONDUCT.md).
91-
3. Latest maven coordinates [here](https://github.com/dgroup/enumerable4j/releases):
96+
2. Everyone interacting in this project’s codebases, issue trackers, chat rooms is expected to
97+
follow the [code of conduct](.github/CODE_OF_CONDUCT.md).
98+
3. Latest maven coordinates [here](https://github.com/dgroup/enumerable4j/releases):
9299
```xml
93100
<dependency>
94101
<groupId>io.github.dgroup</groupId>
@@ -99,7 +106,5 @@ Collection<Integer> positive = src.select(v -> v > 0); // [1, 2]
99106

100107
### Contributors
101108

102-
* [dgroup](https://github.com/dgroup) as Yurii
103-
104-
* [smithros](https://github.com/smithros) as Rostyslav
105-
109+
* [dgroup](https://github.com/dgroup) as Yurii Dubinka (<[email protected]>)
110+
* [smithros](https://github.com/smithros) as Rostyslav Koval (<[email protected]>)

src/main/java/io/dgroup/enumerable4j/Enumerable.java renamed to src/main/java/io/github/dgroup/enumerable4j/Enumerable.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
2222
* OR OTHER DEALINGS IN THE SOFTWARE.
2323
*/
24-
package io.dgroup.enumerable4j;
24+
package io.github.dgroup.enumerable4j;
2525

2626
import java.util.Collection;
2727
import java.util.function.Function;

src/main/java/io/dgroup/enumerable4j/EnumerableOf.java renamed to src/main/java/io/github/dgroup/enumerable4j/EnumerableOf.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
2222
* OR OTHER DEALINGS IN THE SOFTWARE.
2323
*/
24-
package io.dgroup.enumerable4j;
24+
package io.github.dgroup.enumerable4j;
2525

2626
import java.util.Collections;
2727
import java.util.function.Function;

src/main/java/io/dgroup/enumerable4j/package-info.java renamed to src/main/java/io/github/dgroup/enumerable4j/package-info.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@
2828
* @author Yurii Dubinka ([email protected])
2929
* @since 0.1.0
3030
*/
31-
package io.dgroup.enumerable4j;
31+
package io.github.dgroup.enumerable4j;

src/test/java/io/dgroup/enumerable4j/AllTest.java renamed to src/test/java/io/github/dgroup/enumerable4j/AllTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* OR OTHER DEALINGS IN THE SOFTWARE.
2323
*/
2424

25-
package io.dgroup.enumerable4j;
25+
package io.github.dgroup.enumerable4j;
2626

2727
import org.hamcrest.core.IsEqual;
2828
import org.junit.jupiter.api.Test;

src/test/java/io/dgroup/enumerable4j/AnyTest.java renamed to src/test/java/io/github/dgroup/enumerable4j/AnyTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* OR OTHER DEALINGS IN THE SOFTWARE.
2323
*/
2424

25-
package io.dgroup.enumerable4j;
25+
package io.github.dgroup.enumerable4j;
2626

2727
import org.hamcrest.core.IsEqual;
2828
import org.junit.jupiter.api.Test;

src/test/java/io/dgroup/enumerable4j/NoneTest.java renamed to src/test/java/io/github/dgroup/enumerable4j/NoneTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* OR OTHER DEALINGS IN THE SOFTWARE.
2323
*/
2424

25-
package io.dgroup.enumerable4j;
25+
package io.github.dgroup.enumerable4j;
2626

2727
import org.hamcrest.core.IsEqual;
2828
import org.junit.jupiter.api.Test;

src/test/java/io/dgroup/enumerable4j/SelectTest.java renamed to src/test/java/io/github/dgroup/enumerable4j/SelectTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* OR OTHER DEALINGS IN THE SOFTWARE.
2323
*/
2424

25-
package io.dgroup.enumerable4j;
25+
package io.github.dgroup.enumerable4j;
2626

2727
import org.hamcrest.core.AllOf;
2828
import org.junit.jupiter.api.Test;

0 commit comments

Comments
 (0)