Skip to content

Commit 16bd4f9

Browse files
committed
1.0.3: Update Travis CI badge in README hoping it will start to reflect the actual build status
1 parent c1f0a4a commit 16bd4f9

3 files changed

Lines changed: 8 additions & 7 deletions

File tree

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
# anylogger <sub><sup>1.0.1</sup></sub>
1+
# anylogger <sub><sup>1.0.3</sup></sub>
22
### Get a logger. Any logger.
33

44
[![npm](https://img.shields.io/npm/v/anylogger.svg)](https://npmjs.com/package/anylogger)
55
[![license](https://img.shields.io/npm/l/anylogger.svg)](https://opensource.org/licenses/MIT)
6-
[![travis](https://img.shields.io/travis/Download/anylogger.svg)](https://travis-ci.org/Download/anylogger)
6+
[![travis](https://img.shields.io/travis/Download/anylogger.svg)](https://travis-ci.org/Download/anylogger.png?branch=master&v=1.0.3)
77
![mind BLOWN](https://img.shields.io/badge/mind-BLOWN-ff69b4.svg)
88

99

@@ -123,17 +123,17 @@ logging framework.
123123

124124
## Download
125125

126-
* [anylogger.js](https://unpkg.com/anylogger@1.0.1/anylogger.js)
126+
* [anylogger.js](https://unpkg.com/anylogger@1.0.3/anylogger.js)
127127
(fully commented source ~5kB)
128-
* [anylogger.min.js](https://unpkg.com/anylogger@1.0.1/anylogger.min.js)
128+
* [anylogger.min.js](https://unpkg.com/anylogger@1.0.3/anylogger.min.js)
129129
(minified 636 bytes, gzipped ~[390](#gzip-size) bytes)
130130

131131

132132
## CDN
133133

134134
*index.html*
135135
```html
136-
<script src="https://unpkg.com/anylogger@1.0.1/anylogger.min.js"></script>
136+
<script src="https://unpkg.com/anylogger@1.0.3/anylogger.min.js"></script>
137137
<script>(function(){ // IIFE
138138
var log = anylogger('index.html')
139139
log.info('Logging is simple!')
@@ -510,7 +510,7 @@ The log function returned by anylogger calls `anylogger.log`, which determines
510510
the log level and invokes the appropriate log method.
511511

512512
Please have a look at the
513-
[source](https://unpkg.com/anylogger@1.0.1/anylogger.js)
513+
[source](https://unpkg.com/anylogger@1.0.3/anylogger.js)
514514
it should make it more clear how to write an adapter. Also consider studying
515515
the [available adapters](https://www.npmjs.com/search?q=keywords:anylogger)
516516
and learn by example.

build.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ var v = pkg.version
3636
readme = readme.replace(/minified \d\d\d bytes/g, 'minified ' + min + ' bytes')
3737
readme = readme.replace(/\[\d\d\d\]\(#gzip-size\)/g, '[' + gzip + '](#gzip-size)')
3838
readme = readme.replace(/\<sub\>\<sup\>\d(\d)?\.\d(\d)?\.\d(\d)?\<\/sup\>\<\/sub\>/g, `<sub><sup>${v}</sup></sub>`)
39+
readme = readme.replace(/&v=\d(\d)?\.\d(\d)?\.\d(\d)?/g, `&v=${v}`)
3940
readme = readme.replace(/\@\d(\d)?\.\d(\d)?\.\d(\d)?\//g, `@${v}/`)
4041
readme = readme.replace(/\>\=\d(\d)?\.\d(\d)?\.\d(\d)?/g, `>=${v}`)
4142
fs.writeFileSync('README.md', readme, 'utf8')

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "anylogger",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"description": "Get a logger. Any logger.",
55
"src": "./anylogger.js",
66
"main": "./anylogger.cjs.js",

0 commit comments

Comments
 (0)