apache_image_resizer 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/README +2 -2
- data/lib/apache/image_resizer/util.rb +7 -4
- data/lib/apache/image_resizer/version.rb +1 -1
- metadata +83 -92
data/README
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
== VERSION
|
4
4
|
|
5
|
-
This documentation refers to apache_image_resizer version 0.0.
|
5
|
+
This documentation refers to apache_image_resizer version 0.0.7
|
6
6
|
|
7
7
|
|
8
8
|
== DESCRIPTION
|
@@ -53,7 +53,7 @@ Source code:: http://github.com/blackwinter/apache_image_resizer
|
|
53
53
|
|
54
54
|
== LICENSE AND COPYRIGHT
|
55
55
|
|
56
|
-
Copyright (C) 2011 University of Cologne,
|
56
|
+
Copyright (C) 2011-2012 University of Cologne,
|
57
57
|
Albertus-Magnus-Platz, 50923 Cologne, Germany
|
58
58
|
|
59
59
|
apache_image_resizer is free software: you can redistribute it and/or modify
|
@@ -3,9 +3,9 @@
|
|
3
3
|
# #
|
4
4
|
# A component of apache_image_resizer. #
|
5
5
|
# #
|
6
|
-
# Copyright (C) 2011 University of Cologne,
|
7
|
-
#
|
8
|
-
#
|
6
|
+
# Copyright (C) 2011-2012 University of Cologne, #
|
7
|
+
# Albertus-Magnus-Platz, #
|
8
|
+
# 50923 Cologne, Germany #
|
9
9
|
# #
|
10
10
|
# Authors: #
|
11
11
|
# Jens Wille <jens.wille@uni-koeln.de> #
|
@@ -96,7 +96,7 @@ module Apache
|
|
96
96
|
)
|
97
97
|
){1,2}
|
98
98
|
/
|
99
|
-
}
|
99
|
+
}xo
|
100
100
|
|
101
101
|
PROXY_RE = %r{\Aproxy:}
|
102
102
|
|
@@ -240,6 +240,9 @@ module Apache
|
|
240
240
|
mkdir_for(target)
|
241
241
|
|
242
242
|
if link
|
243
|
+
source = File.expand_path(File.readlink(source),
|
244
|
+
File.dirname(source)) if File.symlink?(source)
|
245
|
+
|
243
246
|
if system('ln', source, target)
|
244
247
|
return img
|
245
248
|
elsif block
|
metadata
CHANGED
@@ -1,140 +1,131 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: apache_image_resizer
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.7
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 0
|
9
|
-
- 6
|
10
|
-
version: 0.0.6
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Jens Wille
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2012-10-12 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
21
15
|
name: rmagick
|
22
|
-
|
23
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
24
17
|
none: false
|
25
|
-
requirements:
|
26
|
-
- -
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
|
29
|
-
segments:
|
30
|
-
- 0
|
31
|
-
version: "0"
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
32
22
|
type: :runtime
|
33
|
-
version_requirements: *id001
|
34
|
-
- !ruby/object:Gem::Dependency
|
35
|
-
name: ruby-filemagic
|
36
23
|
prerelease: false
|
37
|
-
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: ruby-filemagic
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
38
33
|
none: false
|
39
|
-
requirements:
|
40
|
-
- -
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
|
43
|
-
segments:
|
44
|
-
- 0
|
45
|
-
version: "0"
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
46
38
|
type: :runtime
|
47
|
-
version_requirements: *id002
|
48
|
-
- !ruby/object:Gem::Dependency
|
49
|
-
name: ruby-nuggets
|
50
39
|
prerelease: false
|
51
|
-
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: ruby-nuggets
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
52
49
|
none: false
|
53
|
-
requirements:
|
54
|
-
- -
|
55
|
-
- !ruby/object:Gem::Version
|
56
|
-
|
57
|
-
segments:
|
58
|
-
- 0
|
59
|
-
version: "0"
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
60
54
|
type: :runtime
|
61
|
-
version_requirements: *id003
|
62
|
-
- !ruby/object:Gem::Dependency
|
63
|
-
name: apache_secure_download
|
64
55
|
prerelease: false
|
65
|
-
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
57
|
none: false
|
67
|
-
requirements:
|
68
|
-
- -
|
69
|
-
- !ruby/object:Gem::Version
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: apache_secure_download
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ! '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
74
70
|
type: :runtime
|
75
|
-
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
76
78
|
description: Apache module providing image resizing functionality.
|
77
79
|
email: jens.wille@uni-koeln.de
|
78
80
|
executables: []
|
79
|
-
|
80
81
|
extensions: []
|
81
|
-
|
82
|
-
extra_rdoc_files:
|
82
|
+
extra_rdoc_files:
|
83
83
|
- README
|
84
84
|
- COPYING
|
85
85
|
- ChangeLog
|
86
|
-
files:
|
86
|
+
files:
|
87
|
+
- lib/apache/image_resizer/version.rb
|
88
|
+
- lib/apache/image_resizer/util.rb
|
87
89
|
- lib/apache/image_resizer.rb
|
88
90
|
- lib/apache/mock_constants.rb
|
89
|
-
- lib/apache/image_resizer/util.rb
|
90
|
-
- lib/apache/image_resizer/version.rb
|
91
|
-
- ChangeLog
|
92
91
|
- COPYING
|
93
|
-
-
|
92
|
+
- ChangeLog
|
94
93
|
- Rakefile
|
95
|
-
-
|
96
|
-
- spec/apache/image_resizer/util_spec.rb
|
94
|
+
- README
|
97
95
|
- spec/spec_helper.rb
|
96
|
+
- spec/apache/image_resizer/util_spec.rb
|
97
|
+
- spec/apache/image_resizer_spec.rb
|
98
98
|
- .rspec
|
99
99
|
homepage: http://github.com/blackwinter/apache_image_resizer
|
100
100
|
licenses: []
|
101
|
-
|
102
101
|
post_install_message:
|
103
|
-
rdoc_options:
|
102
|
+
rdoc_options:
|
104
103
|
- --charset
|
105
104
|
- UTF-8
|
106
|
-
- --main
|
107
|
-
- README
|
108
|
-
- --title
|
109
|
-
- apache_image_resizer Application documentation (v0.0.6)
|
110
105
|
- --line-numbers
|
111
106
|
- --all
|
112
|
-
|
107
|
+
- --title
|
108
|
+
- apache_image_resizer Application documentation (v0.0.7)
|
109
|
+
- --main
|
110
|
+
- README
|
111
|
+
require_paths:
|
113
112
|
- lib
|
114
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
113
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
115
114
|
none: false
|
116
|
-
requirements:
|
117
|
-
- -
|
118
|
-
- !ruby/object:Gem::Version
|
119
|
-
|
120
|
-
|
121
|
-
- 0
|
122
|
-
version: "0"
|
123
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
115
|
+
requirements:
|
116
|
+
- - ! '>='
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
version: '0'
|
119
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
124
120
|
none: false
|
125
|
-
requirements:
|
126
|
-
- -
|
127
|
-
- !ruby/object:Gem::Version
|
128
|
-
|
129
|
-
segments:
|
130
|
-
- 0
|
131
|
-
version: "0"
|
121
|
+
requirements:
|
122
|
+
- - ! '>='
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
132
125
|
requirements: []
|
133
|
-
|
134
126
|
rubyforge_project:
|
135
|
-
rubygems_version: 1.8.
|
127
|
+
rubygems_version: 1.8.24
|
136
128
|
signing_key:
|
137
129
|
specification_version: 3
|
138
130
|
summary: Apache module providing image resizing functionality.
|
139
131
|
test_files: []
|
140
|
-
|