hippodrome 0.1.0 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 068f1749f92919b87b6d708a0cbf0d360414dafc
4
- data.tar.gz: 8df16769e37ac22f33dc3d8155af396652258433
3
+ metadata.gz: c5fb09d766867bcef54df031595c4fbe3a758d9c
4
+ data.tar.gz: ef8b21e0074d23f17d34da39a9bcbac8abbc81ba
5
5
  SHA512:
6
- metadata.gz: dd32571405aca8a3075ba74b2d586923723dbeaef1ce570c178c3bc51909f7ad5170b2d7f4dbfa790d153c5cd421874f29dbadd97d5d31f6532f306b66c59374
7
- data.tar.gz: e87d9a0f0733e1041ac52002413e98604cd5f0f75bb56d91b9283430199b6047528d106e0bb1212d1352ead3231f46b1216022fb23584a3b7bca7bfd44cab755
6
+ metadata.gz: 76298a7f96ad0496083b2988b4d31a0931c3fdff952a93a06d62aa1efc2852e2a62d53fe902aba8116bb157ea585d81ced1cd15c866c1bf6c335f708ac3f80ab
7
+ data.tar.gz: cebf0076d52e74b8e90af1fffa03b9bd01ade5bcf8fceee88fc5d52f3996e9597367b0e18319a6a7bbc377a351c35d0797415e5a4641ce2fba1a477d7d7fa525
data/README.md CHANGED
@@ -40,6 +40,10 @@ Or install it yourself as:
40
40
 
41
41
  npm install --save hippodrome
42
42
 
43
+ ### Bower
44
+
45
+ bower install --save hippodrome
46
+
43
47
  ## Usage
44
48
 
45
49
  ### Rails
@@ -52,27 +56,15 @@ In your javascript manifest file:
52
56
 
53
57
  Hippodrome = require('hippodrome')
54
58
 
55
- ## Contributing
56
-
57
- The actual project code is in `src/`. `js/` and `app/` are where the compiled
58
- assets go to get picked up by npm and bundler, respectively.
59
-
60
- In order to build the code, install [node](http://nodejs.org/) and
61
- [gulp](http://gulpjs.com/), install the dev dependencies with `npm install` and
62
- then build with `gulp build`. This will deposit the compiled javascript to
63
- `js/` and `app/assets/javascripts/` and build a .gem file in `pkg/`.
59
+ ### Bower
64
60
 
65
- `test/hippodrome-test` is both a rails app and a node project that can run the
66
- tests in
67
- `test/hippodrome-test/specs/javascripts/hippodrome/hippodrome_spec.coffee`.
61
+ Hippodrome will either set a top-level `window.Hippodrome` object or export
62
+ a node-style `Hippodrome = require('hippodrome')` module, depending on what
63
+ it detects in your environment.
68
64
 
69
- To run the tests under rails, first `gulp build` in the project root, then
70
- `bundle` in the test project to install the gem, the either
71
- `rake spec:javascript` to run the tests in the console or `rails s` to start a
72
- WEBrick server and see the tests at
73
- [http://localhost:3000/specs](http://localhost:300/specs).
65
+ ## Contributing
74
66
 
75
- To run the tests under node, first `gulp build` in the project root, then
76
- `npm install` in the test directory (you may need to `rm -r node_modules/*` if
77
- you want to install the package again without bumping the version number), then
78
- `npm run test`.
67
+ The actual project code is in `src/`. Running `gulp build` will compile the
68
+ coffeescript files into `dist/`. `gulp test` runs a jasmine test suite on
69
+ the code in `dist`. `gulp watch` will watch `src` for changes and run the
70
+ tests on each change.
@@ -1,3 +1,3 @@
1
1
  module Hippodrome
2
- VERSION = '0.1.0'
3
- end
2
+ VERSION = '0.1.4'
3
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hippodrome
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Kermes
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-11-03 00:00:00.000000000 Z
12
+ date: 2014-11-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -84,7 +84,6 @@ files:
84
84
  - app/assets/javascripts/hippodrome.min.js
85
85
  - lib/hippodrome.rb
86
86
  - lib/hippodrome/version.rb
87
- - package.json
88
87
  homepage: https://github.com/Structural/hippodrome
89
88
  licenses:
90
89
  - MIT
data/package.json DELETED
@@ -1,44 +0,0 @@
1
- {
2
- "name": "hippodrome",
3
- "version": "0.1.0",
4
- "description": "Your data, like your chariots, go around and around in one direction in this, a Flux implementation that only Ben Hur could love.",
5
- "main": "js/hippodrome.js",
6
- "scripts": {
7
- "test": "echo \"Error: no test specified\" && exit 1",
8
- "build": "gulp build"
9
- },
10
- "engines": {
11
- "node": "0.10.x"
12
- },
13
- "dependencies": {
14
- "lodash": "^2.4.1"
15
- },
16
- "devDependencies": {
17
- "gulp": "^3.8.9",
18
- "gulp-coffee": "^2.2.0",
19
- "gulp-concat": "^2.4.1",
20
- "gulp-insert": "^0.4.0",
21
- "gulp-rename": "^1.2.0",
22
- "gulp-shell": "^0.2.10",
23
- "gulp-uglify": "^1.0.1"
24
- },
25
- "repository": {
26
- "type": "git",
27
- "url": "git://github.com/Structural/hippodrome.git"
28
- },
29
- "contributors": [
30
- {
31
- "name": "Sean Kermes",
32
- "email": "skermes@gmail.com"
33
- },
34
- {
35
- "name": "William Lubelski",
36
- "email": "will.lubelski@gmail.com"
37
- }
38
- ],
39
- "license": "MIT",
40
- "bugs": {
41
- "url": "https://github.com/Structural/hippodrome/issues"
42
- },
43
- "homepage": "https://github.com/Structural/hippodrome"
44
- }