Commit Graph

3777 Commits

Author SHA1 Message Date
Xavier Noria acae4fd4ed Merge pull request #3084 from esad/master
Dependency fix for activesupport
2012-04-05 05:57:22 -07:00
Santiago Pastorino a9398a7da4 Merge pull request #5716 from jurriaan/tr-gsub-cleanup
Updated/changed unneeded tr/gsubs
2012-04-04 10:43:24 -07:00
Santiago Pastorino c6bd8a9d3a Merge pull request #5188 from jlxw/patch-1
logger.silence is deprecated
2012-04-04 10:38:55 -07:00
Xavier Noria e25eeed5b8 the file update checker now also detects removed files 2012-04-03 16:18:56 -07:00
Jurriaan Pruis 2d8396fc9f Updated/changed useless tr/gsubs 2012-04-03 15:16:09 +02:00
Artyom Bolshakov 5f62e88b3b Fix typo 2012-04-03 14:20:32 +04:00
Aaron Patterson 0244c0d8f3 use undef_method to avoid NameError exceptions all the time 2012-03-31 17:22:03 -07:00
Arun Agrawal 27a8e693da no more deprecation required. 2012-03-31 23:00:13 +05:30
Arun Agrawal 6a240826ca No more BufferedLogger so it can be LoggerTest 2012-03-31 22:49:15 +05:30
Arun Agrawal 40c38d969c warning removed: (...) interpreted as grouped expression 2012-03-31 16:31:07 +05:30
Aaron Patterson ad95a61b62 Merge pull request #4911 from Floppy/master
Reduce FILENAME_MAX_SIZE in ActiveSupport::Cache::FileStore
2012-03-30 17:43:55 -07:00
Dmitry Plashchynski 96b951ce24 validate attribute names in class and module attribute accessors 2012-03-30 15:45:46 +03:00
Dmitrii Golub ba9537c275 remove redundant variable 2012-03-28 03:09:40 +04:00
Aaron Patterson 281b31b4bb Merge pull request #5331 from castlerock/remove_unused_require
remove unused require from AS/core_ext/class/delegating_att.rb
2012-03-26 16:12:40 -07:00
Vasiliy Ermolovich 633ee64e20 String#titleize works properly with smart quotes, closes #5584 2012-03-26 21:18:25 +03:00
Piotr Sarnacki a4bf3045ca Merge pull request #5566 from lest/patch-3
fix HashWithIndifferentAccess.[] method
2012-03-25 04:16:53 -07:00
Arun Agrawal ef864c3a22 removed warning: shadowing outer local variable - exception 2012-03-24 10:35:36 +05:30
Sergey Nartimov 2ee28b2bf8 fix HashWithIndifferentAccess.[] method 2012-03-23 23:09:29 +03:00
Aaron Patterson ea482d366a oops, forgot to commit the tests! 💣 2012-03-23 11:47:42 -07:00
Piotr Sarnacki d1887d384a Fix tests, when creating rescue handler, we need to check for arity now
Before it was handled by Proc.bind, but since Proc.bind has been
deprecated, this is no longer the case and returned handler
needs to match rescuer.
2012-03-23 11:49:25 +01:00
Sergey Nartimov 9c857db757 deprecate Proc#bind that can cause symbol memory leak 2012-03-22 22:25:55 +03:00
Aaron Patterson b6c128d6d0 remove duplicate requires. thanks @atambo 2012-03-21 16:42:28 -07:00
Aaron Patterson c7847f14fd evented listeners can subscribe to any message 2012-03-21 16:18:47 -07:00
Aaron Patterson 6989db9238 evented subscribers work 2012-03-21 16:18:47 -07:00
Aaron Patterson f08f8750a5 start / finish events are sent by the instrumenter 2012-03-21 16:18:46 -07:00
Aaron Patterson 60736fec53 push the autoloads up to requires 2012-03-21 16:18:46 -07:00
Aaron Patterson d99c790f65 split subscribers based on pattern type 2012-03-21 11:12:58 -07:00
Aaron Patterson bdf7624a59 probably should require the objects we monkey patch. 2012-03-20 10:38:43 -07:00
Aaron Patterson c317c5b25d search private and protected methods for convert_key 2012-03-20 09:58:42 -07:00
Aaron Patterson 440559f661 bigdecimal can be duped on Ruby 2.0 2012-03-20 09:51:22 -07:00
kennyj c5b3cbc7e8 Add missing require 2012-03-20 23:11:27 +09:00
FND e0ee14ed23 Provide access to logger instance within TaggedLogging blocks
this improves encapsulation, simplifying occurrences like the following:

    Rails.logger.tagged("DEBUG") { Rails.logger.debug(msg) }

... by removing the need to rely on (i.e. repeat) outer variables:

    Rails.logger.tagged("DEBUG") { |logger| logger.debug(msg) }
2012-03-19 10:49:27 +01:00
Aaron Patterson 090156adeb use empty? on the hash to avoid another method call 2012-03-16 12:15:31 -07:00
Aaron Patterson 4c8a5a0087 removed unnecessary calls to "freeze" 2012-03-16 11:50:15 -07:00
Aaron Patterson 273054d6e1 remove some mocha stubs 2012-03-16 11:24:52 -07:00
Aaron Patterson 0ae5807fa3 make stubbing Time.now easier 2012-03-16 10:36:18 -07:00
Carlos Antonio da Silva c045eebd5d Remove deprecation from AS::Deprecation behavior, some minor cleanups
* Refactor log subscriber, use select! to avoid a new object
* Remove deprecation messages related to AS::Deprecation behavior
  This was added about 2 years ago for Rails 3:
  d4c7d3fd94
* Remove some not used requires
* Refactor delegate to avoid string conversions and if statements inside each block
2012-03-16 09:01:48 -03:00
Sandeep 15404fd3da fixed - warning: assigned but unused variable - checker 2012-03-16 17:14:54 +05:30
Jon Rowe 4073505065 escape commas in paths before globbing to avoid infinite hang in Dir[] 2012-03-15 12:21:20 +00:00
Aaron Patterson 7f40b9cd42 make the tagged formatter extend the existing formatter 2012-03-12 11:34:02 -07:00
Aaron Patterson 0f5b32cd08 Merge pull request #5394 from erichmenge/master
retrieve_cache_key should work on objects that act like arrays.
2012-03-12 10:33:50 -07:00
Erich Menge be623677a3 Allow retrieve_cache_key to work on collections such as ActiveRecord::Relation. 2012-03-12 12:29:30 -05:00
Pan Thomakos 6b480d2e82 Improved ActiveSupport::Autoload performance.
`ActiveSupport::Autoload#autoload` performance is improved in the default
case where a path is present. Since the full path name is not generated, it
isn't necessary to determine the full constant name either. This results in a
3x performance gain and reduces the number of Ruby objects generated. For a full
benchmark check [this gist](https://gist.github.com/2020228).
2012-03-11 23:26:48 -07:00
Vishnu Atrai 82a62b804c remove unused require from AS/core_ext/class/delegating_att.rb 2012-03-10 18:02:08 +05:30
Vijay Dev acc7e50385 Merge pull request #5349 from rafaelfranca/changelog-fix
Fix my name in the CHANGELOG to follow the convention
2012-03-08 22:29:55 -08:00
Rafael Mendonça França d804790634 Fix my name in the CHANGELOG to follow the convention
Also add missing entries and use the formating convention
2012-03-09 00:54:21 -03:00
Rafael Mendonça França 9f69f01569 Remove warning of unused variable 2012-03-08 23:58:05 -03:00
Aaron Patterson 085cb3b9af Merge pull request #5287 from nashby/hash-slice-extract
refactor Hash#slice and Hash#extract!
2012-03-08 09:54:34 -08:00
José Valim d1a4faf61f Ensure load hooks can be called more than once with different contexts. 2012-03-06 22:05:07 +01:00
Vijay Dev 7c90d91c3c Clean up module docs [ci skip]
Removed some useless docstrings and no-doc'ed some.
2012-03-07 01:04:14 +05:30