malm 0.0.6 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
metadata CHANGED
@@ -1,239 +1,137 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: malm
3
- version: !ruby/object:Gem::Version
4
- hash: 19
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
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
  - madlep
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2011-07-25 00:00:00 +10:00
19
- default_executable: malm
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
12
+ date: 2011-10-31 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: json
16
+ requirement: &70119378465900 !ruby/object:Gem::Requirement
24
17
  none: false
25
- requirements:
26
- - - "="
27
- - !ruby/object:Gem::Version
28
- hash: 5
29
- segments:
30
- - 1
31
- - 5
32
- - 3
18
+ requirements:
19
+ - - =
20
+ - !ruby/object:Gem::Version
33
21
  version: 1.5.3
34
22
  type: :runtime
35
- name: json
36
- version_requirements: *id001
37
- - !ruby/object:Gem::Dependency
38
23
  prerelease: false
39
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: *70119378465900
25
+ - !ruby/object:Gem::Dependency
26
+ name: clamp
27
+ requirement: &70119378465280 !ruby/object:Gem::Requirement
40
28
  none: false
41
- requirements:
42
- - - "="
43
- - !ruby/object:Gem::Version
44
- hash: 21
45
- segments:
46
- - 0
47
- - 2
48
- - 1
29
+ requirements:
30
+ - - =
31
+ - !ruby/object:Gem::Version
49
32
  version: 0.2.1
50
33
  type: :runtime
51
- name: clamp
52
- version_requirements: *id002
53
- - !ruby/object:Gem::Dependency
54
34
  prerelease: false
55
- requirement: &id003 !ruby/object:Gem::Requirement
35
+ version_requirements: *70119378465280
36
+ - !ruby/object:Gem::Dependency
37
+ name: sinatra
38
+ requirement: &70119378464520 !ruby/object:Gem::Requirement
56
39
  none: false
57
- requirements:
58
- - - "="
59
- - !ruby/object:Gem::Version
60
- hash: 19
61
- segments:
62
- - 1
63
- - 2
64
- - 6
40
+ requirements:
41
+ - - =
42
+ - !ruby/object:Gem::Version
65
43
  version: 1.2.6
66
44
  type: :runtime
67
- name: sinatra
68
- version_requirements: *id003
69
- - !ruby/object:Gem::Dependency
70
45
  prerelease: false
71
- requirement: &id004 !ruby/object:Gem::Requirement
46
+ version_requirements: *70119378464520
47
+ - !ruby/object:Gem::Dependency
48
+ name: thin
49
+ requirement: &70119378463840 !ruby/object:Gem::Requirement
72
50
  none: false
73
- requirements:
74
- - - "="
75
- - !ruby/object:Gem::Version
76
- hash: 9
77
- segments:
78
- - 1
79
- - 2
80
- - 11
51
+ requirements:
52
+ - - =
53
+ - !ruby/object:Gem::Version
81
54
  version: 1.2.11
82
55
  type: :runtime
83
- name: thin
84
- version_requirements: *id004
85
- - !ruby/object:Gem::Dependency
86
56
  prerelease: false
87
- requirement: &id005 !ruby/object:Gem::Requirement
88
- none: false
89
- requirements:
90
- - - "="
91
- - !ruby/object:Gem::Version
92
- hash: 3
93
- segments:
94
- - 2
95
- - 3
96
- - 0
97
- version: 2.3.0
98
- type: :runtime
57
+ version_requirements: *70119378463840
58
+ - !ruby/object:Gem::Dependency
99
59
  name: mail
100
- version_requirements: *id005
101
- - !ruby/object:Gem::Dependency
102
- prerelease: false
103
- requirement: &id006 !ruby/object:Gem::Requirement
104
- none: false
105
- requirements:
106
- - - "="
107
- - !ruby/object:Gem::Version
108
- hash: 63
109
- segments:
110
- - 0
111
- - 9
112
- - 2
113
- version: 0.9.2
114
- type: :runtime
115
- name: therubyracer
116
- version_requirements: *id006
117
- - !ruby/object:Gem::Dependency
118
- prerelease: false
119
- requirement: &id007 !ruby/object:Gem::Requirement
60
+ requirement: &70119378463120 !ruby/object:Gem::Requirement
120
61
  none: false
121
- requirements:
122
- - - "="
123
- - !ruby/object:Gem::Version
124
- hash: 31
125
- segments:
126
- - 1
127
- - 2
128
- - 0
129
- version: 1.2.0
130
- type: :runtime
131
- name: execjs
132
- version_requirements: *id007
133
- - !ruby/object:Gem::Dependency
134
- prerelease: false
135
- requirement: &id008 !ruby/object:Gem::Requirement
136
- none: false
137
- requirements:
138
- - - "="
139
- - !ruby/object:Gem::Version
140
- hash: 7
141
- segments:
142
- - 2
143
- - 2
144
- - 0
145
- version: 2.2.0
62
+ requirements:
63
+ - - =
64
+ - !ruby/object:Gem::Version
65
+ version: 2.3.0
146
66
  type: :runtime
147
- name: coffee-script
148
- version_requirements: *id008
149
- - !ruby/object:Gem::Dependency
150
67
  prerelease: false
151
- requirement: &id009 !ruby/object:Gem::Requirement
68
+ version_requirements: *70119378463120
69
+ - !ruby/object:Gem::Dependency
70
+ name: daemons
71
+ requirement: &70119378462260 !ruby/object:Gem::Requirement
152
72
  none: false
153
- requirements:
154
- - - "="
155
- - !ruby/object:Gem::Version
156
- hash: 27
157
- segments:
158
- - 1
159
- - 1
160
- - 4
73
+ requirements:
74
+ - - =
75
+ - !ruby/object:Gem::Version
161
76
  version: 1.1.4
162
77
  type: :runtime
163
- name: daemons
164
- version_requirements: *id009
165
- - !ruby/object:Gem::Dependency
166
78
  prerelease: false
167
- requirement: &id010 !ruby/object:Gem::Requirement
79
+ version_requirements: *70119378462260
80
+ - !ruby/object:Gem::Dependency
81
+ name: rspec
82
+ requirement: &70119378461560 !ruby/object:Gem::Requirement
168
83
  none: false
169
- requirements:
84
+ requirements:
170
85
  - - ~>
171
- - !ruby/object:Gem::Version
172
- hash: 3
173
- segments:
174
- - 2
175
- - 3
176
- - 0
86
+ - !ruby/object:Gem::Version
177
87
  version: 2.3.0
178
88
  type: :development
179
- name: rspec
180
- version_requirements: *id010
181
- - !ruby/object:Gem::Dependency
182
89
  prerelease: false
183
- requirement: &id011 !ruby/object:Gem::Requirement
90
+ version_requirements: *70119378461560
91
+ - !ruby/object:Gem::Dependency
92
+ name: bundler
93
+ requirement: &70119378460780 !ruby/object:Gem::Requirement
184
94
  none: false
185
- requirements:
95
+ requirements:
186
96
  - - ~>
187
- - !ruby/object:Gem::Version
188
- hash: 23
189
- segments:
190
- - 1
191
- - 0
192
- - 0
97
+ - !ruby/object:Gem::Version
193
98
  version: 1.0.0
194
99
  type: :development
195
- name: bundler
196
- version_requirements: *id011
197
- - !ruby/object:Gem::Dependency
198
100
  prerelease: false
199
- requirement: &id012 !ruby/object:Gem::Requirement
101
+ version_requirements: *70119378460780
102
+ - !ruby/object:Gem::Dependency
103
+ name: jeweler
104
+ requirement: &70119378460060 !ruby/object:Gem::Requirement
200
105
  none: false
201
- requirements:
106
+ requirements:
202
107
  - - ~>
203
- - !ruby/object:Gem::Version
204
- hash: 11
205
- segments:
206
- - 1
207
- - 6
208
- - 2
108
+ - !ruby/object:Gem::Version
209
109
  version: 1.6.2
210
110
  type: :development
211
- name: jeweler
212
- version_requirements: *id012
213
- - !ruby/object:Gem::Dependency
214
111
  prerelease: false
215
- requirement: &id013 !ruby/object:Gem::Requirement
112
+ version_requirements: *70119378460060
113
+ - !ruby/object:Gem::Dependency
114
+ name: rcov
115
+ requirement: &70119378459340 !ruby/object:Gem::Requirement
216
116
  none: false
217
- requirements:
218
- - - ">="
219
- - !ruby/object:Gem::Version
220
- hash: 3
221
- segments:
222
- - 0
223
- version: "0"
117
+ requirements:
118
+ - - ! '>='
119
+ - !ruby/object:Gem::Version
120
+ version: '0'
224
121
  type: :development
225
- name: rcov
226
- version_requirements: *id013
227
- description: SMTP server with web interface for easy local development. Sets up a little mail server that you can send messages to, and provides a web front end to let you see what your app did.
122
+ prerelease: false
123
+ version_requirements: *70119378459340
124
+ description: SMTP server with web interface for easy local development. Sets up a
125
+ little mail server that you can send messages to, and provides a web front end to
126
+ let you see what your app did.
228
127
  email: julian.doherty.ml@gmail.com
229
- executables:
128
+ executables:
230
129
  - malm
231
130
  extensions: []
232
-
233
- extra_rdoc_files:
131
+ extra_rdoc_files:
234
132
  - LICENSE.txt
235
133
  - README.md
236
- files:
134
+ files:
237
135
  - .document
238
136
  - .rspec
239
137
  - Gemfile
@@ -244,54 +142,49 @@ files:
244
142
  - VERSION
245
143
  - bin/malm
246
144
  - lib/malm.rb
145
+ - lib/malm/main.rb
146
+ - lib/malm/message.rb
247
147
  - lib/malm/message_db.rb
248
148
  - lib/malm/smtp_server.rb
249
149
  - lib/malm/web.rb
250
150
  - malm.gemspec
251
151
  - spec/bin/malm_test_message
252
- - spec/help_spec.rb
152
+ - spec/malm/message_spec.rb
153
+ - spec/malm/smtp_server_spec.rb
253
154
  - spec/spec_helper.rb
254
- - web/static/css/style.css
255
- - web/static/favicon.ico
256
- - web/static/index.html
257
- - web/static/js/backbone-min.js
258
- - web/static/js/backbone.js
259
- - web/static/js/jquery-1.6.2.js
260
- - web/static/js/jquery-1.6.2.min.js
261
- - web/views/hello_world.coffee
262
- has_rdoc: true
155
+ - web/public/css/style.css
156
+ - web/public/favicon.ico
157
+ - web/public/js/.gitignore
158
+ - web/public/js/lib/backbone-min.js
159
+ - web/public/js/lib/jquery-1.6.2.min.js
160
+ - web/src/coffee/malm.coffee
161
+ - web/views/index.html.erb
263
162
  homepage: http://github.com/madlep/malm
264
- licenses:
163
+ licenses:
265
164
  - MIT
266
165
  post_install_message:
267
166
  rdoc_options: []
268
-
269
- require_paths:
167
+ require_paths:
270
168
  - lib
271
- required_ruby_version: !ruby/object:Gem::Requirement
169
+ required_ruby_version: !ruby/object:Gem::Requirement
272
170
  none: false
273
- requirements:
274
- - - ">="
275
- - !ruby/object:Gem::Version
276
- hash: 3
277
- segments:
171
+ requirements:
172
+ - - ! '>='
173
+ - !ruby/object:Gem::Version
174
+ version: '0'
175
+ segments:
278
176
  - 0
279
- version: "0"
280
- required_rubygems_version: !ruby/object:Gem::Requirement
177
+ hash: -2532324009585908937
178
+ required_rubygems_version: !ruby/object:Gem::Requirement
281
179
  none: false
282
- requirements:
283
- - - ">="
284
- - !ruby/object:Gem::Version
285
- hash: 3
286
- segments:
287
- - 0
288
- version: "0"
180
+ requirements:
181
+ - - ! '>='
182
+ - !ruby/object:Gem::Version
183
+ version: '0'
289
184
  requirements: []
290
-
291
185
  rubyforge_project:
292
- rubygems_version: 1.6.2
186
+ rubygems_version: 1.8.10
293
187
  signing_key:
294
188
  specification_version: 3
295
189
  summary: Easy SMTP server for local development
296
190
  test_files: []
297
-
data/spec/help_spec.rb DELETED
@@ -1,7 +0,0 @@
1
- require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
2
-
3
- describe "Help" do
4
- it "fails" do
5
- fail "hey buddy, you should probably rename this file and start specing for real"
6
- end
7
- end
@@ -1,35 +0,0 @@
1
- <!doctype html>
2
- <head>
3
- <meta charset="utf-8">
4
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
5
-
6
- <title>malm</title>
7
- <meta name="description" content="malm mail server web view">
8
- <meta name="author" content="">
9
-
10
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
11
- <link rel="shortcut icon" href="/favicon.ico">
12
-
13
- <link rel="stylesheet" href="css/style.css?v=2">
14
-
15
- </head>
16
-
17
- <body>
18
-
19
- <div id="container">
20
- <header>
21
- <h1>malm</h1>
22
- </header>
23
- <div id="main" role="main">
24
- <h2>messages...</h2>
25
- </div>
26
- <footer>
27
- <p>I blame <a href="https://twitter.com/#!/madlep">@madlep</a> for <a href="https://github.com/madlep/malm">malm</a></p>
28
- </footer>
29
- </div> <!-- eo #container -->
30
-
31
-
32
- <script src="/js/jquery-1.6.2.min.js"></script>
33
- <script src="/js/backbone-min.js"></script>
34
- </body>
35
- </html>