ende 0.2.18 → 0.2.19

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: 3e2bcbeca4114f1d6fa09076a58aed1a439a6874
4
- data.tar.gz: 28d7328f6e3ccd6694ee34efb517506bef040daa
3
+ metadata.gz: 20f58c97d11116adab7967ea27b5c43b3b349dc7
4
+ data.tar.gz: 9a1ea51e6742658e1d987785f2ecc7c2dc8f1bba
5
5
  SHA512:
6
- metadata.gz: ce757eae6ef1d22c7aae60234bc7b66313a9309a20e8c6f1877e66726e7046adbcded0e603f7f55b6c43b275cbcf66aa2472cd39b07157e799dbb5017148d836
7
- data.tar.gz: 2f5ba4aa779a7dd956f58ad3a9a156543cc10d44011852a0cc7a1fceecfafd356467113b4b6780ddff8b987d699c78876ec9b6b867bd2d69bd5e21912b90e4c3
6
+ metadata.gz: 5866c1117c421e09c41b3606ad801784e7b20bf3488e572ad4e6fd9d4ba95ec7f1758650137828fd89389e581c5444ad4e53aaeec6c1dc661bdf1f031d0c9ba0
7
+ data.tar.gz: c5ea7be1ad9dac6c401fd9fe01039ee8dc37809d42d3829ddbb189ead8f0e526f1903708a255e8d81bebdeb073939b3aea22b2be4919d2cc9c3d8f46c65ead49
@@ -23,7 +23,7 @@ define 'aura/extensions/routes', (routes) ->
23
23
  current_route = window.location.href
24
24
  if router.last_route != current_route
25
25
  mediator.emit 'route.changed'
26
- router.last_route = current_route
26
+ router.last_route = current_route
27
27
 
28
28
  # TODO method parsing (get, delete, put, post)
29
29
  mediator.emit name, params
@@ -38,7 +38,6 @@ define 'aura/extensions/routes', (routes) ->
38
38
  process and router.process()
39
39
 
40
40
 
41
-
42
41
  application.core.router = router
43
42
 
44
43
  location = Object.create null,
@@ -41,7 +41,7 @@ define 'aura/extensions/states', ['application/states'], (states) ->
41
41
 
42
42
  for name, options of unormalized_widget_options
43
43
  widget_name = options.name || name
44
- options.resource ||= name
44
+ options.resource ||= name unless name == widget_name
45
45
 
46
46
  # To allow user controlling the application change the
47
47
  # widget configuration at runtime, we check the transition
data/lib/ende/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Ende
2
- VERSION = "0.2.18"
2
+ VERSION = "0.2.19"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ende
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.18
4
+ version: 0.2.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Heitor Salazar