Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release v0.3.2 #1

Merged
merged 3 commits into from
Apr 29, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 5 additions & 29 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,36 +1,12 @@
build
typings
node_modules

# Logs
logs
*.log
npm-debug.log*

# Runtime data
pids
*.pid
*.seed

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
# Typescript stuff
typings
build
docs
coverage

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directory
node_modules

# Optional npm cache directory
.npm

# Optional REPL history
.node_repl_history
21 changes: 20 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,23 @@ node_modules
.npm

# Optional REPL history
.node_repl_history
.node_repl_history


# Typescript stuff
typings
build
docs
coverage

# Files
*.ts
!*.d.ts
*.js.map
*.spec.js
*.spec.ts
*.spec.d.ts
*.spec.js.map

.travis.yml
.testdata
19 changes: 18 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
language: node_js
node_js:
- "5"
- '5'
- '4.2'

script: npm run citest
after_script: npm install coveralls@^2.11.9 && cat ./coverage/lcov.info | coveralls

before_deploy:
- npm run bootstrap
- tsc --outDir .

deploy:
provider: npm
email: christoph.buehler@bluewin.ch
api_key:
secure: rZpdXuZORp8oQWogOXlRJjBPSwPJxxHXYoJY/2iqw/0OAVB65UPKEPX7+F2u33KrodWSR/vf/D4AUFnbJaGzLEecQnCJjIcvaFOhsbmoZxVWM2LWuboH2CfKhxVrcN2c4LBmlo+sItuVarqqvbGakb9BmkwWEsD4VSU6mjoBJ9QQfdDyyXCB64sPLabbd9apah096lOb4KXqxcs0A4GMYVR54MuEf/+nhEiw34pqMJrwI2CHPD2Z0FujHFNj8cT7c4ZbyqvMQY/uoQzbOyeJMUfQ579jVhUEDC/gs2O/OZGbjSwU91t9Pm+keFCWYzUakOaNz1JM5y8zgSQH3n26iCmp+nFPxP0rioIAnI0QL04JgXxnZHOgVo0R+Oz+/B1vCPqnr6C5G2V+flQCht5BDHtCne5Q+roiMaRL7nmrxeHd3qlQ53l7RewKu+qgllVYiyWRUmVFmcs84NwmcYJQauwObkaKOrEvOSi77taqQDD9WKIEY0F156+1gAdzKFl1oLyMCbLDy/MmLrOejCCl88HH/+JD44hDBlgM/SpcENci5MjP24V0WXYJDkhcgFjDCBO+uc4seZYvrg0kMLRhg5hSxTIT93zHZNvrRkAw1TD73tV/tafXrO588ZI+/eJBIcTCc2kRg2FuDnrsspEBO66obsmpAeuf49dipD4oGTg=
on:
tags: true
repo: smartive/proc-that-rest-extractor
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# RestExtractor [![Build Status](https://travis-ci.org/buehler/proc-that-rest-extractor.svg?branch=master)](https://travis-ci.org/buehler/proc-that-rest-extractor)
# RestExtractor
Modular extractor for `proc-that`. Loads items from REST APIs via http requests.
Uses [restler](https://github.com/danwrong/restler) for downloading resources.

##### A bunch of badges

[![Build Status](https://travis-ci.org/smartive/proc-that-rest-extractor.svg?maxAge=3600)](https://travis-ci.org/smartive/proc-that-rest-extractor) [![npm](https://img.shields.io/npm/v/proc-that-rest-extractor.svg?maxAge=3600)](https://www.npmjs.com/package/proc-that-rest-extractor) [![Coverage status](https://img.shields.io/coveralls/smartive/proc-that-rest-extractor.svg?maxAge=3600)](https://coveralls.io/github/smartive/proc-that-rest-extractor) [![license](https://img.shields.io/github/license/smartive/proc-that-rest-extractor.svg?maxAge=2592000)](https://github.com/smartive/proc-that-rest-extractor)

## Installation

```bash
Expand Down
2 changes: 1 addition & 1 deletion RestExtractor.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {IExtract} from 'proc-that/dist/interfaces/IExtract';
import {IExtract} from 'proc-that';
import {Observable, Observer} from 'rxjs';

export enum RestExtractorMethod {
Expand Down
16 changes: 0 additions & 16 deletions dist/RestExtractor.d.ts

This file was deleted.

61 changes: 0 additions & 61 deletions dist/RestExtractor.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/RestExtractor.js.map

This file was deleted.

1 change: 0 additions & 1 deletion dist/index.d.ts

This file was deleted.

6 changes: 0 additions & 6 deletions dist/index.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/index.js.map

This file was deleted.

20 changes: 12 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
{
"name": "proc-that-rest-extractor",
"version": "0.3.1",
"version": "0.3.2",
"description": "extractor for proc-that which loads results from REST apis.",
"main": "dist/index.js",
"main": "index.js",
"scripts": {
"clean": "rimraf build",
"pretest": "npm install && typings install && npm run clean && tsc",
"bootstrap": "npm install && typings install",
"pretest": "npm run bootstrap && npm run clean && tsc",
"test": "mocha --ui bdd --recursive ./build",
"develop": "npm run clean && tsc -w",
"build": "rimraf build dist && tsc --outDir dist -d && del './dist/**/*.spec*'"
"precitest": "npm run bootstrap && npm run clean && tsc",
"citest": "istanbul cover -x \"**/*.spec.*\" _mocha --report lcovonly -- --ui bdd --recursive ./build",
"develop": "npm run clean && tsc -w"
},
"keywords": [
"etl",
Expand All @@ -19,24 +21,26 @@
],
"repository": {
"type": "git",
"url": "git@github.com:buehler/proc-that-rest-extractor.git"
"url": "git@github.com:smartive/proc-that-rest-extractor.git"
},
"bugs": "https://github.com/buehler/proc-that-rest-extractor/issues",
"bugs": "https://github.com/smartive/proc-that-rest-extractor/issues",
"author": "Christoph Bühler <christoph.buehler@bluewin.ch>",
"license": "MIT",
"devDependencies": {
"chai": "^3.5.0",
"chai-as-promised": "^5.3.0",
"del-cli": "^0.2.0",
"istanbul": "^0.4.3",
"mocha": "^2.4.5",
"mocha-lcov-reporter": "^1.2.0",
"rimraf": "^2.5.2",
"sinon": "^1.17.3",
"sinon-chai": "^2.8.0",
"typescript": "^1.8.9",
"typings": "^0.7.9"
},
"dependencies": {
"proc-that": "^0.3.0",
"proc-that": "^0.3.2",
"restler": "^3.4.0",
"rxjs": "5.0.0-beta.4"
}
Expand Down
6 changes: 3 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
"target": "es5",
"module": "commonjs",
"moduleResolution": "node",
"removeComments": true,
"removeComments": false,
"outDir": "./build",
"sourceMap": true
"declaration": true,
"sourceMap": false
},
"exclude": [
"node_modules",
"build",
"dist",
"typings/browser.d.ts",
"typings/browser"
]
Expand Down