meme_captain 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
metadata CHANGED
@@ -1,198 +1,180 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: meme_captain
3
- version: !ruby/object:Gem::Version
4
- hash: 27
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 1
9
- - 0
10
- version: 0.1.0
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Matthew M. Boedicker
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2012-02-07 00:00:00 -05:00
19
- default_executable:
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
12
+ date: 2012-04-27 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
22
15
  name: bson_ext
23
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &12380480 !ruby/object:Gem::Requirement
25
17
  none: false
26
- requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- hash: 3
30
- segments:
31
- - 0
32
- version: "0"
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
33
22
  type: :runtime
34
- version_requirements: *id001
35
- - !ruby/object:Gem::Dependency
36
- name: curb
37
23
  prerelease: false
38
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: *12380480
25
+ - !ruby/object:Gem::Dependency
26
+ name: curb
27
+ requirement: &12334320 !ruby/object:Gem::Requirement
39
28
  none: false
40
- requirements:
41
- - - ">="
42
- - !ruby/object:Gem::Version
43
- hash: 3
44
- segments:
45
- - 0
46
- version: "0"
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
47
33
  type: :runtime
48
- version_requirements: *id002
49
- - !ruby/object:Gem::Dependency
50
- name: json
51
34
  prerelease: false
52
- requirement: &id003 !ruby/object:Gem::Requirement
35
+ version_requirements: *12334320
36
+ - !ruby/object:Gem::Dependency
37
+ name: json
38
+ requirement: &12333620 !ruby/object:Gem::Requirement
53
39
  none: false
54
- requirements:
55
- - - ">="
56
- - !ruby/object:Gem::Version
57
- hash: 3
58
- segments:
59
- - 0
60
- version: "0"
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
61
44
  type: :runtime
62
- version_requirements: *id003
63
- - !ruby/object:Gem::Dependency
64
- name: mime-types
65
45
  prerelease: false
66
- requirement: &id004 !ruby/object:Gem::Requirement
46
+ version_requirements: *12333620
47
+ - !ruby/object:Gem::Dependency
48
+ name: mime-types
49
+ requirement: &12332760 !ruby/object:Gem::Requirement
67
50
  none: false
68
- requirements:
69
- - - ">="
70
- - !ruby/object:Gem::Version
71
- hash: 3
72
- segments:
73
- - 0
74
- version: "0"
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
75
55
  type: :runtime
76
- version_requirements: *id004
77
- - !ruby/object:Gem::Dependency
78
- name: mongo
79
56
  prerelease: false
80
- requirement: &id005 !ruby/object:Gem::Requirement
57
+ version_requirements: *12332760
58
+ - !ruby/object:Gem::Dependency
59
+ name: mongo
60
+ requirement: &12332260 !ruby/object:Gem::Requirement
81
61
  none: false
82
- requirements:
83
- - - ">="
84
- - !ruby/object:Gem::Version
85
- hash: 3
86
- segments:
87
- - 0
88
- version: "0"
62
+ requirements:
63
+ - - ! '>='
64
+ - !ruby/object:Gem::Version
65
+ version: '0'
89
66
  type: :runtime
90
- version_requirements: *id005
91
- - !ruby/object:Gem::Dependency
92
- name: mongo_mapper
93
67
  prerelease: false
94
- requirement: &id006 !ruby/object:Gem::Requirement
68
+ version_requirements: *12332260
69
+ - !ruby/object:Gem::Dependency
70
+ name: mongo_mapper
71
+ requirement: &12331800 !ruby/object:Gem::Requirement
95
72
  none: false
96
- requirements:
97
- - - ">="
98
- - !ruby/object:Gem::Version
99
- hash: 3
100
- segments:
101
- - 0
102
- version: "0"
73
+ requirements:
74
+ - - ! '>='
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
103
77
  type: :runtime
104
- version_requirements: *id006
105
- - !ruby/object:Gem::Dependency
78
+ prerelease: false
79
+ version_requirements: *12331800
80
+ - !ruby/object:Gem::Dependency
106
81
  name: rack
82
+ requirement: &12331360 !ruby/object:Gem::Requirement
83
+ none: false
84
+ requirements:
85
+ - - ! '>='
86
+ - !ruby/object:Gem::Version
87
+ version: '0'
88
+ type: :runtime
107
89
  prerelease: false
108
- requirement: &id007 !ruby/object:Gem::Requirement
90
+ version_requirements: *12331360
91
+ - !ruby/object:Gem::Dependency
92
+ name: rack-contrib
93
+ requirement: &12330960 !ruby/object:Gem::Requirement
109
94
  none: false
110
- requirements:
111
- - - ">="
112
- - !ruby/object:Gem::Version
113
- hash: 3
114
- segments:
115
- - 0
116
- version: "0"
95
+ requirements:
96
+ - - ! '>='
97
+ - !ruby/object:Gem::Version
98
+ version: '0'
117
99
  type: :runtime
118
- version_requirements: *id007
119
- - !ruby/object:Gem::Dependency
120
- name: rack-rewrite
121
100
  prerelease: false
122
- requirement: &id008 !ruby/object:Gem::Requirement
101
+ version_requirements: *12330960
102
+ - !ruby/object:Gem::Dependency
103
+ name: rack-rewrite
104
+ requirement: &12330560 !ruby/object:Gem::Requirement
123
105
  none: false
124
- requirements:
125
- - - ">="
126
- - !ruby/object:Gem::Version
127
- hash: 3
128
- segments:
129
- - 0
130
- version: "0"
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
131
110
  type: :runtime
132
- version_requirements: *id008
133
- - !ruby/object:Gem::Dependency
134
- name: rmagick
135
111
  prerelease: false
136
- requirement: &id009 !ruby/object:Gem::Requirement
112
+ version_requirements: *12330560
113
+ - !ruby/object:Gem::Dependency
114
+ name: rmagick
115
+ requirement: &12330160 !ruby/object:Gem::Requirement
137
116
  none: false
138
- requirements:
139
- - - ">="
140
- - !ruby/object:Gem::Version
141
- hash: 3
142
- segments:
143
- - 0
144
- version: "0"
117
+ requirements:
118
+ - - ! '>='
119
+ - !ruby/object:Gem::Version
120
+ version: '0'
145
121
  type: :runtime
146
- version_requirements: *id009
147
- - !ruby/object:Gem::Dependency
148
- name: sinatra
149
122
  prerelease: false
150
- requirement: &id010 !ruby/object:Gem::Requirement
123
+ version_requirements: *12330160
124
+ - !ruby/object:Gem::Dependency
125
+ name: sinatra
126
+ requirement: &12329760 !ruby/object:Gem::Requirement
151
127
  none: false
152
- requirements:
153
- - - ">="
154
- - !ruby/object:Gem::Version
155
- hash: 3
156
- segments:
157
- - 0
158
- version: "0"
128
+ requirements:
129
+ - - ! '>='
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
159
132
  type: :runtime
160
- version_requirements: *id010
161
- - !ruby/object:Gem::Dependency
133
+ prerelease: false
134
+ version_requirements: *12329760
135
+ - !ruby/object:Gem::Dependency
162
136
  name: rspec
137
+ requirement: &12329240 !ruby/object:Gem::Requirement
138
+ none: false
139
+ requirements:
140
+ - - ! '>='
141
+ - !ruby/object:Gem::Version
142
+ version: '0'
143
+ type: :development
163
144
  prerelease: false
164
- requirement: &id011 !ruby/object:Gem::Requirement
145
+ version_requirements: *12329240
146
+ - !ruby/object:Gem::Dependency
147
+ name: webmock
148
+ requirement: &12328840 !ruby/object:Gem::Requirement
165
149
  none: false
166
- requirements:
167
- - - ">="
168
- - !ruby/object:Gem::Version
169
- hash: 3
170
- segments:
171
- - 0
172
- version: "0"
150
+ requirements:
151
+ - - ! '>='
152
+ - !ruby/object:Gem::Version
153
+ version: '0'
173
154
  type: :development
174
- version_requirements: *id011
155
+ prerelease: false
156
+ version_requirements: *12328840
175
157
  description: create meme images
176
- email:
158
+ email:
177
159
  - matthewm@boedicker.org
178
- executables:
160
+ executables:
179
161
  - memecaptain
180
162
  extensions: []
181
-
182
163
  extra_rdoc_files: []
183
-
184
- files:
164
+ files:
185
165
  - .gitignore
186
166
  - COPYING
187
167
  - ChangeLog
168
+ - Gemfile
188
169
  - README.md
189
170
  - bin/memecaptain
190
171
  - config.ru
172
+ - doc/lightweight_front_end.md
173
+ - doc/setup.md
191
174
  - lib/meme_captain.rb
192
175
  - lib/meme_captain/caption.rb
193
176
  - lib/meme_captain/caption_choice.rb
194
177
  - lib/meme_captain/draw.rb
195
- - lib/meme_captain/file_body.rb
196
178
  - lib/meme_captain/image_list.rb
197
179
  - lib/meme_captain/image_list/cache.rb
198
180
  - lib/meme_captain/image_list/fetch.rb
@@ -201,54 +183,61 @@ files:
201
183
  - lib/meme_captain/image_list/watermark.rb
202
184
  - lib/meme_captain/meme.rb
203
185
  - lib/meme_captain/meme_data.rb
186
+ - lib/meme_captain/memebg.rb
187
+ - lib/meme_captain/norm_params.rb
188
+ - lib/meme_captain/pretty_format.rb
204
189
  - lib/meme_captain/server.rb
205
190
  - lib/meme_captain/source_fetch_fail.rb
206
191
  - lib/meme_captain/text_pos.rb
192
+ - lib/meme_captain/upload.rb
207
193
  - lib/meme_captain/version.rb
208
194
  - meme_captain.gemspec
209
195
  - public/css/screen.css
196
+ - public/favicon.ico
210
197
  - public/js/fabric.min.js
198
+ - public/js/jquery-1.7.2.min.js
199
+ - public/js/meme_captain.js
211
200
  - public/source_images.json
212
201
  - public/thumbs.jpg
202
+ - public/thumbs_1330486916.jpg
203
+ - public/thumbs_1333591668.jpg
204
+ - public/thumbs_1334189407.jpg
205
+ - public/thumbs_1334973608.jpg
213
206
  - public/tmp/.gitignore
214
207
  - script/thumb_sprites.rb
208
+ - spec/caption_choice_spec.rb
209
+ - spec/caption_spec.rb
210
+ - spec/image_list/fetch_spec.rb
215
211
  - spec/meme_captain_spec.rb
212
+ - spec/memebg_spec.rb
213
+ - spec/norm_params_spec.rb
214
+ - spec/pretty_format_spec.rb
215
+ - spec/text_pos_spec.rb
216
216
  - views/404.erb
217
217
  - views/index.erb
218
218
  - watermark.png
219
- has_rdoc: true
220
219
  homepage: https://github.com/mmb/meme_captain
221
220
  licenses: []
222
-
223
221
  post_install_message:
224
222
  rdoc_options: []
225
-
226
- require_paths:
223
+ require_paths:
227
224
  - lib
228
- required_ruby_version: !ruby/object:Gem::Requirement
225
+ required_ruby_version: !ruby/object:Gem::Requirement
229
226
  none: false
230
- requirements:
231
- - - ">="
232
- - !ruby/object:Gem::Version
233
- hash: 3
234
- segments:
235
- - 0
236
- version: "0"
237
- required_rubygems_version: !ruby/object:Gem::Requirement
227
+ requirements:
228
+ - - ! '>='
229
+ - !ruby/object:Gem::Version
230
+ version: '0'
231
+ required_rubygems_version: !ruby/object:Gem::Requirement
238
232
  none: false
239
- requirements:
240
- - - ">="
241
- - !ruby/object:Gem::Version
242
- hash: 3
243
- segments:
244
- - 0
245
- version: "0"
233
+ requirements:
234
+ - - ! '>='
235
+ - !ruby/object:Gem::Version
236
+ version: '0'
246
237
  requirements: []
247
-
248
238
  rubyforge_project:
249
- rubygems_version: 1.5.2
239
+ rubygems_version: 1.8.17
250
240
  signing_key:
251
241
  specification_version: 3
252
242
  summary: create meme images
253
243
  test_files: []
254
-
@@ -1,15 +0,0 @@
1
- module MemeCaptain
2
-
3
- # A Rack body for an object on the filesystem.
4
- class FileBody
5
-
6
- def initialize(path); @to_path = path; end
7
-
8
- def each
9
- open(to_path, 'rb') { |f| yield f.read(8192) until f.eof? }
10
- end
11
-
12
- attr_reader :to_path
13
- end
14
-
15
- end