mms2r 3.6.1 → 3.6.2
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +5 -0
- data/lib/mms2r.rb +2 -2
- data/mms2r.gemspec +1 -1
- data/test/test_mms2r_media.rb +1 -1
- metadata +2 -2
data/History.txt
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
### 3.6.2 / 2012-02-12 (Mr. Gojira - Owner Mr. Gojira's Driving School - retake driver's exam)
|
2
|
+
|
3
|
+
* 1 minor enhancement
|
4
|
+
* Change user agent given to Sprint so it returns a properly sized image.
|
5
|
+
|
1
6
|
### 3.6.1 / 2012-02-11 (Mr. Gojira - Owner Mr. Gojira's Driving School)
|
2
7
|
|
3
8
|
* 1 minor enhancement
|
data/lib/mms2r.rb
CHANGED
@@ -39,12 +39,12 @@ module MMS2R
|
|
39
39
|
##
|
40
40
|
# MMS2R library version
|
41
41
|
|
42
|
-
VERSION = '3.6.
|
42
|
+
VERSION = '3.6.2'
|
43
43
|
|
44
44
|
##
|
45
45
|
# Spoof User-Agent, primarily for the Sprint CDN
|
46
46
|
|
47
|
-
USER_AGENT = "Mozilla/5.0 (
|
47
|
+
USER_AGENT = "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.120 Safari/535.2"
|
48
48
|
end
|
49
49
|
|
50
50
|
# Simple convenience function to make it a one-liner:
|
data/mms2r.gemspec
CHANGED
data/test/test_mms2r_media.rb
CHANGED
@@ -46,7 +46,7 @@ class TestMms2rMedia < Test::Unit::TestCase
|
|
46
46
|
end
|
47
47
|
|
48
48
|
def test_faux_user_agent
|
49
|
-
assert_equal "Mozilla/5.0 (
|
49
|
+
assert_equal "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.120 Safari/535.2", MMS2R::Media::USER_AGENT
|
50
50
|
end
|
51
51
|
|
52
52
|
def test_class_parse
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: mms2r
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 3.6.
|
5
|
+
version: 3.6.2
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Mike Mondragon
|
@@ -308,7 +308,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
308
308
|
requirements:
|
309
309
|
- - ">="
|
310
310
|
- !ruby/object:Gem::Version
|
311
|
-
hash:
|
311
|
+
hash: 4055322151857520400
|
312
312
|
segments:
|
313
313
|
- 0
|
314
314
|
version: "0"
|