kuztuscms 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.rdoc CHANGED
@@ -1,3 +1,10 @@
1
+ == 0.0.6
2
+
3
+ * bug fix
4
+ * Lists were not set to current value when editing
5
+ * configure TinyMCE to not delete empty divs
6
+ * description fix
7
+
1
8
  == 0.0.5
2
9
 
3
10
  * enhancements
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- kuztuscms (0.0.4)
4
+ kuztuscms (0.0.6)
5
5
  actionmailer
6
6
  coffee-rails
7
7
  devise (>= 2.0.4)
@@ -11,12 +11,6 @@ PATH
11
11
  tzinfo
12
12
  uglifier
13
13
 
14
- PATH
15
- remote: /Users/fragallia/Developing/gems/i18n-active_record
16
- specs:
17
- i18n-active_record (0.0.2)
18
- i18n (>= 0.5.0)
19
-
20
14
  GEM
21
15
  remote: http://rubygems.org/
22
16
  specs:
@@ -74,11 +68,11 @@ GEM
74
68
  railties (>= 3.2.0.beta, < 5.0)
75
69
  thor (~> 0.14)
76
70
  json (1.6.5)
77
- mail (2.4.3)
71
+ mail (2.4.4)
78
72
  i18n (>= 0.4.0)
79
73
  mime-types (~> 1.16)
80
74
  treetop (~> 1.4.8)
81
- mime-types (1.17.2)
75
+ mime-types (1.18)
82
76
  multi_json (1.1.0)
83
77
  omniauth (1.0.3)
84
78
  hashie (~> 1.2)
@@ -124,7 +118,7 @@ GEM
124
118
  railties (>= 3.0)
125
119
  rspec (~> 2.8.0)
126
120
  sass (3.1.15)
127
- sass-rails (3.2.4)
121
+ sass-rails (3.2.5)
128
122
  railties (~> 3.2.0)
129
123
  sass (>= 3.1.10)
130
124
  tilt (~> 1.3)
@@ -149,7 +143,6 @@ PLATFORMS
149
143
  ruby
150
144
 
151
145
  DEPENDENCIES
152
- i18n-active_record!
153
146
  jquery-rails
154
147
  kuztuscms!
155
148
  rspec-rails
data/README.rdoc CHANGED
@@ -41,7 +41,7 @@ add to your config/routes.rb
41
41
 
42
42
  if you want to show default page as root_url then add following line to config/routes.rb
43
43
 
44
- root :to => 'kuztuscms/page#show'
44
+ root :to => 'kuztuscms/pages#show'
45
45
 
46
46
  run
47
47
 
@@ -12,7 +12,7 @@
12
12
  <% end %>
13
13
  <fieldset>
14
14
  <legend><%= controller.action_name.capitalize %> Article</legend>
15
-
15
+
16
16
  <div class="control-group">
17
17
  <%= f.label :name, :class => 'control-label' %>
18
18
  <div class="controls">
@@ -31,7 +31,7 @@
31
31
  <%= f.label :locale, :class => 'control-label' %>
32
32
  <div class="controls">
33
33
  <%= f.select :locale,
34
- options_for_select(@locales), :class => 'select' %>
34
+ options_for_select(@locales, @layout.locale), :class => 'select' %>
35
35
  </div>
36
36
  </div>
37
37
 
@@ -39,7 +39,7 @@
39
39
  <%= f.label :handler, :class => 'control-label' %>
40
40
  <div class="controls">
41
41
  <%= f.select :handler,
42
- options_for_select(@handlers), :class => 'select' %>
42
+ options_for_select(@handlers, @layout.handler), :class => 'select' %>
43
43
  </div>
44
44
  </div>
45
45
 
@@ -23,8 +23,8 @@
23
23
  <div class="control-group">
24
24
  <%= f.label :article_id, :class => 'control-label' %>
25
25
  <div class="controls">
26
- <%= f.select :article_id,
27
- options_from_collection_for_select(@articles, :id, :name), :class => 'select' %>
26
+ <%= f.select :article_id,
27
+ options_from_collection_for_select(@articles, :id, :name, @page.article_id), :class => 'select' %>
28
28
  </div>
29
29
  </div>
30
30
 
@@ -32,7 +32,7 @@
32
32
  <%= f.label :layout_id, :class => 'control-label' %>
33
33
  <div class="controls">
34
34
  <%= f.select :layout_id,
35
- options_from_collection_for_select(@layouts, :id, :path), :class => 'select' %>
35
+ options_from_collection_for_select(@layouts, :id, :path, @page.layout_id), :class => 'select' %>
36
36
  </div>
37
37
  </div>
38
38
 
@@ -6,6 +6,10 @@
6
6
  $('#<%= textarea_id %>').tinymce({
7
7
  // Location of TinyMCE script
8
8
  script_url : '/assets/kuztuscms/tiny_mce/tiny_mce.js',
9
+ verify_html : false,
10
+ apply_source_formatting : true,
11
+ valid_elements : "*[*]=*",
12
+ extended_valid_elements : "*[*]=*",
9
13
 
10
14
  // General options
11
15
  theme : "advanced",
@@ -30,8 +30,8 @@
30
30
  <div class="control-group">
31
31
  <%= f.label :locale, :class => 'control-label' %>
32
32
  <div class="controls">
33
- <%= f.select :locale,
34
- options_for_select(@locales), :class => 'select' %>
33
+ <%= f.select :locale,
34
+ options_for_select(@locales, @template.locale), :class => 'select' %>
35
35
  </div>
36
36
  </div>
37
37
 
@@ -39,7 +39,7 @@
39
39
  <%= f.label :handler, :class => 'control-label' %>
40
40
  <div class="controls">
41
41
  <%= f.select :handler,
42
- options_for_select(@handlers), :class => 'select' %>
42
+ options_for_select(@handlers, @template.handler), :class => 'select' %>
43
43
  </div>
44
44
  </div>
45
45
 
@@ -1,3 +1,3 @@
1
1
  module Kuztuscms
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kuztuscms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-03-22 00:00:00.000000000 Z
12
+ date: 2012-03-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
- requirement: &70362717136380 !ruby/object:Gem::Requirement
16
+ requirement: &70246279936320 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '3.1'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70362717136380
24
+ version_requirements: *70246279936320
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: sass-rails
27
- requirement: &70362717135600 !ruby/object:Gem::Requirement
27
+ requirement: &70246279935900 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70362717135600
35
+ version_requirements: *70246279935900
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: coffee-rails
38
- requirement: &70362717134900 !ruby/object:Gem::Requirement
38
+ requirement: &70246279935440 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *70362717134900
46
+ version_requirements: *70246279935440
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: uglifier
49
- requirement: &70362717134220 !ruby/object:Gem::Requirement
49
+ requirement: &70246279935000 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '0'
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *70362717134220
57
+ version_requirements: *70246279935000
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: devise
60
- requirement: &70362717133280 !ruby/object:Gem::Requirement
60
+ requirement: &70246279934500 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: 2.0.4
66
66
  type: :runtime
67
67
  prerelease: false
68
- version_requirements: *70362717133280
68
+ version_requirements: *70246279934500
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: tzinfo
71
- requirement: &70362717132680 !ruby/object:Gem::Requirement
71
+ requirement: &70246279934080 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ! '>='
@@ -76,10 +76,10 @@ dependencies:
76
76
  version: '0'
77
77
  type: :runtime
78
78
  prerelease: false
79
- version_requirements: *70362717132680
79
+ version_requirements: *70246279934080
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: omniauth
82
- requirement: &70362717132040 !ruby/object:Gem::Requirement
82
+ requirement: &70246279933600 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - ! '>='
@@ -87,10 +87,10 @@ dependencies:
87
87
  version: '0'
88
88
  type: :runtime
89
89
  prerelease: false
90
- version_requirements: *70362717132040
90
+ version_requirements: *70246279933600
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: actionmailer
93
- requirement: &70362717131120 !ruby/object:Gem::Requirement
93
+ requirement: &70246279933180 !ruby/object:Gem::Requirement
94
94
  none: false
95
95
  requirements:
96
96
  - - ! '>='
@@ -98,10 +98,10 @@ dependencies:
98
98
  version: '0'
99
99
  type: :runtime
100
100
  prerelease: false
101
- version_requirements: *70362717131120
101
+ version_requirements: *70246279933180
102
102
  - !ruby/object:Gem::Dependency
103
103
  name: sqlite3
104
- requirement: &70362717130580 !ruby/object:Gem::Requirement
104
+ requirement: &70246279932760 !ruby/object:Gem::Requirement
105
105
  none: false
106
106
  requirements:
107
107
  - - ! '>='
@@ -109,10 +109,10 @@ dependencies:
109
109
  version: '0'
110
110
  type: :development
111
111
  prerelease: false
112
- version_requirements: *70362717130580
112
+ version_requirements: *70246279932760
113
113
  - !ruby/object:Gem::Dependency
114
114
  name: rspec-rails
115
- requirement: &70362717129200 !ruby/object:Gem::Requirement
115
+ requirement: &70246279932340 !ruby/object:Gem::Requirement
116
116
  none: false
117
117
  requirements:
118
118
  - - ! '>='
@@ -120,7 +120,7 @@ dependencies:
120
120
  version: '0'
121
121
  type: :development
122
122
  prerelease: false
123
- version_requirements: *70362717129200
123
+ version_requirements: *70246279932340
124
124
  description: KuztusCMS for rails >= 3.1
125
125
  email:
126
126
  - dummy@email.com