ํจ๋ฌ๋ฐ์ด 0.16.2
๋ฐ @BobbyMcWho ์์ ์๋ fastlane ์ ๋ํ ํ
์คํธ ์คํจ๊ฐ ์์ต๋๋ค.
Failures:
1) Spaceship::Portal::Persons should change role
Failure/Error: expect { person.change_role("member") }.to_not(raise_error)
expected no Exception, got #<RuntimeError: can't modify frozen String> with backtrace:
# ./spaceship/lib/spaceship/client.rb:811:in `force_encoding'
# ./spaceship/lib/spaceship/client.rb:811:in `log_response'
# ./spaceship/lib/spaceship/client.rb:846:in `block in send_request'
# ./spaceship/lib/spaceship/client.rb:620:in `with_retry'
# ./spaceship/lib/spaceship/client.rb:844:in `send_request'
# ./spaceship/lib/spaceship/client.rb:688:in `request'
# ./spaceship/lib/spaceship/portal/portal_client.rb:449:in `team_set_role'
# ./spaceship/lib/spaceship/portal/person.rb:45:in `change_role'
# ./spaceship/spec/portal/person_spec.rb:58:in `block (3 levels) in <top (required)>'
# ./spaceship/spec/portal/person_spec.rb:58:in `block (2 levels) in <top (required)>'
# ./spaceship/spec/portal/person_spec.rb:58:in `block (2 levels) in <top (required)>'
2) Spaceship::Tunes::IAPList IAPList can delete
Failure/Error: deleted = app.in_app_purchases.find("go.find.me").delete!
RuntimeError:
can't modify frozen String
# ./spaceship/lib/spaceship/client.rb:811:in `force_encoding'
# ./spaceship/lib/spaceship/client.rb:811:in `log_response'
# ./spaceship/lib/spaceship/client.rb:846:in `block in send_request'
# ./spaceship/lib/spaceship/client.rb:620:in `with_retry'
# ./spaceship/lib/spaceship/client.rb:844:in `send_request'
# ./spaceship/lib/spaceship/client.rb:688:in `request'
# ./spaceship/lib/spaceship/tunes/tunes_client.rb:1235:in `delete_iap!'
# ./spaceship/lib/spaceship/tunes/iap_list.rb:72:in `delete!'
# ./spaceship/spec/tunes/iap_list_spec.rb:28:in `block (3 levels) in <top (required)>'
3) Spaceship::Tunes::Members members creates a new member role: admin, apps: all
Failure/Error: Spaceship::Members.create!(firstname: "Helmut", lastname: "Januschka", email_address: "[email protected]")
RuntimeError:
can't modify frozen String
# ./spaceship/lib/spaceship/client.rb:811:in `force_encoding'
# ./spaceship/lib/spaceship/client.rb:811:in `log_response'
# ./spaceship/lib/spaceship/client.rb:846:in `block in send_request'
# ./spaceship/lib/spaceship/client.rb:620:in `with_retry'
# ./spaceship/lib/spaceship/client.rb:844:in `send_request'
# ./spaceship/lib/spaceship/client.rb:688:in `request'
# ./spaceship/lib/spaceship/tunes/tunes_client.rb:502:in `create_member!'
# ./spaceship/lib/spaceship/tunes/members.rb:26:in `create!'
# ./spaceship/spec/tunes/members_spec.rb:19:in `block (4 levels) in <top (required)>'
...
์ฐธ๊ณ ์ฉ ํ๋ณด: https://github.com/fastlane/fastlane/pull/15407
์ฐ๋ฆฌ์ ํ ์คํธ๋ macOS ๋ฐ Ubuntu์ ruby โโ2.3์์ ์คํจํ์ง ์์ต๋๋ค.
์ด๊ฒ์ fastlane/fastlane#15403์์ ์ด ์ค๋ก ์์ ๋์ด์ผ ํฉ๋๋ค. ์ด๋๊ฐ์ ๊ณ ์ ๋ ๋ฌธ์์ด ๋ฆฌํฐ๋ด ๋งค์ง ์ฃผ์์ ๋ถ์์ฉ์ด๋ผ๊ณ ์๊ฐํฉ๋๋ค.
ํธ์ง: ~ ๊ทธ๊ฒ์ lostisland/faraday_middleware#196์ด ์น์ธ๋๊ณ ๋ฆด๋ฆฌ์ค๋ ๋๊น์ง ๋ฆด๋ฆฌ์ค๋ ์ ์์ต๋๋ค~ Edit2: ์ด์ ๋ฒ์ ๊ณผ ํธํ๋ฉ๋๋ค.
์, ์์ผ๋ก ๋์๊ฐ ๊ธธ์ ์ฌ๊ธฐ์์ ๋งค์ฐ ๋ช ํํฉ๋๋ค. ๊ทธ๋ฆฌ๊ณ ์ฐ๋ฆฌ๋ ๊ฐ๋ฅํ ํ ๋นจ๋ฆฌ ์๋ก์ด ๋ฆด๋ฆฌ์ค๋ฅผ ์ค๋จํ ๊ฒ์ ๋๋ค.
๊ทธ๋ฌ๋ ํ์ฌ ์์ฒ ๊ฐ์ Fastlane ์ค์น(๋ฐ ๊ธฐํ ์ํํธ์จ์ด)๊ฐ ์ค๋จ๋์ด ์์ผ๋ฏ๋ก ์ด๋ฅผ ๋ค์ ๋ช ์์ ์ผ๋ก ๋ณด๊ณ ํ๋ ๊ฒ์ด ์ค์ํ๋ค๊ณ ์๊ฐํ์ต๋๋ค.
0.16.3์์ ์ด ์์ ์ ๋ค์ ์ํํ ์ ์๋ ๋ฐฉ๋ฒ์ด ์์ต๋๊น?
๋๋ ์ปดํจํฐ์ ์ ๊ทผํ ์ ์๋ ์ฅ์์ ์์ง๋ ์์ง๋ง ๋ด ํด๋์ ํ์์ ํ์ผ์ ๊ฒ์ํ๋ ํผ์์ ์ผ๋ก๋ ํจ๋ฌ๋ฐ์ด์ ์ด๋๊ฐ์์ ์์ฒญ ๋ณธ๋ฌธ์ ๊ณ ์ ๋ ๋ฌธ์์ด๋ก ์ค์ ํ๊ณ ์๋ ๊ฒ ๊ฐ์ต๋๋ค. ์์ฒญ ๋ณธ๋ฌธ์ด ๊ณ ์ ๋ ๋ฌธ์์ด๋ก ์ค์ ๋๋ ์์น๋ฅผ ์ฐพ์ ์ ์์ผ๋ฉด ๋น ๋ฅธ ์ฐจ์ ์์ ๋ฌธ์ ๋ฅผ ํด๊ฒฐํด์ผ ํฉ๋๋ค.
@janpio #1039๋ ๋ณธ๋ฌธ์์ ๊ณ ์ ๋ ๋ฌธ์์ด ๋ฆฌํฐ๋ด ๋ฌธ์ ๋ฅผ ํด๊ฒฐํด์ผ ํ๋ค๊ณ ์๊ฐํฉ๋๋ค.
์์ ์ฌํญ์ด ๋ํ๋๋ ๋์ ๊ธฐ๋ค๋ ค ์ฃผ์ ์ ๊ฐ์ฌํฉ๋๋ค. ๊ตฌํํด ์ฃผ์ BobbyMcWho์๊ฒ ๊ฐ์ฌ๋๋ฆฝ๋๋ค!
๋ค๋ฅธ ์ด๋ํฐ์ ํ์ํ _more_ ๋ณ๊ฒฝ ๊ฐ๋ฅํ ๋ณธ๋ฌธ ๋ฌธ์์ด์ด ์๋์ง ๊ถ๊ธํฉ๋๋ค.
๋๋ ํ๋ก์ ํธ๋ฅผ ์ดํด๋ณด์๊ณ , ๋ค๋ฅธ ๊ฒ์ ์ฆ์ ๋์ ๋์ง ์์์ต๋๋ค. ๋๋ถ๋ถ์ ๊ณ ์ ๋ ๋ฆฌํฐ๋ด์ ์ค๋ฅ ๋ฉ์์ง์ด๊ฑฐ๋ ๋ณ๊ฒฝ ๊ฐ๋ฅํ์ง ์์ ๊ฒ์ผ๋ก ์์๋๋ ๋ฐฉ์์ผ๋ก ์ฌ์ฉ๋๊ณ ์์ต๋๋ค.
๋๋ ๋ํ Elasticsearch-transport(searchkick์ ์ข ์์ฑ)์ ํจ๊ป ํจ๋ฌ๋ฐ์ด 0.16.2๋ฅผ ์ฌ์ฉํ ๋๋ ์ด๊ฒ์ ๊ฒฝํํ์ต๋๋ค. @BobbyMcWho์ ํจ์น๋ฅผ ๋ฃ์ด์ฃผ์ ์ ๊ฐ์ฌํฉ๋๋ค!
@zspencer ์ ์ง ๊ด๋ฆฌ์๊ฐ 0.16.3์ ๋ฆด๋ฆฌ์คํ ๊ธฐํ๊ฐ ์์ ๋๊น์ง ์ง๊ธ ๋น์ฅ ํ์ํ ๊ฒฝ์ฐ gemfile์ 0.16.x ๋ถ๊ธฐ๋ฅผ ๊ฐ๋ฆฌ์ผ์ผ ํ ์๋ ์์ต๋๋ค.
๊ฐ์ฌ ํด์! ๋๋ ์ด๋ฏธ ๊ทธ๋ ๊ฒ ํ๋ค. ์ด ๋ฌธ์ ์ ์ง๋ฉดํ์ฌ searchkick ๋ฐ elasticsearch์ ๊ฐ์ ๋จ์ด๋ฅผ Google ์ฟผ๋ฆฌ์ ์ถ๊ฐํ๋ ์ฌ๋๋ค์ด ๋ฌธ์ ๋ฅผ ์ฐพ์ ์ ์๋๋ก ํ๊ณ ์ถ์์ต๋๋ค. (๊ทธ๋ฆฌ๊ณ ์์ !)
์๋
ํ์ธ์. v0.16.x ๋ฆด๋ฆฌ์ค๋ก ์ธํด ํผ๋์ ๋๋ ค ์ ๋ง ์ฃ์กํฉ๋๋ค.
์ต์ ์์
๋ฆด๋ฆฌ์ค v0.15.4๋ฅผ ๋ฐ๋ก ๋ฐ๋ฅด๋ ROLLBACK RELEASE v0.17.0์ ์ํํ์ต๋๋ค.
์ด์ ๋ฒ์ ๊ณผ์ ํธํ์ฑ ๋ฌธ์ ๋ฅผ ํด๊ฒฐํ๋ ค๋ฉด ํด๋น ๋ฒ์ ์ผ๋ก ์
๋ฐ์ดํธํ์ญ์์ค.
์ถ๊ฐ ์ ๋ณด: https://github.com/lostisland/faraday/releases/tag/v0.17.0
@iMacTia ๊ฐ์ฌํฉ๋๋ค. ์ด๊ฒ์ ์ง๊ธ๊น์ง faraday
์ ๋์ผํ ๋ฒ์ ์ผ๋ก ์ ์ง๋์๋ faraday_middleware
์๋ ์ ์ฉ๋ฉ๋๊น?
@janpio ์ ๊ฐ ์ดํด๋ฅผ ์ ๋ชปํด์ ์ฃ์กํฉ๋๋ค. ์ด ๋ฌธ์ ๋ 2์ ์ดํ ์ ๋ฒ์ ์ ์ถ์ํ์ง ์์์ผ๋ฏ๋ก faraday_middleware
์ ์ด๋ค ์์ผ๋ก๋ ์ํฅ์ ๋ฏธ์น์ง ์์ต๋๋ค.
0.16๊ณผ์ ํธํ์ฑ์ ์ถ๊ฐํ๋ ๊ฒ์ ๋ชฉํ๋ก ํ๋ ์ด PR ์ ์๊ณ ์์ง๋ง ๋ ์ด์ ๋ฆด๋ฆฌ์ค๋์ง ์์ต๋๋ค.
Faraday v1.0์ ์ถ์ํ๋ฉด Faraday ๋ฏธ๋ค์จ์ด๋ ์ ๋ฐ์ดํธํ๊ณ ํธํ ๊ฐ๋ฅํ v1.0์ ์ถ์ํ ๊ฒ์ ๋๋ค.
๐ ๋ ๊ถ๊ธํ๊ฑฐ ์์ผ๋ฉด ์๋ ค์ฃผ์ธ์.
์ด๋ ์ ๋ - ์ฐ๋ฆฌ gemspec์์ faraday_middleware
๋ in sync with faraday
$๋ก ์ฃผ์ ์ฒ๋ฆฌ๋์์ผ๋ฏ๋ก ์ค์ ๋ก ์ ๋ฒ์ ์ด ํ์ํ์ง ๊ถ๊ธํฉ๋๋ค. ๊ทธ๋ ์ง ์์ ๊ฒฝ์ฐ ์ด์ ๋ฒ์ ์ ๊ณ์ ์ฌ์ฉํ ๊ฒ์
๋๋ค.
Faraday Middleware v0.13.1์ Faraday v0.15.4์์ ์ ์๋ํ์ผ๋ฏ๋ก v0.17.0์์๋ ์ ์๋ํ ๊ฒ์ผ๋ก ์์ํฉ๋๋ค. ๊ทธ๋๋ ํ์คํ ํ๊ธฐ ์ํด ๋ง์คํฐ ๋น๋๋ฅผ ์คํํ๊ฒ ์ต๋๋ค ๐
@janpio ํธ๋ฆฌ๊ฑฐ https://travis-ci.org/lostisland/faraday_middleware/builds/595051325 , ๋ก๊ทธ์์ Faraday v0.17.0์ด ์ฌ์ฉ๋๊ณ ๋ชจ๋ ํ ์คํธ๊ฐ ํต๊ณผ๋์์์ ํ์ธํ ์ ์์ต๋๋ค ๐
๊ฐ์ฅ ์ ์ฉํ ๋๊ธ
@janpio #1039๋ ๋ณธ๋ฌธ์์ ๊ณ ์ ๋ ๋ฌธ์์ด ๋ฆฌํฐ๋ด ๋ฌธ์ ๋ฅผ ํด๊ฒฐํด์ผ ํ๋ค๊ณ ์๊ฐํฉ๋๋ค.