-
-
Notifications
You must be signed in to change notification settings - Fork 249
Update Ruby versions on Travis CI #553
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
f4b22ff
to
3a3adad
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@htwroclau
Thanks for your contribution and sorry for my late :<
This PR seems great 💚
NOTE: I left some comments. If you are interested in it, please teach me what happened in webmock :-)
@@ -19,7 +19,7 @@ def copy_directory(dir) | |||
def set_test_environment | |||
VCR.configure do |c| | |||
c.cassette_library_dir = 'test/fixtures/vcr_cassettes' | |||
c.hook_into :webmock # or :fakeweb | |||
c.hook_into :faraday # or :webmock or :fakeweb |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, perhaps it seems a webmock issue on jRuby.
However I'm not sure why the following tests are failed.
https://travis-ci.org/emberjs/ember-rails/jobs/363684591
@@ -24,6 +24,7 @@ Gem::Specification.new do |s| | |||
s.add_dependency "ember-cli-assets", "~> 0.0.1" | |||
|
|||
s.add_development_dependency "bundler", [">= 1.2.2"] | |||
s.add_development_dependency "faraday" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I prefer not adding a new dependency.
But it makes sense to pass ember-rails tests.
@@ -28,7 +28,7 @@ class HjsTemplateTest < IntegrationTest | |||
get "/assets/templates/hairy.js" | |||
assert_response :success | |||
assert_match %r{Ember\.TEMPLATES\["hairy(\.mustache)?"\] = Ember\.(?:Handlebars|HTMLBars)\.template\(}m, @response.body | |||
assert_match %r{function .*unbound|"name":"unbound"|\[\\"unbound\\"\]}m, @response.body | |||
assert_match %r{.*unbound|"name":"unbound"|\[\\"unbound\\"\]}m, @response.body |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see.
Some update in ember-source may change the templates.
I try to update Ruby versions on Travis CI.
However, as test errors occurred, I also addressed the following.