This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Pod::Spec.new do |s| | |
s.authors = "Re:Build" | |
s.homepage = "none" | |
s.summary = "Re:Build of Localize" | |
s.name = "Localize" | |
s.version = "1.5.2" | |
s.ios.deployment_target = '8.0' | |
s.source = { :path => "" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class EndPoint { | |
} | |
protocol API { | |
func login() | |
} | |
class APIVersionOne: API { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
@objc protocol One: NSObjectProtocol { | |
@objc optional func method() | |
} | |
class NoGenericBase: NSObject, One { } | |
class NoGenericImpl: NoGenericBase { | |
func method() { print("second method") } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
included: | |
- Gate-iOS/Gate-iOS | |
- SwiftVIPER/SwiftVIPER | |
disabled_rules: | |
- line_length | |
- identifier_name | |
- trailing_whitespace | |
- trailing_newline | |
- vertical_parameter_alignment |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//: Playground - noun: a place where people can play | |
import UIKit | |
import RxSwiftTest | |
import RxSwift | |
func api1() -> Observable<String> { | |
return Observable.create{ (subscriber) -> Disposable in | |
print("api1 called") | |
subscriber.onNext("api1 #1") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.logging.Level | |
apply plugin: "maven" | |
apply plugin: "maven-publish" | |
def publishOpts = [ | |
"kotlin" : false, | |
"android" : "false", | |
"androidProject" : false, | |
"androidApplication": false, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class EnterpriseRepositoryPlugin implements Plugin<Gradle> { | |
void apply(Gradle gradle) { | |
println("EnterpriseRepositoryPlugin") | |
} | |
} | |
ext.applyEnterprisePlugin = { gradle -> | |
gradle.apply plugin: EnterpriseRepositoryPlugin | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def handle_state(method, path, body): | |
session = requests.sessions.Session() | |
session.auth = ('jenkins', 'jenkins') | |
if method == 'GET': | |
response = session.get(url=f"http://nxrm.funf/repository/storage-terraform-states{path}") | |
if response.status_code == 404: | |
return { | |
'statusCode': 200, | |
'body': { |