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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7445c28b6f045636c287259d79540cb33490a6e5
4
- data.tar.gz: 301c5d44eba26cb07e3cbe0c8ca24598ecf4c0cb
3
+ metadata.gz: 7855675566155a8bd7be89629163eaf8af99f2fd
4
+ data.tar.gz: cb18dcdf5d1c689e5c972a0da97a0e62f1a5a5eb
5
5
  SHA512:
6
- metadata.gz: 79d8ada8a2a3c8fe79c3f26b5f93fda2b97a36e7e6f09f326fa4e92ac55cec620a2099ee50940a7709b0a127027fcad4535c25b869cab3e04f64ca7a85643079
7
- data.tar.gz: 0bb50d3e731c1f7868861043c9029155c44f1ac7d0e9c0175a590065b16eeaf0027ac7fc69c1b3fc4d54b02037f2b122b2f704a4d3f2200220cc2912d17ac409
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|
@@ -1,3 +1,3 @@
1
1
  module Blobsterix
2
- VERSION = "0.0.36"
2
+ VERSION = "0.0.37"
3
3
  end
@@ -7,6 +7,5 @@ group :development do
7
7
  gem "capistrano", "2.15.4"
8
8
  gem "capistrano-ext", "1.2.1"
9
9
  gem "rvm-capistrano", "~> 1.5.1"
10
- gem 'whenever', '=0.8.2', :require => false
11
10
  gem "railsless-deploy", :require => false
12
- end
11
+ end
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.36
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: 2016-09-13 00:00:00.000000000 Z
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: