Skip to content

Commit 7ad0f9d

Browse files
authored
Merge pull request #4 from Prominence/dev
2.0.0 version implementation.
2 parents 83f3a8e + e9a5011 commit 7ad0f9d

File tree

105 files changed

+8359
-2332
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+8359
-2332
lines changed
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
# For most projects, this workflow file will not need changing; you simply need
2+
# to commit it to your repository.
3+
#
4+
# You may wish to alter this file to override the set of languages analyzed,
5+
# or to provide custom queries or build logic.
6+
#
7+
# ******** NOTE ********
8+
# We have attempted to detect the languages in your repository. Please check
9+
# the `language` matrix defined below to confirm you have the correct set of
10+
# supported CodeQL languages.
11+
#
12+
name: "CodeQL"
13+
14+
on:
15+
push:
16+
branches: [ dev ]
17+
pull_request:
18+
# The branches below must be a subset of the branches above
19+
branches: [ dev ]
20+
schedule:
21+
- cron: '27 20 * * 1'
22+
23+
jobs:
24+
analyze:
25+
name: Analyze
26+
runs-on: ubuntu-latest
27+
28+
strategy:
29+
fail-fast: false
30+
matrix:
31+
language: [ 'java' ]
32+
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
33+
# Learn more:
34+
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
35+
36+
steps:
37+
- name: Checkout repository
38+
uses: actions/checkout@v2
39+
40+
# Initializes the CodeQL tools for scanning.
41+
- name: Initialize CodeQL
42+
uses: github/codeql-action/init@v1
43+
with:
44+
languages: ${{ matrix.language }}
45+
# If you wish to specify custom queries, you can do so here or in a config file.
46+
# By default, queries listed here will override any specified in a config file.
47+
# Prefix the list here with "+" to use these queries and those in the config file.
48+
# queries: ./path/to/local/query, your-org/your-repo/queries@main
49+
50+
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
51+
# If this step fails, then you should remove it and run the build manually (see below)
52+
- name: Autobuild
53+
uses: github/codeql-action/autobuild@v1
54+
55+
# ℹ️ Command-line programs to run using the OS shell.
56+
# 📚 https://git.io/JvXDl
57+
58+
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
59+
# and modify them (or add more) to build your code if your project
60+
# uses a compiled language
61+
62+
#- run: |
63+
# make bootstrap
64+
# make release
65+
66+
- name: Perform CodeQL Analysis
67+
uses: github/codeql-action/analyze@v1

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2019 Alexey Zinchenko
3+
Copyright (c) 2021 Alexey Zinchenko
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 19 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,57 +2,53 @@
22
Java API for OpenWeatherMap services.
33

44
### Implemented features:
5+
Free:
56
* Current weather data
6-
* 5 day / 3 hour forecast
7-
* 16 day / daily forecast
8-
* UV Index
9-
* Air pollution(beta)
7+
* 5 day / 3-hour forecast
108

119
### Will be implemented later:
12-
Global changes in API and more functionality.
1310

14-
### Maven coordinates:
11+
Free:
12+
* One Call API
13+
* Air pollution
14+
* Geocoding API
15+
* Weather Stations
16+
* Weather Triggers
17+
18+
Paid:
19+
* Daily Forecast 16 days
20+
* Hourly Forecast 4 days
21+
* probably others...
1522

16-
```xml
17-
<dependency>
18-
<groupId>com.github.prominence</groupId>
19-
<artifactId>openweathermap-api</artifactId>
20-
<version>1.2</version>
21-
</dependency>
22-
```
23+
### Maven coordinates:
2324

24-
New experimental version:
2525
```xml
2626
<dependency>
2727
<groupId>com.github.prominence</groupId>
2828
<artifactId>openweathermap-api</artifactId>
29-
<version>2.0-SNAPSHOT</version>
29+
<version>2.0.0-SNAPSHOT</version>
3030
</dependency>
3131
```
3232

3333
### Gradle coordinates:
3434

3535
```groovy
36-
compile('com.github.prominence:openweathermap-api:1.2')
37-
```
38-
39-
New experimental version:
40-
```groovy
41-
compile('com.github.prominence:openweathermap-api:2.0-SNAPSHOT')
36+
compile('com.github.prominence:openweathermap-api:2.0.0-SNAPSHOT')
4237
```
4338

4439
### Documentation
4540
* [OpenWeatherMap Java API - 1.0](docs/Release_1.0.md)
4641
* [OpenWeatherMap Java API - 1.1](docs/Release_1.1.md)
4742
* [OpenWeatherMap Java API - 1.2](docs/Release_1.2.md)
43+
* [OpenWeatherMap Java API - 2.0.0](docs/Release_2.0.0.md)
4844
* [OpenWeatherMap Java API - SNAPSHOT](docs/SNAPSHOT.md)
4945

5046
### License
5147
MIT
5248

53-
[ci-shield]: https://travis-ci.org/Prominence/openweathermap-java-api.svg?branch=master
49+
[ci-shield]: https://travis-ci.org/Prominence/openweathermap-java-api.svg?branch=dev
5450
[ci-link]: https://travis-ci.org/Prominence/openweathermap-java-api
5551

5652

57-
[codecov-shield]: https://codecov.io/gh/Prominence/openweathermap-java-api/branch/master/graph/badge.svg
53+
[codecov-shield]: https://codecov.io/gh/Prominence/openweathermap-java-api/branch/dev/graph/badge.svg
5854
[codecov-link]: https://codecov.io/gh/Prominence/openweathermap-java-api

0 commit comments

Comments
 (0)