tramway-core 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/uploaders/file_uploader.rb +2 -0
- data/app/uploaders/image_sizes.rb +13 -0
- data/app/uploaders/photo_uploader.rb +1 -7
- data/lib/tramway/core/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f210d16378e75f559af9d82c4d91e7773ac4d41eeefd1517566d7de58065d54c
|
4
|
+
data.tar.gz: 053a94a32d41e4e18297d51d798f29ff4f56ba7a3b19fb9ee4ad63cb623b74b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b5a41fe68961d1911fbc688af0e8e1b4c3b18f5e1113b8a694225a7df067c621b16bce2ed8ca0978c8a2a27488463a113a633287e813e24f7323c1c7fc3e3a2a
|
7
|
+
data.tar.gz: 284ba15ae8efd8b6f271db77b7acda396a33c6d90e3b7d2188d0c9200dc934210bfcbf7e9e3f3fe810a08e925230548c6ce4678133d3789fb46f603a59c03365
|
@@ -13,13 +13,7 @@ class PhotoUploader < ApplicationUploader
|
|
13
13
|
end
|
14
14
|
end
|
15
15
|
|
16
|
-
|
17
|
-
process :resize_to_fill => [400, 400]
|
18
|
-
end
|
19
|
-
|
20
|
-
version :small do
|
21
|
-
process :resize_to_fill => [100, 100]
|
22
|
-
end
|
16
|
+
include ImageSizes
|
23
17
|
|
24
18
|
# FIXME move to tramway-landing uploader
|
25
19
|
version :card do
|
data/lib/tramway/core/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tramway-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pavel Kalashnikov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-06-
|
11
|
+
date: 2018-06-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: reform-rails
|
@@ -227,6 +227,7 @@ files:
|
|
227
227
|
- app/uploaders/application_uploader.rb
|
228
228
|
- app/uploaders/file_uploader.rb
|
229
229
|
- app/uploaders/image_defaults.rb
|
230
|
+
- app/uploaders/image_sizes.rb
|
230
231
|
- app/uploaders/photo_uploader.rb
|
231
232
|
- app/views/tramway/core/shared/_messages.html.haml
|
232
233
|
- config/locales/ru/dates.yml
|