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 +4 -4
- data/bower.json +1 -1
- data/package.json +1 -1
- data/tasks/joosy.coffee +6 -2
- data/templates/application/standalone/Gruntfile.coffee +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 208ba81c8cb99f14cf0196cd40b4c92967318eab
|
4
|
+
data.tar.gz: 8940f87ea8ec7c8a32b7bc8ec3b9bb038db018b4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e50bc41ae73661119bc4f49fed20b6b7261b5220eb3fadcab36923b7a7bdcedc9c51d508e344fd90f7cf30433ba36df16f8481255f3d683619666c4fdbdebfdd
|
7
|
+
data.tar.gz: 5b575e8b165e69892d35a7e4cea2a1a7ae05383cb9deaa22051f85a1e1e312125a2d456c364bc5fd36f668206913133389c8500875186db6a8e037d6b5b8bf3b
|
data/bower.json
CHANGED
data/package.json
CHANGED
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.
|
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-
|
14
|
+
date: 2013-07-02 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: sprockets
|