imagery 0.2.2 → 1.0.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- data/imagery.gemspec +14 -3
- data/lib/imagery.rb +4 -2
- data/makefile +2 -0
- data/{test → tests}/faking.rb +0 -0
- data/{test → tests}/helper.rb +0 -0
- data/{test → tests}/imagery.rb +8 -1
- data/{test → tests}/s3.rb +0 -0
- metadata +59 -37
data/imagery.gemspec
CHANGED
@@ -1,10 +1,21 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = "imagery"
|
3
|
-
s.version = "0.
|
3
|
+
s.version = "1.0.0.rc1"
|
4
4
|
s.summary = "POROS + GraphicsMagick."
|
5
|
-
s.description = "
|
5
|
+
s.description = "Clean & light interface around GraphicsMagick."
|
6
6
|
s.authors = ["Cyril David"]
|
7
7
|
s.email = ["me@cyrildavid.com"]
|
8
8
|
s.homepage = "http://github.com/cyx/imagery"
|
9
|
-
|
9
|
+
|
10
|
+
s.files = Dir[
|
11
|
+
"LICENSE",
|
12
|
+
"README.markdown",
|
13
|
+
"makefile",
|
14
|
+
"lib/**/*.rb",
|
15
|
+
"imagery.gemspec",
|
16
|
+
"tests/*.rb"
|
17
|
+
]
|
18
|
+
|
19
|
+
s.add_development_dependency "cutest"
|
20
|
+
s.add_development_dependency "aws-s3"
|
10
21
|
end
|
data/lib/imagery.rb
CHANGED
@@ -2,8 +2,6 @@ require "fileutils"
|
|
2
2
|
require "tempfile"
|
3
3
|
|
4
4
|
class Imagery
|
5
|
-
VERSION = "0.2.2"
|
6
|
-
|
7
5
|
autoload :S3, "imagery/s3"
|
8
6
|
autoload :Faking, "imagery/faking"
|
9
7
|
autoload :Test, "imagery/test"
|
@@ -123,6 +121,10 @@ class Imagery
|
|
123
121
|
end
|
124
122
|
self.root = File.join(Dir.pwd, "public")
|
125
123
|
|
124
|
+
def self.inherited(child)
|
125
|
+
child.root = root
|
126
|
+
end
|
127
|
+
|
126
128
|
module GM
|
127
129
|
# -size tells GM to only read from a given dimension.
|
128
130
|
# -resize is the target dimension, and understands geometry strings.
|
data/makefile
ADDED
data/{test → tests}/faking.rb
RENAMED
File without changes
|
data/{test → tests}/helper.rb
RENAMED
File without changes
|
data/{test → tests}/imagery.rb
RENAMED
data/{test → tests}/s3.rb
RENAMED
File without changes
|
metadata
CHANGED
@@ -1,67 +1,89 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: imagery
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0.rc1
|
5
|
+
prerelease: 6
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
7
|
+
authors:
|
8
8
|
- Cyril David
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
12
|
+
date: 2012-07-03 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: cutest
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :development
|
23
|
+
prerelease: false
|
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: aws-s3
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
38
|
+
type: :development
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
46
|
+
description: Clean & light interface around GraphicsMagick.
|
47
|
+
email:
|
19
48
|
- me@cyrildavid.com
|
20
49
|
executables: []
|
21
|
-
|
22
50
|
extensions: []
|
23
|
-
|
24
51
|
extra_rdoc_files: []
|
25
|
-
|
26
|
-
files:
|
52
|
+
files:
|
27
53
|
- LICENSE
|
28
54
|
- README.markdown
|
55
|
+
- makefile
|
29
56
|
- lib/imagery/faking.rb
|
30
57
|
- lib/imagery/s3.rb
|
31
58
|
- lib/imagery/test.rb
|
32
59
|
- lib/imagery.rb
|
33
60
|
- imagery.gemspec
|
34
|
-
-
|
35
|
-
-
|
36
|
-
-
|
37
|
-
-
|
38
|
-
has_rdoc: true
|
61
|
+
- tests/faking.rb
|
62
|
+
- tests/helper.rb
|
63
|
+
- tests/imagery.rb
|
64
|
+
- tests/s3.rb
|
39
65
|
homepage: http://github.com/cyx/imagery
|
40
66
|
licenses: []
|
41
|
-
|
42
67
|
post_install_message:
|
43
68
|
rdoc_options: []
|
44
|
-
|
45
|
-
require_paths:
|
69
|
+
require_paths:
|
46
70
|
- lib
|
47
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
71
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
48
72
|
none: false
|
49
|
-
requirements:
|
50
|
-
- -
|
51
|
-
- !ruby/object:Gem::Version
|
52
|
-
version:
|
53
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - ! '>='
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '0'
|
77
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
54
78
|
none: false
|
55
|
-
requirements:
|
56
|
-
- -
|
57
|
-
- !ruby/object:Gem::Version
|
58
|
-
version:
|
79
|
+
requirements:
|
80
|
+
- - ! '>'
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 1.3.1
|
59
83
|
requirements: []
|
60
|
-
|
61
84
|
rubyforge_project:
|
62
|
-
rubygems_version: 1.
|
85
|
+
rubygems_version: 1.8.23
|
63
86
|
signing_key:
|
64
87
|
specification_version: 3
|
65
88
|
summary: POROS + GraphicsMagick.
|
66
89
|
test_files: []
|
67
|
-
|