mcms_pages 0.0.6 → 0.0.7

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.
@@ -61,21 +61,25 @@ class Admin::LayoutsController < AdminController
61
61
 
62
62
  value = true
63
63
 
64
- # check and change string to match column name
65
- if layout == "left"
64
+ else
66
65
 
67
- layout = "lft"
66
+ value = false
68
67
 
69
- elsif layout == "right"
68
+ end # end if
69
+
70
+ # check and change string to match column name
71
+ if layout == "left"
70
72
 
71
- layout = "rgt"
73
+ layout = "lft"
72
74
 
73
- end # end if
75
+ elsif layout == "right"
74
76
 
75
- query_string += " AND `" + layout +"` = " + value.to_s
77
+ layout = "rgt"
76
78
 
77
79
  end # end if
78
80
 
81
+ query_string += " AND `" + layout +"` = " + value.to_s
82
+
79
83
  end # end loop
80
84
 
81
85
  # find layout id from query string
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mcms_pages
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-30 00:00:00.000000000 Z
12
+ date: 2012-08-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -32,17 +32,17 @@ dependencies:
32
32
  requirement: !ruby/object:Gem::Requirement
33
33
  none: false
34
34
  requirements:
35
- - - ! '>='
35
+ - - '='
36
36
  - !ruby/object:Gem::Version
37
- version: '0'
37
+ version: 3.7.1
38
38
  type: :runtime
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
41
41
  none: false
42
42
  requirements:
43
- - - ! '>='
43
+ - - '='
44
44
  - !ruby/object:Gem::Version
45
- version: '0'
45
+ version: 3.7.1
46
46
  - !ruby/object:Gem::Dependency
47
47
  name: friendly_id
48
48
  requirement: !ruby/object:Gem::Requirement
@@ -354,7 +354,8 @@ rubyforge_project:
354
354
  rubygems_version: 1.8.24
355
355
  signing_key:
356
356
  specification_version: 3
357
- summary: Integrates a page module in an application which helps in page creation.
357
+ summary: Gem CKEditor version fixed to 3.7.1. It does not support version of ckeditor
358
+ >= 3.7.2
358
359
  test_files:
359
360
  - test/integration/navigation_test.rb
360
361
  - test/dummy/Rakefile