Skip to content
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

Stick to bundler version < 2 on AppVeyor #2321

Merged
merged 1 commit into from May 2, 2019

Conversation

iggant
Copy link

@iggant iggant commented Mar 11, 2019

Force AppVeyor to follow the bundler version constraint

@iggant iggant force-pushed the 0-10-stable branch 2 times, most recently from 1d3c98d to fd1116c Compare March 11, 2019 13:34
@bf4
Copy link
Member

bf4 commented Mar 11, 2019

@iggant you're welcome to keep plugging at this!

@wasifhossain
Copy link
Member

Travis issue with timestamp appeared in this PR again and will continue the same for each new PR until we merge this commit by @kylekeesling separately on 0-10-stable.

If we do that, new PRs will have at least 1 less problem to solve :)

@iggant iggant force-pushed the 0-10-stable branch 7 times, most recently from b1a3105 to 9a8460c Compare March 13, 2019 14:45
@wasifhossain
Copy link
Member

@iggant would you mind rebasing the PR on latest 0-10-stable? If you have some time, lets make some progress with this in coming days.

@iggant
Copy link
Author

iggant commented Apr 24, 2019

@wasifhossain yes will do this on Friday

@iggant iggant force-pushed the 0-10-stable branch 3 times, most recently from dd17f4c to 25cccde Compare May 1, 2019 07:33
@iggant
Copy link
Author

iggant commented May 1, 2019

@wasifhossain rebased and squashed
please have a look

@iggant iggant changed the title Try to relax bundle dep Stick to bundle < 2 May 1, 2019
appveyor.yml Outdated Show resolved Hide resolved
@@ -164,7 +164,7 @@ def test_expiring_of_cache_at_update_of_record

assert_equal 'Foo', author_json[:name]

author.update_attributes(name: 'Bar')
author.update(name: 'Bar')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@@ -202,10 +202,12 @@ def test_cache_expiration_in_collection_on_update_of_record
end

bar = 'Bar'
author.update!(name: bar)
Timecop.travel(10.seconds.from_now) do
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@iggant can you please elaborate the case why you need Timecop in this case?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

before this change there were random test failture
probably this is because cache version relay on updated_at column which doesn't contain millisecond part, so time to time it doesn't invalidate cache.
and with travel to 10 second ahead we eliminate this possibility
probably current check in the 172 line is also related, but I will thy to change that test in the next PR

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

perfect reason 👌 can't wait to see you apply the same logic for the other test too on line 167. You can do it in your next PR. Then we may also be able to remove these weird checks

if ENV['APPVEYOR'] && actual != expected
  skip('Cache expiration tests sometimes fail on Appveyor. FIXME :)')

@wasifhossain
Copy link
Member

@iggant thanks a lot for your effort. Appveyor became green again 🙌

@iggant
Copy link
Author

iggant commented May 1, 2019

@wasifhossain made requested changed
also can I ask to release new version of the gem, because we already using rails rc1 and ams from github version, but want to come back to release

@wasifhossain
Copy link
Member

I would like to have a release too. Btw we got another important PR #2329, which is supposed to fix an issue introduced by #2223.

I will try to focus on that one after merging this PR. Once I am done with that, I will request @bf4 to consider for a new release.

Thanks a lot! @iggant

@wasifhossain wasifhossain merged commit 1ff21ba into rails-api:0-10-stable May 2, 2019
@wasifhossain wasifhossain changed the title Stick to bundle < 2 Stick to bundler version < 2 on AppVeyor May 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants