forked from oracle/truffleruby
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into tag-slow-specs
- Loading branch information
Showing
99 changed files
with
1,052 additions
and
221 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
From 36d6772a76adeb0a55425ca9ec30908f8fe8509c Mon Sep 17 00:00:00 2001 | ||
From: Alan Wu <[email protected]> | ||
Date: Fri, 25 Oct 2019 18:31:13 -0400 | ||
Subject: [PATCH] Set mtime to avoid fakiness | ||
|
||
GZIP file format has a timestamp in its header, which makes it so that | ||
making a GZIP file with the default setting is only deterministic if | ||
done during the same second. Set mtime to 1 instead of taking the | ||
current time in the header. 0 does not work as that indicates to zlib | ||
to take the current time. | ||
--- | ||
lib/cacheable.rb | 1 + | ||
1 file changed, 1 insertion(+) | ||
|
||
diff --git a/lib/cacheable.rb b/lib/cacheable.rb | ||
index eed42a8..1a98639 100644 | ||
--- a/lib/cacheable.rb | ||
+++ b/lib/cacheable.rb | ||
@@ -32,6 +32,7 @@ module Cacheable | ||
def self.compress(content) | ||
io = StringIO.new | ||
gz = Zlib::GzipWriter.new(io) | ||
+ gz.mtime = 1 | ||
gz.write(content) | ||
io.string | ||
ensure | ||
-- | ||
2.19.1 | ||
|
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
repository [email protected]:Shopify/cacheable.git | ||
|
||
apply-patch cacheable.patch | ||
apply-patch cacheable-gzip-timestamp.patch | ||
|
||
bundle install | ||
bundle exec rake |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
repository [email protected]:seattlerb/minitest.git | ||
repository-tag [email protected]:seattlerb/minitest.git v5.12.2 | ||
|
||
gem install hoe | ||
rake test |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -148,9 +148,9 @@ to contribute to TruffleRuby. | |
|
||
## Contact | ||
|
||
The best way to get in touch with us is to join us in | ||
https://gitter.im/graalvm/truffleruby, but you can also Tweet to | ||
[@TruffleRuby](https://twitter.com/truffleruby), or email | ||
The best way to get in touch with us is to join the channel `#truffleruby` of the | ||
[GraalVM Slack](https://join.slack.com/t/graalvm/shared_invite/enQtNzk0NTc5MzUyNzg5LTAwY2YyODQ4MzJjMGJjZGQzMWY2ZDA3NWI3YzEzNDRlNGQ1MTZkYzkzM2JkYjIxMTY2NGQzNjUxOGQzZGExZmU). | ||
You can also Tweet to [@TruffleRuby](https://twitter.com/truffleruby), or email | ||
[email protected]. | ||
|
||
Please report security vulnerabilities via the process outlined at [reporting | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -76,10 +76,7 @@ forked back out of JRuby after it had matured. | |
|
||
### Who do I ask about TruffleRuby? | ||
|
||
The best way to get in touch with us is to join us in | ||
https://gitter.im/graalvm/truffleruby, but you can also Tweet to | ||
[@TruffleRuby](https://twitter.com/truffleruby), or email | ||
[email protected]. | ||
See the Contact section in the [README](../../README.md#contact). | ||
|
||
### How do I know if I’m using TruffleRuby? | ||
|
||
|
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
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.