Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirill committed Oct 2, 2016
1 parent 0aa63f3 commit 17482a9
Show file tree
Hide file tree
Showing 4 changed files with 130 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

![alt text](https://raw.githubusercontent.com/kirillstepkin/scale/master/img/placeit1.jpg)

Angular plugin for building scale of items. Chart ruler completely on HTML/CSS/JS. The source for this module is in the [main repo](https://github.com/kirillstepkin/scale). Please create issues and pull requests.
Angular plugin for building scale of items. Chart ruler completely on HTML/CSS/JS. Bar chart, line chart, calendar view visualisation. Diagram, graph, pyramid visualisation of large datasets. Showreel. The source for this module is in the [main repo](https://github.com/kirillstepkin/scale). Please create issues and pull requests.

![alt text](https://raw.githubusercontent.com/kirillstepkin/scale/master/img/output_eSVfyQ.gif)

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "angular-scale",
"main": "scale.js",
"version": "2.1.2",
"version": "2.1.3",
"homepage": "https://github.com/kirillstepkin/scale",
"authors": [
"Kirill Stepkin <[email protected]>"
Expand Down
127 changes: 127 additions & 0 deletions npm-debug.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'publish' ]
2 info using [email protected]
3 info using [email protected]
4 verbose publish [ '.' ]
5 silly cache add args [ '.', null ]
6 verbose cache add spec .
7 silly cache add parsed spec Result {
7 silly cache add raw: '.',
7 silly cache add scope: null,
7 silly cache add name: null,
7 silly cache add rawSpec: '.',
7 silly cache add spec: '/home/kirill/proj/scale',
7 silly cache add type: 'directory' }
8 verbose addLocalDirectory /home/kirill/.npm/angular-scale/2.1.2/package.tgz not in flight; packing
9 verbose correctMkdir /home/kirill/.npm correctMkdir not in flight; initializing
10 info lifecycle [email protected]~prepublish: [email protected]
11 silly lifecycle [email protected]~prepublish: no script for prepublish, continuing
12 verbose tar pack [ '/home/kirill/.npm/angular-scale/2.1.2/package.tgz',
12 verbose tar pack '/home/kirill/proj/scale' ]
13 verbose tarball /home/kirill/.npm/angular-scale/2.1.2/package.tgz
14 verbose folder /home/kirill/proj/scale
15 verbose addLocalTarball adding from inside cache /home/kirill/.npm/angular-scale/2.1.2/package.tgz
16 verbose correctMkdir /home/kirill/.npm correctMkdir not in flight; initializing
17 silly cache afterAdd [email protected]
18 verbose afterAdd /home/kirill/.npm/angular-scale/2.1.2/package/package.json not in flight; writing
19 verbose correctMkdir /home/kirill/.npm correctMkdir not in flight; initializing
20 verbose afterAdd /home/kirill/.npm/angular-scale/2.1.2/package/package.json written
21 silly publish { name: 'angular-scale',
21 silly publish version: '2.1.2',
21 silly publish description: 'Angular plugin for building a scale of items. Chart ruler completely on HTML/CSS/JS. Inspired by kinopoisk.ru chart. Feel free for contribute.',
21 silly publish keywords:
21 silly publish [ 'angular',
21 silly publish 'angular-scale',
21 silly publish 'angularjs',
21 silly publish 'scale',
21 silly publish 'items',
21 silly publish 'dataset',
21 silly publish 'kinopoisk',
21 silly publish 'chart',
21 silly publish 'line-chart',
21 silly publish 'bar-chart',
21 silly publish 'marks',
21 silly publish 'axis',
21 silly publish 'calendar-view',
21 silly publish 'pyramid',
21 silly publish 'progress-chart',
21 silly publish 'showreel',
21 silly publish 'visualisation',
21 silly publish 'diagram',
21 silly publish 'graph' ],
21 silly publish repository:
21 silly publish { type: 'git',
21 silly publish url: 'git+https://github.com/kirillstepkin/scale.git' },
21 silly publish main: 'scale.js',
21 silly publish author:
21 silly publish { name: 'Kirill Stepkin',
21 silly publish email: '[email protected]',
21 silly publish url: 'github.com/kirillstepkin' },
21 silly publish license: 'MIT',
21 silly publish readme: '# Scale\n\n[![NPM Version](https://img.shields.io/npm/v/angular-scale.svg)](https://www.npmjs.com/package/angular-scale)\n[![Download Month](https://img.shields.io/npm/dm/angular-scale.svg)](https://www.npmjs.com/package/angular-scale)\n[![Download Total](https://img.shields.io/npm/dt/angular-scale.svg)](https://www.npmjs.com/package/angular-scale)\n\n![alt text](https://raw.githubusercontent.com/kirillstepkin/scale/master/img/placeit1.jpg)\n\nAngular plugin for building scale of items. Chart ruler completely on HTML/CSS/JS. The source for this module is in the [main repo](https://github.com/kirillstepkin/scale). Please create issues and pull requests.\n\n![alt text](https://raw.githubusercontent.com/kirillstepkin/scale/master/img/output_eSVfyQ.gif)\n\nInspired by [kinopoisk.ru](https://www.kinopoisk.ru/) chart written using Adobe Flash. Also d3.js has such kind of chart written on Canvas. But this chart is just on HTML/CSS without using libraries. Feel free for contribute.\n\n![alt text](https://raw.githubusercontent.com/kirillstepkin/scale/master/img/84d858c0af.png)\n\n### Install\n\n```\nbower install angular-scale \nnpm install angular-scale \n```\n\n### Use\n\n```html\n<!DOCTYPE html>\n<html ng-app="myApp">\n\t<head>\n\t\t<meta charset="utf-8">\n\t\t<link rel="stylesheet" type="text/css" href="../scale.css">\n\t</head>\n\t<body ng-controller="main">\n\t\t<scale data="data" \n\t\t\t width="50" \n\t\t\t height="10"\n\t\t\t box-size="14"\n\t\t\t line="true"\n\t\t\t theme="default">\n\t\t</scale>\n\n\t\t<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.7/angular.min.js"></script>\n\t\t<script src="../scale.js"></script>\n\t\t<script src="./index.js"></script>\n\t</body>\n</html>\n```\n\n```javascript\nangular.module(\'myApp\', [\'scale\']).controller(\'main\', [\'$scope\', function($scope) {\n\t$scope.data = [];\n\n\tvar SCALE_WIDTH = 50,\n\t SCALE_HEIGHT = 10;\n\n\tfor (var i=0; i < SCALE_WIDTH; i++) {\n\t\tvar value = Math.floor(Math.random() * SCALE_HEIGHT + 1);\n\n\t\t$scope.data.push({\n\t\t\tvalue: value, //Value from 1 to SCALE_HEIGHT\n\t\t\ttitle: (i + 1) + " item" //Description\n\t\t});\n\t}\n}]);\n```\n\n### Options\n\n```html\n<scale data="data" \n\t width="50" \n\t height="10"\n\t box-size="14"\n\t line="true"\n\t theme="default">\n</scale>\n```\n\n* [data] is an array of objects [{value: 0}, ... , {value: 10}]. This is the dataset of the chart.\n* [width] is the horizontal length of the data array. If width param is less than the length of the data array then user will see the last values of the data array. \n* [height] is the vertical length.\n* [box-size] is size of each box in pixels.\n\n![alt text](https://raw.githubusercontent.com/kirillstepkin/scale/master/img/46cd396faa.jpg)\n\n* [line] is param that determines if this is a line-chart.\n\n![alt text](https://raw.githubusercontent.com/kirillstepkin/scale/master/img/a03def3092.jpg)\n\n* [theme] is color scheme of the chart.\n\n![alt text](https://raw.githubusercontent.com/kirillstepkin/scale/master/img/a657bab0f7.jpg)\n\nPlease check the example folder to see how it\'s going on practice.\n\n### Themes\n\n* default\n* purple\n* grey\n\n![alt text](https://raw.githubusercontent.com/kirillstepkin/scale/master/img/024486fd94.jpg)\n\n### Changelog\n\n* 10/02/2016 Implemented tooltips.\n* 10/01/2016 Implemented different color schemes.\n* 09/20/2016 Rewriting the project as an Angular.js plugin.\n* 06/05/2016 Finished writing function for calculating angle of the line that connects the points of the chart. Rendering chart.\n\n### License\n\nCopyright (c) 2016 [Kirill Stepkin](https://www.npmjs.com/~kirillstyopkin)\n\nInspired by [kinopoisk.ru](https://www.kinopoisk.ru/) chart.\n\n[![npm](https://img.shields.io/npm/l/express.svg?maxAge=2592000)](https://github.com/kirillstepkin/scale)\n',
21 silly publish readmeFilename: 'README.md',
21 silly publish gitHead: '0aa63f3f4a6a627cff2e891517ba68059e28f769',
21 silly publish bugs: { url: 'https://github.com/kirillstepkin/scale/issues' },
21 silly publish homepage: 'https://github.com/kirillstepkin/scale#readme',
21 silly publish _id: '[email protected]',
21 silly publish scripts: {},
21 silly publish _shasum: '9dd57eed8320ee87dcf2949e7477062fade3b2b1',
21 silly publish _from: '.' }
22 verbose getPublishConfig undefined
23 silly mapToRegistry name angular-scale
24 silly mapToRegistry using default registry
25 silly mapToRegistry registry https://registry.npmjs.org/
26 silly mapToRegistry data Result {
26 silly mapToRegistry raw: 'angular-scale',
26 silly mapToRegistry scope: null,
26 silly mapToRegistry name: 'angular-scale',
26 silly mapToRegistry rawSpec: '',
26 silly mapToRegistry spec: 'latest',
26 silly mapToRegistry type: 'tag' }
27 silly mapToRegistry uri https://registry.npmjs.org/angular-scale
28 verbose publish registryBase https://registry.npmjs.org/
29 silly publish uploading /home/kirill/.npm/angular-scale/2.1.2/package.tgz
30 verbose request uri https://registry.npmjs.org/angular-scale
31 verbose request sending authorization for write operation
32 info attempt registry request try #1 at 23:35:59
33 verbose request using bearer token for auth
34 verbose request id a7c630ce0933f30f
35 http request PUT https://registry.npmjs.org/angular-scale
36 http 403 https://registry.npmjs.org/angular-scale
37 verbose headers { 'content-type': 'application/json',
37 verbose headers 'cache-control': 'max-age=300',
37 verbose headers 'content-length': '95',
37 verbose headers 'accept-ranges': 'bytes',
37 verbose headers date: 'Sun, 02 Oct 2016 20:36:00 GMT',
37 verbose headers via: '1.1 varnish',
37 verbose headers connection: 'keep-alive',
37 verbose headers 'x-served-by': 'cache-fra1242-FRA',
37 verbose headers 'x-cache': 'MISS',
37 verbose headers 'x-cache-hits': '0',
37 verbose headers 'x-timer': 'S1475440559.357096,VS0,VE1596',
37 verbose headers vary: 'Accept-Encoding' }
38 verbose request invalidating /home/kirill/.npm/registry.npmjs.org/angular-scale on PUT
39 error publish Failed PUT 403
40 verbose stack Error: "You cannot publish over the previously published version 2.1.2." : angular-scale
40 verbose stack at makeError (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:264:12)
40 verbose stack at CachingRegistryClient.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:252:14)
40 verbose stack at Request._callback (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:172:14)
40 verbose stack at Request.self.callback (/usr/local/lib/node_modules/npm/node_modules/request/request.js:199:22)
40 verbose stack at emitTwo (events.js:100:13)
40 verbose stack at Request.emit (events.js:185:7)
40 verbose stack at Request.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/request/request.js:1036:10)
40 verbose stack at emitOne (events.js:95:20)
40 verbose stack at Request.emit (events.js:182:7)
40 verbose stack at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/request/request.js:963:12)
41 verbose statusCode 403
42 verbose pkgid angular-scale
43 verbose cwd /home/kirill/proj/scale
44 error Linux 4.4.0-38-generic
45 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "publish"
46 error node v5.11.0
47 error npm v3.8.6
48 error code E403
49 error "You cannot publish over the previously published version 2.1.2." : angular-scale
50 error If you need help, you may report this error at:
50 error <https://github.com/npm/npm/issues>
51 verbose exit [ 1, true ]
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-scale",
"version": "2.1.2",
"version": "2.1.3",
"description": "Angular plugin for building a scale of items. Chart ruler completely on HTML/CSS/JS. Inspired by kinopoisk.ru chart. Feel free for contribute.",
"keywords": [
"angular",
Expand Down

0 comments on commit 17482a9

Please sign in to comment.