José Valim
f28fc9349b
Revert "AS::Callbacks: remove __define_runner"
...
Runners are used internally.
This reverts commit 40c8aa706adbb60ff9d289016fb9020d48969fea.
2012-01-04 21:26:50 +01:00
Sergey Nartimov
ce2c4c977c
simplify Class#descendants using singleton_class method
2012-01-04 21:51:39 +03:00
Aaron Patterson
cf32a59ed6
Merge pull request #4298 from rafaelfranca/patch-2
...
Remove rescue block to require psych gem
2012-01-04 09:35:20 -08:00
Rafael Mendonça França
7d26fad384
No need to require psych since require yaml does that.
2012-01-04 14:29:13 -03:00
Rafael Mendonça França
b65bdb1527
No need to override to_yaml method in ActiveSupport::TimeWithZone
2012-01-04 14:16:48 -03:00
Rafael Mendonça França
25c76ec8e2
No need to override to_yaml method in ActiveSupport::OrderedHash
2012-01-04 14:15:11 -03:00
Rafael Mendonça França
ae7dcb4bec
No need to override the to_yaml method in ActiveSupporte::SafeBuffer
2012-01-04 14:14:16 -03:00
Rafael Mendonça França
d8ed247c7f
No need to override the to_yaml method in BigDecimal
2012-01-04 14:10:55 -03:00
Karunakar (Ruby)
a19f8b5ca0
using the active support logger
2012-01-04 22:12:25 +05:30
Rafael Mendonça França
761b049b2e
No need to use rescue block to require psych
2012-01-04 13:30:57 -03:00
Rafael Mendonça França
0bf51e9805
No need to check if YAML::ENGINE is defined since ruby 1.9 does that
2012-01-04 13:21:54 -03:00
Rafael Mendonça França
38b9fbf1d9
Whitespaces ✂️
2012-01-04 12:39:28 -03:00
Rafael Mendonça França
73a0f9df47
Add test to make sure that add two safe buffers always return a safe buffer
2012-01-04 12:37:20 -03:00
Sergey Nartimov
2f8a7edadb
use correct variant of checking whether class is a singleton
2012-01-03 23:44:56 +03:00
Xavier Noria
e04232e904
Merge pull request #4250 from lest/range-json
...
use #to_s to convert Range to json
2012-01-02 13:53:52 -08:00
José Valim
44df252382
Merge pull request #4252 from lest/deprecate-activesupport-base64
...
remove ActiveSupport::Base64 in favor of ::Base64
2012-01-02 11:54:00 -08:00
Sergey Nartimov
0f2f8003d2
remove ActiveSupport::Base64 in favor of ::Base64
2012-01-02 22:48:15 +03:00
José Valim
6f44fa0a8a
Merge pull request #4251 from castlerock/rename_ruby_debug_to_ruby_debug19
...
rename ruby-debug to ruby-debug19
2012-01-01 10:35:28 -08:00
Vijay Dev
881ca628b0
fix a warning about grouped expressions
2012-01-01 23:01:28 +05:30
Sergey Nartimov
dc05914be7
use #to_s to convert Range to json
2012-01-01 20:16:10 +03:00
Vishnu Atrai
423dd88d62
rename ruby-debug to ruby-debug19
2012-01-01 22:40:23 +05:30
Vijay Dev
f3e079e8b5
Merge pull request #4248 from andrew/2012
...
Updated copyright notices for 2012
2011-12-31 12:48:19 -08:00
Andrew Nesbitt
1b413510fe
Updated copyright notices for 2012
2011-12-31 20:30:08 +00:00
Vishnu Atrai
c20a74da4f
MiniTest condition removed
2011-12-31 13:52:37 +05:30
José Valim
7c55d6977c
Merge pull request #4235 from castlerock/remove_ruby_18_BasicObject
...
ruby 1.8 ActiveSupport BasicObject no longer available
2011-12-30 10:59:14 -08:00
Vishnu Atrai
7249f94e6c
remove condition since to_time always available in ruby19 DateTime
2011-12-31 00:15:21 +05:30
Vishnu Atrai
e734f001d3
ruby 1.8 ActiveSupport BasicObject no longer available
2011-12-30 23:45:57 +05:30
José Valim
4b99732552
Merge pull request #4233 from bogdan/remove_define_runner
...
AS::Callbacks: remove __define_runner
2011-12-30 04:43:45 -08:00
Xavier Noria
9fa59ca208
adds a comments that clarifies why Range#include? chooses the comparison operator
2011-12-30 02:18:07 -08:00
Xavier Noria
edfe7d8013
Merge pull request #4229 from lest/range-include
...
refactor Range#include? to handle ranges with floats
2011-12-30 02:13:37 -08:00
Bogdan Gusiev
2a78886a1d
AS::Callbacks: remove __define_runner
2011-12-30 10:53:46 +02:00
Vasiliy Ermolovich
6e5ab54b60
remove ruby 1.8 checking in constantize method
2011-12-29 16:01:10 +03:00
Sergey Nartimov
952e9d9005
refactor Range#include? to handle ranges with floats
2011-12-29 13:26:52 +03:00
Jon Leighton
9bae926ff2
Revert "Merge pull request #4220 from bensie/singleton-class-master"
...
This reverts commit 90df0d4f687596943bda108ab0b98dd99cacd46b, reversing
changes made to 5e6fc81d63837559a393c173eade281ddeb687dd.
Reason: build breakage
2011-12-28 18:27:41 +00:00
Aaron Patterson
afe6e059ea
Merge pull request #4207 from nashby/deprecate-base64-encode64s
...
deprecate Base64.encode64s from AS
2011-12-28 10:22:48 -08:00
James Miller
cdf7a6013d
Further simplify singleton_class checking in class_attribute
2011-12-28 09:19:46 -08:00
Bogdan Gusiev
99433e4ce5
Refactor AS::Callbacks
...
Extracted `__reset_runner` from `__define_runner`
And call it in proper places
2011-12-28 18:03:18 +02:00
Vasiliy Ermolovich
a19d0f5a66
deprecate Base64.encode64s from AS. Use Base64.strict_encode64 instead
2011-12-27 22:46:44 +03:00
Santiago Pastorino
01cde1da6c
Merge pull request #4198 from castlerock/remove_GC_checks_for_ruby19
...
remove conditions for GC::Profiler in ruby19
2011-12-27 04:39:22 -08:00
Miguel Camba
971d257cdd
Removed RUBY_ENGINE checks for ruby18
2011-12-27 07:52:41 +01:00
Vishnu Atrai
af404acf9f
remove conditions for GC::Profiler in ruby19
2011-12-27 08:46:03 +05:30
Santiago Pastorino
3e4d0daedf
Merge pull request #4195 from castlerock/remove_19_condition_for_GC_Profiler
...
GC::Profiler available in ruby19
2011-12-26 14:03:56 -08:00
José Valim
28b008bae3
Merge pull request #4197 from nashby/refactor-range-include
...
refactor Range#include? for range value
2011-12-26 12:23:36 -08:00
Vasiliy Ermolovich
3f642c9d18
refactor Range#include? for range value
2011-12-26 23:07:27 +03:00
Vishnu Atrai
2443b65101
GC::Profiler available in ruby19
2011-12-27 00:00:22 +05:30
Vishnu Atrai
306c44d284
remove ForClassicTestUnit support for ruby 1.8
2011-12-26 23:32:56 +05:30
Vasiliy Ermolovich
2ba1f46000
remove rexml security fix for rubies 1.8
2011-12-26 19:50:29 +03:00
Xavier Noria
63e14a7969
Merge pull request #4118 from nashby/remove-file-to-path
...
remove File#to_path alias
2011-12-26 01:28:12 -08:00
Bogdan Gusiev
7e75dc5d86
AS::Callbacks: improved __define_runner performance
2011-12-25 22:23:16 +02:00
Vasiliy Ermolovich
a7ba8e1fb3
remove File#to_path alias
2011-12-25 22:22:22 +03:00