Skip to content
This repository was archived by the owner on Dec 8, 2019. It is now read-only.

Commit ce80b8e

Browse files
committed
Maintenance
1 parent 8a64bbb commit ce80b8e

11 files changed

Lines changed: 86 additions & 110 deletions

File tree

.editorconfig

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
root = true
2+
3+
[*]
4+
end_of_line = lf
5+
charset = utf-8
6+
trim_trailing_whitespace = true
7+
insert_final_newline = false
8+
9+
[*.md]
10+
trim_trailing_whitespace = false
11+
12+
[*.{js,json,yml,yaml}]
13+
indent_style = space
14+
indent_size = 2
15+
16+
#[*.go]
17+
#indent_style = tab
18+
#indent_size = 8

.gitattributes

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
*.css text
1212
*.js text
1313
*.json text
14+
*.go text
1415

1516
*.bat text
1617
*.sh text
17-
*.exe binary
18+
*.exe binary

.gitignore

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
1-
node_modules/
2-
npm-debug.log
3-
41
.DS_Store
5-
.idea
2+
Thumbs.db
63

74
*.log
8-
*.heapsnapshot
9-
.coverrun
10-
.coverdata
11-
dump.rdb
12-
xunit.xml
5+
*.exe
6+
*.prof
7+
*.out
138

14-
sources/
9+
tmp/
10+
logs/
11+
reports/
12+
releases/
13+
vendor/
14+
node_modules/
15+
source/

.jshintrc

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

.travis.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1+
sudo: false
2+
13
language: node_js
4+
25
node_js:
36
- "0.12"
4-
- "0.10"
5-
- "iojs"
7+
- "4"
8+
- "6"

CHANGELOG.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
## Changelog
1+
# Changelog
22

3-
### 1.0.1 (2015-03-15)
3+
## 1.0.1 (2015-03-15)
44

5-
* Misc. updates
5+
- Misc. updates
66

7-
### 1.0.0 (2014-07-04)
7+
## 1.0.0 (2014-07-04)
88

9-
* Stable release
9+
- Stable release
1010

11-
### 0.1.0 (2014-06-12)
11+
## 0.1.0 (2014-06-12)
1212

13-
* Initial release
13+
- Initial release

LICENSE.txt

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2014 Fatih Cetinkaya (http://github.com/cmfatih/publicalerts)
3+
Copyright (c) 2014 Fatih Cetinkaya (http://github.com/devfacet/publicalerts)
44

5-
Permission is hereby granted, free of charge, to any person obtaining a
6-
copy of this software and associated documentation files (the "Software"),
7-
to deal in the Software without restriction, including without limitation
8-
the rights to use, copy, modify, merge, publish, distribute, sublicense,
9-
and/or sell copies of the Software, and to permit persons to whom the
10-
Software is furnished to do so, subject to the following conditions:
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:
1111

12-
The above copyright notice and this permission notice shall be included in
13-
all copies or substantial portions of the Software.
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
1414

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
20-
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21-
DEALINGS IN THE SOFTWARE.
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: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
## Public Alerts
1+
# Public Alerts
22

33
[![NPM][npm-image]][npm-url] [![Build Status][travis-image]][travis-url]
44

55
Public Alerts is a module for obtaining emergency messages about hurricanes,
66
storm warnings and earthquakes.
77

8-
### Installation
8+
## Installation
99

10-
```
10+
```bash
1111
npm install publicalerts
1212
```
1313

14-
### Usage
14+
## Usage
1515

1616
```javascript
1717
var publicalerts = require('publicalerts');
@@ -87,17 +87,17 @@ publicalerts.search({location: 'texas'}, function(err, result) {
8787
*/
8888
```
8989

90-
### Notes
90+
## Notes
9191

9292
* It uses `www.google.org/publicalerts/`
9393

94-
### License
94+
## License
9595

9696
Licensed under The MIT License (MIT)
9797
For the full copyright and license information, please view the LICENSE.txt file.
9898

9999
[npm-url]: http://npmjs.org/package/publicalerts
100-
[npm-image]: https://badge.fury.io/js/publicalerts.png
100+
[npm-image]: https://badge.fury.io/js/publicalerts.svg
101101

102-
[travis-url]: https://travis-ci.org/cmfatih/publicalerts
103-
[travis-image]: https://travis-ci.org/cmfatih/publicalerts.svg?branch=master
102+
[travis-url]: https://travis-ci.org/devfacet/publicalerts
103+
[travis-image]: https://travis-ci.org/devfacet/publicalerts.svg?branch=master
Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,15 @@
11
/*
22
* Public Alerts
3-
* Copyright (c) 2014 Fatih Cetinkaya (http://github.com/cmfatih/publicalerts)
43
* For the full copyright and license information, please view the LICENSE.txt file.
54
*/
65

7-
// Init reqs
86
/* jslint node: true */
97
'use strict';
108

11-
var request = require('request'),
12-
qs = require('querystring');
9+
var request = require('request');
1310

1411
// Init the module
15-
exports = module.exports = function() {
12+
module.exports = function() {
1613

1714
var defTimeout = 10000,
1815
defLocation = 'US',

package.json

Lines changed: 14 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
11
{
22
"name": "publicalerts",
33
"version": "1.0.1",
4-
"description": "Public Alerts is a module for obtaining emergency messages about hurricanes, storm warnings and earthquakes.",
4+
"description": "A module for obtaining emergency messages about hurricanes, storm warnings and earthquakes",
5+
"main": "index.js",
6+
"scripts": {
7+
"test": "node node_modules/mocha/bin/mocha --reporter spec test/test-all.js"
8+
},
9+
"repository": {
10+
"type": "git",
11+
"url": "https://github.com/devfacet/publicalerts.git"
12+
},
513
"keywords": [
614
"public",
715
"alerts",
@@ -11,33 +19,14 @@
1119
"storm",
1220
"earthquake"
1321
],
14-
"homepage": "http://github.com/cmfatih/publicalerts",
15-
"repository": {
16-
"type": "git",
17-
"url": "https://github.com/cmfatih/publicalerts.git"
18-
},
19-
"bugs": {
20-
"url": "http://github.com/cmfatih/publicalerts/issues"
21-
},
22+
"author": "devfacet",
2223
"license": "MIT",
23-
"private": false,
24-
"author": {
25-
"name": "cmfatih",
26-
"url": "http://github.com/cmfatih"
27-
},
28-
"contributors": [],
29-
"main": "lib/publicalerts.js",
30-
"scripts": {
31-
"test": "node node_modules/mocha/bin/mocha --reporter spec test/test-all.js"
32-
},
33-
"engines": [
34-
"node >= 0.10.0"
35-
],
24+
"homepage": "http://github.com/devfacet/publicalerts",
3625
"dependencies": {
37-
"request": "2.x"
26+
"request": "2.x.x"
3827
},
3928
"devDependencies": {
40-
"mocha": "2.2.x",
41-
"chai": "2.1.x"
29+
"mocha": "3.2.x",
30+
"chai": "3.5.x"
4231
}
4332
}

0 commit comments

Comments
 (0)