kuhsaft 0.3.4.legacy3 → 0.3.4.rc1

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -8,7 +8,7 @@ rescue LoadError
8
8
  end
9
9
 
10
10
  require 'rake'
11
- require 'rdoc/task'
11
+ require 'rake/rdoctask'
12
12
 
13
13
  require 'rspec/core'
14
14
  require 'rspec/core/rake_task'
@@ -6,6 +6,6 @@
6
6
  //
7
7
  //= require jquery.min
8
8
  //= require jquery_ujs
9
- //= require ./jquery-ui-1.8.12.custom.min
10
- //= require ./jquery.elastic.source
11
- //= require ./backend
9
+ //= require jquery-ui-1.8.12.custom.min
10
+ //= require jquery.elastic.source
11
+ //= require backend
@@ -6,4 +6,4 @@
6
6
  @import partials/generic
7
7
  @import partials/buttons
8
8
  @import partials/assets
9
- @import partials/simple_form.sass
9
+ @import partials/simple_form.sass
@@ -3,9 +3,8 @@
3
3
  class Kuhsaft::AssetUploader < CarrierWave::Uploader::Base
4
4
 
5
5
  # Include RMagick or ImageScience support:
6
- #include CarrierWave::RMagick
6
+ include CarrierWave::RMagick
7
7
  #include CarrierWave::ImageScience
8
- include CarrierWave::MiniMagick
9
8
 
10
9
  # Choose what kind of storage to use for this uploader:
11
10
  storage :file
@@ -36,7 +35,7 @@ class Kuhsaft::AssetUploader < CarrierWave::Uploader::Base
36
35
  resize_to_fill(100, 100) if @file.present? && @file.content_type.present? && @file.content_type.include?('image')
37
36
  end
38
37
  end
39
-
38
+
40
39
  # Add a white list of extensions which are allowed to be uploaded.
41
40
  # For images you might use something like this:
42
41
  def extension_white_list
@@ -1,7 +1,7 @@
1
1
  !!!
2
2
  %html
3
3
  %head
4
- = stylesheet_link_tag 'kuhsaft/cms/application.css', :media => 'screen, projection'
4
+ = stylesheet_link_tag 'kuhsaft/cms/screen.css', :media => 'screen, projection'
5
5
  = stylesheet_link_tag 'cms/application.css', :media => 'screen, projection'
6
6
  = javascript_include_tag 'kuhsaft/cms/application.js'
7
7
  = csrf_meta_tag
@@ -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', :constraints => { :locale => /\w{2}/ }
12
+ match '/:locale/*url' => 'kuhsaft/pages#show'
13
13
  end
@@ -33,7 +33,7 @@ Gem::Specification.new do |s|
33
33
  s.add_dependency 'compass', '>= 0.11.1'
34
34
  s.add_dependency 'simple_form', '>= 1.4'
35
35
  s.add_dependency 'carrierwave', '>= 0.5.7'
36
- s.add_dependency 'mini_magick', '2.1'
36
+ s.add_dependency 'rmagick', '2.12.2'
37
37
  s.add_dependency 'rdiscount', '>= 1.6'
38
38
  s.add_dependency 'acts-as-taggable-on', '>= 2.0.6'
39
39
  end
@@ -1,3 +1,3 @@
1
1
  module Kuhsaft
2
- VERSION = "0.3.4.legacy3"
2
+ VERSION = "0.3.4.rc1"
3
3
  end
metadata CHANGED
@@ -1,250 +1,278 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: kuhsaft
3
- version: !ruby/object:Gem::Version
4
- version: 0.3.4.legacy3
3
+ version: !ruby/object:Gem::Version
4
+ hash: 15424007
5
+ prerelease: 6
6
+ segments:
7
+ - 0
8
+ - 3
9
+ - 4
10
+ - rc
11
+ - 1
12
+ version: 0.3.4.rc1
5
13
  platform: ruby
6
- authors:
7
- - Immanuel Häussermann
14
+ authors:
15
+ - "Immanuel H\xC3\xA4ussermann"
8
16
  - Felipe Kaufmann
9
17
  - Phil Schilter
10
18
  autorequire:
11
19
  bindir: bin
12
20
  cert_chain: []
13
- date: 2015-10-05 00:00:00.000000000 Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
16
- name: rspec-rails
17
- requirement: !ruby/object:Gem::Requirement
18
- requirements:
21
+
22
+ date: 2011-11-30 00:00:00 Z
23
+ dependencies:
24
+ - !ruby/object:Gem::Dependency
25
+ version_requirements: &id001 !ruby/object:Gem::Requirement
26
+ none: false
27
+ requirements:
19
28
  - - ">="
20
- - !ruby/object:Gem::Version
21
- version: '2.6'
22
- type: :development
29
+ - !ruby/object:Gem::Version
30
+ hash: 15
31
+ segments:
32
+ - 2
33
+ - 6
34
+ version: "2.6"
23
35
  prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
25
- requirements:
36
+ requirement: *id001
37
+ type: :development
38
+ name: rspec-rails
39
+ - !ruby/object:Gem::Dependency
40
+ version_requirements: &id002 !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
26
43
  - - ">="
27
- - !ruby/object:Gem::Version
28
- version: '2.6'
29
- - !ruby/object:Gem::Dependency
44
+ - !ruby/object:Gem::Version
45
+ hash: 3
46
+ segments:
47
+ - 0
48
+ version: "0"
49
+ prerelease: false
50
+ requirement: *id002
51
+ type: :development
30
52
  name: factory_girl_rails
31
- requirement: !ruby/object:Gem::Requirement
32
- requirements:
53
+ - !ruby/object:Gem::Dependency
54
+ version_requirements: &id003 !ruby/object:Gem::Requirement
55
+ none: false
56
+ requirements:
33
57
  - - ">="
34
- - !ruby/object:Gem::Version
35
- version: '0'
36
- type: :development
58
+ - !ruby/object:Gem::Version
59
+ hash: 15
60
+ segments:
61
+ - 0
62
+ - 4
63
+ - 0
64
+ version: 0.4.0
37
65
  prerelease: false
38
- version_requirements: !ruby/object:Gem::Requirement
39
- requirements:
40
- - - ">="
41
- - !ruby/object:Gem::Version
42
- version: '0'
43
- - !ruby/object:Gem::Dependency
66
+ requirement: *id003
67
+ type: :development
44
68
  name: capybara
45
- requirement: !ruby/object:Gem::Requirement
46
- requirements:
69
+ - !ruby/object:Gem::Dependency
70
+ version_requirements: &id004 !ruby/object:Gem::Requirement
71
+ none: false
72
+ requirements:
47
73
  - - ">="
48
- - !ruby/object:Gem::Version
49
- version: 0.4.0
50
- type: :development
74
+ - !ruby/object:Gem::Version
75
+ hash: 3
76
+ segments:
77
+ - 0
78
+ version: "0"
51
79
  prerelease: false
52
- version_requirements: !ruby/object:Gem::Requirement
53
- requirements:
54
- - - ">="
55
- - !ruby/object:Gem::Version
56
- version: 0.4.0
57
- - !ruby/object:Gem::Dependency
80
+ requirement: *id004
81
+ type: :development
58
82
  name: sqlite3
59
- requirement: !ruby/object:Gem::Requirement
60
- requirements:
83
+ - !ruby/object:Gem::Dependency
84
+ version_requirements: &id005 !ruby/object:Gem::Requirement
85
+ none: false
86
+ requirements:
61
87
  - - ">="
62
- - !ruby/object:Gem::Version
63
- version: '0'
64
- type: :development
88
+ - !ruby/object:Gem::Version
89
+ hash: 7
90
+ segments:
91
+ - 0
92
+ - 6
93
+ version: "0.6"
65
94
  prerelease: false
66
- version_requirements: !ruby/object:Gem::Requirement
67
- requirements:
68
- - - ">="
69
- - !ruby/object:Gem::Version
70
- version: '0'
71
- - !ruby/object:Gem::Dependency
95
+ requirement: *id005
96
+ type: :development
72
97
  name: guard
73
- requirement: !ruby/object:Gem::Requirement
74
- requirements:
98
+ - !ruby/object:Gem::Dependency
99
+ version_requirements: &id006 !ruby/object:Gem::Requirement
100
+ none: false
101
+ requirements:
75
102
  - - ">="
76
- - !ruby/object:Gem::Version
77
- version: '0.6'
78
- type: :development
103
+ - !ruby/object:Gem::Version
104
+ hash: 3
105
+ segments:
106
+ - 0
107
+ version: "0"
79
108
  prerelease: false
80
- version_requirements: !ruby/object:Gem::Requirement
81
- requirements:
82
- - - ">="
83
- - !ruby/object:Gem::Version
84
- version: '0.6'
85
- - !ruby/object:Gem::Dependency
109
+ requirement: *id006
110
+ type: :development
86
111
  name: guard-spork
87
- requirement: !ruby/object:Gem::Requirement
88
- requirements:
112
+ - !ruby/object:Gem::Dependency
113
+ version_requirements: &id007 !ruby/object:Gem::Requirement
114
+ none: false
115
+ requirements:
89
116
  - - ">="
90
- - !ruby/object:Gem::Version
91
- version: '0'
92
- type: :development
117
+ - !ruby/object:Gem::Version
118
+ hash: 3
119
+ segments:
120
+ - 0
121
+ version: "0"
93
122
  prerelease: false
94
- version_requirements: !ruby/object:Gem::Requirement
95
- requirements:
96
- - - ">="
97
- - !ruby/object:Gem::Version
98
- version: '0'
99
- - !ruby/object:Gem::Dependency
123
+ requirement: *id007
124
+ type: :development
100
125
  name: guard-rspec
101
- requirement: !ruby/object:Gem::Requirement
102
- requirements:
126
+ - !ruby/object:Gem::Dependency
127
+ version_requirements: &id008 !ruby/object:Gem::Requirement
128
+ none: false
129
+ requirements:
103
130
  - - ">="
104
- - !ruby/object:Gem::Version
105
- version: '0'
106
- type: :development
131
+ - !ruby/object:Gem::Version
132
+ hash: 3
133
+ segments:
134
+ - 0
135
+ version: "0"
107
136
  prerelease: false
108
- version_requirements: !ruby/object:Gem::Requirement
109
- requirements:
110
- - - ">="
111
- - !ruby/object:Gem::Version
112
- version: '0'
113
- - !ruby/object:Gem::Dependency
114
- name: growl
115
- requirement: !ruby/object:Gem::Requirement
116
- requirements:
117
- - - ">="
118
- - !ruby/object:Gem::Version
119
- version: '0'
137
+ requirement: *id008
120
138
  type: :development
139
+ name: growl
140
+ - !ruby/object:Gem::Dependency
141
+ version_requirements: &id009 !ruby/object:Gem::Requirement
142
+ none: false
143
+ requirements:
144
+ - - ~>
145
+ - !ruby/object:Gem::Version
146
+ hash: 5
147
+ segments:
148
+ - 3
149
+ - 1
150
+ version: "3.1"
121
151
  prerelease: false
122
- version_requirements: !ruby/object:Gem::Requirement
123
- requirements:
124
- - - ">="
125
- - !ruby/object:Gem::Version
126
- version: '0'
127
- - !ruby/object:Gem::Dependency
128
- name: rails
129
- requirement: !ruby/object:Gem::Requirement
130
- requirements:
131
- - - "~>"
132
- - !ruby/object:Gem::Version
133
- version: '3.1'
152
+ requirement: *id009
134
153
  type: :runtime
154
+ name: rails
155
+ - !ruby/object:Gem::Dependency
156
+ version_requirements: &id010 !ruby/object:Gem::Requirement
157
+ none: false
158
+ requirements:
159
+ - - ~>
160
+ - !ruby/object:Gem::Version
161
+ hash: 5
162
+ segments:
163
+ - 3
164
+ - 1
165
+ version: "3.1"
135
166
  prerelease: false
136
- version_requirements: !ruby/object:Gem::Requirement
137
- requirements:
138
- - - "~>"
139
- - !ruby/object:Gem::Version
140
- version: '3.1'
141
- - !ruby/object:Gem::Dependency
142
- name: haml
143
- requirement: !ruby/object:Gem::Requirement
144
- requirements:
145
- - - "~>"
146
- - !ruby/object:Gem::Version
147
- version: '3.1'
167
+ requirement: *id010
148
168
  type: :runtime
149
- prerelease: false
150
- version_requirements: !ruby/object:Gem::Requirement
151
- requirements:
152
- - - "~>"
153
- - !ruby/object:Gem::Version
154
- version: '3.1'
155
- - !ruby/object:Gem::Dependency
156
- name: compass
157
- requirement: !ruby/object:Gem::Requirement
158
- requirements:
169
+ name: haml
170
+ - !ruby/object:Gem::Dependency
171
+ version_requirements: &id011 !ruby/object:Gem::Requirement
172
+ none: false
173
+ requirements:
159
174
  - - ">="
160
- - !ruby/object:Gem::Version
175
+ - !ruby/object:Gem::Version
176
+ hash: 49
177
+ segments:
178
+ - 0
179
+ - 11
180
+ - 1
161
181
  version: 0.11.1
162
- type: :runtime
163
182
  prerelease: false
164
- version_requirements: !ruby/object:Gem::Requirement
165
- requirements:
166
- - - ">="
167
- - !ruby/object:Gem::Version
168
- version: 0.11.1
169
- - !ruby/object:Gem::Dependency
170
- name: simple_form
171
- requirement: !ruby/object:Gem::Requirement
172
- requirements:
173
- - - ">="
174
- - !ruby/object:Gem::Version
175
- version: '1.4'
183
+ requirement: *id011
176
184
  type: :runtime
177
- prerelease: false
178
- version_requirements: !ruby/object:Gem::Requirement
179
- requirements:
180
- - - ">="
181
- - !ruby/object:Gem::Version
182
- version: '1.4'
183
- - !ruby/object:Gem::Dependency
184
- name: carrierwave
185
- requirement: !ruby/object:Gem::Requirement
186
- requirements:
185
+ name: compass
186
+ - !ruby/object:Gem::Dependency
187
+ version_requirements: &id012 !ruby/object:Gem::Requirement
188
+ none: false
189
+ requirements:
187
190
  - - ">="
188
- - !ruby/object:Gem::Version
189
- version: 0.5.7
190
- type: :runtime
191
+ - !ruby/object:Gem::Version
192
+ hash: 7
193
+ segments:
194
+ - 1
195
+ - 4
196
+ version: "1.4"
191
197
  prerelease: false
192
- version_requirements: !ruby/object:Gem::Requirement
193
- requirements:
198
+ requirement: *id012
199
+ type: :runtime
200
+ name: simple_form
201
+ - !ruby/object:Gem::Dependency
202
+ version_requirements: &id013 !ruby/object:Gem::Requirement
203
+ none: false
204
+ requirements:
194
205
  - - ">="
195
- - !ruby/object:Gem::Version
206
+ - !ruby/object:Gem::Version
207
+ hash: 5
208
+ segments:
209
+ - 0
210
+ - 5
211
+ - 7
196
212
  version: 0.5.7
197
- - !ruby/object:Gem::Dependency
198
- name: mini_magick
199
- requirement: !ruby/object:Gem::Requirement
200
- requirements:
201
- - - '='
202
- - !ruby/object:Gem::Version
203
- version: '2.1'
204
- type: :runtime
205
213
  prerelease: false
206
- version_requirements: !ruby/object:Gem::Requirement
207
- requirements:
208
- - - '='
209
- - !ruby/object:Gem::Version
210
- version: '2.1'
211
- - !ruby/object:Gem::Dependency
212
- name: rdiscount
213
- requirement: !ruby/object:Gem::Requirement
214
- requirements:
215
- - - ">="
216
- - !ruby/object:Gem::Version
217
- version: '1.6'
214
+ requirement: *id013
218
215
  type: :runtime
216
+ name: carrierwave
217
+ - !ruby/object:Gem::Dependency
218
+ version_requirements: &id014 !ruby/object:Gem::Requirement
219
+ none: false
220
+ requirements:
221
+ - - "="
222
+ - !ruby/object:Gem::Version
223
+ hash: 59
224
+ segments:
225
+ - 2
226
+ - 12
227
+ - 2
228
+ version: 2.12.2
219
229
  prerelease: false
220
- version_requirements: !ruby/object:Gem::Requirement
221
- requirements:
222
- - - ">="
223
- - !ruby/object:Gem::Version
224
- version: '1.6'
225
- - !ruby/object:Gem::Dependency
226
- name: acts-as-taggable-on
227
- requirement: !ruby/object:Gem::Requirement
228
- requirements:
229
- - - ">="
230
- - !ruby/object:Gem::Version
231
- version: 2.0.6
230
+ requirement: *id014
232
231
  type: :runtime
232
+ name: rmagick
233
+ - !ruby/object:Gem::Dependency
234
+ version_requirements: &id015 !ruby/object:Gem::Requirement
235
+ none: false
236
+ requirements:
237
+ - - ">="
238
+ - !ruby/object:Gem::Version
239
+ hash: 3
240
+ segments:
241
+ - 1
242
+ - 6
243
+ version: "1.6"
233
244
  prerelease: false
234
- version_requirements: !ruby/object:Gem::Requirement
235
- requirements:
245
+ requirement: *id015
246
+ type: :runtime
247
+ name: rdiscount
248
+ - !ruby/object:Gem::Dependency
249
+ version_requirements: &id016 !ruby/object:Gem::Requirement
250
+ none: false
251
+ requirements:
236
252
  - - ">="
237
- - !ruby/object:Gem::Version
253
+ - !ruby/object:Gem::Version
254
+ hash: 3
255
+ segments:
256
+ - 2
257
+ - 0
258
+ - 6
238
259
  version: 2.0.6
260
+ prerelease: false
261
+ requirement: *id016
262
+ type: :runtime
263
+ name: acts-as-taggable-on
239
264
  description: Kuhsaft is a Rails engine that offers a simple CMS.
240
265
  email: developers@screenconcept.ch
241
266
  executables: []
267
+
242
268
  extensions: []
269
+
243
270
  extra_rdoc_files: []
244
- files:
245
- - ".gitignore"
246
- - ".rspec"
247
- - ".rvmrc"
271
+
272
+ files:
273
+ - .gitignore
274
+ - .rspec
275
+ - .rvmrc
248
276
  - CHANGELOG.md
249
277
  - Gemfile
250
278
  - Guardfile
@@ -266,18 +294,18 @@ files:
266
294
  - app/assets/images/kuhsaft/toggle-arrow-closed.png
267
295
  - app/assets/images/kuhsaft/toggle-arrow-open.png
268
296
  - app/assets/images/kuhsaft/wrapper-bg.png
297
+ - app/assets/javascripts/backend.js
269
298
  - app/assets/javascripts/kuhsaft/cms/application.js
270
- - app/assets/javascripts/kuhsaft/cms/backend.js
271
299
  - app/assets/javascripts/kuhsaft/cms/jquery-ui-1.8.12.custom.min.js
272
300
  - app/assets/javascripts/kuhsaft/cms/jquery.elastic.source.js
273
301
  - app/assets/javascripts/kuhsaft/cms/jquery.min.js
274
302
  - app/assets/javascripts/kuhsaft/cms/jquery_ujs.js
275
- - app/assets/stylesheets/kuhsaft/cms/application.sass
276
303
  - app/assets/stylesheets/kuhsaft/cms/partials/_assets.sass
277
304
  - app/assets/stylesheets/kuhsaft/cms/partials/_buttons.sass
278
305
  - app/assets/stylesheets/kuhsaft/cms/partials/_forms.sass
279
306
  - app/assets/stylesheets/kuhsaft/cms/partials/_generic.sass
280
307
  - app/assets/stylesheets/kuhsaft/cms/partials/_simple_form.sass
308
+ - app/assets/stylesheets/kuhsaft/cms/screen.sass
281
309
  - app/controllers/kuhsaft/cms/admin_controller.rb
282
310
  - app/controllers/kuhsaft/cms/assets_controller.rb
283
311
  - app/controllers/kuhsaft/cms/page_parts_controller.rb
@@ -396,28 +424,40 @@ files:
396
424
  - spec/support/kuhsaft_spec_helper.rb
397
425
  homepage: http://github.com/screenconcept/kuhsaft
398
426
  licenses: []
399
- metadata: {}
427
+
400
428
  post_install_message:
401
429
  rdoc_options: []
402
- require_paths:
430
+
431
+ require_paths:
403
432
  - lib
404
- required_ruby_version: !ruby/object:Gem::Requirement
405
- requirements:
433
+ required_ruby_version: !ruby/object:Gem::Requirement
434
+ none: false
435
+ requirements:
406
436
  - - ">="
407
- - !ruby/object:Gem::Version
408
- version: '0'
409
- required_rubygems_version: !ruby/object:Gem::Requirement
410
- requirements:
437
+ - !ruby/object:Gem::Version
438
+ hash: 3
439
+ segments:
440
+ - 0
441
+ version: "0"
442
+ required_rubygems_version: !ruby/object:Gem::Requirement
443
+ none: false
444
+ requirements:
411
445
  - - ">"
412
- - !ruby/object:Gem::Version
446
+ - !ruby/object:Gem::Version
447
+ hash: 25
448
+ segments:
449
+ - 1
450
+ - 3
451
+ - 1
413
452
  version: 1.3.1
414
453
  requirements: []
454
+
415
455
  rubyforge_project: kuhsaft
416
- rubygems_version: 2.4.5
456
+ rubygems_version: 1.8.10
417
457
  signing_key:
418
- specification_version: 4
458
+ specification_version: 3
419
459
  summary: A tool that helps you to manage your content within your app.
420
- test_files:
460
+ test_files:
421
461
  - spec/controllers/cms_assets_controller_spec.rb
422
462
  - spec/controllers/cms_pages_controller_spec.rb
423
463
  - spec/controllers/page_parts_controller_spec.rb
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: 031880148c0fd6ea587b85e78766b64907e01f40
4
- data.tar.gz: 142568153f235b53fcd9c67d50102857c5c0f958
5
- SHA512:
6
- metadata.gz: aba809e889a007b127b0abd61e4e338eb229e9c743ae9fd9357e0bfd395b3f510e99d01e455ab1fabd0ac24ef10abc6c0b816a01919edec4308347620f7f922c
7
- data.tar.gz: b30e33cf3ae7e3a0d9141aae69bd56b078fd210e52a07e24bc65d2855386fd1dbda67249ee828e420457f1c3d0e3df16e21cfb6756ac12e03e029a9e66605eb0