kuhsaft 0.3.3 → 0.3.4.legacy

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,8 @@
1
1
  ## master
2
2
 
3
- ## 0.3.2 - November 10, 2011
3
+ - Migrate JS to asset pipeline/sprockets ([@effkay][])
4
+
5
+ ## 0.3.3 - November 10, 2011
4
6
 
5
7
  - Add german locale file for backend ([@jenzer][])
6
8
 
data/Rakefile CHANGED
@@ -8,7 +8,7 @@ rescue LoadError
8
8
  end
9
9
 
10
10
  require 'rake'
11
- require 'rake/rdoctask'
11
+ require 'rdoc/task'
12
12
 
13
13
  require 'rspec/core'
14
14
  require 'rspec/core/rake_task'
@@ -1,34 +1,11 @@
1
- $(function(){
2
- function updateSortable(event, ui){
3
- var self = $(ui.item),
4
- prev = $(self.prevAll('.can-drag')[0]),
5
- id = prev.length > 0 ? prev.data('id') : ''
6
- $.post(self.data('put-url'), {reposition:id, _method: 'put'})
7
- }
8
-
9
- $("ul.sortable").sortable({
10
- containment: 'parent',
11
- update: updateSortable
12
- })
13
-
14
- $(".page-part-list").sortable({
15
- items: '.draggable-box',
16
- opacity: 0.3,
17
- containment: 'parent',
18
- handle: '.drag-handler',
19
- update: updateSortable
20
- })
21
-
22
- $(".page-part-list .drag-handler").mouseenter(function(){
23
- $(this).parent().parent().addClass("will-drag")
24
- })
25
- .mouseleave(function(){
26
- $(this).parent().parent().removeClass("will-drag")
27
- })
28
- $(".draggable-box").mouseleave(function(){
29
- $(this).removeClass("will-drag")
30
- })
31
-
32
- $('.colored-box textarea.text').elastic();
33
-
34
- })
1
+ // This is a manifest file that'll be compiled into including all the files listed below.
2
+ // Add new JavaScript/Coffee code in separate files in this directory and they'll automatically
3
+ // be included in the compiled file accessible from http://example.com/assets/application.js
4
+ // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
5
+ // the compiled file.
6
+ //
7
+ //= require jquery.min
8
+ //= require jquery_ujs
9
+ //= require ./jquery-ui-1.8.12.custom.min
10
+ //= require ./jquery.elastic.source
11
+ //= require ./backend
@@ -0,0 +1,34 @@
1
+ $(function(){
2
+ function updateSortable(event, ui){
3
+ var self = $(ui.item),
4
+ prev = $(self.prevAll('.can-drag')[0]),
5
+ id = prev.length > 0 ? prev.data('id') : ''
6
+ $.post(self.data('put-url'), {reposition:id, _method: 'put'})
7
+ }
8
+
9
+ $("ul.sortable").sortable({
10
+ containment: 'parent',
11
+ update: updateSortable
12
+ })
13
+
14
+ $(".page-part-list").sortable({
15
+ items: '.draggable-box',
16
+ opacity: 0.3,
17
+ containment: 'parent',
18
+ handle: '.drag-handler',
19
+ update: updateSortable
20
+ })
21
+
22
+ $(".page-part-list .drag-handler").mouseenter(function(){
23
+ $(this).parent().parent().addClass("will-drag")
24
+ })
25
+ .mouseleave(function(){
26
+ $(this).parent().parent().removeClass("will-drag")
27
+ })
28
+ $(".draggable-box").mouseleave(function(){
29
+ $(this).removeClass("will-drag")
30
+ })
31
+
32
+ $('.colored-box textarea.text').elastic();
33
+
34
+ })
@@ -3,10 +3,6 @@
3
3
  %head
4
4
  = stylesheet_link_tag 'kuhsaft/cms/screen.css', :media => 'screen, projection'
5
5
  = stylesheet_link_tag 'cms/application.css', :media => 'screen, projection'
6
- = javascript_include_tag 'kuhsaft/cms/jquery.min.js'
7
- = javascript_include_tag 'kuhsaft/cms/jquery-ui-1.8.12.custom.min.js'
8
- = javascript_include_tag 'kuhsaft/cms/jquery_ujs.js'
9
- = javascript_include_tag 'kuhsaft/cms/jquery.elastic.source.js'
10
6
  = javascript_include_tag 'kuhsaft/cms/application.js'
11
7
  = csrf_meta_tag
12
8
  %body{ :class => "#{controller_name}" }
@@ -9,5 +9,5 @@ Rails.application.routes.draw do
9
9
  end
10
10
  end
11
11
  end
12
- match '/:locale/*url' => 'kuhsaft/pages#show'
12
+ match '/:locale/*url' => 'kuhsaft/pages#show', :constraints => { :locale => /\w{2}/ }
13
13
  end
@@ -1,3 +1,3 @@
1
1
  module Kuhsaft
2
- VERSION = "0.3.3"
2
+ VERSION = "0.3.4.legacy"
3
3
  end
metadata CHANGED
@@ -1,13 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kuhsaft
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
5
- prerelease:
4
+ hash: 265974531
5
+ prerelease: 6
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 3
10
- version: 0.3.3
9
+ - 4
10
+ - legacy
11
+ version: 0.3.4.legacy
11
12
  platform: ruby
12
13
  authors:
13
14
  - "Immanuel H\xC3\xA4ussermann"
@@ -17,12 +18,11 @@ autorequire:
17
18
  bindir: bin
18
19
  cert_chain: []
19
20
 
20
- date: 2011-11-10 00:00:00 Z
21
+ date: 2013-08-23 00:00:00 Z
21
22
  dependencies:
22
23
  - !ruby/object:Gem::Dependency
23
24
  name: rspec-rails
24
- prerelease: false
25
- requirement: &id001 !ruby/object:Gem::Requirement
25
+ version_requirements: &id001 !ruby/object:Gem::Requirement
26
26
  none: false
27
27
  requirements:
28
28
  - - ">="
@@ -32,12 +32,12 @@ dependencies:
32
32
  - 2
33
33
  - 6
34
34
  version: "2.6"
35
+ prerelease: false
35
36
  type: :development
36
- version_requirements: *id001
37
+ requirement: *id001
37
38
  - !ruby/object:Gem::Dependency
38
39
  name: factory_girl_rails
39
- prerelease: false
40
- requirement: &id002 !ruby/object:Gem::Requirement
40
+ version_requirements: &id002 !ruby/object:Gem::Requirement
41
41
  none: false
42
42
  requirements:
43
43
  - - ">="
@@ -46,12 +46,12 @@ dependencies:
46
46
  segments:
47
47
  - 0
48
48
  version: "0"
49
+ prerelease: false
49
50
  type: :development
50
- version_requirements: *id002
51
+ requirement: *id002
51
52
  - !ruby/object:Gem::Dependency
52
53
  name: capybara
53
- prerelease: false
54
- requirement: &id003 !ruby/object:Gem::Requirement
54
+ version_requirements: &id003 !ruby/object:Gem::Requirement
55
55
  none: false
56
56
  requirements:
57
57
  - - ">="
@@ -62,12 +62,12 @@ dependencies:
62
62
  - 4
63
63
  - 0
64
64
  version: 0.4.0
65
+ prerelease: false
65
66
  type: :development
66
- version_requirements: *id003
67
+ requirement: *id003
67
68
  - !ruby/object:Gem::Dependency
68
69
  name: sqlite3
69
- prerelease: false
70
- requirement: &id004 !ruby/object:Gem::Requirement
70
+ version_requirements: &id004 !ruby/object:Gem::Requirement
71
71
  none: false
72
72
  requirements:
73
73
  - - ">="
@@ -76,12 +76,12 @@ dependencies:
76
76
  segments:
77
77
  - 0
78
78
  version: "0"
79
+ prerelease: false
79
80
  type: :development
80
- version_requirements: *id004
81
+ requirement: *id004
81
82
  - !ruby/object:Gem::Dependency
82
83
  name: guard
83
- prerelease: false
84
- requirement: &id005 !ruby/object:Gem::Requirement
84
+ version_requirements: &id005 !ruby/object:Gem::Requirement
85
85
  none: false
86
86
  requirements:
87
87
  - - ">="
@@ -91,12 +91,12 @@ dependencies:
91
91
  - 0
92
92
  - 6
93
93
  version: "0.6"
94
+ prerelease: false
94
95
  type: :development
95
- version_requirements: *id005
96
+ requirement: *id005
96
97
  - !ruby/object:Gem::Dependency
97
98
  name: guard-spork
98
- prerelease: false
99
- requirement: &id006 !ruby/object:Gem::Requirement
99
+ version_requirements: &id006 !ruby/object:Gem::Requirement
100
100
  none: false
101
101
  requirements:
102
102
  - - ">="
@@ -105,12 +105,12 @@ dependencies:
105
105
  segments:
106
106
  - 0
107
107
  version: "0"
108
+ prerelease: false
108
109
  type: :development
109
- version_requirements: *id006
110
+ requirement: *id006
110
111
  - !ruby/object:Gem::Dependency
111
112
  name: guard-rspec
112
- prerelease: false
113
- requirement: &id007 !ruby/object:Gem::Requirement
113
+ version_requirements: &id007 !ruby/object:Gem::Requirement
114
114
  none: false
115
115
  requirements:
116
116
  - - ">="
@@ -119,12 +119,12 @@ dependencies:
119
119
  segments:
120
120
  - 0
121
121
  version: "0"
122
+ prerelease: false
122
123
  type: :development
123
- version_requirements: *id007
124
+ requirement: *id007
124
125
  - !ruby/object:Gem::Dependency
125
126
  name: growl
126
- prerelease: false
127
- requirement: &id008 !ruby/object:Gem::Requirement
127
+ version_requirements: &id008 !ruby/object:Gem::Requirement
128
128
  none: false
129
129
  requirements:
130
130
  - - ">="
@@ -133,12 +133,12 @@ dependencies:
133
133
  segments:
134
134
  - 0
135
135
  version: "0"
136
+ prerelease: false
136
137
  type: :development
137
- version_requirements: *id008
138
+ requirement: *id008
138
139
  - !ruby/object:Gem::Dependency
139
140
  name: rails
140
- prerelease: false
141
- requirement: &id009 !ruby/object:Gem::Requirement
141
+ version_requirements: &id009 !ruby/object:Gem::Requirement
142
142
  none: false
143
143
  requirements:
144
144
  - - ~>
@@ -148,12 +148,12 @@ dependencies:
148
148
  - 3
149
149
  - 1
150
150
  version: "3.1"
151
+ prerelease: false
151
152
  type: :runtime
152
- version_requirements: *id009
153
+ requirement: *id009
153
154
  - !ruby/object:Gem::Dependency
154
155
  name: haml
155
- prerelease: false
156
- requirement: &id010 !ruby/object:Gem::Requirement
156
+ version_requirements: &id010 !ruby/object:Gem::Requirement
157
157
  none: false
158
158
  requirements:
159
159
  - - ~>
@@ -163,12 +163,12 @@ dependencies:
163
163
  - 3
164
164
  - 1
165
165
  version: "3.1"
166
+ prerelease: false
166
167
  type: :runtime
167
- version_requirements: *id010
168
+ requirement: *id010
168
169
  - !ruby/object:Gem::Dependency
169
170
  name: compass
170
- prerelease: false
171
- requirement: &id011 !ruby/object:Gem::Requirement
171
+ version_requirements: &id011 !ruby/object:Gem::Requirement
172
172
  none: false
173
173
  requirements:
174
174
  - - ">="
@@ -179,12 +179,12 @@ dependencies:
179
179
  - 11
180
180
  - 1
181
181
  version: 0.11.1
182
+ prerelease: false
182
183
  type: :runtime
183
- version_requirements: *id011
184
+ requirement: *id011
184
185
  - !ruby/object:Gem::Dependency
185
186
  name: simple_form
186
- prerelease: false
187
- requirement: &id012 !ruby/object:Gem::Requirement
187
+ version_requirements: &id012 !ruby/object:Gem::Requirement
188
188
  none: false
189
189
  requirements:
190
190
  - - ">="
@@ -194,12 +194,12 @@ dependencies:
194
194
  - 1
195
195
  - 4
196
196
  version: "1.4"
197
+ prerelease: false
197
198
  type: :runtime
198
- version_requirements: *id012
199
+ requirement: *id012
199
200
  - !ruby/object:Gem::Dependency
200
201
  name: carrierwave
201
- prerelease: false
202
- requirement: &id013 !ruby/object:Gem::Requirement
202
+ version_requirements: &id013 !ruby/object:Gem::Requirement
203
203
  none: false
204
204
  requirements:
205
205
  - - ">="
@@ -210,12 +210,12 @@ dependencies:
210
210
  - 5
211
211
  - 7
212
212
  version: 0.5.7
213
+ prerelease: false
213
214
  type: :runtime
214
- version_requirements: *id013
215
+ requirement: *id013
215
216
  - !ruby/object:Gem::Dependency
216
217
  name: rmagick
217
- prerelease: false
218
- requirement: &id014 !ruby/object:Gem::Requirement
218
+ version_requirements: &id014 !ruby/object:Gem::Requirement
219
219
  none: false
220
220
  requirements:
221
221
  - - "="
@@ -226,12 +226,12 @@ dependencies:
226
226
  - 12
227
227
  - 2
228
228
  version: 2.12.2
229
+ prerelease: false
229
230
  type: :runtime
230
- version_requirements: *id014
231
+ requirement: *id014
231
232
  - !ruby/object:Gem::Dependency
232
233
  name: rdiscount
233
- prerelease: false
234
- requirement: &id015 !ruby/object:Gem::Requirement
234
+ version_requirements: &id015 !ruby/object:Gem::Requirement
235
235
  none: false
236
236
  requirements:
237
237
  - - ">="
@@ -241,12 +241,12 @@ dependencies:
241
241
  - 1
242
242
  - 6
243
243
  version: "1.6"
244
+ prerelease: false
244
245
  type: :runtime
245
- version_requirements: *id015
246
+ requirement: *id015
246
247
  - !ruby/object:Gem::Dependency
247
248
  name: acts-as-taggable-on
248
- prerelease: false
249
- requirement: &id016 !ruby/object:Gem::Requirement
249
+ version_requirements: &id016 !ruby/object:Gem::Requirement
250
250
  none: false
251
251
  requirements:
252
252
  - - ">="
@@ -257,8 +257,9 @@ dependencies:
257
257
  - 0
258
258
  - 6
259
259
  version: 2.0.6
260
+ prerelease: false
260
261
  type: :runtime
261
- version_requirements: *id016
262
+ requirement: *id016
262
263
  description: Kuhsaft is a Rails engine that offers a simple CMS.
263
264
  email: developers@screenconcept.ch
264
265
  executables: []
@@ -293,6 +294,7 @@ files:
293
294
  - app/assets/images/kuhsaft/toggle-arrow-open.png
294
295
  - app/assets/images/kuhsaft/wrapper-bg.png
295
296
  - app/assets/javascripts/kuhsaft/cms/application.js
297
+ - app/assets/javascripts/kuhsaft/cms/backend.js
296
298
  - app/assets/javascripts/kuhsaft/cms/jquery-ui-1.8.12.custom.min.js
297
299
  - app/assets/javascripts/kuhsaft/cms/jquery.elastic.source.js
298
300
  - app/assets/javascripts/kuhsaft/cms/jquery.min.js
@@ -439,16 +441,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
439
441
  required_rubygems_version: !ruby/object:Gem::Requirement
440
442
  none: false
441
443
  requirements:
442
- - - ">="
444
+ - - ">"
443
445
  - !ruby/object:Gem::Version
444
- hash: 3
446
+ hash: 25
445
447
  segments:
446
- - 0
447
- version: "0"
448
+ - 1
449
+ - 3
450
+ - 1
451
+ version: 1.3.1
448
452
  requirements: []
449
453
 
450
454
  rubyforge_project: kuhsaft
451
- rubygems_version: 1.8.10
455
+ rubygems_version: 1.8.25
452
456
  signing_key:
453
457
  specification_version: 3
454
458
  summary: A tool that helps you to manage your content within your app.