pakyow-presenter 0.11.1 → 0.11.2

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: dc2eafab07bd13d3e2403417541879a921adb431
4
- data.tar.gz: 36010791539ba4acf22217b054a8821de734cc84
3
+ metadata.gz: ecb52fae7d9e730b869d256cbf7160a6bd12fc32
4
+ data.tar.gz: 6351e1aaaf3392ee98037c94d6d69b5cc6fa89ae
5
5
  SHA512:
6
- metadata.gz: ac496c456570e96a9827be9f4b06f208a47c2644e70f80530151e84f1a3a133b91a6a268dbe115f48f9106b69cd9b7507a3e84256ff75494280f5a52d32fb6f5
7
- data.tar.gz: 8bd0eb268bc7351b5517f1b5af6a4e05e9379559922f074c51715bb572a547543484b4b6d52201ac3d10574fa98f46eedb5dd7aba496ce9333feb7dd219c8208
6
+ metadata.gz: 352136da948ea44048927cf1a784fc096513b2081ff8b79147323e640f1dd02f20e485823a550db8887c9f373d8866c0726d3aed256ef117018fffeed56506db
7
+ data.tar.gz: 1bdbd23804447fa93680e0b3a771c13a49725fc0aee275a86a6125d3a4be0496f29c9861a4e0456e495b605bcfd0a66affa8c81c5ef6a222d63ae8c91b28e438
@@ -1,3 +1,8 @@
1
+ # 0.11.2
2
+
3
+ * Fixes bug causing resource bindings to be incorrect in some cases
4
+ * Fixes bug creating unscoped view collection from composer
5
+
1
6
  # 0.11.0
2
7
 
3
8
  * Fixes several bugs related to nested partials
@@ -2,7 +2,7 @@ module Pakyow
2
2
  class App
3
3
  class << self
4
4
  RESOURCE_ACTIONS[:presenter] = Proc.new { |app, set_name, _, _|
5
- app.bindings { scope(set_name) { restful(set_name) } }
5
+ app.bindings(set_name) { scope(set_name) { restful(set_name) } }
6
6
  }
7
7
 
8
8
  def bindings(set_name = :main, &block)
@@ -165,7 +165,7 @@ module Pakyow
165
165
  collection = parts.scope(name)
166
166
 
167
167
  if collection.is_a?(ViewVersion)
168
- collection = collection.versions.inject(ViewCollection.new) { |c, v| c << v; c }
168
+ collection = collection.versions.inject(ViewCollection.new(name)) { |c, v| c << v; c }
169
169
  end
170
170
 
171
171
  # include partials so nested scopes/props can be bound to
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pakyow-presenter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.1
4
+ version: 0.11.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bryan Powell
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-05-19 00:00:00.000000000 Z
12
+ date: 2016-06-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: pakyow-support
@@ -17,28 +17,28 @@ dependencies:
17
17
  requirements:
18
18
  - - '='
19
19
  - !ruby/object:Gem::Version
20
- version: 0.11.1
20
+ version: 0.11.2
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - '='
26
26
  - !ruby/object:Gem::Version
27
- version: 0.11.1
27
+ version: 0.11.2
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: pakyow-core
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
32
  - - '='
33
33
  - !ruby/object:Gem::Version
34
- version: 0.11.1
34
+ version: 0.11.2
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - '='
40
40
  - !ruby/object:Gem::Version
41
- version: 0.11.1
41
+ version: 0.11.2
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: oga
44
44
  requirement: !ruby/object:Gem::Requirement