diff options
author | Akira Matsuda <ronnie@dio.jp> | 2011-03-07 06:18:32 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2011-03-07 06:18:32 +0900 |
commit | 071ddb82812d1336450c9cbc6b317d5edfff3731 (patch) | |
tree | 74dd703eccc7d8351fa2c421dab8a6584b09db84 /activesupport/lib | |
parent | 5bed37779acea804af0bf5efd25839ef5c1e2cdd (diff) | |
download | rails-071ddb82812d1336450c9cbc6b317d5edfff3731.tar.gz rails-071ddb82812d1336450c9cbc6b317d5edfff3731.tar.bz2 rails-071ddb82812d1336450c9cbc6b317d5edfff3731.zip |
more "SSL everywhere" for GitHub URLs
see: https://github.com/blog/738-sidejack-prevention-phase-2-ssl-everywhere
Diffstat (limited to 'activesupport/lib')
-rw-r--r-- | activesupport/lib/active_support/core_ext/array/random_access.rb | 4 | ||||
-rw-r--r-- | activesupport/lib/active_support/testing/pending.rb | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/activesupport/lib/active_support/core_ext/array/random_access.rb b/activesupport/lib/active_support/core_ext/array/random_access.rb index 9a6b5e9b79..ab1fa7cd5b 100644 --- a/activesupport/lib/active_support/core_ext/array/random_access.rb +++ b/activesupport/lib/active_support/core_ext/array/random_access.rb @@ -1,5 +1,5 @@ class Array - # Backport of Array#sample based on Marc-Andre Lafortune's http://github.com/marcandre/backports/ + # Backport of Array#sample based on Marc-Andre Lafortune's https://github.com/marcandre/backports/ # Returns a random element or +n+ random elements from the array. # If the array is empty and +n+ is nil, returns <tt>nil</tt>. if +n+ is passed, returns <tt>[]</tt>. # @@ -24,4 +24,4 @@ class Array result[n..size] = [] result end unless method_defined? :sample -end
\ No newline at end of file +end diff --git a/activesupport/lib/active_support/testing/pending.rb b/activesupport/lib/active_support/testing/pending.rb index 39d1f50125..3d119e2fba 100644 --- a/activesupport/lib/active_support/testing/pending.rb +++ b/activesupport/lib/active_support/testing/pending.rb @@ -1,5 +1,5 @@ # Some code from jeremymcanally's "pending" -# http://github.com/jeremymcanally/pending/tree/master +# https://github.com/jeremymcanally/pending/tree/master module ActiveSupport module Testing @@ -45,4 +45,4 @@ module ActiveSupport end end -end
\ No newline at end of file +end |