Commit Graph

3113 Commits

Author SHA1 Message Date
Andrew White
cf3364a03c Raise NameError instead of ArgumentError in ActiveSupport::Dependencies
ActiveSupport::Dependencies now raises NameError if it finds an existing
constant in load_missing_constant. This better reflects the nature of
the error which is usually caused by calling constantize on a nested constant.

Closes #1423
2011-06-01 01:16:20 +01:00
Andrew White
1f34a79373 Make MemCacheStore work with Ruby 1.9 and -Ku 2011-05-31 23:31:35 +01:00
Aaron Patterson
96525d632d avoid creating range objects 2011-05-29 13:37:42 -07:00
José Valim
2fd7ea97ec Merge pull request #1378 from AndrewRadev/master
Add changelog entry for pull request #1359
2011-05-28 07:51:43 -07:00
Andrew Radev
1cd235ecdd ActiveSupport CHANGELOG entry moved to correct place 2011-05-28 17:23:45 +03:00
Andrew Radev
07a353dde1 Update CHANGELOG for ActiveSupport::OrderedHash change 2011-05-28 16:21:16 +03:00
Aaron Patterson
62d5ef0c17 Merge pull request #1346 from arunagw/jdom_file_from_xml_fix
Jdom file from xml fix
2011-05-27 11:52:43 -07:00
Andrew Radev
c9cc36bde9 Fixes minor ruby 1.8 inconsistency
ActiveSupport::OrderedHash did not behave identically to Hash when given
a block with a splat.
2011-05-27 14:04:39 +03:00
Arun Agrawal
0094351a24 Adding tests for file_from_xml for XmlMini_JDOM #jruby 2011-05-27 00:48:59 +05:30
Arun Agrawal
d16466388e Adding __content__ into XmlMini_JDOM 2011-05-27 00:47:57 +05:30
Josh Kalderimis
9cafc28874 Removed deprecated methods and related tests from ActiveSupport 2011-05-25 23:39:34 +02:00
Xavier Noria
00e1d0832e Merge branch 'master' of git://github.com/lifo/docrails
Conflicts:
	actionmailer/lib/action_mailer/base.rb
	activesupport/lib/active_support/core_ext/kernel/requires.rb
2011-05-25 22:48:47 +02:00
Franck Verrot
4633772a12 Add the MIT-LICENSE to the Active Support gemspec 2011-05-25 15:32:15 +02:00
José Valim
b3f51e3b1c Merge pull request #1239 from alindeman/master
Use set data structure to speed up circular reference checks on large/deeply nested objects
2011-05-24 12:59:06 -07:00
Vijay Dev
79e9a2983a fixes Rake::GemPackageTask deprecation warnings from rake 0.9.0 2011-05-24 23:39:24 +05:30
Aaron Patterson
ae323a51f1 Merge pull request #1247 from arunagw/loading-file
Not loading file if PLATFORM not available.
2011-05-24 09:08:38 -07:00
Aaron Patterson
4d3c30adb9 Merge pull request #1253 from arunagw/preformance_java_import
import to java_import.
2011-05-24 09:07:32 -07:00
Aaron Patterson
68d5abeaff Merge pull request #1251 from arunagw/java_import
Using java_import instead of import. Need to do this with rake 0.9.0 #jruby
2011-05-24 09:06:44 -07:00
Karunakar (Ruby)
bfb9f758ae changed http://api.rubyonrails.com to http://api.rubyonrails.org in readme files 2011-05-24 21:12:01 +05:30
Guillermo Iguaran
f4d100bb5a Prefer each instead of for on activesupport 2011-05-24 00:41:41 -05:00
Arun Agrawal
ed4f2b9862 import to java_import. 2011-05-24 10:13:27 +05:30
Arun Agrawal
89da0d3ab9 Using java_import instead of import. Need to do this with rake 0.9.0 #jruby 2011-05-24 10:07:05 +05:30
Arun Agrawal
f75df05fd1 Not loading file if PLATFORM not available. 2011-05-24 09:16:50 +05:30
Sebastian Martinez
dd6c3676af Remove extra white spaces on ActiveSupport docs. 2011-05-23 21:00:45 -03:00
Andy Lindeman
2213479a12 Use set data structure to speed up circular reference checks on large/deeply nested objects 2011-05-23 17:50:48 -04:00
Jon Leighton
1170cceaae Removed ActiveSupport::SecureRandom in favour of SecureRandom from the standard library. (It has been deprecated in the 3-1-stable branch.) 2011-05-23 20:25:44 +01:00
Jon Leighton
d411c85a65 Replace references to ActiveSupport::SecureRandom with just SecureRandom, and require 'securerandom' from the stdlib when active support is required. 2011-05-23 20:25:44 +01:00
Josh Kalderimis
2514d65ca2 Removed the AS core_ext/kernel/debugger breakpoint method as this method is added by ruby-debug and should be left as is. Missing tests added. 2011-05-23 15:44:48 +02:00
Josh Kalderimis
eff5d9aed4 Removed AS core_ext/kernel/requires as it's not used and is bad practice. 2011-05-23 15:31:33 +02:00
Vishnu Atrai
ab4dbb110d remove require active_support/tzinfo as file dosent exists #TODO fix 2011-05-22 22:08:05 +05:30
José Valim
ff55924921 Merge pull request #1202 from vatrai/todo_fix
Fix todo Time.xmlschema used instead of Time.parse
2011-05-22 06:05:52 -07:00
Vishnu Atrai
9c9f450e4f require 'time' 2011-05-22 17:16:23 +05:30
José Valim
62d9c831be Depend on I18n ~> 0.6 2011-05-22 13:38:00 +02:00
José Valim
d5646e842f Move I18n dependency back to ActiveSupport. 2011-05-22 13:31:19 +02:00
José Valim
a6e945554d Fix failing tests. 2011-05-22 13:21:47 +02:00
Vishnu Atrai
4fe6d01a3b Fix todo Time.xmlschema used instead of Time.parse 2011-05-22 11:17:32 +05:30
Vishnu Atrai
7bf9d6f3a8 test fix jdom_engine_test 2011-05-22 10:20:45 +05:30
David Heinemeier Hansson
82857adc56 Bump versions for rc1 2011-05-21 20:56:52 -05:00
dmathieu
a85e00c01c make sure missing method does not fail with arguments 2011-05-22 00:32:58 +02:00
dmathieu
29a5aeaae9 don't raise NoMethodError the tried method doesn't exists 2011-05-21 23:43:12 +02:00
José Valim
f674aed150 Merge pull request #1191 from arunagw/removal_extra
Removal require again from tests.
2011-05-21 13:08:13 -07:00
Arun Agrawal
40e33771e6 Removal require again from tests. 2011-05-22 00:55:12 +05:30
thedarkone
03cd88a072 Fix AS::Duration#duplicable? on 1.8 2011-05-21 15:32:20 +02:00
José Valim
1a959ad72f Merge pull request #1182 from prakashmurthy/patch-1
Enhanced test for duplicable in  active_support/core_ext/object/duplicable.rb
2011-05-21 04:57:36 -07:00
José Valim
26703f4905 Merge pull request #1165 from arunagw/rubyforge_remove
Not updating rubyforge for new versions.
2011-05-21 04:55:37 -07:00
Prakash Murthy
6b0dc80adc Check for Module.new.dup as well in https://github.com/rails/rails/blob/master/activesupport/lib/active_support/core_ext/object/duplicable.rb 2011-05-21 02:19:52 -07:00
Raghunadh
cd6ae26e8f fixed failing tests of ActiveSupport for deprecation test 2011-05-21 00:29:30 -07:00
Josh Kalderimis
c9b5d64ec4 corrected a minor ruby19 variable name reuse warning 2011-05-21 01:27:35 -04:00
Arun Agrawal
f72f591c8c Not updating rubyforge for new versions. Result of "gem list -d rails" is not useful. 2011-05-20 17:43:40 +05:30
José Valim
a921cab621 Merge pull request #1109 from dlee/optimize_indifferent_access
Use dup to preserve previous behavior
2011-05-18 15:04:37 -07:00