blobsterix 0.0.36 → 0.0.37
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -2
- data/lib/blobsterix/transformation/image_transformation.rb +6 -0
- data/lib/blobsterix/version.rb +1 -1
- data/templates/app/Gemfile +1 -2
- metadata +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7855675566155a8bd7be89629163eaf8af99f2fd
|
4
|
+
data.tar.gz: cb18dcdf5d1c689e5c972a0da97a0e62f1a5a5eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5ea49c92c6b6534a3d848231dd2dc24533c8d298dc88d992e8a0e0799f6115a663f9be22398986d195807ff939c630c84145af6c3bc6dbfb3d7637fce5043e47
|
7
|
+
data.tar.gz: 440788ca5b7fe95ccae87486e1656bf04856bcb5c1c8383ec910ec3beef8477c31a3c239548006c9ef2caf00e820ed830626ff0a69416bbb9e404ab02e1aefb5
|
data/Gemfile
CHANGED
@@ -7,10 +7,9 @@ gem 'simplecov', :require => false, :group => :test
|
|
7
7
|
gem 'rack-test', :group => :test
|
8
8
|
gem 'em-http-request', :group => :test
|
9
9
|
|
10
|
-
group :development do
|
10
|
+
group :development do
|
11
11
|
gem "capistrano", "2.15.4"
|
12
12
|
gem "capistrano-ext", "1.2.1"
|
13
13
|
gem "rvm-capistrano", "~> 1.5.1"
|
14
|
-
gem 'whenever', '=0.8.2', :require => false
|
15
14
|
gem "railsless-deploy", :require => false
|
16
15
|
end
|
@@ -151,6 +151,12 @@ module Blobsterix::Transformations::Impl
|
|
151
151
|
image.write target_path
|
152
152
|
end
|
153
153
|
|
154
|
+
create_simple_trafo("blur", "image/*", "image/*", false) do |input_path, target_path, value|
|
155
|
+
image = MiniMagick::Image.open(input_path)
|
156
|
+
image.blur value
|
157
|
+
image.write target_path
|
158
|
+
end
|
159
|
+
|
154
160
|
# create_simple_trafo("image2HTML", "image/*", "text/html", true) do |input_path, target_path, value|
|
155
161
|
# type = "image/*"
|
156
162
|
# File.open(input_path) {|file|
|
data/lib/blobsterix/version.rb
CHANGED
data/templates/app/Gemfile
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blobsterix
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.37
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Sudmann
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-04-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -333,4 +333,3 @@ test_files:
|
|
333
333
|
- spec/lib/storage/cache_spec.rb
|
334
334
|
- spec/lib/storage/file_system_spec.rb
|
335
335
|
- spec/spec_helper.rb
|
336
|
-
has_rdoc:
|