constructor-pages 0.8.15 → 0.8.16

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: 00b6e78a7a35a0e4548ea458ac79bb5f178899a9
4
- data.tar.gz: 1c1bf4f830c9de02474c1a80934049e2e257f359
3
+ metadata.gz: e53c214aedf494373bbec90c00842aca361975d8
4
+ data.tar.gz: 24218c0cfb8d7a1e1d364cd1f91df3f939c6b9de
5
5
  SHA512:
6
- metadata.gz: 22b23f279d6cde8ac05c05b40c78cb356d3babfbc8a39382240cc5c916cce15c7b1013a144b502bb281a419043f5090ded807a097b2dad5345208f239a6a4aa7
7
- data.tar.gz: d9f9d38d38774df9fa0f0430cdadc04845829d39b1322ce35f53acb3dc642f4974305934c4acd92b82201b2e7378c6e0e5a5ef3b37e1a15f9f5903fc55f5f21f
6
+ metadata.gz: 7222dcc247c88ac19e2ddf1c20454bfd3dea11aa833bc40cfa245fdbf5e8004af7a82c20c1400ca7b4654feee2e6bf6c7eb930415917b52ad71ea1bed97c97a4
7
+ data.tar.gz: f0ab88b427b03d58c7ed5a1a9dd73d7f1e43a5d6a8eb50f8b3525ab0fe717b9d743f6b0f02f8d6ea1a43f10277f614a5cfe4420414ae1dd50d0a0af56444b6c7
@@ -10,7 +10,7 @@ module ConstructorPages
10
10
 
11
11
  def index
12
12
  @pages = Page.includes(:template).load
13
- @pages_cache = Digest::MD5.hexdigest(@pages.map{|p| [p.name, p.full_url, p.in_url, p.template.lft, p.lft, p.template_id]}.join)
13
+ @pages_cache = Digest::MD5.hexdigest(@pages.map{|p| [p.id, p.name, p.full_url, p.in_url, p.template.lft, p.lft, p.template_id]}.join)
14
14
  @template_exists = Template.count != 0
15
15
  flash[:notice] = 'Create at least one template' unless @template_exists
16
16
  end
@@ -9,7 +9,7 @@ module ConstructorPages
9
9
  before_filter -> {@templates = Template.all}, only: [:index, :new, :edit, :update, :create]
10
10
 
11
11
  def index
12
- @templates_cache = Digest::MD5.hexdigest(@templates.map{|t| [t.name, t.lft]}.join)
12
+ @templates_cache = Digest::MD5.hexdigest(@templates.map{|t| [t.id, t.name, t.lft]}.join)
13
13
  end
14
14
 
15
15
  def new
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: constructor-pages
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.15
4
+ version: 0.8.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ivan Zotov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-19 00:00:00.000000000 Z
11
+ date: 2013-08-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: constructor-core
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.8.15
19
+ version: 0.8.16
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 0.8.15
26
+ version: 0.8.16
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: dragonfly
29
29
  requirement: !ruby/object:Gem::Requirement