mms2r 3.6.1 → 3.6.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
@@ -39,12 +39,12 @@ module MMS2R
39
39
  ##
40
40
  # MMS2R library version
41
41
 
42
- VERSION = '3.6.1'
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 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420+ (KHTML, like Gecko) Version/3.0 Mobile/1C28 Safari/419.3"
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:
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "mms2r"
5
- s.version = "3.6.1"
5
+ s.version = "3.6.2"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Mike Mondragon"]
@@ -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 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420+ (KHTML, like Gecko) Version/3.0 Mobile/1C28 Safari/419.3", MMS2R::Media::USER_AGENT
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.1
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: -2400410557387373563
311
+ hash: 4055322151857520400
312
312
  segments:
313
313
  - 0
314
314
  version: "0"