kuhsaft 2.6.2 → 2.6.3

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: 294d7e0952b39645906fb77dc340eec5726f85be
4
- data.tar.gz: ae6f51a4ad5785b01556a884a43473de982b7508
3
+ metadata.gz: 193c77b8298ce07e062b10da53086a797d5ba3fb
4
+ data.tar.gz: 27976b9fffddfaf8b69a5994b0e475305c1834a4
5
5
  SHA512:
6
- metadata.gz: 427543ecfb3d25a2c7b9f0f0ba13191c25ffbe4856faea586f0d28fc6a9960fdeafbbfe9d1e5720a56ef8573829a3c4f8af0b2ccccdb61171a56576520a86179
7
- data.tar.gz: 1c7308bd4a2eef7326a9192183e84d1526c62108a509c9a604e4f4c1ca54ef024f9c59ea647d84d31eb8d308f4821bbf9d04c70bf0fbd4f8cc677eb2b5a964bd
6
+ metadata.gz: 28f899b929442ee019dfe7eefdaf04cb6ac67e9b1b942ab5d63c258dbb3a54c144c1dd6a0e7748b6b0334262199364f8698c81f4f0703cf43b6a9188132dc2b7
7
+ data.tar.gz: 9c8ac6223bf603c23a70bd513434669eb10117bd476a5c7e2d05ddec17da63aea6ac15826fe3999fdd664798728c5f96a1655c1ebc41f5578c75cfee3ad60f63
@@ -33,7 +33,7 @@ module Kuhsaft
33
33
  def find_page_by_url
34
34
  url = locale.to_s
35
35
  url += "/#{params[:url]}" if params[:url].present?
36
- @page = Kuhsaft::Page.find_by_url(url)
36
+ @page = Kuhsaft::Page.published.find_by_url(url)
37
37
  end
38
38
  end
39
39
  end
@@ -1,3 +1,3 @@
1
1
  module Kuhsaft
2
- VERSION = '2.6.2'
2
+ VERSION = '2.6.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kuhsaft
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.2
4
+ version: 2.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Immanuel Häussermann
@@ -12,216 +12,230 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2015-03-19 00:00:00.000000000 Z
15
+ date: 2015-05-22 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: rspec-rails
19
19
  requirement: !ruby/object:Gem::Requirement
20
20
  requirements:
21
- - - "~>"
21
+ - - ~>
22
22
  - !ruby/object:Gem::Version
23
23
  version: 3.0.1
24
24
  type: :development
25
25
  prerelease: false
26
26
  version_requirements: !ruby/object:Gem::Requirement
27
27
  requirements:
28
- - - "~>"
28
+ - - ~>
29
29
  - !ruby/object:Gem::Version
30
30
  version: 3.0.1
31
31
  - !ruby/object:Gem::Dependency
32
32
  name: rspec-activemodel-mocks
33
33
  requirement: !ruby/object:Gem::Requirement
34
34
  requirements:
35
- - - ">="
35
+ - - '>='
36
36
  - !ruby/object:Gem::Version
37
37
  version: '0'
38
38
  type: :development
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
41
41
  requirements:
42
- - - ">="
42
+ - - '>='
43
43
  - !ruby/object:Gem::Version
44
44
  version: '0'
45
45
  - !ruby/object:Gem::Dependency
46
46
  name: factory_girl_rails
47
47
  requirement: !ruby/object:Gem::Requirement
48
48
  requirements:
49
- - - ">="
49
+ - - '>='
50
50
  - !ruby/object:Gem::Version
51
51
  version: '0'
52
52
  type: :development
53
53
  prerelease: false
54
54
  version_requirements: !ruby/object:Gem::Requirement
55
55
  requirements:
56
- - - ">="
56
+ - - '>='
57
57
  - !ruby/object:Gem::Version
58
58
  version: '0'
59
59
  - !ruby/object:Gem::Dependency
60
60
  name: capybara
61
61
  requirement: !ruby/object:Gem::Requirement
62
62
  requirements:
63
- - - ">="
63
+ - - '>='
64
64
  - !ruby/object:Gem::Version
65
65
  version: '2.0'
66
66
  type: :development
67
67
  prerelease: false
68
68
  version_requirements: !ruby/object:Gem::Requirement
69
69
  requirements:
70
- - - ">="
70
+ - - '>='
71
71
  - !ruby/object:Gem::Version
72
72
  version: '2.0'
73
73
  - !ruby/object:Gem::Dependency
74
74
  name: pg
75
75
  requirement: !ruby/object:Gem::Requirement
76
76
  requirements:
77
- - - ">="
77
+ - - '>='
78
78
  - !ruby/object:Gem::Version
79
79
  version: '0'
80
80
  type: :development
81
81
  prerelease: false
82
82
  version_requirements: !ruby/object:Gem::Requirement
83
83
  requirements:
84
- - - ">="
84
+ - - '>='
85
85
  - !ruby/object:Gem::Version
86
86
  version: '0'
87
87
  - !ruby/object:Gem::Dependency
88
88
  name: launchy
89
89
  requirement: !ruby/object:Gem::Requirement
90
90
  requirements:
91
- - - ">="
91
+ - - '>='
92
92
  - !ruby/object:Gem::Version
93
93
  version: '0'
94
94
  type: :development
95
95
  prerelease: false
96
96
  version_requirements: !ruby/object:Gem::Requirement
97
97
  requirements:
98
- - - ">="
98
+ - - '>='
99
99
  - !ruby/object:Gem::Version
100
100
  version: '0'
101
101
  - !ruby/object:Gem::Dependency
102
102
  name: i18n-tasks
103
103
  requirement: !ruby/object:Gem::Requirement
104
104
  requirements:
105
- - - ">="
105
+ - - '>='
106
106
  - !ruby/object:Gem::Version
107
107
  version: '0'
108
108
  type: :development
109
109
  prerelease: false
110
110
  version_requirements: !ruby/object:Gem::Requirement
111
111
  requirements:
112
- - - ">="
112
+ - - '>='
113
113
  - !ruby/object:Gem::Version
114
114
  version: '0'
115
115
  - !ruby/object:Gem::Dependency
116
116
  name: rake
117
117
  requirement: !ruby/object:Gem::Requirement
118
118
  requirements:
119
- - - ">="
119
+ - - '>='
120
120
  - !ruby/object:Gem::Version
121
121
  version: '0'
122
122
  type: :development
123
123
  prerelease: false
124
124
  version_requirements: !ruby/object:Gem::Requirement
125
125
  requirements:
126
- - - ">="
126
+ - - '>='
127
127
  - !ruby/object:Gem::Version
128
128
  version: '0'
129
+ - !ruby/object:Gem::Dependency
130
+ name: rails-dom-testing
131
+ requirement: !ruby/object:Gem::Requirement
132
+ requirements:
133
+ - - '='
134
+ - !ruby/object:Gem::Version
135
+ version: '1'
136
+ type: :development
137
+ prerelease: false
138
+ version_requirements: !ruby/object:Gem::Requirement
139
+ requirements:
140
+ - - '='
141
+ - !ruby/object:Gem::Version
142
+ version: '1'
129
143
  - !ruby/object:Gem::Dependency
130
144
  name: coffee-rails
131
145
  requirement: !ruby/object:Gem::Requirement
132
146
  requirements:
133
- - - ">="
147
+ - - '>='
134
148
  - !ruby/object:Gem::Version
135
149
  version: '0'
136
150
  type: :runtime
137
151
  prerelease: false
138
152
  version_requirements: !ruby/object:Gem::Requirement
139
153
  requirements:
140
- - - ">="
154
+ - - '>='
141
155
  - !ruby/object:Gem::Version
142
156
  version: '0'
143
157
  - !ruby/object:Gem::Dependency
144
158
  name: remotipart
145
159
  requirement: !ruby/object:Gem::Requirement
146
160
  requirements:
147
- - - ">="
161
+ - - '>='
148
162
  - !ruby/object:Gem::Version
149
163
  version: '0'
150
164
  type: :runtime
151
165
  prerelease: false
152
166
  version_requirements: !ruby/object:Gem::Requirement
153
167
  requirements:
154
- - - ">="
168
+ - - '>='
155
169
  - !ruby/object:Gem::Version
156
170
  version: '0'
157
171
  - !ruby/object:Gem::Dependency
158
172
  name: haml
159
173
  requirement: !ruby/object:Gem::Requirement
160
174
  requirements:
161
- - - ">="
175
+ - - '>='
162
176
  - !ruby/object:Gem::Version
163
177
  version: 4.0.3
164
178
  type: :runtime
165
179
  prerelease: false
166
180
  version_requirements: !ruby/object:Gem::Requirement
167
181
  requirements:
168
- - - ">="
182
+ - - '>='
169
183
  - !ruby/object:Gem::Version
170
184
  version: 4.0.3
171
185
  - !ruby/object:Gem::Dependency
172
186
  name: carrierwave
173
187
  requirement: !ruby/object:Gem::Requirement
174
188
  requirements:
175
- - - ">="
189
+ - - '>='
176
190
  - !ruby/object:Gem::Version
177
191
  version: '0'
178
192
  type: :runtime
179
193
  prerelease: false
180
194
  version_requirements: !ruby/object:Gem::Requirement
181
195
  requirements:
182
- - - ">="
196
+ - - '>='
183
197
  - !ruby/object:Gem::Version
184
198
  version: '0'
185
199
  - !ruby/object:Gem::Dependency
186
200
  name: mini_magick
187
201
  requirement: !ruby/object:Gem::Requirement
188
202
  requirements:
189
- - - ">="
203
+ - - '>='
190
204
  - !ruby/object:Gem::Version
191
205
  version: '0'
192
206
  type: :runtime
193
207
  prerelease: false
194
208
  version_requirements: !ruby/object:Gem::Requirement
195
209
  requirements:
196
- - - ">="
210
+ - - '>='
197
211
  - !ruby/object:Gem::Version
198
212
  version: '0'
199
213
  - !ruby/object:Gem::Dependency
200
214
  name: rdiscount
201
215
  requirement: !ruby/object:Gem::Requirement
202
216
  requirements:
203
- - - ">="
217
+ - - '>='
204
218
  - !ruby/object:Gem::Version
205
219
  version: '0'
206
220
  type: :runtime
207
221
  prerelease: false
208
222
  version_requirements: !ruby/object:Gem::Requirement
209
223
  requirements:
210
- - - ">="
224
+ - - '>='
211
225
  - !ruby/object:Gem::Version
212
226
  version: '0'
213
227
  - !ruby/object:Gem::Dependency
214
228
  name: ancestry
215
229
  requirement: !ruby/object:Gem::Requirement
216
230
  requirements:
217
- - - ">="
231
+ - - '>='
218
232
  - !ruby/object:Gem::Version
219
233
  version: '0'
220
234
  type: :runtime
221
235
  prerelease: false
222
236
  version_requirements: !ruby/object:Gem::Requirement
223
237
  requirements:
224
- - - ">="
238
+ - - '>='
225
239
  - !ruby/object:Gem::Version
226
240
  version: '0'
227
241
  - !ruby/object:Gem::Dependency
@@ -256,196 +270,196 @@ dependencies:
256
270
  name: pg_search
257
271
  requirement: !ruby/object:Gem::Requirement
258
272
  requirements:
259
- - - ">="
273
+ - - <
260
274
  - !ruby/object:Gem::Version
261
- version: '0'
275
+ version: 1.0.0
262
276
  type: :runtime
263
277
  prerelease: false
264
278
  version_requirements: !ruby/object:Gem::Requirement
265
279
  requirements:
266
- - - ">="
280
+ - - <
267
281
  - !ruby/object:Gem::Version
268
- version: '0'
282
+ version: 1.0.0
269
283
  - !ruby/object:Gem::Dependency
270
284
  name: htmlentities
271
285
  requirement: !ruby/object:Gem::Requirement
272
286
  requirements:
273
- - - ">="
287
+ - - '>='
274
288
  - !ruby/object:Gem::Version
275
289
  version: '0'
276
290
  type: :runtime
277
291
  prerelease: false
278
292
  version_requirements: !ruby/object:Gem::Requirement
279
293
  requirements:
280
- - - ">="
294
+ - - '>='
281
295
  - !ruby/object:Gem::Version
282
296
  version: '0'
283
297
  - !ruby/object:Gem::Dependency
284
298
  name: jquery-rails
285
299
  requirement: !ruby/object:Gem::Requirement
286
300
  requirements:
287
- - - ">="
301
+ - - '>='
288
302
  - !ruby/object:Gem::Version
289
303
  version: '0'
290
304
  type: :runtime
291
305
  prerelease: false
292
306
  version_requirements: !ruby/object:Gem::Requirement
293
307
  requirements:
294
- - - ">="
308
+ - - '>='
295
309
  - !ruby/object:Gem::Version
296
310
  version: '0'
297
311
  - !ruby/object:Gem::Dependency
298
312
  name: database_cleaner
299
313
  requirement: !ruby/object:Gem::Requirement
300
314
  requirements:
301
- - - ">="
315
+ - - '>='
302
316
  - !ruby/object:Gem::Version
303
317
  version: '0'
304
318
  type: :development
305
319
  prerelease: false
306
320
  version_requirements: !ruby/object:Gem::Requirement
307
321
  requirements:
308
- - - ">="
322
+ - - '>='
309
323
  - !ruby/object:Gem::Version
310
324
  version: '0'
311
325
  - !ruby/object:Gem::Dependency
312
326
  name: pry-rails
313
327
  requirement: !ruby/object:Gem::Requirement
314
328
  requirements:
315
- - - ">="
329
+ - - '>='
316
330
  - !ruby/object:Gem::Version
317
331
  version: '0'
318
332
  type: :development
319
333
  prerelease: false
320
334
  version_requirements: !ruby/object:Gem::Requirement
321
335
  requirements:
322
- - - ">="
336
+ - - '>='
323
337
  - !ruby/object:Gem::Version
324
338
  version: '0'
325
339
  - !ruby/object:Gem::Dependency
326
340
  name: pry-debugger
327
341
  requirement: !ruby/object:Gem::Requirement
328
342
  requirements:
329
- - - ">="
343
+ - - '>='
330
344
  - !ruby/object:Gem::Version
331
345
  version: '0'
332
346
  type: :development
333
347
  prerelease: false
334
348
  version_requirements: !ruby/object:Gem::Requirement
335
349
  requirements:
336
- - - ">="
350
+ - - '>='
337
351
  - !ruby/object:Gem::Version
338
352
  version: '0'
339
353
  - !ruby/object:Gem::Dependency
340
354
  name: better_errors
341
355
  requirement: !ruby/object:Gem::Requirement
342
356
  requirements:
343
- - - ">="
357
+ - - '>='
344
358
  - !ruby/object:Gem::Version
345
359
  version: '0'
346
360
  type: :development
347
361
  prerelease: false
348
362
  version_requirements: !ruby/object:Gem::Requirement
349
363
  requirements:
350
- - - ">="
364
+ - - '>='
351
365
  - !ruby/object:Gem::Version
352
366
  version: '0'
353
367
  - !ruby/object:Gem::Dependency
354
368
  name: binding_of_caller
355
369
  requirement: !ruby/object:Gem::Requirement
356
370
  requirements:
357
- - - ">="
371
+ - - '>='
358
372
  - !ruby/object:Gem::Version
359
373
  version: '0'
360
374
  type: :development
361
375
  prerelease: false
362
376
  version_requirements: !ruby/object:Gem::Requirement
363
377
  requirements:
364
- - - ">="
378
+ - - '>='
365
379
  - !ruby/object:Gem::Version
366
380
  version: '0'
367
381
  - !ruby/object:Gem::Dependency
368
382
  name: rubocop
369
383
  requirement: !ruby/object:Gem::Requirement
370
384
  requirements:
371
- - - ">="
385
+ - - '>='
372
386
  - !ruby/object:Gem::Version
373
387
  version: '0'
374
388
  type: :development
375
389
  prerelease: false
376
390
  version_requirements: !ruby/object:Gem::Requirement
377
391
  requirements:
378
- - - ">="
392
+ - - '>='
379
393
  - !ruby/object:Gem::Version
380
394
  version: '0'
381
395
  - !ruby/object:Gem::Dependency
382
396
  name: sass-rails
383
397
  requirement: !ruby/object:Gem::Requirement
384
398
  requirements:
385
- - - "~>"
399
+ - - ~>
386
400
  - !ruby/object:Gem::Version
387
401
  version: 4.0.2
388
402
  type: :runtime
389
403
  prerelease: false
390
404
  version_requirements: !ruby/object:Gem::Requirement
391
405
  requirements:
392
- - - "~>"
406
+ - - ~>
393
407
  - !ruby/object:Gem::Version
394
408
  version: 4.0.2
395
409
  - !ruby/object:Gem::Dependency
396
410
  name: rails
397
411
  requirement: !ruby/object:Gem::Requirement
398
412
  requirements:
399
- - - "~>"
413
+ - - ~>
400
414
  - !ruby/object:Gem::Version
401
415
  version: 4.0.2
402
416
  type: :runtime
403
417
  prerelease: false
404
418
  version_requirements: !ruby/object:Gem::Requirement
405
419
  requirements:
406
- - - "~>"
420
+ - - ~>
407
421
  - !ruby/object:Gem::Version
408
422
  version: 4.0.2
409
423
  - !ruby/object:Gem::Dependency
410
424
  name: simple_form
411
425
  requirement: !ruby/object:Gem::Requirement
412
426
  requirements:
413
- - - "~>"
427
+ - - ~>
414
428
  - !ruby/object:Gem::Version
415
429
  version: 3.1.0
416
430
  type: :runtime
417
431
  prerelease: false
418
432
  version_requirements: !ruby/object:Gem::Requirement
419
433
  requirements:
420
- - - "~>"
434
+ - - ~>
421
435
  - !ruby/object:Gem::Version
422
436
  version: 3.1.0
423
437
  - !ruby/object:Gem::Dependency
424
438
  name: jquery-ui-rails
425
439
  requirement: !ruby/object:Gem::Requirement
426
440
  requirements:
427
- - - ">="
441
+ - - '>='
428
442
  - !ruby/object:Gem::Version
429
443
  version: '0'
430
444
  type: :runtime
431
445
  prerelease: false
432
446
  version_requirements: !ruby/object:Gem::Requirement
433
447
  requirements:
434
- - - ">="
448
+ - - '>='
435
449
  - !ruby/object:Gem::Version
436
450
  version: '0'
437
451
  - !ruby/object:Gem::Dependency
438
452
  name: bourbon
439
453
  requirement: !ruby/object:Gem::Requirement
440
454
  requirements:
441
- - - ">="
455
+ - - '>='
442
456
  - !ruby/object:Gem::Version
443
457
  version: '0'
444
458
  type: :runtime
445
459
  prerelease: false
446
460
  version_requirements: !ruby/object:Gem::Requirement
447
461
  requirements:
448
- - - ">="
462
+ - - '>='
449
463
  - !ruby/object:Gem::Version
450
464
  version: '0'
451
465
  description: Kuhsaft is a Rails engine that offers a simple CMS.
@@ -454,15 +468,17 @@ executables: []
454
468
  extensions: []
455
469
  extra_rdoc_files: []
456
470
  files:
471
+ - README.md
472
+ - Rakefile
473
+ - app/assets/javascripts/ckeditor/plugins/adv_link/LICENSE.txt
474
+ - app/assets/javascripts/ckeditor/plugins/adv_link/README.md
457
475
  - app/assets/javascripts/ckeditor/plugins/adv_link/dialogs/anchor.js.coffee
458
476
  - app/assets/javascripts/ckeditor/plugins/adv_link/dialogs/link.js.coffee
459
477
  - app/assets/javascripts/ckeditor/plugins/adv_link/images/anchor.png
460
478
  - app/assets/javascripts/ckeditor/plugins/adv_link/images/hidpi/anchor.png
461
479
  - app/assets/javascripts/ckeditor/plugins/adv_link/lang/de.js
462
480
  - app/assets/javascripts/ckeditor/plugins/adv_link/lang/en.js
463
- - app/assets/javascripts/ckeditor/plugins/adv_link/LICENSE.txt
464
481
  - app/assets/javascripts/ckeditor/plugins/adv_link/plugin.js.coffee
465
- - app/assets/javascripts/ckeditor/plugins/adv_link/README.md
466
482
  - app/assets/javascripts/kuhsaft/application.js.coffee
467
483
  - app/assets/javascripts/kuhsaft/cms/application.js.coffee.erb
468
484
  - app/assets/javascripts/kuhsaft/views/read_more_view.js.coffee
@@ -649,6 +665,7 @@ files:
649
665
  - db/seeds.rb
650
666
  - lib/generators/kuhsaft/assets/install_generator.rb
651
667
  - lib/generators/kuhsaft/translations/add_generator.rb
668
+ - lib/kuhsaft.rb
652
669
  - lib/kuhsaft/brick_list.rb
653
670
  - lib/kuhsaft/engine.rb
654
671
  - lib/kuhsaft/gridded.rb
@@ -660,19 +677,11 @@ files:
660
677
  - lib/kuhsaft/touch_placeholders.rb
661
678
  - lib/kuhsaft/translatable.rb
662
679
  - lib/kuhsaft/version.rb
663
- - lib/kuhsaft.rb
664
680
  - lib/tasks/kuhsaft_tasks.rake
665
681
  - lib/templates/kuhsaft/assets/ck-config.js.coffee
666
682
  - lib/templates/kuhsaft/assets/customizations.css.sass
667
683
  - lib/templates/kuhsaft/assets/customizations.js.coffee
668
684
  - lib/templates/kuhsaft/translations/add_translation.erb
669
- - vendor/assets/javascripts/bootstrap-modal-v2.js
670
- - vendor/assets/javascripts/bootstrap-modalmanager.js
671
- - vendor/assets/javascripts/jquery.nestable.js
672
- - vendor/assets/stylesheets/bootstrap_modal.css
673
- - vendor/assets/stylesheets/nestable.css
674
- - Rakefile
675
- - README.md
676
685
  - spec/controllers/kuhsaft/api/pages_controller_spec.rb
677
686
  - spec/controllers/kuhsaft/cms/pages_controller_spec.rb
678
687
  - spec/controllers/kuhsaft/pages_controller_spec.rb
@@ -754,6 +763,11 @@ files:
754
763
  - spec/support/kuhsaft_spec_helper.rb
755
764
  - spec/support/write_expectation.rb
756
765
  - spec/views/kuhsaft/sitemaps/index.xml.haml_spec.rb
766
+ - vendor/assets/javascripts/bootstrap-modal-v2.js
767
+ - vendor/assets/javascripts/bootstrap-modalmanager.js
768
+ - vendor/assets/javascripts/jquery.nestable.js
769
+ - vendor/assets/stylesheets/bootstrap_modal.css
770
+ - vendor/assets/stylesheets/nestable.css
757
771
  homepage: http://github.com/screenconcept/kuhsaft
758
772
  licenses:
759
773
  - MIT
@@ -767,17 +781,17 @@ require_paths:
767
781
  - lib
768
782
  required_ruby_version: !ruby/object:Gem::Requirement
769
783
  requirements:
770
- - - ">="
784
+ - - '>='
771
785
  - !ruby/object:Gem::Version
772
786
  version: '0'
773
787
  required_rubygems_version: !ruby/object:Gem::Requirement
774
788
  requirements:
775
- - - ">="
789
+ - - '>='
776
790
  - !ruby/object:Gem::Version
777
791
  version: '0'
778
792
  requirements: []
779
793
  rubyforge_project: kuhsaft
780
- rubygems_version: 2.0.3
794
+ rubygems_version: 2.4.6
781
795
  signing_key:
782
796
  specification_version: 4
783
797
  summary: A tool that helps you to manage your content within your app.