joosy 1.2.0.alpha.23 → 1.2.0.alpha.24

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: 84697b7aa9ed886f67046addb9cd4180398f1f0c
4
- data.tar.gz: 9021d1cfedd2a0719a8443fc08ab71c594a38826
3
+ metadata.gz: 208ba81c8cb99f14cf0196cd40b4c92967318eab
4
+ data.tar.gz: 8940f87ea8ec7c8a32b7bc8ec3b9bb038db018b4
5
5
  SHA512:
6
- metadata.gz: e3f0e2eae5be54ebf62c82f6c17067edb3045e9dd33fcfe0240fa49d5f899035c49b838456ef4fb3ac5fdfae3d5b4fb84aca461747152016403c23ef09c0e9b6
7
- data.tar.gz: 450e4ea765676f76f102357ed1b79e4d6361822e420e08232fcf033f8d6846830249e69e2f3447fc448f11d87f7c69af06adcf6055805dfdb9196476afa91f52
6
+ metadata.gz: e50bc41ae73661119bc4f49fed20b6b7261b5220eb3fadcab36923b7a7bdcedc9c51d508e344fd90f7cf30433ba36df16f8481255f3d683619666c4fdbdebfdd
7
+ data.tar.gz: 5b575e8b165e69892d35a7e4cea2a1a7ae05383cb9deaa22051f85a1e1e312125a2d456c364bc5fd36f668206913133389c8500875186db6a8e037d6b5b8bf3b
data/bower.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "joosy",
3
- "version": "1.2.0-alpha.23",
3
+ "version": "1.2.0-alpha.24",
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.23",
7
+ "version": "1.2.0-alpha.24",
8
8
  "author": "Boris Staal <boris@staal.io>",
9
9
  "homepage": "http://joosy.ws/",
10
10
  "repository": {
data/tasks/joosy.coffee CHANGED
@@ -24,8 +24,12 @@ module.exports = (grunt) ->
24
24
  hamlc = require 'haml-coffee'
25
25
  path = require 'path'
26
26
 
27
+ mincer.logger.use console
28
+
27
29
  mincer.StylusEngine.registerConfigurator (stylus) ->
28
30
  stylus.options.paths.push path.join(process.cwd(), 'public')
31
+ stylus.define '$environment', 'development'
32
+ stylus.define '$config', config: grunt.config.get('joosy.config') || {}
29
33
  stylus.use require('nib')()
30
34
 
31
35
  server = connect()
@@ -47,11 +51,11 @@ module.exports = (grunt) ->
47
51
  else
48
52
  next()
49
53
 
50
- if grunt.config.get('joosy.proxy')
54
+ if grunt.config.get('joosy.server.proxy')
51
55
  proxy = require 'proxy-middleware'
52
56
  url = require 'url'
53
57
 
54
- for from, to of grunt.config.get('joosy.proxy')
58
+ for from, to of grunt.config.get('joosy.server.proxy')
55
59
  console.log "-> Proxying #{from} to #{to}"
56
60
  server.use from, proxy(url.parse to)
57
61
 
@@ -29,6 +29,8 @@ module.exports = (grunt) ->
29
29
  dest: 'public/assets/application.css'
30
30
  configure: (mincer) ->
31
31
  mincer.StylusEngine.registerConfigurator (stylus) ->
32
+ stylus.define '$environment', 'development'
33
+ stylus.define '$config', config: grunt.config.get('joosy.config') || {}
32
34
  stylus.use require('nib')()
33
35
 
34
36
  uglify:
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.23
4
+ version: 1.2.0.alpha.24
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-01 00:00:00.000000000 Z
14
+ date: 2013-07-02 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: sprockets