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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8c51bb04903944c48ab249797c9540d12e12c14e
4
- data.tar.gz: a9933ae2203b4f036b78f2caa9ebfb37a6bf23ff
3
+ metadata.gz: 84697b7aa9ed886f67046addb9cd4180398f1f0c
4
+ data.tar.gz: 9021d1cfedd2a0719a8443fc08ab71c594a38826
5
5
  SHA512:
6
- metadata.gz: 6ce612c5ddff5bf8f49799e7139b3ff9defdad2822018f141073de80fb1bd214118dac2eba71b80c897a3d2b828543ca791f8f1009d7e43d402bd50064d276f0
7
- data.tar.gz: 5da3f72b3891585dc72c37d11d368b0bf242cf31c30d965debe9b37dde49012b3f311802c53b121a358275c420645422a0501550d1433c76c66ef40eafee7954
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.0'
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "joosy",
3
- "version": "1.2.0-alpha.22",
3
+ "version": "1.2.0-alpha.23",
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.22",
7
+ "version": "1.2.0-alpha.23",
8
8
  "author": "Boris Staal <boris@staal.io>",
9
9
  "homepage": "http://joosy.ws/",
10
10
  "repository": {
@@ -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 [[['event'], callback], [['event'], callback], [['event'], callback]]
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 [[['event'], callback], [['event'], callback], [['event'], callback]]
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 [[['foo'], callback]]
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', '.gitignore'], ['.gitignore']
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']
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.22
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