ungulate 0.0.15 → 0.0.16
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -0
- data/README.rdoc +1 -1
- data/Rakefile +4 -34
- data/VERSION +1 -1
- data/features/step_definitions/command_steps.rb +2 -0
- data/features/support.rb +0 -1
- data/lib/ungulate/file_upload.rb +1 -1
- data/spec/spec_helper.rb +1 -7
- data/spec/ungulate/view_helpers_spec.rb +1 -1
- metadata +78 -17
- data/ungulate.gemspec +0 -90
data/.gitignore
CHANGED
data/README.rdoc
CHANGED
data/Rakefile
CHANGED
@@ -1,41 +1,11 @@
|
|
1
1
|
require 'rubygems'
|
2
2
|
require 'rake'
|
3
3
|
|
4
|
-
|
5
|
-
|
6
|
-
Jeweler::Tasks.new do |gem|
|
7
|
-
gem.name = "ungulate"
|
8
|
-
gem.summary = %Q{Process images using Amazon SQS and S3}
|
9
|
-
gem.description = %Q{WIP}
|
10
|
-
gem.email = "andrew@camelpunch.com"
|
11
|
-
gem.homepage = "http://github.com/camelpunch/ungulate"
|
12
|
-
gem.authors = ["Andrew Bruce"]
|
13
|
-
gem.add_dependency "activesupport", ">= 2.3.5"
|
14
|
-
gem.add_dependency "right_aws", ">= 2.0.0"
|
15
|
-
gem.add_dependency "rmagick", ">= 2.13.1"
|
16
|
-
gem.add_dependency "mime-types", ">= 1.16"
|
17
|
-
gem.add_development_dependency "rspec", ">= 1.3.0"
|
18
|
-
gem.add_development_dependency "cucumber", ">= 0.8.1"
|
19
|
-
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
20
|
-
end
|
21
|
-
Jeweler::GemcutterTasks.new
|
22
|
-
rescue LoadError
|
23
|
-
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
|
24
|
-
end
|
25
|
-
|
26
|
-
require 'spec/rake/spectask'
|
27
|
-
Spec::Rake::SpecTask.new(:spec) do |spec|
|
28
|
-
spec.libs << 'lib' << 'spec'
|
29
|
-
spec.spec_files = FileList['spec/**/*_spec.rb']
|
30
|
-
end
|
31
|
-
|
32
|
-
Spec::Rake::SpecTask.new(:rcov) do |spec|
|
33
|
-
spec.libs << 'lib' << 'spec'
|
34
|
-
spec.pattern = 'spec/**/*_spec.rb'
|
35
|
-
spec.rcov = true
|
36
|
-
end
|
4
|
+
require 'rspec/core/rake_task'
|
5
|
+
RSpec::Core::RakeTask.new(:spec)
|
37
6
|
|
38
|
-
task
|
7
|
+
require 'cucumber/rake/task'
|
8
|
+
Cucumber::Rake::Task.new
|
39
9
|
|
40
10
|
task :default => :spec
|
41
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.16
|
data/features/support.rb
CHANGED
data/lib/ungulate/file_upload.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ungulate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 63
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 16
|
10
|
+
version: 0.0.16
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Andrew Bruce
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
18
|
+
date: 2011-01-28 00:00:00 +00:00
|
19
19
|
default_executable: ungulate_server.rb
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -82,38 +82,100 @@ dependencies:
|
|
82
82
|
type: :runtime
|
83
83
|
version_requirements: *id004
|
84
84
|
- !ruby/object:Gem::Dependency
|
85
|
-
name:
|
85
|
+
name: rake
|
86
86
|
prerelease: false
|
87
87
|
requirement: &id005 !ruby/object:Gem::Requirement
|
88
88
|
none: false
|
89
89
|
requirements:
|
90
90
|
- - ">="
|
91
91
|
- !ruby/object:Gem::Version
|
92
|
-
hash:
|
92
|
+
hash: 3
|
93
93
|
segments:
|
94
|
-
- 1
|
95
|
-
- 3
|
96
94
|
- 0
|
97
|
-
version:
|
95
|
+
version: "0"
|
98
96
|
type: :development
|
99
97
|
version_requirements: *id005
|
100
98
|
- !ruby/object:Gem::Dependency
|
101
|
-
name:
|
99
|
+
name: rspec
|
102
100
|
prerelease: false
|
103
101
|
requirement: &id006 !ruby/object:Gem::Requirement
|
104
102
|
none: false
|
105
103
|
requirements:
|
106
104
|
- - ">="
|
107
105
|
- !ruby/object:Gem::Version
|
108
|
-
hash:
|
106
|
+
hash: 31
|
109
107
|
segments:
|
108
|
+
- 2
|
109
|
+
- 4
|
110
110
|
- 0
|
111
|
-
|
112
|
-
- 1
|
113
|
-
version: 0.8.1
|
111
|
+
version: 2.4.0
|
114
112
|
type: :development
|
115
113
|
version_requirements: *id006
|
116
|
-
|
114
|
+
- !ruby/object:Gem::Dependency
|
115
|
+
name: cucumber
|
116
|
+
prerelease: false
|
117
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
118
|
+
none: false
|
119
|
+
requirements:
|
120
|
+
- - ">="
|
121
|
+
- !ruby/object:Gem::Version
|
122
|
+
hash: 55
|
123
|
+
segments:
|
124
|
+
- 0
|
125
|
+
- 10
|
126
|
+
- 0
|
127
|
+
version: 0.10.0
|
128
|
+
type: :development
|
129
|
+
version_requirements: *id007
|
130
|
+
- !ruby/object:Gem::Dependency
|
131
|
+
name: i18n
|
132
|
+
prerelease: false
|
133
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
134
|
+
none: false
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
hash: 11
|
139
|
+
segments:
|
140
|
+
- 0
|
141
|
+
- 5
|
142
|
+
- 0
|
143
|
+
version: 0.5.0
|
144
|
+
type: :development
|
145
|
+
version_requirements: *id008
|
146
|
+
description: |
|
147
|
+
= Ungulate
|
148
|
+
|
149
|
+
According to Wikipedia, this can mean "hoofed animal". Camels have hooves.
|
150
|
+
|
151
|
+
This is a gem for uploading and processing images using an Amazon Web Services stack.
|
152
|
+
|
153
|
+
It comes with a few goodies:
|
154
|
+
|
155
|
+
* ungulate_server.rb - simple queue runner that expects a YAML-encoded job description for RMagick
|
156
|
+
* Ungulate::FileUpload - a model for e.g. Rails that does some cryptography stuff - example to follow
|
157
|
+
* A view helper for Rails: "ungulate_upload_form_for"
|
158
|
+
|
159
|
+
== Installation
|
160
|
+
gem install ungulate
|
161
|
+
|
162
|
+
== Documentation
|
163
|
+
http://wiki.github.com/camelpunch/ungulate/
|
164
|
+
|
165
|
+
== Note on Patches/Pull Requests
|
166
|
+
|
167
|
+
* Fork the project.
|
168
|
+
* Make your feature addition or bug fix.
|
169
|
+
* Add tests for it. This is important so I don't break it in a
|
170
|
+
future version unintentionally.
|
171
|
+
* Commit, do not mess with rakefile, version, or history.
|
172
|
+
(if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
|
173
|
+
* Send me a pull request. Bonus points for topic branches.
|
174
|
+
|
175
|
+
== Copyright
|
176
|
+
|
177
|
+
Copyright (c) 2011 Camel Punch Limited. See LICENSE for details.
|
178
|
+
|
117
179
|
email: andrew@camelpunch.com
|
118
180
|
executables:
|
119
181
|
- ungulate_server.rb
|
@@ -137,18 +199,17 @@ files:
|
|
137
199
|
- features/step_definitions/queue_steps.rb
|
138
200
|
- features/step_definitions/version_steps.rb
|
139
201
|
- features/support.rb
|
140
|
-
- lib/ungulate.rb
|
141
202
|
- lib/ungulate/file_upload.rb
|
142
203
|
- lib/ungulate/job.rb
|
143
204
|
- lib/ungulate/server.rb
|
144
205
|
- lib/ungulate/view_helpers.rb
|
206
|
+
- lib/ungulate.rb
|
145
207
|
- spec/spec.opts
|
146
208
|
- spec/spec_helper.rb
|
147
209
|
- spec/ungulate/file_upload_spec.rb
|
148
210
|
- spec/ungulate/job_spec.rb
|
149
211
|
- spec/ungulate/server_spec.rb
|
150
212
|
- spec/ungulate/view_helpers_spec.rb
|
151
|
-
- ungulate.gemspec
|
152
213
|
has_rdoc: true
|
153
214
|
homepage: http://github.com/camelpunch/ungulate
|
154
215
|
licenses: []
|
data/ungulate.gemspec
DELETED
@@ -1,90 +0,0 @@
|
|
1
|
-
# Generated by jeweler
|
2
|
-
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
4
|
-
# -*- encoding: utf-8 -*-
|
5
|
-
|
6
|
-
Gem::Specification.new do |s|
|
7
|
-
s.name = %q{ungulate}
|
8
|
-
s.version = "0.0.15"
|
9
|
-
|
10
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = ["Andrew Bruce"]
|
12
|
-
s.date = %q{2010-12-05}
|
13
|
-
s.default_executable = %q{ungulate_server.rb}
|
14
|
-
s.description = %q{WIP}
|
15
|
-
s.email = %q{andrew@camelpunch.com}
|
16
|
-
s.executables = ["ungulate_server.rb"]
|
17
|
-
s.extra_rdoc_files = [
|
18
|
-
"LICENSE",
|
19
|
-
"README.rdoc"
|
20
|
-
]
|
21
|
-
s.files = [
|
22
|
-
".document",
|
23
|
-
".gitignore",
|
24
|
-
"LICENSE",
|
25
|
-
"README.rdoc",
|
26
|
-
"Rakefile",
|
27
|
-
"VERSION",
|
28
|
-
"bin/ungulate_server.rb",
|
29
|
-
"features/camels.jpg",
|
30
|
-
"features/cope_with_empty_queue.feature",
|
31
|
-
"features/image_resize.feature",
|
32
|
-
"features/step_definitions/command_steps.rb",
|
33
|
-
"features/step_definitions/queue_steps.rb",
|
34
|
-
"features/step_definitions/version_steps.rb",
|
35
|
-
"features/support.rb",
|
36
|
-
"lib/ungulate.rb",
|
37
|
-
"lib/ungulate/file_upload.rb",
|
38
|
-
"lib/ungulate/job.rb",
|
39
|
-
"lib/ungulate/server.rb",
|
40
|
-
"lib/ungulate/view_helpers.rb",
|
41
|
-
"spec/spec.opts",
|
42
|
-
"spec/spec_helper.rb",
|
43
|
-
"spec/ungulate/file_upload_spec.rb",
|
44
|
-
"spec/ungulate/job_spec.rb",
|
45
|
-
"spec/ungulate/server_spec.rb",
|
46
|
-
"spec/ungulate/view_helpers_spec.rb",
|
47
|
-
"ungulate.gemspec"
|
48
|
-
]
|
49
|
-
s.homepage = %q{http://github.com/camelpunch/ungulate}
|
50
|
-
s.rdoc_options = ["--charset=UTF-8"]
|
51
|
-
s.require_paths = ["lib"]
|
52
|
-
s.rubygems_version = %q{1.3.7}
|
53
|
-
s.summary = %q{Process images using Amazon SQS and S3}
|
54
|
-
s.test_files = [
|
55
|
-
"spec/spec_helper.rb",
|
56
|
-
"spec/ungulate/file_upload_spec.rb",
|
57
|
-
"spec/ungulate/job_spec.rb",
|
58
|
-
"spec/ungulate/server_spec.rb",
|
59
|
-
"spec/ungulate/view_helpers_spec.rb"
|
60
|
-
]
|
61
|
-
|
62
|
-
if s.respond_to? :specification_version then
|
63
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
64
|
-
s.specification_version = 3
|
65
|
-
|
66
|
-
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
67
|
-
s.add_runtime_dependency(%q<activesupport>, [">= 2.3.5"])
|
68
|
-
s.add_runtime_dependency(%q<right_aws>, [">= 2.0.0"])
|
69
|
-
s.add_runtime_dependency(%q<rmagick>, [">= 2.13.1"])
|
70
|
-
s.add_runtime_dependency(%q<mime-types>, [">= 1.16"])
|
71
|
-
s.add_development_dependency(%q<rspec>, [">= 1.3.0"])
|
72
|
-
s.add_development_dependency(%q<cucumber>, [">= 0.8.1"])
|
73
|
-
else
|
74
|
-
s.add_dependency(%q<activesupport>, [">= 2.3.5"])
|
75
|
-
s.add_dependency(%q<right_aws>, [">= 2.0.0"])
|
76
|
-
s.add_dependency(%q<rmagick>, [">= 2.13.1"])
|
77
|
-
s.add_dependency(%q<mime-types>, [">= 1.16"])
|
78
|
-
s.add_dependency(%q<rspec>, [">= 1.3.0"])
|
79
|
-
s.add_dependency(%q<cucumber>, [">= 0.8.1"])
|
80
|
-
end
|
81
|
-
else
|
82
|
-
s.add_dependency(%q<activesupport>, [">= 2.3.5"])
|
83
|
-
s.add_dependency(%q<right_aws>, [">= 2.0.0"])
|
84
|
-
s.add_dependency(%q<rmagick>, [">= 2.13.1"])
|
85
|
-
s.add_dependency(%q<mime-types>, [">= 1.16"])
|
86
|
-
s.add_dependency(%q<rspec>, [">= 1.3.0"])
|
87
|
-
s.add_dependency(%q<cucumber>, [">= 0.8.1"])
|
88
|
-
end
|
89
|
-
end
|
90
|
-
|