Xavier Noria
9b5401fcc9
depend on Zeitwerk 2.1.0
2019-04-09 11:06:44 +02:00
Xavier Noria
57c7cbb162
depend on Zeitwerk 2
2019-04-07 13:05:26 +02:00
Rafael França
dd972f9efe
Merge pull request #35691 from sushantmittal/add_deattach_from_in_active_support_subscriber
...
Adds 'detach_from' to 'ActiveSupport::Subscriber' to detach a subscriber from a namespace.
2019-04-04 15:12:54 -04:00
Fumiaki MATSUSHIMA
61c4be4777
Output junit format test report
2019-04-04 14:34:46 +09:00
sushant
ca19b7f5d8
Added 'detach_from' to 'ActiveSupport::Subscriber' to detach a subscriber from a namespace.
2019-04-04 10:57:57 +05:30
Rafael França
736c7d5995
Merge pull request #35771 from timoschilling/hash-speed-improvements
...
Hash / HashWithIndifferentAccess speed improvements
2019-04-02 17:28:50 -04:00
Timo Schilling
49598c0638
Speed improvement for HashWithIndifferentAccess#values_at
2019-04-02 22:58:52 +02:00
Timo Schilling
9f41edb535
Speed improvement for HashWithIndifferentAccess#fetch_values
2019-04-02 22:42:26 +02:00
Timo Schilling
a805d72e90
Speed improvement for HashWithIndifferentAccess#except
2019-04-01 17:15:39 +02:00
Ryuta Kamizono
51ab5cb043
Follow up tweaks b89a3e7e63
[ci skip]
...
* use backticks instead of `+`
* and more (e.g. missed replacing `Array#excluding` and
`Enumerable#excluding` in b89a3e7e63
)
2019-03-31 09:52:02 +09:00
Ryuta Kamizono
b89a3e7e63
Tweaks CHANGELOGs and docs [ci skip]
...
* add leading `#` before `=>` since hash rocket is valid Ruby code
* add backticks
* remove trailing spaces
* and more
2019-03-31 08:38:37 +09:00
Xavier Noria
278f0dfeac
fixes eager loading edge case in :zeitwerk mode
2019-03-30 09:33:48 +01:00
Timo Schilling
32db884967
Speed improvement for Hash#except
2019-03-29 10:43:09 +01:00
Matthew Draper
78ace9cd08
Merge pull request #34405 from shugo/safe_buffer_backref_fix
...
sub, sub!, gsub, and gsub! should set back references
2019-03-28 23:32:52 +10:30
Owen Stephens
ca2a3bcaad
Fix bug in Range comparisons when comparing to excluded-end Range
...
Before:
```ruby
(1..10).cover?(1...11) => false
```
After:
```ruby
(1..10).cover?(1...11) => true
```
See https://git.io/fjTtz for the commit against Ruby core that added
support for Range arguments, with similar handling of this case.
2019-03-28 00:57:05 +00:00
Bart de Water
c76a8c72d5
Don't encode in secure_compare for speedup
...
Hex encoding is base 16 which makes the original input twice as big. With this change less time need to be spent in fixed_length_secure_compare.
2019-03-26 21:43:52 -04:00
Xavier Noria
379d7e8bfa
bumps Zeitwerk and Bootsnap
2019-03-26 20:30:18 +01:00
Edgars Beigarts
7432c9226e
Use weak references in descendants tracker
...
It allows anonymous subclasses to be garbage collected.
2019-03-26 12:11:37 +02:00
Xavier Noria
3acf5f71f0
Depend on Zeitwerk 1.4.2
2019-03-23 14:42:24 +01:00
Ali Ibrahim
b64cb97452
Fix AS CHANGELOG typo
2019-03-22 15:13:58 -04:00
Ali Ibrahim
aaf89cdea7
Update CHANGELOG and docs
...
with change to ActiveSupport::Notifications::Instrumenter#instrument
2019-03-22 11:17:33 -04:00
Ali Ibrahim
1b7ef40db5
Update AS::Notifications::Instrumenter#instrument
...
* Update #instrument to make passing a block optional. This will let users
leverage #instrument for messaging in addition to instrumentation.
2019-03-22 10:01:18 -04:00
Xavier Noria
3d0850bfb8
depend on Zeitwerk 1.4.0
2019-03-19 13:07:31 +01:00
Andrew White
58ac3f212f
Fix Time#advance to work with dates before 1001-03-07
...
In #10634 the behavior of Time#advance was changed to maintain a
proleptic gregorian calendar for dates before calendar reform. However
it didn't full address dates a long time before calendar reform and
they gradually drift away from the proleptic calendar the further you
go back in time. Fix this by always converting the date to gregorian
before calling advance which sets the reform date to -infinity.
2019-03-18 17:02:34 +00:00
Ryuta Kamizono
26b5e62847
Merge pull request #35634 from sharang-d/update-parameterize-docs
...
Update docs for 'parameterize()' [ci skip]
2019-03-16 08:40:46 +09:00
Xavier Noria
a47c84d584
Engines are reloaded in Zeitwerk mode [ closes #35618 ]
2019-03-15 22:59:03 +01:00
Sharang Dashputre
40ef8a12ed
Update docs for 'parameterize()' [ci skip]
2019-03-16 03:24:26 +05:30
John Hawthorn
dbfe5c6ac4
Match evented checker behavior on dir with no exts
...
When FileUpdateChecker is passed a directory and given an empty array of
extensions to match on, it will match any extension.
Previously, EventedFileUpdateChecker would never match any files when
given an empty array. This commit makes it EventedFileUpdateChecker
match FileUpdateChecker, and watch all extensions when given an empty
array.
2019-03-15 13:29:14 -07:00
Xavier Noria
85984e5031
bumps Zeitwerk
2019-03-14 14:42:12 -07:00
Richard Monette
af20522954
support slice assignment on SafeBuffer
2019-03-13 19:22:04 -04:00
eileencodes
a2bd669ed2
v6.0.0.beta3 release
...
-----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEEEvJkGf0BARV+D0L2ulxXUSC76N8FAlyJN4cACgkQulxXUSC7
6N9ZXAf/Wx7edIct8kZzcC6irlROx4DzpNbrrH792sO1OAcnoFDE7DPkokllTEP/
4kzC42lca/XG27MCl7E0dtVD8hIyAl89nxid6cwKFVZVTPIRVc1wjXkoiWy/cvd7
6+9IjxhlgrzxGnw3aWZJG7H3iqz69yr55aoSDU/TbMqq5kQrqNF95vr2nc8LEUco
SLQj0pO/tfJdHquSeX0JiXn3VSEHT+5TdLGQ3J/w0wFU6mkecH4MJMJvMwLFx/v4
llnvF6HyfSLASWbrpdD3h6MQHpImDoee5vILXAHzPdSaEVcVa1cDFtMcPMYiu8Dw
AGdCAaHQhZFFGoYK472+o6pur0dxEA==
=5dET
-----END PGP SIGNATURE-----
Merge tag 'v6.0.0.beta3'
v6.0.0.beta3 release
2019-03-13 13:11:10 -04:00
Ryuta Kamizono
1dc4d49f51
Fix typo s/ActiveSupport::Timezone/ActiveSupport::TimeZone/ [ci skip]
2019-03-13 19:42:32 +09:00
Vipul A M
2fa03e6257
Merge pull request #35577 from sharang-d/typo-opt-out
...
Change wording of some instances of 'opt out' [ci skip]
2019-03-12 22:02:16 +05:30
Sharang Dashputre
dcccc38989
Change wording of some instances of 'opt out' [ci skip]
2019-03-12 20:06:02 +05:30
Ryuta Kamizono
c5979e7bea
Merge pull request #35575 from sharang-d/changelog-for-parameterize
...
Add changelog entry for transliterate/parameterize accepting `locale` [ci skip]
2019-03-12 17:52:51 +09:00
Sharang Dashputre
8201dbf685
Add changelog entry for transliterate/parameterize accepting `locale` [ci skip]
2019-03-12 14:06:09 +05:30
Xavier Noria
96242410a8
bump Zeitwerk to 1.3.3
2019-03-11 16:11:35 -07:00
Sharang Dashputre
818437c366
Fix bug with parametrize when `locale` is passed
...
Also add tests for parametrize and transliterate
2019-03-12 01:48:21 +05:30
eileencodes
7c87fd5635
Prep release
...
* Update RAILS_VERSION
* Bundle
* rake update_versions
* rake changelog:header
2019-03-11 11:58:15 -04:00
Kaan Ozkan
bc9711fb7d
Add locale option to parameterize
...
Parameterize is triggering I18n#transliterate. This method already
accepts a locale. It would be cleaner if similar to other string inflection
methods #parameterize also accepted 'locale' as a parameter.
2019-03-11 11:47:31 -04:00
Kasper Timm Hansen
c87f6841b7
Merge pull request #35121 from utilum/warning_tried_to_create_proc_without_block
...
Ruby 2.7 warning: creating a Proc without a block
2019-03-10 16:31:15 +01:00
Kasper Timm Hansen
0fc1397784
Merge pull request #35559 from ashishprajapati/ashishprajapati/important_textual_improvements
...
Added missing guide links in documentation and minor wording fix
2019-03-09 22:54:21 +01:00
ashishprajapati
e3ef12b310
Added missing guide links in README documentation and minor wording fix [ci skip]
2019-03-10 03:17:01 +05:30
Abhay Nikam
027e492b6f
Fix links in gemspec and docs from http to https.
2019-03-09 19:42:35 +05:30
Xavier Noria
2c33932e9b
Merge pull request #35536 from alexander-lazarov/improve-cache-docs
...
Improve wording in cache documentation
2019-03-08 20:05:08 +01:00
Alexander Lazarov
5103a5ef4b
Improve wording in cache documentation [ci skip]
2019-03-08 20:09:16 +02:00
Jean Boussier
6d624f2de9
Allow autoloader inflectors to be swaped out
2019-03-08 17:31:29 +01:00
Ryuta Kamizono
2170338239
Merge pull request #35498 from sobrinho/fix-including-excluding-flatten
...
Fix including/excluding flattening
2019-03-07 09:33:21 +09:00
Xavier Noria
71e23d33ae
Bump Zeitwerk
2019-03-06 12:08:08 -08:00
Gabriel Sobrinho
87468284d5
Fix including/excluding flattening
2019-03-06 13:34:04 -03:00