Skip to content

Commit

Permalink
Merge pull request #19 from yandex-money/task/b2b/no-task/fix-example
Browse files Browse the repository at this point in the history
Fix example
  • Loading branch information
MetalheadSanya authored Oct 2, 2018
2 parents 3de8c5a + 54b2acd commit 1d1cbb7
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 63 deletions.
111 changes: 57 additions & 54 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
GEM
remote: https://rubygems.org/
specs:
CFPropertyList (2.3.6)
CFPropertyList (3.0.0)
activesupport (4.2.10)
i18n (~> 0.7)
minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
addressable (2.5.2)
public_suffix (>= 2.0.2, < 4.0)
atomos (0.1.1)
atomos (0.1.3)
babosa (1.0.2)
claide (1.0.2)
cocoapods (1.4.0)
cocoapods (1.5.3)
activesupport (>= 4.0.2, < 5)
claide (>= 1.0.2, < 2.0)
cocoapods-core (= 1.4.0)
cocoapods-core (= 1.5.3)
cocoapods-deintegrate (>= 1.0.2, < 2.0)
cocoapods-downloader (>= 1.1.3, < 2.0)
cocoapods-downloader (>= 1.2.0, < 2.0)
cocoapods-plugins (>= 1.0.0, < 2.0)
cocoapods-search (>= 1.0.0, < 2.0)
cocoapods-stats (>= 1.0.0, < 2.0)
Expand All @@ -27,59 +27,61 @@ GEM
escape (~> 0.0.4)
fourflusher (~> 2.0.1)
gh_inspector (~> 1.0)
molinillo (~> 0.6.4)
molinillo (~> 0.6.5)
nap (~> 1.0)
ruby-macho (~> 1.1)
xcodeproj (>= 1.5.4, < 2.0)
cocoapods-core (1.4.0)
xcodeproj (>= 1.5.7, < 2.0)
cocoapods-core (1.5.3)
activesupport (>= 4.0.2, < 6)
fuzzy_match (~> 2.0.4)
nap (~> 1.0)
cocoapods-deintegrate (1.0.2)
cocoapods-downloader (1.1.3)
cocoapods-downloader (1.2.1)
cocoapods-plugins (1.0.0)
nap
cocoapods-search (1.0.0)
cocoapods-stats (1.0.0)
cocoapods-trunk (1.3.0)
cocoapods-trunk (1.3.1)
nap (>= 0.8, < 2.0)
netrc (~> 0.11)
cocoapods-try (1.1.0)
colored (1.2)
colored2 (3.1.2)
commander-fastlane (4.4.5)
commander-fastlane (4.4.6)
highline (~> 1.7.2)
concurrent-ruby (1.0.5)
declarative (0.0.10)
declarative-option (0.1.0)
domain_name (0.5.20170404)
domain_name (0.5.20180417)
unf (>= 0.0.5, < 1.0.0)
dotenv (2.2.1)
dotenv (2.5.0)
emoji_regex (0.1.1)
escape (0.0.4)
excon (0.60.0)
faraday (0.14.0)
excon (0.62.0)
faraday (0.15.3)
multipart-post (>= 1.2, < 3)
faraday-cookie_jar (0.0.6)
faraday (>= 0.7.4)
http-cookie (~> 1.0.0)
faraday_middleware (0.12.2)
faraday (>= 0.7.4, < 1.0)
fastimage (2.1.1)
fastlane (2.80.0)
fastimage (2.1.4)
fastlane (2.105.2)
CFPropertyList (>= 2.3, < 4.0.0)
addressable (>= 2.3, < 3.0.0)
babosa (>= 1.0.2, < 2.0.0)
bundler (>= 1.12.0, < 2.0.0)
colored
commander-fastlane (>= 4.4.5, < 5.0.0)
commander-fastlane (>= 4.4.6, < 5.0.0)
dotenv (>= 2.1.1, < 3.0.0)
emoji_regex (~> 0.1)
excon (>= 0.45.0, < 1.0.0)
faraday (~> 0.9)
faraday-cookie_jar (~> 0.0.6)
faraday_middleware (~> 0.9)
fastimage (>= 2.1.0, < 3.0.0)
gh_inspector (>= 1.0.1, < 2.0.0)
google-api-client (>= 0.13.1, < 0.14.0)
gh_inspector (>= 1.1.2, < 2.0.0)
google-api-client (>= 0.21.2, < 0.24.0)
highline (>= 1.7.2, < 2.0.0)
json (< 3.0.0)
mini_magick (~> 4.5.1)
Expand All @@ -88,41 +90,42 @@ GEM
multipart-post (~> 2.0.0)
plist (>= 3.1.0, < 4.0.0)
public_suffix (~> 2.0.0)
rubyzip (>= 1.1.0, < 2.0.0)
rubyzip (>= 1.2.2, < 2.0.0)
security (= 0.1.3)
simctl (~> 1.6.3)
slack-notifier (>= 2.0.0, < 3.0.0)
terminal-notifier (>= 1.6.2, < 2.0.0)
terminal-table (>= 1.4.5, < 2.0.0)
tty-screen (>= 0.6.3, < 1.0.0)
tty-spinner (>= 0.8.0, < 1.0.0)
word_wrap (~> 1.0.0)
xcodeproj (>= 1.5.2, < 2.0.0)
xcpretty (>= 0.2.4, < 1.0.0)
xcodeproj (>= 1.6.0, < 2.0.0)
xcpretty (~> 0.3.0)
xcpretty-travis-formatter (>= 0.0.3)
ffi (1.9.25)
fourflusher (2.0.1)
fuzzy_match (2.0.4)
gh_inspector (1.1.0)
google-api-client (0.13.6)
gh_inspector (1.1.3)
google-api-client (0.23.9)
addressable (~> 2.5, >= 2.5.1)
googleauth (~> 0.5)
googleauth (>= 0.5, < 0.7.0)
httpclient (>= 2.8.1, < 3.0)
mime-types (~> 3.0)
representable (~> 3.0)
retriable (>= 2.0, < 4.0)
googleauth (0.6.2)
signet (~> 0.9)
googleauth (0.6.6)
faraday (~> 0.12)
jwt (>= 1.4, < 3.0)
logging (~> 2.0)
memoist (~> 0.12)
multi_json (~> 1.11)
os (~> 0.9)
os (>= 0.9, < 2.0)
signet (~> 0.7)
highline (1.7.10)
http-cookie (1.0.3)
domain_name (~> 0.5)
httpclient (2.8.3)
i18n (0.9.3)
i18n (0.9.5)
concurrent-ruby (~> 1.0)
jazzy (0.9.3)
cocoapods (~> 1.0)
Expand All @@ -136,29 +139,26 @@ GEM
json (2.1.0)
jwt (2.1.0)
liferaft (0.0.6)
little-plugger (1.1.4)
logging (2.2.2)
little-plugger (~> 1.1)
multi_json (~> 1.10)
memoist (0.16.0)
mime-types (3.1)
mime-types (3.2.2)
mime-types-data (~> 3.2015)
mime-types-data (3.2016.0521)
mime-types-data (3.2018.0812)
mini_magick (4.5.1)
mini_portile2 (2.3.0)
minitest (5.11.3)
molinillo (0.6.4)
molinillo (0.6.6)
multi_json (1.13.1)
multi_xml (0.6.0)
multipart-post (2.0.0)
mustache (0.99.8)
nanaimo (0.2.3)
nanaimo (0.2.6)
nap (1.1.0)
naturally (2.2.0)
netrc (0.11.0)
nokogiri (1.8.2)
mini_portile2 (~> 2.3.0)
open4 (1.3.4)
os (0.9.6)
os (1.0.0)
plist (3.4.0)
public_suffix (2.0.5)
rb-fsevent (0.10.3)
Expand All @@ -169,48 +169,51 @@ GEM
declarative (< 0.1.0)
declarative-option (< 0.2.0)
uber (< 0.2.0)
retriable (3.1.1)
retriable (3.1.2)
rouge (2.0.7)
ruby-macho (1.1.0)
rubyzip (1.2.1)
sass (3.5.6)
ruby-macho (1.3.1)
rubyzip (1.2.2)
sass (3.6.0)
sass-listen (~> 4.0.0)
sass-listen (4.0.0)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
security (0.1.3)
signet (0.8.1)
signet (0.10.0)
addressable (~> 2.3)
faraday (~> 0.9)
jwt (>= 1.5, < 3.0)
multi_json (~> 1.10)
simctl (1.6.5)
CFPropertyList
naturally
slack-notifier (2.3.2)
sqlite3 (1.3.13)
terminal-notifier (1.8.0)
terminal-table (1.8.0)
unicode-display_width (~> 1.1, >= 1.1.1)
thread_safe (0.3.6)
tty-cursor (0.5.0)
tty-screen (0.6.4)
tty-cursor (0.6.0)
tty-screen (0.6.5)
tty-spinner (0.8.0)
tty-cursor (>= 0.5.0)
tzinfo (1.2.4)
tzinfo (1.2.5)
thread_safe (~> 0.1)
uber (0.1.0)
unf (0.1.4)
unf_ext
unf_ext (0.0.7.4)
unicode-display_width (1.3.0)
unf_ext (0.0.7.5)
unicode-display_width (1.4.0)
word_wrap (1.0.0)
xcinvoke (0.3.0)
liferaft (~> 0.0.6)
xcodeproj (1.5.5)
CFPropertyList (~> 2.3.3)
atomos (~> 0.1.0)
xcodeproj (1.6.0)
CFPropertyList (>= 2.3.3, < 4.0)
atomos (~> 0.1.3)
claide (>= 1.0.2, < 2.0)
colored2 (~> 3.1)
nanaimo (~> 0.2.3)
xcpretty (0.2.8)
nanaimo (~> 0.2.6)
xcpretty (0.3.0)
rouge (~> 2.0.7)
xcpretty-travis-formatter (1.0.0)
xcpretty (~> 0.2, >= 0.0.7)
Expand Down
8 changes: 0 additions & 8 deletions YandexCheckoutPayments.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -146,11 +146,9 @@
244F75953644B40A962AB4B4 /* IconView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 244F728E754343D0E18B1664 /* IconView.swift */; };
244F75A4513389713D6A4AD5 /* UIView+Tools.swift in Sources */ = {isa = PBXBuildFile; fileRef = 244F7A9946706CC2BDF5B0C6 /* UIView+Tools.swift */; };
244F75A7EB06DF1BE5A8B166 /* UIImageView+Style.swift in Sources */ = {isa = PBXBuildFile; fileRef = 244F7BC96E67D8CC94964891 /* UIImageView+Style.swift */; };
244F75B1AC6F43D6810EF8F0 /* UIBarButtonItem+Style.swift in Sources */ = {isa = PBXBuildFile; fileRef = 244F7B654A89F0AC41AF32C5 /* UIBarButtonItem+Style.swift */; };
244F75B4C3848FF559D832E7 /* ActivityIndicatorView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 244F7DE00301347B56B67B85 /* ActivityIndicatorView.swift */; };
244F75CAAF17AC4622ABCE58 /* TransitionHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 244F740E0FCE484E4B231BA0 /* TransitionHandler.swift */; };
244F75CB0153DC81C304DD21 /* IconButtonItemTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 244F7752AB31DD0F7E7D3E6D /* IconButtonItemTableViewCell.swift */; };
244F75CF7BA160A44F73D40E /* UIViewController+Tools.swift in Sources */ = {isa = PBXBuildFile; fileRef = 244F783806C106BEB38F9F05 /* UIViewController+Tools.swift */; };
244F75DD9521E2B7C5AB3C6E /* ActivityIndicatorPresenting.swift in Sources */ = {isa = PBXBuildFile; fileRef = 244F7C6FA178794CE635AA9E /* ActivityIndicatorPresenting.swift */; };
244F7600CD8EE178F205F6F2 /* String+Split.swift in Sources */ = {isa = PBXBuildFile; fileRef = 244F7376365480CF0529F79C /* String+Split.swift */; };
244F760A47D0DB31F13E06B3 /* PresentableError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 244F7703492BE721DA302B99 /* PresentableError.swift */; };
Expand Down Expand Up @@ -306,7 +304,6 @@
244F7D0E9D247CBC1ED8DAEE /* LengthTextInputPresenterStyle.swift in Sources */ = {isa = PBXBuildFile; fileRef = D9245C8B203DB5F10086D33F /* LengthTextInputPresenterStyle.swift */; };
244F7D10DB777C5CAE11F538 /* SwitchItemViewIO.swift in Sources */ = {isa = PBXBuildFile; fileRef = 244F79DEB96F4A7B5297F664 /* SwitchItemViewIO.swift */; };
244F7D1C3B555D3C97C766D6 /* PhoneNumberFormatterAssembly.swift in Sources */ = {isa = PBXBuildFile; fileRef = 244F7454D84E493A283D373B /* PhoneNumberFormatterAssembly.swift */; };
244F7D38B0078FBD05360D06 /* UIViewController+Tools.swift in Sources */ = {isa = PBXBuildFile; fileRef = 244F783806C106BEB38F9F05 /* UIViewController+Tools.swift */; };
244F7D41E377C291BEA3B580 /* TextControl+BottomHintMode.swift in Sources */ = {isa = PBXBuildFile; fileRef = 244F788229FD509014C863BE /* TextControl+BottomHintMode.swift */; };
244F7D47EB018C8FF8BF9D13 /* YamoneyAuthModuleIO.swift in Sources */ = {isa = PBXBuildFile; fileRef = 244F73F3F94291B05B8B822C /* YamoneyAuthModuleIO.swift */; };
244F7D4EEAA34B0ED00E58DC /* AdditionalCardDataInputView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 244F7F0E23E8C6EF39601716 /* AdditionalCardDataInputView.swift */; };
Expand Down Expand Up @@ -373,7 +370,6 @@
244F7FC2B7EF0FAE15CB2EF2 /* UILabel+Stylable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 244F76FDD4264A30C470AA5F /* UILabel+Stylable.swift */; };
244F7FC8B1E6B8B72C1BB9F6 /* PaymentService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 244F722B47C3E0DAA2FC18C8 /* PaymentService.swift */; };
244F7FD051D169AAADF6C3C2 /* ListItemView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 244F7A6403E130A06A4C7593 /* ListItemView.swift */; };
244F7FD8D5E842E0E6931418 /* UIBarButtonItem+Style.swift in Sources */ = {isa = PBXBuildFile; fileRef = 244F7B654A89F0AC41AF32C5 /* UIBarButtonItem+Style.swift */; };
244F7FEA1D0D0A8300374CEB /* IconButtonItemTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 244F7752AB31DD0F7E7D3E6D /* IconButtonItemTableViewCell.swift */; };
244F7FEDC8B0698C0DF3CC32 /* TextControl+InputView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 244F794DCC58D13FC6E0EF9A /* TextControl+InputView.swift */; };
301D747F20B5D7E60000E394 /* PassKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 301D747E20B5D7E60000E394 /* PassKit.framework */; };
Expand Down Expand Up @@ -3388,7 +3384,6 @@
244F7C8A62AE67D276A74ED7 /* Space.swift in Sources */,
244F769AEC49BE691F8C160D /* MSDKActionSheetHeaderView.swift in Sources */,
244F77E2BC7058F713129925 /* PrefferedContentSizeCategory.swift in Sources */,
244F75CF7BA160A44F73D40E /* UIViewController+Tools.swift in Sources */,
244F71BB337587488BE11BA3 /* UITableViewHeaderFooterView+Identifier.swift in Sources */,
244F793518C8222D62B340A7 /* UIViewController+TransitionHandler.swift in Sources */,
244F7E5F2B0FDC9AE049F9BF /* UITableViewCell+Identifier.swift in Sources */,
Expand All @@ -3397,7 +3392,6 @@
244F71DAA99DBB1E549FA8A8 /* UIScrollView+Style.swift in Sources */,
244F7AF3DEF6EA63EFD82031 /* ActionTextDialog.swift in Sources */,
244F70F8B12730E5C858482E /* ActionTextDialog+Style.swift in Sources */,
244F7FD8D5E842E0E6931418 /* UIBarButtonItem+Style.swift in Sources */,
244F75A4513389713D6A4AD5 /* UIView+Tools.swift in Sources */,
244F71539A8C21D196323627 /* UIImage+Style.swift in Sources */,
244F70C2F06ECCB5E6EFDF75 /* UIImage+Tools.swift in Sources */,
Expand Down Expand Up @@ -3509,7 +3503,6 @@
244F7BE0C9BF41688C6A0A6C /* Space.swift in Sources */,
244F7BD610FBD54917767D8A /* MSDKActionSheetHeaderView.swift in Sources */,
244F7C70CD4B7043A68F1654 /* PrefferedContentSizeCategory.swift in Sources */,
244F7D38B0078FBD05360D06 /* UIViewController+Tools.swift in Sources */,
244F7A5DE03317425C7D3B2C /* UITableViewHeaderFooterView+Identifier.swift in Sources */,
244F78520E230B18965FB753 /* UIViewController+TransitionHandler.swift in Sources */,
244F77024A1B53871B25283D /* UITableViewCell+Identifier.swift in Sources */,
Expand All @@ -3518,7 +3511,6 @@
244F73A6D8E5061FA9E2BA13 /* UIScrollView+Style.swift in Sources */,
244F7BF8680862B8FB694630 /* ActionTextDialog.swift in Sources */,
244F7A0A4C475EE3E5BA62DC /* ActionTextDialog+Style.swift in Sources */,
244F75B1AC6F43D6810EF8F0 /* UIBarButtonItem+Style.swift in Sources */,
244F78030F84E723F7CDE265 /* UIView+Tools.swift in Sources */,
244F7BCD1FB7FFFC492AB9DD /* UIImage+Style.swift in Sources */,
244F794BD9A5DD53BA10220B /* UIImage+Tools.swift in Sources */,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ final class SuccessViewController: UIViewController {

private lazy var closeBarItem: UIBarButtonItem = {
let closeBarItem = UIBarButtonItem()
closeBarItem.setStyles(UIBarButtonItem.Styles.close)
closeBarItem.style = .plain
closeBarItem.image = .templatedClose
closeBarItem.target = self
closeBarItem.action = #selector(closeDidPress)
return closeBarItem
Expand Down

0 comments on commit 1d1cbb7

Please sign in to comment.