Skip to content

Commit

Permalink
Merge pull request #2 from neethouse/support-ats
Browse files Browse the repository at this point in the history
ATS に対応させた
  • Loading branch information
mironal committed Sep 28, 2015
2 parents 30ec1f3 + 841b270 commit 9fb631c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions NeetMSTranslator.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = "NeetMSTranslator"
s.version = "0.0.3"
s.version = "0.0.4"
s.summary = "Microsoft Translator for iOS"

s.description = <<-DESC
Expand Down Expand Up @@ -35,7 +35,7 @@ Pod::Spec.new do |s|

s.platform = :ios, "6.0"

s.source = { :git => "https://github.com/neethouse/NeetMSTranslator.git", :tag => "0.0.3" }
s.source = { :git => "https://github.com/neethouse/NeetMSTranslator.git", :tag => "0.0.4" }

s.source_files = "NeetMSTranslator/Classes/*.{h,m}"

Expand Down
4 changes: 1 addition & 3 deletions NeetMSTranslator/Classes/NMSTranslator.m
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#import "NSRegularExpression+TranslateResponseParser.h"

#define kAuthURL @"https://datamarket.accesscontrol.windows.net/v2/OAuth2-13"
#define kTranslateAPIURL @"http://api.microsofttranslator.com/V2/Http.svc/Translate"
#define kTranslateAPIURL @"https://api.microsofttranslator.com/V2/Http.svc/Translate"

@interface NMSTranslator ()

Expand Down Expand Up @@ -136,8 +136,6 @@ + (NSHTTPURLResponse *)urlResponseFromURLResponse:(NSURLResponse *)response {
result = (NSHTTPURLResponse *)response;
}

NSAssert(result != nil, nil);

return result;
}

Expand Down

0 comments on commit 9fb631c

Please sign in to comment.