ende 0.5.5 → 0.5.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e7210804b92bf9f150644f47d752c76336ec4268
4
- data.tar.gz: fb85d58d30cf27daa7a42ba3c1ae29aa1d32525f
3
+ metadata.gz: 22ac81ae582ad76d2217cf6aad889332b27f3852
4
+ data.tar.gz: 23c99d58bbfe562bfa9189e67b4f2b6973c53593
5
5
  SHA512:
6
- metadata.gz: e881a90ce32259113d95868044770d4e0ffae74bb65594a8ca1cc18a8ede2abd62f205ffbe094f5c07e7edc2a8102a27827ce11aef0d1da5f44b43e7051cda0b
7
- data.tar.gz: c31210e8e53cab3cad0c319391e3b5cdd0136c0f093cb8a2c2d03460a5a1d2e4cf5d10c305814dec802becc4c6c7e3832ecdaacc18786ea8d60ce78cc46382ec
6
+ metadata.gz: b86ba37d1026ecc32e102881c0b2c323349bf8ea6cdd6ce82af72ba121260a194cd784b79bdcc6220d304eff080ea6093615b6b4deb2354a46858cb5928df610
7
+ data.tar.gz: c2dfae35484697265b39f44c4c5776bf51ca314961c6de49869311e939198357c3bfae819749566c987a9b506ae50d7a981e4443607a95ef1b6b0cbf7efe44f5
data/component.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "ende",
3
3
  "repo": "indefinido/ende",
4
4
  "description": "Core web application functionacility",
5
- "version": "0.5.1",
5
+ "version": "0.5.6",
6
6
  "keywords": [],
7
7
  "dependencies": {
8
8
  "mikeric/rivets": "v0.5.12",
@@ -12,12 +12,12 @@
12
12
  "component/type": "*",
13
13
  "component/bind": "*",
14
14
  "component/jquery": "*",
15
- "component/querystring": "*",
15
+ "component/querystring": "1.3.0",
16
16
  "components/modernizr": "*",
17
17
  "indefinido/advisable": "*",
18
18
  "indefinido/observable": "es6-modules",
19
19
  "indefinido/indemma": "master",
20
- "component/dialog": "*"
20
+ "component/dialog": "0.2.0"
21
21
  },
22
22
  "scripts": [
23
23
  "vendor/assets/javascripts/accounting/**/*.js",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "indemma",
3
3
  "description": "Indemma (mind picture = memory), client side ES5 observable REST model",
4
- "version": "0.1.14",
4
+ "version": "0.2.1",
5
5
  "keywords": [],
6
6
  "dependencies": {
7
7
  "pluma/assimilate": "0.3.0",
@@ -189,7 +189,9 @@ restful = {
189
189
  delete attributes[association_name];
190
190
  delete attributes[association_name + "_attributes"];
191
191
  if (association_attributes) {
192
- associated = this[association_name] || this["build_" + association_name]();
192
+ associated = this[association_name] || this["build_" + association_name]({
193
+ _id: association_attributes._id
194
+ });
193
195
  associated.assign_attributes(association_attributes);
194
196
  this[association_name] = associated;
195
197
  }
@@ -201,7 +203,9 @@ restful = {
201
203
  delete attributes[association_name];
202
204
  delete attributes[association_name + "_attributes"];
203
205
  if (association_attributes) {
204
- associated = this[association_name] || this["build_" + association_name]();
206
+ associated = this[association_name] || this["build_" + association_name]({
207
+ _id: association_attributes._id
208
+ });
205
209
  associated.assign_attributes(association_attributes);
206
210
  this[association_name] = associated;
207
211
  }
@@ -10,9 +10,9 @@ define 'aura/extensions/routes', (routes) ->
10
10
  with_component = 'jquery'
11
11
  window.jQuery = window.$ = require with_component
12
12
  # TODO Remove .call null
13
- loader.require.call null, 'ened/vendor/assets/javascripts/lennon/lennon.js'
13
+ loader.require.call null, 'ende/vendor/assets/javascripts/lennon/lennon.js'
14
14
 
15
- query = loader.require.call null, 'querystring'
15
+ query = loader.require.call null, 'component~querystring@1.3.0'
16
16
  router = null
17
17
 
18
18
  # TODO rename to router stationg
@@ -136,7 +136,7 @@ define 'aura/extensions/routes', (routes) ->
136
136
 
137
137
  toString: -> window.location
138
138
 
139
- version: '0.2.1'
139
+ version: '0.2.2'
140
140
 
141
141
  initialize: (application) ->
142
142
  {logger} = application
@@ -67,7 +67,7 @@ define ['./states/index', './presenter'], (templates, presenter) ->
67
67
  sandbox.on 'user.password_recovered' , recoverer.recovered
68
68
 
69
69
  # Will also initialize sandbox!
70
- @$el.attr 'data-class', 'base.classes < base.status'
70
+ @$el.attr 'data-class', 'base.classes < .status'
71
71
  @presentation = presenter authenticator, recoverer, base
72
72
  authentication = @presentation.authenticator
73
73
  recovery = @presentation.recoverer
@@ -92,10 +92,10 @@ define ->
92
92
  @sandbox.logger.log "initialized!"
93
93
 
94
94
  # TODO integrate component and requirejs in a more consize way
95
- with_component = 'dialog'
95
+ with_component = 'component~dialog@0.2.0'
96
96
  dialog = require(with_component).Dialog
97
97
 
98
- with_component = 'component-overlay'
98
+ with_component = 'component~overlay@0.1.1'
99
99
  overlay = require with_component
100
100
 
101
101
  @sandbox.util.extend dialog.prototype, dialog_extensions
@@ -320,8 +320,10 @@ define [
320
320
  else
321
321
  @$el.addClass 'empty'
322
322
 
323
- # TODO move binders to application
323
+ # TODO externalize parent presentation inheritation to a
324
+ # elementless widget
324
325
  @inherit_parent_presentation()
326
+ # TODO move binders to application
325
327
  # TODO on bind execute presentation_options method and extend and inherit from presenter what needed
326
328
  @bind @presentation, @sandbox.util.extend(true, @presenter.presentation, @options.presentation)
327
329
 
@@ -352,6 +354,7 @@ define [
352
354
  deferreds.push scrollable widget: @ if options.scroll
353
355
  deferreds.push scopable @ if options.scope or options.scopable
354
356
 
357
+
355
358
  @sandbox.data.when deferreds...
356
359
 
357
360
  # TODO move this method to an extension
data/lib/ende/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Ende
2
- VERSION = "0.5.5"
2
+ VERSION = "0.5.6"
3
3
  end