brendanlim-mms2r 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (170) hide show
  1. data/.gitignore +3 -0
  2. data/History.txt +292 -0
  3. data/Manifest.txt +169 -0
  4. data/README.txt +202 -0
  5. data/Rakefile +36 -0
  6. data/conf/1nbox.net.yml +13 -0
  7. data/conf/aliases.yml +17 -0
  8. data/conf/bellsouth.net.yml +2 -0
  9. data/conf/from.yml +2 -0
  10. data/conf/mediamessaging.o2.co.uk.yml +4 -0
  11. data/conf/messaging.nextel.com.yml +10 -0
  12. data/conf/mms.3ireland.ie.yml +17 -0
  13. data/conf/mms.ae.yml +5 -0
  14. data/conf/mms.alltel.com.yml +15 -0
  15. data/conf/mms.att.net.yml +11 -0
  16. data/conf/mms.dobson.net.yml +4 -0
  17. data/conf/mms.luxgsm.lu.yml +13 -0
  18. data/conf/mms.mobileiam.ma.yml +16 -0
  19. data/conf/mms.mtn.co.za.yml +13 -0
  20. data/conf/mms.mycricket.com.yml +4 -0
  21. data/conf/mms.myhelio.com.yml +12 -0
  22. data/conf/mms.netcom.no.yml +4 -0
  23. data/conf/mms.o2online.de.yml +8 -0
  24. data/conf/mms.three.co.uk.yml +15 -0
  25. data/conf/mms.vodacom4me.co.za.yml +13 -0
  26. data/conf/mms2r_media.yml +24 -0
  27. data/conf/mobile.indosat.net.id.yml +14 -0
  28. data/conf/msg.telus.com.yml +6 -0
  29. data/conf/orangemms.net.yml +13 -0
  30. data/conf/pm.sprint.com.yml +12 -0
  31. data/conf/pxt.vodafone.net.nz.yml +5 -0
  32. data/conf/rci.rogers.com.yml +18 -0
  33. data/conf/sms.sasktel.com.yml +12 -0
  34. data/conf/tmomail.net.yml +28 -0
  35. data/conf/txt.bell.ca.yml +4 -0
  36. data/conf/unicel.com.yml +6 -0
  37. data/conf/vmpix.com.yml +11 -0
  38. data/conf/vzwpix.com.yml +8 -0
  39. data/conf/waw.plspictures.com.yml +15 -0
  40. data/dev_tools/anonymizer.rb +20 -0
  41. data/dev_tools/debug_sprint_hpricot_parsing.rb +82 -0
  42. data/dev_tools/github.rb +8 -0
  43. data/lib/mms2r.rb +58 -0
  44. data/lib/mms2r/media.rb +746 -0
  45. data/lib/mms2r/media/sprint.rb +189 -0
  46. data/lib/tmail_ext.rb +17 -0
  47. data/mms2r.gemspec +41 -0
  48. data/test/fixtures/1nbox-2images-01.mail +738 -0
  49. data/test/fixtures/1nbox-2images-02.mail +736 -0
  50. data/test/fixtures/1nbox-2images-03.mail +736 -0
  51. data/test/fixtures/1nbox-2images-04.mail +732 -0
  52. data/test/fixtures/3ireland-mms-01.mail +671 -0
  53. data/test/fixtures/alltel-image-01.mail +319 -0
  54. data/test/fixtures/alltel-mms-01.mail +270 -0
  55. data/test/fixtures/alltel-mms-03.mail +270 -0
  56. data/test/fixtures/apple-double-image-01.mail +53 -0
  57. data/test/fixtures/att-blackberry-02.mail +54 -0
  58. data/test/fixtures/att-blackberry.mail +60 -0
  59. data/test/fixtures/att-image-01.mail +37 -0
  60. data/test/fixtures/att-image-02.mail +37 -0
  61. data/test/fixtures/att-iphone-01.mail +73 -0
  62. data/test/fixtures/att-iphone-02.mail +61 -0
  63. data/test/fixtures/att-iphone-03.mail +61 -0
  64. data/test/fixtures/att-text-01.mail +27 -0
  65. data/test/fixtures/bell-canada-image-01.mail +2273 -0
  66. data/test/fixtures/cingularme-text-01.mail +13 -0
  67. data/test/fixtures/cingularme-text-02.mail +14 -0
  68. data/test/fixtures/dobson-image-01.mail +64 -0
  69. data/test/fixtures/dot.jpg +0 -0
  70. data/test/fixtures/generic.mail +50 -0
  71. data/test/fixtures/helio-image-01.mail +348 -0
  72. data/test/fixtures/helio-message-01.mail +327 -0
  73. data/test/fixtures/iconv-fr-text-01.mail +50 -0
  74. data/test/fixtures/indosat-image-01.mail +751 -0
  75. data/test/fixtures/indosat-image-02.mail +751 -0
  76. data/test/fixtures/info2go-image-01.mail +43 -0
  77. data/test/fixtures/luxgsm-image-01.mail +388 -0
  78. data/test/fixtures/maroctelecom-france-mms-01.mail +511 -0
  79. data/test/fixtures/mediamessaging_o2_co_uk-image-01.mail +61 -0
  80. data/test/fixtures/mmode-image-01.mail +36 -0
  81. data/test/fixtures/mms.ae-image-01.mail +45 -0
  82. data/test/fixtures/mms.mycricket.com-pic-and-text.mail +87 -0
  83. data/test/fixtures/mms.mycricket.com-pic.mail +78 -0
  84. data/test/fixtures/mmsreply.t-mobile.co.uk-text-image-01.mail +431 -0
  85. data/test/fixtures/mobile.mycingular.com-text-01.mail +25 -0
  86. data/test/fixtures/mtn-southafrica-mms.mail +127 -0
  87. data/test/fixtures/mycingular-image-01.mail +66 -0
  88. data/test/fixtures/netcom-image-01.mail +63 -0
  89. data/test/fixtures/nextel-image-01.mail +46 -0
  90. data/test/fixtures/nextel-image-02.mail +43 -0
  91. data/test/fixtures/nextel-image-03.mail +44 -0
  92. data/test/fixtures/nextel-image-04.mail +43 -0
  93. data/test/fixtures/o2-de-image-01.mail +134 -0
  94. data/test/fixtures/orange-uk-image-01.mail +71 -0
  95. data/test/fixtures/orangefrance-text-and-image.mail +68 -0
  96. data/test/fixtures/orangepoland-text-01.mail +7 -0
  97. data/test/fixtures/orangepoland-text-02.mail +7 -0
  98. data/test/fixtures/pics.cingularme.com-image-01.mail +44 -0
  99. data/test/fixtures/pxt-image-01.mail +118 -0
  100. data/test/fixtures/rogers-canada-mms-01.mail +1029 -0
  101. data/test/fixtures/sasktel-image-01.mail +1791 -0
  102. data/test/fixtures/sprint-broken-image-01.mail +195 -0
  103. data/test/fixtures/sprint-image-01.mail +211 -0
  104. data/test/fixtures/sprint-pcs-text-01.mail +8 -0
  105. data/test/fixtures/sprint-purged-image-01.mail +195 -0
  106. data/test/fixtures/sprint-text-01.mail +195 -0
  107. data/test/fixtures/sprint-two-images-01.mail +231 -0
  108. data/test/fixtures/sprint-video-01.mail +210 -0
  109. data/test/fixtures/sprint.mov +0 -0
  110. data/test/fixtures/suncom-blackberry.mail +43 -0
  111. data/test/fixtures/telus-image-01.mail +89 -0
  112. data/test/fixtures/three-uk-image-01.mail +684 -0
  113. data/test/fixtures/tmo.blackberry.net-image-01.mail +48 -0
  114. data/test/fixtures/tmobile-blackberry-02.mail +50 -0
  115. data/test/fixtures/tmobile-blackberry.mail +44 -0
  116. data/test/fixtures/tmobile-image-01.mail +145 -0
  117. data/test/fixtures/tmobile-image-02.mail +145 -0
  118. data/test/fixtures/unicel-image-01.mail +60 -0
  119. data/test/fixtures/verizon-blackberry.mail +53 -0
  120. data/test/fixtures/verizon-image-01.mail +44 -0
  121. data/test/fixtures/verizon-image-02.mail +50 -0
  122. data/test/fixtures/verizon-image-03.mail +53 -0
  123. data/test/fixtures/verizon-text-01.mail +10 -0
  124. data/test/fixtures/verizon-video-01.mail +336 -0
  125. data/test/fixtures/virgin-mobile-image-01.mail +73 -0
  126. data/test/fixtures/virgin.ca-text-01.mail +21 -0
  127. data/test/fixtures/vodacom4me-co-za-01.mail +104 -0
  128. data/test/fixtures/vodacom4me-co-za-02.mail +108 -0
  129. data/test/fixtures/vodacom4me-southafrica-mms-01.mail +152 -0
  130. data/test/fixtures/vodacom4me-southafrica-mms-04.mail +655 -0
  131. data/test/fixtures/vtext-text-01.mail +10 -0
  132. data/test/fixtures/waw.plspictures.com-image-01.mail +1611 -0
  133. data/test/test_1nbox_net.rb +78 -0
  134. data/test/test_bell_canada.rb +44 -0
  135. data/test/test_bellsouth_net.rb +22 -0
  136. data/test/test_github.rb +12 -0
  137. data/test/test_helper.rb +58 -0
  138. data/test/test_mediamessaging_o2_co_uk.rb +52 -0
  139. data/test/test_messaging_nextel_com.rb +93 -0
  140. data/test/test_messaging_sprintpcs_com.rb +26 -0
  141. data/test/test_mms2r_media.rb +760 -0
  142. data/test/test_mms_3ireland_ie.rb +25 -0
  143. data/test/test_mms_ae.rb +46 -0
  144. data/test/test_mms_alltel_com.rb +53 -0
  145. data/test/test_mms_att_net.rb +142 -0
  146. data/test/test_mms_dobson_net.rb +41 -0
  147. data/test/test_mms_luxgsm_lu.rb +58 -0
  148. data/test/test_mms_mobileiam_ma.rb +26 -0
  149. data/test/test_mms_mtn_co_za.rb +25 -0
  150. data/test/test_mms_mycricket_com.rb +60 -0
  151. data/test/test_mms_myhelio_com.rb +62 -0
  152. data/test/test_mms_netcom_no.rb +52 -0
  153. data/test/test_mms_o2online_de.rb +53 -0
  154. data/test/test_mms_three_co_uk.rb +42 -0
  155. data/test/test_mms_vodacom4me_co_za.rb +107 -0
  156. data/test/test_mobile_indosat_net_id.rb +52 -0
  157. data/test/test_msg_telus_com.rb +28 -0
  158. data/test/test_orangemms_net.rb +100 -0
  159. data/test/test_pm_sprint_com.rb +202 -0
  160. data/test/test_pxt_vodafone_net_nz.rb +37 -0
  161. data/test/test_rci_rogers_com.rb +28 -0
  162. data/test/test_sms_sasktel_com.rb +28 -0
  163. data/test/test_tmomail_net.rb +108 -0
  164. data/test/test_unicel_com.rb +49 -0
  165. data/test/test_vmpix_com.rb +56 -0
  166. data/test/test_vzwpix_com.rb +131 -0
  167. data/test/test_waw_plspictures_com.rb +27 -0
  168. data/vendor/plugins/mms2r/lib/autotest/discover.rb +3 -0
  169. data/vendor/plugins/mms2r/lib/autotest/mms2r.rb +38 -0
  170. metadata +288 -0
data/.gitignore ADDED
@@ -0,0 +1,3 @@
1
+ .DS_Store
2
+ coverage/
3
+ pkg/
data/History.txt ADDED
@@ -0,0 +1,292 @@
1
+ ### 2.2.X marking for next official release
2
+ * 1 new feature
3
+ * make MMS2R Rails 2.2.X gem packaging friendly - Scott Taylor a.k.a.
4
+ smtlaissezfaire
5
+
6
+ ### 2.2.0 / 2009-01-04 (Rikki Kixx - owner of a franchise of rehab centers)
7
+
8
+ * 3 new features
9
+ * MMS2R::Media#is_mobile? best guess if the sender was a mobile device
10
+ * MMS2R::Media#device_type? best guess of the mobile device type. Simple
11
+ heuristics thus far for :blackberry :iphone :handset :unknown
12
+ could be expanded for exif probing or additinal shifting of mail header
13
+ * from array in conf/from.yml to provide granularity to determine carrier
14
+ domain (caused by tmo.blackberry.net)
15
+
16
+ * 4 minor enhancements
17
+ * support for Virgin Canada messaging service vmobile.ca
18
+ * support for text service messaging.sprintpcs.com
19
+ * additional BlackBerry coverage from T-Mobile tmo.blackberry.net provider
20
+ * legacy support for mobile.mycingular.com, pics.cingularme.com
21
+
22
+ * 3 bug fixes
23
+ * iPhone default subject - jesse dp
24
+ http://rubyforge.org/tracker/?func=detail&atid=11789&aid=22951&group_id=3065
25
+ * add sprintpcs.com to pm.sprint.com aliases
26
+ * fix OS X long filename issues - Matt Conway
27
+
28
+ ### 2.1.3 / 2008-11-06 (Dr. Ramonolith Chesterfield - Military pharmaceutical psychotropic drug manufacturing expert
29
+
30
+ * 1 minor enhancement
31
+ * added mms.ae support
32
+
33
+ ### 2.1.2 / 2008-10-21 (Toki's mom, Anja Wartooth)
34
+
35
+ * 2 minor enhancments
36
+ * Sprint subject update - jesse dp
37
+ * Virgin Mobile support vmpix.com
38
+
39
+ ### 2.1.1 / 2008-09-24 (Lavona Succuboso, Nathan Explosion uber-groupie)
40
+
41
+ * 4 minor enhancments
42
+ * Bell Canada support txt.bell.ca - Matt Conway / Snap My Life -
43
+ http://github.com/wr0ngway, http://github.com/sml
44
+ * Unicel support unicel.com - Michael DelGaudio
45
+ * info2go.com support / Unicel
46
+ * TELUS Corporation support mms.telusmobility.com, msg.telus.com
47
+ * add test to check that gem builds correctly as a github gem
48
+ * 1 bug fix
49
+ * Iconv utf8 fix - Kai Kai
50
+
51
+ ### 2.1.0 / 2008-07-30 (Dr. Gibbons – Birthday expert and Murderface expert)
52
+
53
+ * 1 major enhancement:
54
+ * opens up TMail for improved query method patterned code in MMS2R
55
+ * 2 minor enhancements:
56
+ * UK O2 support mediamessaging.o2.co.uk - Jeremy Wilkins
57
+ * Write non text files with binary bit set on Windows - David Alm
58
+ * source hosted on github: git clone git://github.com/monde/mms2r.git
59
+
60
+ ### 2.0.5 / 2008-07-17 (Dr. Ralphus Galkensmelter - Psychological death expert)
61
+
62
+ * Deal with Apple Mail multipart/appledouble - jesse dp
63
+
64
+ ### 2.0.4 / 2008-04-28 (Mr. Selatcia - elder member of The Tribunal)
65
+
66
+ * updated mms.vodacom4me.co.za Vodacom South Africa - Vijay Yellapragada
67
+ * 1nbox.net / Idea cellular 1nbox.net - Vijay Yellapragada
68
+ * mms.3ireland.ie / 3 Ireland - Vijay Yellapragada
69
+ * mms.alltel.com / Alltel (reverted message.alltel.com) - Vijay Yellapragada
70
+ * mms.mobileiam.ma / Maroc Telecom - Vijay Yellapragada
71
+ * mms.mtn.co.za / MTM South Africa - Vijay Yellapragada
72
+ * rci.rogers.com / Rogers of Canada - Vijay Yellapragada
73
+ * mmsreply.t-mobile.co.uk / T-Mobile UK - Vijay Yellapragada
74
+ * waw.plspictures.com / PLSPICTURES.COM mms hosting service
75
+
76
+ ### 2.0.3 / 2008-04-15 (Enter Taxman - The 1040 MMS Form)
77
+
78
+ * fix case when part is image/jpeg declared 'application/octet-stream'
79
+ * trim dangling image/jpeg text from blackberry messages
80
+ * file extensions added to filenames that are missing extensions in part headers
81
+ * anonymize images in fixtures to reduce gem size
82
+ * T-Mobile update - jesse dp
83
+ * AT&T/T-Mobile Blackberrry update - Dave Myron
84
+
85
+ ### 2.0.2 / 2008-02-22 (The Jomfru Brothers - proprietors of diefordethklok.com)
86
+
87
+ * added support for mms.vodacom4me.co.za Vodacom South Africa - Jason Haruska
88
+ * added support for bellsouth.net - Jason Haruska
89
+ * added support for mms.mycricket.com
90
+ * Improved Blackberry and iPhone suport - Jason Haruska
91
+ * added :number key to configuration to provide rules for specifying
92
+ alternative phone number location
93
+ * return sender's phone number for mobile.indosat.net.id
94
+ * return sender's phone number for mms.luxgsm.lu
95
+ * return sender's phone number for mms.vodacom4me.co.za
96
+
97
+ ### 2.0.1 / 2008-02-08 (Professor Jerry Gustav Munndig - Child control expert)
98
+
99
+ * strip out common blackberry and iPhone signatures
100
+ * handle carriers that use external mail services such as Yahoo! as the From address
101
+ * Add support for mobile.indosat.net.id (and yahoo.co.id) - Jason Haruska
102
+ * Add support for sms.sasktel.com - Jason Haruska
103
+
104
+ ### 2.0.0 / 2008-01-23 (Skwisgaar Skwigelf - fastest guitarist alive)
105
+
106
+ * added support for pxt.vodafone.net.nz PXT New Zealand
107
+ * added support for mms.o2online.de O2 Germany
108
+ * added support for orangemms.net Orange UK
109
+ * added support for txt.att.net AT&T
110
+ * added support for mms.luxgsm.lu LUXGSM S.A.
111
+ * added support for mms.netcom.no NetCom (Norway)
112
+ * added support for mms.three.co.uk Hutchison 3G UK Ltd
113
+ * removed deprecated #get_number use #number
114
+ * removed deprecated #get_subject use #subject
115
+ * removed deprecated #get_body use #body
116
+ * removed deprecated #get_media use #default_media
117
+ * removed deprecated #get_text use #default_text
118
+ * removed deprecated #get_attachment use #attachment
119
+ * fixed error when Sprint content server responds 500
120
+ * better yaml configs
121
+ * moved TMail dependency from Rails ActionMailer SVN to 'official' Gem
122
+ * ::new greedily processes MMS unless otherwise specified as an initialize
123
+ option :process => :lazy
124
+ * logger moved to initialize option :logger => some_logger
125
+ * testing using mocks and stubs instead of duck raped Net::HTTP
126
+ * fixed typo in name of method #attachement to #attachment
127
+ * fixed broken downloading of Sprint videos
128
+
129
+ ### 1.1.12 / 2007-10-21 (Dr. Ronald von Moldenberg - Endorsement specialist)
130
+
131
+ * fetch original images from Sprint content server (Layton Wedgeworth)
132
+ * ignore Sprint messages when requested content has been purged from their
133
+ content server
134
+
135
+ ### 1.1.11 / 2007-10-20 (Dr. Armand Skagerakk Frederickshaven - Mythology expert)
136
+
137
+ * minor fix for attachment_fu where it might call #path on the cgi temp file
138
+ that is returned by get_attachment
139
+ * renamed a_t_t_media.rb to att_media.rb to make it autotest happy
140
+ * masthead.jpg misplaced in mms2r_t_mobile_media_ignore.yml (Layton Wedgeworth)
141
+ * overridden SprintMedia#process failed to accept block (Layton Wedgeworth)
142
+ * added method_deprecated to help mark methods that are going to be deprecated
143
+ in preparation of 1.2.x release
144
+ * #get_number marked deprecated, use #number instead
145
+ * #get_subject marked deprecated, use #subject instead
146
+ * #get_body marked deprecated, use #body instead
147
+ * #get_text marked deprecated, use #default_text instead
148
+ * #get_attachment marked deprecated, use #attachment instead
149
+ * #get_media marked deprecated, use #default_media instead
150
+
151
+ ### 1.1.10 / 2007-09-30 (Face Bones)
152
+
153
+ * fixed a case for a nil match on From in the create method (Luke Francl)
154
+ * added support for Alltel message.alltel.com (Ben Wood)
155
+
156
+ ### 1.1.9 / 2007-09-08 (Rebecca Nightrod - controlling girlfriend of Nathan
157
+ Explosion)
158
+
159
+ * fixed broken support for act_as_attachment and attachment_fu
160
+
161
+ ### 1.1.8 / 2007-09-08 (James Grishnack - Head of Behemoth Productions, producer
162
+ of Blood Ocean)
163
+
164
+ * Added support for Orange of France, Orange orange.fr (Julian Biard)
165
+ * purge in the process block removed, purge must be called explicitly
166
+ after processing to clean up extracted temporary media files.
167
+
168
+ ### 1.1.7 / 2007-08-25 (Adam Nergal, friend of Skwisgaar, but not Pickles)
169
+
170
+ * Added support for Orange of Poland, Orange mmsemail.orange.pl (Zbigniew
171
+ Sobiecki)
172
+ * Cleaned up documentation modifiers
173
+ * Cleaned out non-Ruby code idioms
174
+
175
+ ### 1.1.6 / 2007-08-11 (Mustakrakish, the Lake Troll part 2)
176
+
177
+ * Redo of release mistake of 1.1.5
178
+
179
+ ### 1.1.5 / 2007-08-11 (Mustakrakish, the Lake Troll)
180
+
181
+ * AT&T => mms.att.net not clearing out default "multimedia message"
182
+ subject to nil (Will Jessup)
183
+ * Ignore case on default subject for all carriers in
184
+ corresponding conf/mms2r_XXX_media_subject.yml
185
+
186
+ ### 1.1.4 / 2007-08-07 (Dr. Rockso)
187
+
188
+ * AT&T => mms.att.net support (thanks Mike Chen and Dave Myron)
189
+ * get_body returns nil when there is not user text (sorry Will!)
190
+
191
+ ### 1.1.3 / 2007-07-10 (Charles Foster Ofdensen)
192
+
193
+ * Helio support by Will Jessup
194
+ * get_subject returns nil on default carrier subjects
195
+
196
+ ### 1.1.2 / 2007-06-13 (Dethklok roadie #2)
197
+
198
+ * placed versioned hpricot dependency in Hoe's extra_deps (an attempt to
199
+ appease firebrigade gods or not cause Gem::RemoteInstallationCancelled
200
+ whichever you prefer)
201
+
202
+ ### 1.1.1 / 2007-06-11 (Dethklok roadie)
203
+
204
+ * rescue rcov non-dependency in Rakefile to make firebrigade happy
205
+
206
+ ### 1.1.0 / 2007-06-08 (Toki Wartooth)
207
+
208
+ * get_body to return body text (Luke Francl)
209
+ * get_subject returns "" for default subjects now
210
+ * default subjects listed in yaml by carrier in conf directory
211
+ * added granularity to Cingular, Sprint, and Verizon carrier services (Will
212
+ Jessup)
213
+ * refactored Sprint instance to process all media (Will Jessup + Mike)
214
+ * optimized text transformations (Will Jessup)
215
+ * properly handle ISO-8859-1 and UTF-8 text (Will Jessup)
216
+ * autotest powers activate! (ZenTest autotest discovery enabled)
217
+ * configuration file ignores, transforms, and subjects all store Regexp's
218
+ * Put vendor Text::Format & TMail::Mail as an external subversion dependency
219
+ to the 1.2 stable branch of Rails ActionMailer
220
+ * added get_number method to return the phone number associated with this MMS
221
+ * get_media and get_text attachment_fu helper return the largest piece of media
222
+ of that type if the more than one exits in the media (Luke Francl)
223
+ * added block support to process() method (Shane Vitarana)
224
+
225
+ ### 1.0.7 / 2007-04-27 (Senator Stampingston)
226
+
227
+ * patch submitted by Luke Francl
228
+ * added a get_subject method that returns nil when any MMS has a default
229
+ carrier subject
230
+ * get_subject returns nil for '', 'Multimedia message', '(no subject)', 'You
231
+ have new Picture Mail!'
232
+
233
+ ### 1.0.6 / 2007-04-24 (Pickles the Drummer)
234
+
235
+ * patch submitted by Luke Francl
236
+ * added support for mms.dobson.net (Dobson aka Cellular One) (Luke)
237
+ * DRY'd up unit tests (Luke)
238
+ * added get_media instance method that returns first video or image as File
239
+ (Luke)
240
+ * File from get_media can be used by/with attachment_fu (Luke)
241
+ * added get_text instance method that returns first non advertising text
242
+ * File from get_text can be used by/with attachment_fu
243
+
244
+ ### 1.0.5 / 2007-04-10 (William Murderface)
245
+
246
+ * patch submitted by Luke Francl
247
+ * made ignore_media? start its text check from the start of the file (Luke)
248
+ * added new text transform for Verizon messages (Luke)
249
+ * updated Nextel ignore conf (Luke)
250
+ * added additional samples and tests for T-Mobile & Verizon (Luke)
251
+ * cleaned up MMS2R::Media documentation
252
+ * added Sprint broken image test for when media goes stale on their content
253
+ server
254
+ * fixed teardown typo in lots of plases
255
+ * added tests for 4 three samples of unique variants of Sprint/Nextel text
256
+ * 100% test coverage!
257
+
258
+ ### 1.0.4 / 2007-04-09 (Metalocalypse)
259
+
260
+ * fix teardown in test_mms2r_sprint.rb (shanesbrain.net)
261
+ * clean up Net::HTTP in MMS2R::SprintMedia (shanesbrain.net)
262
+ * added accessor MMS2R::Media.media_dir
263
+ * fixed a nil issue with underlying tmp working dir
264
+ * added exception handling around Net::HTTP in MMS2R::SprintMedia
265
+
266
+ ### 1.0.3 / 2007-04-05 (Paper Cut)
267
+
268
+ * Cleaned up packaging and errors in example found by Shane V.
269
+ http://shanesbrain.net/
270
+
271
+ ### 1.0.2 / 2007-03-07
272
+
273
+ * Reorganized tests and fixtures
274
+ * Added carriers:
275
+ * Cingular => cingularme.com
276
+ * Nextel => messaging.nextel.com
277
+ * Verizon => vtext.com
278
+
279
+ ### 1.0.1 / 2007-03-07
280
+
281
+ * Flubbed RubyForge release ... do not use this.
282
+
283
+ ### 1.0.0 / 2007-03-06
284
+
285
+ * Birthday!
286
+ * AT&T/Cingular => mmode.com
287
+ * Cingular => mms.mycingular.com
288
+ * Sprint => pm.sprint.com
289
+ * Sprint => messaging.sprintpcs.com
290
+ * T-Mobile => tmomail.net
291
+ * Verizon => vzwpix.com
292
+
data/Manifest.txt ADDED
@@ -0,0 +1,169 @@
1
+ .gitignore
2
+ History.txt
3
+ Manifest.txt
4
+ README.txt
5
+ Rakefile
6
+ conf/1nbox.net.yml
7
+ conf/aliases.yml
8
+ conf/bellsouth.net.yml
9
+ conf/from.yml
10
+ conf/mediamessaging.o2.co.uk.yml
11
+ conf/messaging.nextel.com.yml
12
+ conf/mms.3ireland.ie.yml
13
+ conf/mms.ae.yml
14
+ conf/mms.alltel.com.yml
15
+ conf/mms.att.net.yml
16
+ conf/mms.dobson.net.yml
17
+ conf/mms.luxgsm.lu.yml
18
+ conf/mms.mobileiam.ma.yml
19
+ conf/mms.mtn.co.za.yml
20
+ conf/mms.mycricket.com.yml
21
+ conf/mms.myhelio.com.yml
22
+ conf/mms.netcom.no.yml
23
+ conf/mms.o2online.de.yml
24
+ conf/mms.three.co.uk.yml
25
+ conf/mms.vodacom4me.co.za.yml
26
+ conf/mms2r_media.yml
27
+ conf/mobile.indosat.net.id.yml
28
+ conf/msg.telus.com.yml
29
+ conf/orangemms.net.yml
30
+ conf/pm.sprint.com.yml
31
+ conf/pxt.vodafone.net.nz.yml
32
+ conf/rci.rogers.com.yml
33
+ conf/sms.sasktel.com.yml
34
+ conf/tmomail.net.yml
35
+ conf/txt.bell.ca.yml
36
+ conf/unicel.com.yml
37
+ conf/vmpix.com.yml
38
+ conf/vzwpix.com.yml
39
+ conf/waw.plspictures.com.yml
40
+ dev_tools/anonymizer.rb
41
+ dev_tools/debug_sprint_hpricot_parsing.rb
42
+ dev_tools/github.rb
43
+ lib/mms2r.rb
44
+ lib/mms2r/media.rb
45
+ lib/mms2r/media/sprint.rb
46
+ lib/tmail_ext.rb
47
+ mms2r.gemspec
48
+ test/fixtures/1nbox-2images-01.mail
49
+ test/fixtures/1nbox-2images-02.mail
50
+ test/fixtures/1nbox-2images-03.mail
51
+ test/fixtures/1nbox-2images-04.mail
52
+ test/fixtures/3ireland-mms-01.mail
53
+ test/fixtures/alltel-image-01.mail
54
+ test/fixtures/alltel-mms-01.mail
55
+ test/fixtures/alltel-mms-03.mail
56
+ test/fixtures/apple-double-image-01.mail
57
+ test/fixtures/att-blackberry-02.mail
58
+ test/fixtures/att-blackberry.mail
59
+ test/fixtures/att-image-01.mail
60
+ test/fixtures/att-image-02.mail
61
+ test/fixtures/att-iphone-01.mail
62
+ test/fixtures/att-iphone-02.mail
63
+ test/fixtures/att-iphone-03.mail
64
+ test/fixtures/att-text-01.mail
65
+ test/fixtures/bell-canada-image-01.mail
66
+ test/fixtures/cingularme-text-01.mail
67
+ test/fixtures/cingularme-text-02.mail
68
+ test/fixtures/dobson-image-01.mail
69
+ test/fixtures/dot.jpg
70
+ test/fixtures/generic.mail
71
+ test/fixtures/helio-image-01.mail
72
+ test/fixtures/helio-message-01.mail
73
+ test/fixtures/iconv-fr-text-01.mail
74
+ test/fixtures/indosat-image-01.mail
75
+ test/fixtures/indosat-image-02.mail
76
+ test/fixtures/info2go-image-01.mail
77
+ test/fixtures/luxgsm-image-01.mail
78
+ test/fixtures/maroctelecom-france-mms-01.mail
79
+ test/fixtures/mediamessaging_o2_co_uk-image-01.mail
80
+ test/fixtures/mmode-image-01.mail
81
+ test/fixtures/mms.ae-image-01.mail
82
+ test/fixtures/mms.mycricket.com-pic-and-text.mail
83
+ test/fixtures/mms.mycricket.com-pic.mail
84
+ test/fixtures/mmsreply.t-mobile.co.uk-text-image-01.mail
85
+ test/fixtures/mobile.mycingular.com-text-01.mail
86
+ test/fixtures/mtn-southafrica-mms.mail
87
+ test/fixtures/mycingular-image-01.mail
88
+ test/fixtures/netcom-image-01.mail
89
+ test/fixtures/nextel-image-01.mail
90
+ test/fixtures/nextel-image-02.mail
91
+ test/fixtures/nextel-image-03.mail
92
+ test/fixtures/nextel-image-04.mail
93
+ test/fixtures/o2-de-image-01.mail
94
+ test/fixtures/orange-uk-image-01.mail
95
+ test/fixtures/orangefrance-text-and-image.mail
96
+ test/fixtures/orangepoland-text-01.mail
97
+ test/fixtures/orangepoland-text-02.mail
98
+ test/fixtures/pics.cingularme.com-image-01.mail
99
+ test/fixtures/pxt-image-01.mail
100
+ test/fixtures/rogers-canada-mms-01.mail
101
+ test/fixtures/sasktel-image-01.mail
102
+ test/fixtures/sprint-broken-image-01.mail
103
+ test/fixtures/sprint-image-01.mail
104
+ test/fixtures/sprint-pcs-text-01.mail
105
+ test/fixtures/sprint-purged-image-01.mail
106
+ test/fixtures/sprint-text-01.mail
107
+ test/fixtures/sprint-two-images-01.mail
108
+ test/fixtures/sprint-video-01.mail
109
+ test/fixtures/sprint.mov
110
+ test/fixtures/suncom-blackberry.mail
111
+ test/fixtures/telus-image-01.mail
112
+ test/fixtures/three-uk-image-01.mail
113
+ test/fixtures/tmo.blackberry.net-image-01.mail
114
+ test/fixtures/tmobile-blackberry-02.mail
115
+ test/fixtures/tmobile-blackberry.mail
116
+ test/fixtures/tmobile-image-01.mail
117
+ test/fixtures/tmobile-image-02.mail
118
+ test/fixtures/unicel-image-01.mail
119
+ test/fixtures/verizon-blackberry.mail
120
+ test/fixtures/verizon-image-01.mail
121
+ test/fixtures/verizon-image-02.mail
122
+ test/fixtures/verizon-image-03.mail
123
+ test/fixtures/verizon-text-01.mail
124
+ test/fixtures/verizon-video-01.mail
125
+ test/fixtures/virgin-mobile-image-01.mail
126
+ test/fixtures/virgin.ca-text-01.mail
127
+ test/fixtures/vodacom4me-co-za-01.mail
128
+ test/fixtures/vodacom4me-co-za-02.mail
129
+ test/fixtures/vodacom4me-southafrica-mms-01.mail
130
+ test/fixtures/vodacom4me-southafrica-mms-04.mail
131
+ test/fixtures/vtext-text-01.mail
132
+ test/fixtures/waw.plspictures.com-image-01.mail
133
+ test/test_1nbox_net.rb
134
+ test/test_bell_canada.rb
135
+ test/test_bellsouth_net.rb
136
+ test/test_github.rb
137
+ test/test_helper.rb
138
+ test/test_mediamessaging_o2_co_uk.rb
139
+ test/test_messaging_nextel_com.rb
140
+ test/test_messaging_sprintpcs_com.rb
141
+ test/test_mms2r_media.rb
142
+ test/test_mms_3ireland_ie.rb
143
+ test/test_mms_ae.rb
144
+ test/test_mms_alltel_com.rb
145
+ test/test_mms_att_net.rb
146
+ test/test_mms_dobson_net.rb
147
+ test/test_mms_luxgsm_lu.rb
148
+ test/test_mms_mobileiam_ma.rb
149
+ test/test_mms_mtn_co_za.rb
150
+ test/test_mms_mycricket_com.rb
151
+ test/test_mms_myhelio_com.rb
152
+ test/test_mms_netcom_no.rb
153
+ test/test_mms_o2online_de.rb
154
+ test/test_mms_three_co_uk.rb
155
+ test/test_mms_vodacom4me_co_za.rb
156
+ test/test_mobile_indosat_net_id.rb
157
+ test/test_msg_telus_com.rb
158
+ test/test_orangemms_net.rb
159
+ test/test_pm_sprint_com.rb
160
+ test/test_pxt_vodafone_net_nz.rb
161
+ test/test_rci_rogers_com.rb
162
+ test/test_sms_sasktel_com.rb
163
+ test/test_tmomail_net.rb
164
+ test/test_unicel_com.rb
165
+ test/test_vmpix_com.rb
166
+ test/test_vzwpix_com.rb
167
+ test/test_waw_plspictures_com.rb
168
+ vendor/plugins/mms2r/lib/autotest/discover.rb
169
+ vendor/plugins/mms2r/lib/autotest/mms2r.rb