Skip to content
This repository was archived by the owner on Nov 2, 2020. It is now read-only.

Commit 1973a1a

Browse files
authored
Merge pull request #2 from ClusterWS/next
New version 1.5.0 released
2 parents 121a723 + af9adf8 commit 1973a1a

35 files changed

+1418
-655
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@
22
/build
33
*.iml
44
/.gradle
5-
/src/test
65
/out

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2017 ClusterWS
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

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

build.gradle

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,26 @@
1-
version '1.3.0'
2-
31
apply plugin: 'java'
2+
apply plugin: 'idea'
43
apply plugin: 'maven'
54

5+
group 'com.github.clusterws'
6+
version '1.5'
67
sourceCompatibility = 1.8
7-
8-
group 'com.github.ClusterWS'
9-
8+
targetCompatibility = 1.8
109

1110
repositories {
12-
maven {
13-
url("https://jitpack.io" )
14-
}
1511
mavenCentral()
12+
jcenter()
13+
}
14+
15+
configurations {
16+
deployerJars
1617
}
1718

1819
dependencies {
19-
testCompile group: 'junit', name: 'junit', version: '4.12'
20-
compile 'com.neovisionaries:nv-websocket-client:2.3'
21-
compile group: 'org.json', name: 'json', version: '20170516'
20+
testCompile 'junit:junit:4.12'
21+
testCompile 'org.mockito:mockito-core:2.7.22'
22+
compile "org.java-websocket:Java-WebSocket:1.3.6"
23+
compile 'com.alibaba:fastjson:1.2.44'
2224
}
2325

2426
task sourcesJar(type: Jar, dependsOn: classes) {
@@ -35,4 +37,3 @@ artifacts {
3537
archives sourcesJar
3638
archives javadocJar
3739
}
38-

docs/CODE_OF_CONDUCT.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
6+
7+
## Our Standards
8+
9+
Examples of behavior that contributes to creating a positive environment include:
10+
11+
* Using welcoming and inclusive language
12+
* Being respectful of differing viewpoints and experiences
13+
* Gracefully accepting constructive criticism
14+
* Focusing on what is best for the community
15+
* Showing empathy towards other community members
16+
17+
Examples of unacceptable behavior by participants include:
18+
19+
* The use of sexualized language or imagery and unwelcome sexual attention or advances
20+
* Trolling, insulting/derogatory comments, and personal or political attacks
21+
* Public or private harassment
22+
* Publishing others' private information, such as a physical or electronic address, without explicit permission
23+
* Other conduct which could reasonably be considered inappropriate in a professional setting
24+
25+
## Our Responsibilities
26+
27+
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
28+
29+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
30+
31+
## Scope
32+
33+
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
34+
35+
## Enforcement
36+
37+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team . The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
38+
39+
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
40+
41+
## Attribution
42+
43+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
44+
45+
[homepage]: http://contributor-covenant.org
46+
[version]: http://contributor-covenant.org/version/1/4/

docs/ISSUE_TEMPLATE.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
### Submitting
2+
<!-- Select from following by placing `x` between braces like: [x] -->
3+
- [ ] Bug
4+
- [ ] Question
5+
- [ ] Suggetion
6+
- [ ] Other
7+
8+
### Details
9+
<!--
10+
#### Please include following details if you have any issues
11+
1. What version of ClusterWS do you use (you can find it in package.json)
12+
2. The operating system you are running on.
13+
3. Describe the problem as clear as possible.
14+
#### We will reply as soon as we can. Have a good time.
15+
-->

docs/PULL_REQUEST_TEMPLATE.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
### Submitting
2+
<!-- Select from following by placing `x` between braces like: [x] -->
3+
- [ ] Bug fix
4+
- [ ] Feature
5+
- [ ] Other
6+
7+
### Details
8+
<!-- Describe what you are submitting as clear as possible -->

docs/README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<h1 align="center">ClusterWS Java Client</h1>
2+
<h6 align="center">Build Scalable Node.js WebSocket Applications</h6>
3+
4+
<p align="center">
5+
<img src="https://cdn.rawgit.com/goriunov/159120ca6a883d8d4e75543ec395d361/raw/f4c3c36ac1ab75beedcf73312272b60dac33ecfa/clusterws.svg" width="500">
6+
</p>
7+
8+
<p align="center">
9+
<a title="JitPack Version" href="https://jitpack.io/#ClusterWS/ClusterWS-Client-Java"><img src="https://jitpack.io/v/ClusterWS/ClusterWS-Client-Java.svg"></a>
10+
</p>
11+
12+
<p align="center">
13+
<i>Official Java Client library for <a href="https://github.com/ClusterWS/ClusterWS">ClusterWS</a> - lightweight, fast and powerful framework for building horizontally & vertically scalable WebSocket applications in Node.js</i>
14+
</p>
15+
16+
<h1></h1>
17+
<h3 align="center">
18+
<a href="https://github.com/ClusterWS/ClusterWS-Client-Java/wiki"><strong>ClusterWS Java Client Documentation</strong></a>
19+
</h3>

gradle/wrapper/gradle-wrapper.jar

580 Bytes
Binary file not shown.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Fri Oct 13 02:04:38 NZDT 2017
1+
#Sun Dec 10 10:00:07 NZDT 2017
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-3.5-rc-2-all.zip

settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
rootProject.name = 'com.Yegorisa.ClusterWS-Client-Java'
1+
rootProject.name = 'clusterws-client-java'
22

0 commit comments

Comments
 (0)