joosy 1.2.0.alpha.22 → 1.2.0.alpha.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/bower.json +1 -1
- data/package.json +1 -1
- data/spec/joosy/core/modules/events_spec.coffee +3 -3
- data/spec/joosy/core/page_spec.coffee +2 -2
- data/src/joosy/generators/project/standalone.coffee +1 -1
- data/templates/application/standalone/{.gitignore → _gitignore} +0 -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: 84697b7aa9ed886f67046addb9cd4180398f1f0c
|
4
|
+
data.tar.gz: 9021d1cfedd2a0719a8443fc08ab71c594a38826
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e3f0e2eae5be54ebf62c82f6c17067edb3045e9dd33fcfe0240fa49d5f899035c49b838456ef4fb3ac5fdfae3d5b4fb84aca461747152016403c23ef09c0e9b6
|
7
|
+
data.tar.gz: 450e4ea765676f76f102357ed1b79e4d6361822e420e08232fcf033f8d6846830249e69e2f3447fc448f11d87f7c69af06adcf6055805dfdb9196476afa91f52
|
data/README.md
CHANGED
@@ -18,7 +18,7 @@ total restructuring of the way we build the gem and the way you are supposed to
|
|
18
18
|
To keep things working please use either
|
19
19
|
|
20
20
|
```ruby
|
21
|
-
gem 'joosy', '~> 1.1.
|
21
|
+
gem 'joosy', '~> 1.1.1'
|
22
22
|
```
|
23
23
|
|
24
24
|
or
|
@@ -102,4 +102,4 @@ environment is Node.js.
|
|
102
102
|
|
103
103
|
## LICENSE
|
104
104
|
|
105
|
-
It is free software, and may be redistributed under the terms of MIT license.
|
105
|
+
It is free software, and may be redistributed under the terms of MIT license.
|
data/bower.json
CHANGED
data/package.json
CHANGED
@@ -59,17 +59,17 @@ describe "Joosy.Modules.Events", ->
|
|
59
59
|
|
60
60
|
3.times =>
|
61
61
|
@box.bind 'event', callback
|
62
|
-
expect(@box.__boundEvents).toEqual [[
|
62
|
+
expect(@box.__boundEvents).toEqual 0: [['event'], callback], 1: [['event'], callback], 2: [['event'], callback]
|
63
63
|
|
64
64
|
3.times =>
|
65
65
|
@box.wait 'event', callback
|
66
|
-
expect(@box.__oneShotEvents).toEqual [[
|
66
|
+
expect(@box.__oneShotEvents).toEqual 0: [['event'], callback], 1: [['event'], callback], 2: [['event'], callback]
|
67
67
|
|
68
68
|
it "should handle inheritance well", ->
|
69
69
|
callback = sinon.spy()
|
70
70
|
@sub.wait 'foo', callback
|
71
71
|
|
72
|
-
expect(@sub.__oneShotEvents).toEqual [[
|
72
|
+
expect(@sub.__oneShotEvents).toEqual 0: [['foo'], callback]
|
73
73
|
expect(@box.__oneShotEvents).toBeUndefined()
|
74
74
|
|
75
75
|
it "should be safe for concurrent usage", ->
|
@@ -110,7 +110,7 @@ describe "Joosy.Page", ->
|
|
110
110
|
spies.push @box.__fetch = sinon.spy (callback) ->
|
111
111
|
expect(@__oneShotEvents[0][0]).toEqual ['dataReceived']
|
112
112
|
callback()
|
113
|
-
expect(@__oneShotEvents).toEqual
|
113
|
+
expect(@__oneShotEvents).toEqual {}
|
114
114
|
|
115
115
|
spies.push @box.__paint = sinon.spy (stage, callback) ->
|
116
116
|
expect(stage.selector).toEqual @layout.content().selector
|
@@ -150,7 +150,7 @@ describe "Joosy.Page", ->
|
|
150
150
|
spies.push @box.__fetch = sinon.spy (callback) ->
|
151
151
|
expect(@__oneShotEvents[0][0]).toEqual ['dataReceived']
|
152
152
|
callback()
|
153
|
-
expect(@__oneShotEvents).toEqual
|
153
|
+
expect(@__oneShotEvents).toEqual {}
|
154
154
|
|
155
155
|
spies.push ApplicationLayout::__paint = sinon.spy (stage, page, callback) ->
|
156
156
|
expect(stage.selector).toEqual Joosy.Application.content().selector
|
@@ -14,7 +14,7 @@ class ProjectStandalone extends @Base
|
|
14
14
|
@file ['public', '.gitkeep']
|
15
15
|
@file ['vendor', '.gitkeep']
|
16
16
|
|
17
|
-
@copy ['application', 'standalone', '
|
17
|
+
@copy ['application', 'standalone', '_gitignore'], ['.gitignore']
|
18
18
|
@copy ['application', 'standalone', 'bower.json'], ['bower.json']
|
19
19
|
@copy ['application', 'standalone', 'Gruntfile.coffee'], ['Gruntfile.coffee']
|
20
20
|
@copy ['application', 'standalone', 'Procfile'], ['Procfile']
|
File without changes
|
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.23
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Boris Staal
|
@@ -136,9 +136,9 @@ files:
|
|
136
136
|
- templates/application/base/routes.coffee
|
137
137
|
- templates/application/base/templates/layouts/application.jst.hamlc
|
138
138
|
- templates/application/base/templates/pages/welcome/index.jst.hamlc
|
139
|
-
- templates/application/standalone/.gitignore
|
140
139
|
- templates/application/standalone/Gruntfile.coffee
|
141
140
|
- templates/application/standalone/Procfile
|
141
|
+
- templates/application/standalone/_gitignore
|
142
142
|
- templates/application/standalone/bower.json
|
143
143
|
- templates/application/standalone/package.json
|
144
144
|
- templates/application/standalone/source/index.haml
|