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