Koichi ITO
ac717d65a3
[Active Support] `rubocop -a --only Layout/EmptyLineAfterMagicComment`
2017-07-11 13:12:32 +09:00
Kir Shatrov
72950568dd
Use frozen-string-literal in ActiveSupport
2017-07-09 15:08:29 +03:00
Matthew Draper
87b3e226d6
Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"
...
This reverts commit 3420a14590
, reversing
changes made to afb66a5a59
.
2017-07-02 02:15:17 +09:30
Kir Shatrov
cfade1ec7e
Enforce frozen string in Rubocop
2017-07-01 02:11:03 +03:00
Grey Baker
3e6ce1cd69
Add source code and changelog links to gemspecs
2017-06-28 10:06:01 +01:00
bogdanvlviv
40bdbce191
Define path with __dir__
...
".. with __dir__ we can restore order in the Universe." - by @fxn
Related to 5b8738c2df
2017-05-23 00:53:51 +03:00
Xavier Noria
adca8154c6
applies new string literal convention in the gemspecs
...
The current code base is not uniform. After some discussion,
we have chosen to go with double quotes by default.
2016-08-06 19:27:12 +02:00
Jeremy Daer
06dc3fba46
Fix template resolver cache concurrency: "can't add a new key into hash during iteration"
...
Resolved by https://github.com/ruby-concurrency/concurrent-ruby/pull/529
Fixes #24627 .
2016-05-02 15:05:03 -07:00
Xavier Noria
1eb27fafa9
revises the homepage URL in the gemspecs [ci skip]
...
References https://github.com/rails/homepage/issues/46 .
2016-03-10 07:55:27 +01:00
Mike Perham
cf18c34e3a
Remove unused dependency
...
railties uses method_source, activesupport does not. I assume code was refactored and the dependency wasn't removed.
2016-02-03 14:28:55 -08:00
Mike Perham
f3433f7c75
Remove json gem dependency
...
All modern Rubies ship JSON as part of stdlib. Using the gem actually hurts multi-platform support due to build difficulties on Windows.
2016-02-03 10:49:14 -08:00
Rafael Mendonça França
788d7bce3d
Using released concurrent-ruby
2015-11-16 18:26:39 -02:00
Jerry D'Antonio
23b6f65fd1
Require only necessary concurrent-ruby classes.
2015-11-04 21:12:28 -05:00
Jerry D'Antonio
33e506cb4a
Fixed concurrent-ruby warnings.
...
Bumped version of concurrent-ruby to 1.0.0.pre3, which fixes all
interpreter warnings.
2015-09-29 21:31:49 -04:00
Jerry D'Antonio
56ac6e4768
Replaced `ThreadSafe::Map` with successor `Concurrent::Map`.
...
The thread_safe gem is being deprecated and all its code has been merged
into the concurrent-ruby gem. The new class, Concurrent::Map, is exactly
the same as its predecessor except for fixes to two bugs discovered
during the merge.
2015-09-19 09:56:26 -04:00
Jerry D'Antonio
25a4155257
Initial implementation of ActiveJob AsyncAdapter.
2015-08-25 14:22:11 -04:00
Thomas Walpole
8e2f267f62
Add method_source dependency to activesupport
2015-07-29 22:21:53 -07:00
Jerry D'Antonio
284a9ba8ec
Replaced `ActiveSupport::Concurrency::Latch` with concurrent-ruby.
...
The concurrent-ruby gem is a toolset containing many concurrency
utilities. Many of these utilities include runtime-specific
optimizations when possible. Rather than clutter the Rails codebase with
concurrency utilities separate from the core task, such tools can be
superseded by similar tools in the more specialized gem. This commit
replaces `ActiveSupport::Concurrency::Latch` with
`Concurrent::CountDownLatch`, which is functionally equivalent.
2015-07-13 15:44:21 -04:00
Jon Atack
32f7491808
Upgrade to Ruby 2.2.2
...
and fix the grammar in the ruby_version_check.rb user message.
2015-04-14 08:41:56 +05:30
Peter Suschlik
f0768eba28
Target Ruby 2.2.1 in gemspecs
...
This is a follow-up to #19257
2015-03-09 09:56:26 +01:00
claudiob
d3b098b828
Require Ruby 2.2 for Rails 5.0
...
Stems from [this comment](https://github.com/rails/rails/pull/18203#issuecomment-68138096 ) by @robin850
and by the blog post http://weblog.rubyonrails.org/2014/12/19/Rails-4-2-final
2014-12-26 13:53:09 +01:00
Carlos Antonio da Silva
4073413d3c
Use released I18n 0.7.0
2014-12-19 15:09:06 -02:00
Rafael Mendonça França
eec0441c11
Merge pull request #18072 from exAspArk/thread_safe_gem_version
...
Use thread_safe gem version greater or equal to 0.3.4
2014-12-17 19:44:36 -02:00
Evgeny Li
c71f182c2e
use thread_safe gem version greater or equal to 0.3.4
2014-12-17 20:04:35 +03:00
claudiob
96d0f751f9
Bump required Ruby version to 2.1.0
...
[This article](http://weblog.rubyonrails.org/2014/8/20/Rails-4-2-beta1/#maintenance-consequences-and-rails-5-0 ) states that:
> Rails 5.0 is in most likelihood going to target Ruby 2.2.
Before the exact minimum version is fully decided, @arthurnn [suggests](https://github.com/rails/rails/pull/17830#issuecomment-64940383 )
that **at least** version 2.1.0 **must** be required by the `gemspec` files.
2014-11-28 22:59:51 -08:00
Carlos Antonio da Silva
c9cd532ba6
Use the released beta of i18n
2014-08-18 14:08:53 -03:00
Rafael Mendonça França
cd7d414e48
Do not set enforce_available_locales to i18n 0.7
...
Now the default is always true.
Users still can set it using config.i18n.enforce_available_locales.
2014-07-23 17:40:44 -03:00
Carlos Antonio da Silva
7c858b03a9
Require I18n >= 0.6.9
...
The option enforce_available_locales is only available on latest
versions, so require the last available one which has the option +
other related fixes and should not have backward compatibility issues.
2013-12-17 09:06:57 -02:00
Godfrey Chan
849dbb5da8
Upgrade minitest version
...
We made a change in #13213 that depends on a new file that's only in
minitest 5.1.0+, so the version should be updated.
2013-12-08 07:35:19 -08:00
Godfrey Chan
78cd3b0e53
Requires JSON gem version 1.7.7 or above as it contains an important
...
security fix.
2013-11-26 22:17:50 -08:00
Erik Michaels-Ober
9d664b18df
Update tzinfo dependency to ~> 1.1
...
Include the tzinfo-data in the generated Gemfile on Windows.
2013-11-10 06:52:16 -05:00
Aaron Patterson
9fef7c8dc9
Merge pull request #10527 from zenspider/squishy_minitest5
...
Squishy minitest5
2013-05-16 13:41:54 -07:00
Erik Michaels-Ober
ce4456fde6
Replace multi_json with json
2013-05-11 21:43:48 -07:00
Ryan Davis
0809c09c34
tweak dependencies
2013-05-08 16:44:05 -07:00
kennyj
4ed4cfd5ed
Bump TZInfo version to 0.3.37 based on version v2013b of the underlying tz data.
2013-03-26 02:12:49 +09:00
Xavier Noria
ddd2c75b26
Revert "instruct RDoc to only parse Ruby files under lib [ Fixes #9779 ]"
...
This reverts commit c24528fbc9
.
2013-03-18 21:19:47 +01:00
Xavier Noria
c24528fbc9
instruct RDoc to only parse Ruby files under lib [ Fixes #9779 ]
2013-03-18 20:36:32 +01:00
Carlos Antonio da Silva
9126d53a07
Enforce i18n version >= v0.6.4
...
Keep in sync with 3-2-stable.
2013-02-27 21:08:27 -03:00
Santiago Pastorino
2fa9c8881f
We want i18n >= 0.6.2 but < 1.0
2013-02-26 16:14:00 -02:00
Guillermo Iguaran
80f7975e43
Bump i18n version to 0.6.2
2013-02-25 18:03:27 -05:00
Akira Matsuda
18c57c79ef
Bump up minitest dependency and remove our own reinvented version of ParallelEach
2013-02-19 00:08:16 +09:00
thedarkone
45448a5788
Replace some global Hash usages with the new thread safe cache.
...
Summary of the changes:
* Add thread_safe gem.
* Use thread safe cache for digestor caching.
* Replace manual synchronization with ThreadSafe::Cache in Relation::Delegation.
* Replace @attribute_method_matchers_cache Hash with ThreadSafe::Cache.
* Use TS::Cache to avoid the synchronisation overhead on listener retrieval.
* Replace synchronisation with TS::Cache usage.
* Use a preallocated array for performance/memory reasons.
* Update the controllers cache to the new AS::Dependencies::ClassCache API.
The original @controllers cache no longer makes much sense after @tenderlove's
changes in 7b6bfe84f3
and f345e2380c
.
* Use TS::Cache in the connection pool to avoid locking overhead.
* Use TS::Cache in ConnectionHandler.
2012-12-14 12:18:47 +01:00
Jeremy Kemper
8110035623
Revert "Omit directories from gemspec.files for RubyGems 2 compat."
...
Obviated by rubygems/rubygems@486ed83cc8
This reverts commit bb8923dee0
.
2012-12-09 17:14:27 -07:00
Jeremy Kemper
bb8923dee0
Omit directories from gemspec.files for RubyGems 2 compat.
...
RG2 packager expects each spec.files path to be a file and bombs when it tries to tarball a dir.
May revert if rubygems/rubygems#413 is accepted.
2012-12-08 17:18:46 -07:00
Vinny Diehl
a96a176930
Clean up gemspecs
...
Organized the gemspec files a bit.
* Made quotes more consistent (single quotes dominated, so I used
that).
* Moved license line down a line, separating it logically, and removed
the extra whitespace before its = operator.
* Minor whitespace fixes.
2012-11-08 19:09:43 -05:00
Francesco Rodriguez
ca519eeb40
bump minitest version ~> 4.1.0
2012-10-05 21:42:02 -05:00
Erik Michaels-Ober
a6e09a53ae
Update minitest dependency to ~> 4.0
2012-09-28 18:06:39 -07:00
Aaron Patterson
6f74d36c42
activesupport gem dependencies should reflect the versions we actually use
2012-07-04 11:16:21 -07:00
kennyj
cbca13c98b
Bump tzinfo gem.
2012-06-17 23:51:22 +09:00
Matt Griffin
6c7b250ac0
Add license field to gemspecs, by Matt Griffin
2012-05-23 09:22:25 -07:00