joosy 1.2.0.alpha.30 → 1.2.0.alpha.31

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: 084cd622f83fd157f9e586637073a5b7805b589c
4
- data.tar.gz: b951da4e5b77d1abbef183ef324041a8fbfa0d6d
3
+ metadata.gz: 765b432f5a78849d1a9ec069a58579f137d955f3
4
+ data.tar.gz: 80829d0f42371c329ec8431d4804b8d23c764e62
5
5
  SHA512:
6
- metadata.gz: f2fec6f565c55716ab899bceda1f8b393f914f4a9470285b3e02bcfe970f5a1de7021f060d7b148fd437e24138733f60db6190dae2742508b2e8b7c0b4094857
7
- data.tar.gz: 14885cd6dc062877e29715dcc3244403c565f48da98a6190d51fd517c57f78db030e400eb903d0330809d5f50cbcf5be69c5748fdf9a54fa5cf11c73956c86a4
6
+ metadata.gz: 49288c19845d79274c745dbb7a852a1ce425c3ced4f8bba73a2cdde6a1d793e4b7e011d8c0179c38ee66556f7e998bc40a69e4784b987867f51162b45ee438ea
7
+ data.tar.gz: 68a0a84be6f4ae64ebcb3189dca22a49e8ccfdace6709ac3073926472d578d6ad807345afcf040adaba22625a97269335f4c792e43512bffa60fd66eef6f9715
data/bower.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "joosy",
3
- "version": "1.2.0-alpha.30",
3
+ "version": "1.2.0-alpha.31",
4
4
  "main": "lib/joosy.js",
5
5
  "ignore": [
6
6
  "bin",
data/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "keywords": [
5
5
  "joosy"
6
6
  ],
7
- "version": "1.2.0-alpha.30",
7
+ "version": "1.2.0-alpha.31",
8
8
  "author": "Boris Staal <boris@staal.io>",
9
9
  "homepage": "http://joosy.ws/",
10
10
  "repository": {
@@ -44,5 +44,8 @@
44
44
  "grunt-contrib-connect": "~0.3.0",
45
45
  "grunt-coffeelint": "0.0.6",
46
46
  "grunt-release": "~0.3.5"
47
+ },
48
+ "scripts": {
49
+ "postinstall": "node_modules/.bin/bower install"
47
50
  }
48
51
  }
@@ -15,6 +15,7 @@ class ProjectBase extends @Base
15
15
  generate: ->
16
16
  @file ['resources', '.gitkeep']
17
17
  @file ['widgets', '.gitkeep']
18
+ @file ['templates', 'widgets', '.gitkeep']
18
19
 
19
20
  @copy ['application', 'base', 'routes.coffee'], ['routes.coffee']
20
21
  @copy ['application', 'base', 'helpers', 'application.coffee'], ['helpers', 'application.coffee']
data/tasks/joosy.coffee CHANGED
@@ -26,10 +26,10 @@ module.exports = (grunt) ->
26
26
  stylus.use require('nib')()
27
27
 
28
28
  assets = new Mincer.Environment(process.cwd())
29
- assets.appendPath 'source',
30
- assets.appendPath 'stylesheets',
31
- assets.appendPath 'components'
29
+ assets.appendPath 'source'
30
+ assets.appendPath 'stylesheets'
32
31
  assets.appendPath 'vendor'
32
+ assets.appendPath 'components'
33
33
  assets.appendPath 'node_modules/joosy/src'
34
34
 
35
35
  assets
@@ -99,7 +99,7 @@ module.exports = (grunt) ->
99
99
 
100
100
  for path in paths
101
101
  server.use path, (req, res, next) ->
102
- if req.url == path
102
+ if req.url == '/'
103
103
  res.end grunt.joosy.haml.compile("source/"+entry.src)
104
104
  console.log "Served #{path} (#{entry.src})"
105
105
  else
@@ -157,7 +157,7 @@ module.exports = (grunt) ->
157
157
  assets = grunt.joosy.helpers.list(@, 'joosy.assets', @args[0])
158
158
 
159
159
  grunt.joosy.assets.compile 'production', assets,
160
- error: (msg) -> grunt.fail.fatal msg
160
+ error: (asset, msg) -> grunt.fail.fatal msg
161
161
  compiled: (asset, dest) -> grunt.log.ok "Compiled #{dest}"
162
162
  success: complete
163
163
 
@@ -20,6 +20,7 @@ module.exports = (grunt) ->
20
20
  dest: 'public/assets/application.css'
21
21
  haml:
22
22
  application:
23
+ path: '/'
23
24
  src: 'index.haml'
24
25
  dest: 'public/index.html'
25
26
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: joosy
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0.alpha.30
4
+ version: 1.2.0.alpha.31
5
5
  platform: ruby
6
6
  authors:
7
7
  - Boris Staal
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2013-07-03 00:00:00.000000000 Z
14
+ date: 2013-07-08 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: sprockets