airbrush 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/config/hoe.rb +2 -2
- data/lib/airbrush.rb +1 -1
- data/lib/airbrush/processors/image/rmagick.rb +1 -1
- data/lib/airbrush/version.rb +1 -1
- metadata +9 -9
data/config/hoe.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
require 'airbrush/version'
|
2
2
|
|
3
3
|
AUTHOR = ['Marcus Crafter', 'Nick Marfleet'] # can also be an array of Authors
|
4
|
-
EMAIL = "
|
4
|
+
EMAIL = "nickmarfleet@gmail.com"
|
5
5
|
DESCRIPTION = "Distributed image processing server."
|
6
6
|
GEM_NAME = 'airbrush' # what ppl will type to install your gem
|
7
7
|
RUBYFORGE_PROJECT = 'airbrush' # The unix name for your project
|
@@ -59,7 +59,7 @@ hoe = Hoe.new(GEM_NAME, VERS) do |p|
|
|
59
59
|
|
60
60
|
# == Optional
|
61
61
|
p.changes = p.paragraphs_of("History.txt", 0..1).join("\n\n")
|
62
|
-
p.extra_deps = [ [ 'starling', '= 0.9.8' ], [ 'activesupport', '
|
62
|
+
p.extra_deps = [ [ 'starling', '= 0.9.8' ], [ 'activesupport', '~> 2.3.10' ], [ 'ruby2ruby', '= 1.2.1' ], [ 'daemons', '= 1.0.10' ] ] # An array of rubygem dependencies [name, version], e.g. [ ['active_support', '>= 1.3.1'] ]
|
63
63
|
|
64
64
|
#p.spec_extras = {} # A hash of extra values to set in the gemspec.
|
65
65
|
|
data/lib/airbrush.rb
CHANGED
@@ -4,7 +4,7 @@ $:.unshift File.dirname(__FILE__)
|
|
4
4
|
require 'rubygems'
|
5
5
|
require 'active_support'
|
6
6
|
|
7
|
-
ActiveSupport::Dependencies.
|
7
|
+
ActiveSupport::Dependencies.autoload_paths << File.dirname(__FILE__)
|
8
8
|
|
9
9
|
# for the moment lets log dependency loading
|
10
10
|
#Dependencies::RAILS_DEFAULT_LOGGER = Logger.new($stdout)
|
@@ -45,7 +45,7 @@ module Airbrush
|
|
45
45
|
def resized_crop_mask(image, crop, size)
|
46
46
|
process image do
|
47
47
|
resize!(size[:width], size[:height])
|
48
|
-
crop!(crop[:x], crop[:y], crop[:width], crop[:height])
|
48
|
+
crop!(crop[:x], crop[:y], crop[:width], crop[:height], true) # pass true to clear offset info
|
49
49
|
end
|
50
50
|
end
|
51
51
|
|
data/lib/airbrush/version.rb
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 4
|
9
|
+
version: 0.0.4
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Marcus Crafter
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
18
|
+
date: 2011-02-25 00:00:00 +11:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -39,13 +39,13 @@ dependencies:
|
|
39
39
|
requirement: &id002 !ruby/object:Gem::Requirement
|
40
40
|
none: false
|
41
41
|
requirements:
|
42
|
-
- -
|
42
|
+
- - ~>
|
43
43
|
- !ruby/object:Gem::Version
|
44
44
|
segments:
|
45
45
|
- 2
|
46
46
|
- 3
|
47
|
-
-
|
48
|
-
version: 2.3.
|
47
|
+
- 10
|
48
|
+
version: 2.3.10
|
49
49
|
type: :runtime
|
50
50
|
version_requirements: *id002
|
51
51
|
- !ruby/object:Gem::Dependency
|
@@ -87,14 +87,14 @@ dependencies:
|
|
87
87
|
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
segments:
|
90
|
-
-
|
90
|
+
- 2
|
91
91
|
- 8
|
92
92
|
- 0
|
93
|
-
version:
|
93
|
+
version: 2.8.0
|
94
94
|
type: :development
|
95
95
|
version_requirements: *id005
|
96
96
|
description: Distributed image processing server.
|
97
|
-
email:
|
97
|
+
email: nickmarfleet@gmail.com
|
98
98
|
executables:
|
99
99
|
- airbrush
|
100
100
|
- airbrush-example-client
|