Skip to content

Commit

Permalink
v0.1.13
Browse files Browse the repository at this point in the history
  • Loading branch information
xk committed Dec 31, 2016
1 parent 3cd0b83 commit e52ff71
Show file tree
Hide file tree
Showing 10 changed files with 824 additions and 523 deletions.
45 changes: 44 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,49 @@
sudo: false

language: node_js

node_js:
- "0.5.1"
- "0.5"
- "0.6.0"
- "0.6"
- "0.8.0"
- "0.8"
- "0.9"
- "0.10.0"
- "0.10"
- "0.12.0"
- "0.12"
- "1.0.0"
- "1"
- "2.0.0"
- "2"
- "3.0.0"
- "3"
- "4.0.0"
- "4"
- "5.0.0"
- "5"
- "6.0.0"
- "6"

cache:
directories:
- node_modules

install:
- npm install

script:
- npm run test

# Necessary to compile native modules for io.js v3 or Node.js v4
env:
- CXX=g++-4.8

# Necessary to compile native modules for io.js v3 or Node.js v4
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ Threads_a_gogo license follows:

====

Copyright 2011 Proyectos Equis Ka, s.l., Jorge Chamorro Bieling and other
contributors. See the AUTHORS file. All rights reserved.
Copyright 2011 Proyectos Equis Ka, s.l., Jorge Chamorro Bieling.
All rights reserved.

====

Expand Down
19 changes: 11 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,15 @@ From source:
cd node-threads-a-gogo
# One of
node-gyp rebuild
node test/all.js
# or
npm install
node test/all.js
# or
node-waf configure build install
node-waf configure build install test
# Depending of what wersion of node you've got.
# THREADS_A_GOGO CURRENTLY (v0.1.12) RUNS ON NODES v0.5.1 TO v0.10.48
#
# THREADS_A_GOGO CURRENTLY (v0.1.13) RUNS ON NODES v0.5.1 TO v6.9.2

Basic functionality test:

Expand All @@ -42,15 +45,15 @@ Basic functionality test:
27.OK.WAITING FOR DESTROY CB
28.OK.29.DESTROY CB OK
END
THREADS_A_GOGO v0.1.12 BASIC FUNCTIONALITY TEST: OK, IT WORKS!
THREADS_A_GOGO v0.1.13 BASIC FUNCTIONALITY TEST: OK, IT WORKS!

To include the module in your project:

var tagg= require('threads_a_gogo');

**You need a node with a v8 >= 3.2.4 to run this module. Any node >= 0.5.1 comes with a v8 >= 3.2.4.**

The module **runs fine, though, in any node >= 0.2.0** as long as you build it with a v8 >= 3.2.4. To do that you simply have to replace /node/deps/v8 with a newer version of v8 and recompile it (node). To get any version of node goto http://nodejs.org/dist/, and for v8 goto http://github.com/v8/v8, click on "branch", select the proper tag (>= 3.2.4), and download the .zip.
The module **runs fine, though, in any node >= 0.1.13** as long as you build it with a v8 >= 3.2.4, [see here](https://nodejs.org/en/download/releases/). To do that you simply have to replace /node/deps/v8 with a newer version of v8 and recompile it (node). To get any version of node goto http://nodejs.org/dist/, and for v8 goto http://github.com/v8/v8, click on "branch", select the proper tag (>= 3.2.4), and download the .zip.

## Intro

Expand Down Expand Up @@ -263,7 +266,7 @@ tagg= require('threads_a_gogo') -> tagg object

{ create: [Function],
createPool: [Function: createPool],
version: '0.1.12' }
version: '0.1.13' }

```
### .create()
Expand All @@ -286,7 +289,7 @@ thread= tagg.create() -> thread object
emit: [Function: emit],
destroy: [Function: destroy],
id: 0,
version: '0.1.12',
version: '0.1.13',
on: [Function: on],
once: [Function: once],
_on: {},
Expand Down Expand Up @@ -348,7 +351,7 @@ Inside every thread .create()d by threads_a_gogo, there's a global `thread` obje
thread (a global) ->

{ id: 0,
version: '0.1.12',
version: '0.1.13',
on: [Function: on],
once: [Function: once],
emit: [Function: emit],
Expand Down Expand Up @@ -438,7 +441,7 @@ pool= tagg.createPool( numbreOfThreads ) ->
emit: [Function: emit],
destroy: [Function: destroy],
id: 0,
version: '0.1.12',
version: '0.1.13',
on: [Function: on],
once: [Function: once],
_on: {},
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "threads_a_gogo",
"version": "0.1.12",
"version": "0.1.13",
"main": "build/Release/threads_a_gogo.node",
"description": "██ Simple and fast JavaScript threads for Node.js ██",
"keywords": [
Expand Down Expand Up @@ -31,7 +31,7 @@
},
"os": ["macos", "linux", "darwin"],
"engines": {
"node": ">=0.5.1 <0.11"
"node": ">=0.5.1 <=6.9.2"
},
"devDependencies": { "test": ">=0.1.8" }
}
Loading

0 comments on commit e52ff71

Please sign in to comment.