Skip to content
This repository was archived by the owner on Aug 12, 2022. It is now read-only.

link from http to https #279

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
source "http://rubygems.org"
source "https://rubygems.org"
gem "haml-coderay"
gem "middleman", "~> 3.0.0"
gem "middleman-smusher"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Documentation

These are the source files that power mongoid.org. It is a
[middleman](http://middlemanapp.com) powered static page.
[middleman](https://middlemanapp.com) powered static page.

# Contributing

Expand Down
8 changes: 4 additions & 4 deletions source/en/mongoid/docs/contributing.haml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
%h2 Core Contributions

%p
Fork the <a href="http://github.com/mongoid/mongoid">repo on github</a>
Fork the <a href="https://github.com/mongoid/mongoid">repo on github</a>
and issue a pull request with your changes. No
other means of supplying code to the team will be accepted.

Expand Down Expand Up @@ -144,7 +144,7 @@
Mongoid has the design philosophy of having many fine grained, single purpose
objects in its domain. It makes the design more flexible and much easier to
test. If you find yourself refactoring at all,
<a href="http://www.refactoring.com/catalog/extractClass.html">extract class</a>
<a href="https://www.refactoring.com/catalog/extractClass.html">extract class</a>
is always a good refactoring technique to have in mind.

%p
Expand Down Expand Up @@ -205,7 +205,7 @@

%p
Ensure to write good descriptive commit messages, and follow the parameters
set forth <a href="http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html">
set forth <a href="https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html">
here</a> by Tim Pope using which are the same standards as the linux kernel.

%section#documentation
Expand All @@ -217,7 +217,7 @@
documentation are always welcome. The same rules apply here:

%p
Fork the <a href="http://github.com/mongoid/mongoid-site">repo on github</a>
Fork the <a href="https://github.com/mongoid/mongoid-site">repo on github</a>
and issue a pull request with your changes. No
other means of supplying code to the team will be accepted.

Expand Down
2 changes: 1 addition & 1 deletion source/en/mongoid/docs/documents.haml
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@

%p
When using a field of type <code>Hash</code>, be wary of adhering to the
= link_to "legal key names for mongoDB", "http://www.mongodb.org/display/DOCS/Legal+Key+Names"
= link_to "legal key names for mongoDB", "https://www.mongodb.org/display/DOCS/Legal+Key+Names"
, or else the values will not store properly.

:coderay
Expand Down
2 changes: 1 addition & 1 deletion source/en/mongoid/docs/persistence.haml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
%p
Mongoid supports all expected <tt>CRUD</tt> operations for those familiar
with other Ruby mappers like
<a href="http://rubyonrails.org/">Active Record</a> or
<a href="https://rubyonrails.org/">Active Record</a> or
<a href="https://datamapper.org">Data Mapper</a>.
What distinguishes Mongoid from other mappers for MongoDB is that the
general persistence operations perform atomic
Expand Down
2 changes: 1 addition & 1 deletion source/en/mongoid/docs/rails.haml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
%p
For a sample Rails application and examples of domain modeling, please see
the Mongoid demo application,
<a href="http://github.com/mongoid/echo">Echo</a>. Note that currently the
<a href="https://github.com/mongoid/echo">Echo</a>. Note that currently the
application is only models and specs.

.page-nav
Expand Down
12 changes: 6 additions & 6 deletions source/en/mongoid/docs/tips.haml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@
data types used in the MongoDB wire protocol. All data sent via the wire protocol,
as well as the BSON specification itself use little endian and the ability to decode
32 bit and 64 bit signed longs and ints did not arrive in Ruby until this
version. See <a href="http://ruby-doc.org/core-1.9.3/String.html#method-i-unpack">
version. See <a href="https://ruby-doc.org/core-1.9.3/String.html#method-i-unpack">
<code>String#unpack</code></a> and
<a href="http://www.mongodb.org/display/DOCS/Mongo+Wire+Protocol">Mongo Wire Protocol</a>
<a href="https://www.mongodb.org/display/DOCS/Mongo+Wire+Protocol">Mongo Wire Protocol</a>
for more detailed information.

%p
Expand All @@ -55,7 +55,7 @@
run on 1.9.3 in your applications. First, you will need to upgrade to the
Cedar stack, and then you will need to specify 1.9.3 as your Ruby in your
application's <code>Gemfile</code>.
See <a href="http://blog.heroku.com/archives/2012/5/9/multiple_ruby_version_support_on_heroku/">
See <a href="https://blog.heroku.com/archives/2012/5/9/multiple_ruby_version_support_on_heroku/">
Multiple Rubies on Heroku</a> for instructions on making this migration.

%section#count_performance
Expand All @@ -76,8 +76,8 @@
which can easily cripple application performance.

%ul
%li See: <a href="http://jira.mongodb.org/browse/SERVER-1752">SERVER-1752</a>
%li See: <a href="http://jira.mongodb.org/browse/SERVER-2274">SERVER-2274</a>
%li See: <a href="https://jira.mongodb.org/browse/SERVER-1752">SERVER-1752</a>
%li See: <a href="https://jira.mongodb.org/browse/SERVER-2274">SERVER-2274</a>

%section#reorder_embedded
%h2 Reordering Embedded Documents
Expand Down Expand Up @@ -118,7 +118,7 @@
embedded documents in another process. If you were to do so, Mongoid would
be updating the incorrect field. It is recommended until this is fixed that
you sort your documents in memory and leave the underlying order untouched.
See <a href="http://jira.mongodb.org/browse/SERVER-831">SERVER-831</a> for
See <a href="https://jira.mongodb.org/browse/SERVER-831">SERVER-831</a> for
more information.

%section#gridfs
Expand Down
36 changes: 18 additions & 18 deletions source/en/mongoid/docs/upgrading.haml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
%p
Use this as a reference when upgrading between Mongoid versions.
You can always reference the
<a href="http://github.com/mongoid/mongoid/blob/master/CHANGELOG.md">
<a href="https://github.com/mongoid/mongoid/blob/master/CHANGELOG.md">
<code>CHANGELOG</code></a> for bug fixes, new features, and major changes
between versions.

Expand All @@ -18,7 +18,7 @@
%td.achtung= image_tag "/images/achtung.png"
%td.note
Mongoid follows versioning guidelines as outlined by the
<a href="http://semver.org/">Semantic Versioning Specification</a>, so
<a href="https://semver.org/">Semantic Versioning Specification</a>, so
you can expect only backwards incompatible changes in major versions.

%h2 Upgrading to 3.0
Expand Down Expand Up @@ -100,7 +100,7 @@

%li
%i.icon-warning-sign
<a href="http://github.com/mongoid/mongoid/issues/1865">#1865</a>
<a href="https://github.com/mongoid/mongoid/issues/1865">#1865</a>
<code>count</code> on the memory and mongo contexts now behave exactly the
same as Ruby's <code>count</code> on enumerable, and can take an object or a block.
This is optimized on the mongo context not to load everything in memory
Expand Down Expand Up @@ -181,47 +181,47 @@

%li
%i.icon-warning-sign
<a href="http://github.com/mongoid/mongoid/issues/1734">#1734</a>
<a href="https://github.com/mongoid/mongoid/issues/1734">#1734</a>
When searching for documents via <code>Model.find</code> with multiple ids,
Mongoid will raise an error if not <i>all</i> ids are found, and tell you
what the missing ones were. Previously the error only got raised if
nothing was returned.

%li
%i.icon-warning-sign
<a href="http://github.com/mongoid/mongoid/issues/1675">#1675</a>
<a href="https://github.com/mongoid/mongoid/issues/1675">#1675</a>
Adding presence validation on a relation now enables autosave.
This is to ensure that when a new parent object is saved with a new
child and marked is valid, both are persisted to ensure a correct
state in the database.

%li
%i.icon-warning-sign
<a href="http://github.com/mongoid/mongoid/issues/1484">#1484</a>
<a href="https://github.com/mongoid/mongoid/issues/1484">#1484</a>
<code>Model#has_attribute?</code> now behaves the same as Active Record.

%li
%i.icon-warning-sign
<a href="http://github.com/mongoid/mongoid/issues/1475">#1475</a>
<a href="https://github.com/mongoid/mongoid/issues/1475">#1475</a>
Active Support's time zone is now used by default in time
serialization if it is defined.

%li
%i.icon-warning-sign
<a href="http://github.com/mongoid/mongoid/issues/1471">#1471</a>
<a href="https://github.com/mongoid/mongoid/issues/1471">#1471</a>
Mongoid no longer strips any level of precision off of times.

%li
%i.icon-warning-sign
<a href="http://github.com/mongoid/mongoid/issues/1342">#1342</a>
<a href="https://github.com/mongoid/mongoid/issues/1342">#1342</a>
<code>Model.find</code> and <code>model.relation.find</code> now only
take a single or multiple ids. <code>Model.first</code>, <code>Model.last</code>
also no longer take arguments. For these use <code>Model.find_by</code>
instead.

%li
%i.icon-warning-sign
<a href="http://github.com/mongoid/mongoid/issues/1291">#1291</a>
<a href="https://github.com/mongoid/mongoid/issues/1291">#1291</a>
The <code>mongoid.yml</code> has been revamped completely, and upgrading
existing applications will greet you with some lovely Mongoid specific
configuration errors. You can re-generate a new mongoid.yml via the
Expand All @@ -230,7 +230,7 @@

%li
%i.icon-warning-sign
<a href="http://github.com/mongoid/mongoid/issues/1291">#1291</a>
<a href="https://github.com/mongoid/mongoid/issues/1291">#1291</a>
The <code>persist_in_safe_mode</code> configuration option has been removed.
You must now tell a database session in the mongoid.yml whether or not
it should persist in safe mode by default.
Expand All @@ -250,7 +250,7 @@

%li
%i.icon-warning-sign
<a href="http://github.com/mongoid/mongoid/issues/1291">#1291</a>
<a href="https://github.com/mongoid/mongoid/issues/1291">#1291</a>
<code>safely</code> and <code>unsafely</code> have been removed.
Please now use <code>with</code> to provide safe mode options at runtime.

Expand All @@ -262,21 +262,21 @@

%li
%i.icon-warning-sign
<a href="http://github.com/mongoid/mongoid/issues/1270">#1270</a>
<a href="https://github.com/mongoid/mongoid/issues/1270">#1270</a>
Relation macros have been changed to match their AR counterparts:
only <code>:has_one</code>, <code>:has_many</code>,
<code>:has_and_belongs_to_many</code>, and <code>:belongs_to</code>
exist now.

%li
%i.icon-warning-sign
<a href="http://github.com/mongoid/mongoid/issues/1268">#1268</a>
<a href="https://github.com/mongoid/mongoid/issues/1268">#1268</a>
<code>Model#new?</code> has been removed, developers must now always use
<code>Model#new_record?</code>.

%li
%i.icon-warning-sign
<a href="http://github.com/mongoid/mongoid/issues/1182">#1182</a>
<a href="https://github.com/mongoid/mongoid/issues/1182">#1182</a>
A reload is no longer required to refresh a relation after setting
the value of the foreign key field for it. Note this behaves exactly as
Active Record.
Expand All @@ -295,7 +295,7 @@

%li
%i.icon-warning-sign
<a href="http://github.com/mongoid/mongoid/issues/1093">#1093</a>
<a href="https://github.com/mongoid/mongoid/issues/1093">#1093</a>
Field serialization strategies have changed on Array, Hash, Integer
and Boolean to be more consistent and match AR where appropriate.

Expand All @@ -313,13 +313,13 @@

%li
%i.icon-warning-sign
<a href="http://github.com/mongoid/mongoid/issues/933">#933</a>
<a href="https://github.com/mongoid/mongoid/issues/933">#933</a>
<code>:field.size</code> has been renamed to <code>:field.with_size</code>
in criteria for $size not to conflict with Symbol's size method.

%li
%i.icon-warning-sign
<a href="http://github.com/mongoid/mongoid/issues/797">#797</a>
<a href="https://github.com/mongoid/mongoid/issues/797">#797</a>
Mongoid scoping code has been completely rewritten, and now
matches the Active Record API. With this backwards incompatible change,
some methods have been removed or renamed.
Expand Down
2 changes: 1 addition & 1 deletion source/en/mongoid/docs/validation.haml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
validation plus an additional associated and uniqueness validator.

%p
See <code>#{link_to "ActiveModel::Validations", "http://github.com/rails/rails/blob/master/activemodel/lib/active_model/validations.rb"}</code> documentation for more information.
See <code>#{link_to "ActiveModel::Validations", "https://github.com/rails/rails/blob/master/activemodel/lib/active_model/validations.rb"}</code> documentation for more information.

.well
%table
Expand Down
16 changes: 8 additions & 8 deletions source/en/mongoid/donate.haml
Original file line number Diff line number Diff line change
Expand Up @@ -21,22 +21,22 @@

%ul.highlight
%li
<a href="http://github.com/mongoid/mongoid">Mongoid</a>:
<a href="https://github.com/mongoid/mongoid">Mongoid</a>:
The core Ruby ODM for MongoDB.
%li
<a href="http://github.com/mongoid/moped">Moped</a>:
<a href="https://github.com/mongoid/moped">Moped</a>:
Our pure Ruby driver for MongoDB.
%li
<a href="http://github.com/mongoid/origin">Origin</a>:
<a href="https://github.com/mongoid/origin">Origin</a>:
A DSL for generating MongoDB queries.
%li
<a href="http://github.com/mongoid/moped-turbo">Moped-Turbo</a> (in development):
<a href="https://github.com/mongoid/moped-turbo">Moped-Turbo</a> (in development):
C Extensions for Moped.
%li
<a href="http://github.com/mongoid/evolver">Evolver</a> (in development):
<a href="https://github.com/mongoid/evolver">Evolver</a> (in development):
Rails migrations for MongoDB.
%li
<a href="http://github.com/mongoid/scooter">Scooter</a> (in development):
<a href="https://github.com/mongoid/scooter">Scooter</a> (in development):
An asynchronous JVM driver for MongoDB.

1 day a week is simply not enough time to keep up with all the needed work for
Expand All @@ -63,6 +63,6 @@
sending donations if you do not wish to be anonymous<i></span>.

.well
= link_to "http://www.pledgie.com/campaigns/7757" do
<img alt='Click here to lend your support to: Mongoid' src='http://www.pledgie.com/campaigns/7757.png?skin_name=chrome' border='0'/>
= link_to "https://www.pledgie.com/campaigns/7757" do
<img alt='Click here to lend your support to: Mongoid' src='https://www.pledgie.com/campaigns/7757.png?skin_name=chrome' border='0'/>
<a class="wepay-widget-button wepay-green" id="wepay_widget_anchor_50813546b6bda" href="https://www.wepay.com/donations/53299">Donate via WePAY</a><script type="text/javascript">var WePay = WePay || {};WePay.load_widgets = WePay.load_widgets || function() { };WePay.widgets = WePay.widgets || [];WePay.widgets.push( {object_id: 53299,widget_type: "donation_campaign",anchor_id: "wepay_widget_anchor_50813546b6bda",widget_options: {list_suggested_donations: true,allow_cover_fee: true,enable_recurring: true,allow_anonymous: true,button_text: "Donate via WePAY"}});if (!WePay.script) {WePay.script = document.createElement('script');WePay.script.type = 'text/javascript';WePay.script.async = true;WePay.script.src = 'https://static.wepay.com/min/js/widgets.v2.js';var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(WePay.script, s);} else if (WePay.load_widgets) {WePay.load_widgets();}</script>
4 changes: 2 additions & 2 deletions source/en/mongoid/index.haml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@

%p
Mongoid (pronounced mann-goyd) is an Object-Document-Mapper (ODM) for
<a href="http://mongodb.org">MongoDB</a> written in Ruby. It was conceived in August,
<a href="https://mongodb.org">MongoDB</a> written in Ruby. It was conceived in August,
2009 during a whiskey-induced evening at the infamous Oasis in Florida,
USA by <a href="http://github.com/durran">Durran Jordan</a>.
USA by <a href="https://github.com/durran">Durran Jordan</a>.

%p
The philosophy of Mongoid is to provide a familiar API to Ruby developers
Expand Down
14 changes: 7 additions & 7 deletions source/en/mongoid/links.haml
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,29 @@
%h1 Links

.link-button
= link_to "http://github.com/mongoid/mongoid", rel: "tooltip", title: "Mongoid on Github." do
= link_to "https://github.com/mongoid/mongoid", rel: "tooltip", title: "Mongoid on Github." do
= image_tag "/images/dojocat.png"

.link-button.link-pad-left
= link_to "http://groups.google.com/group/mongoid", rel: "tooltip", title: "The official Google Group for Mongoid." do
= link_to "https://groups.google.com/group/mongoid", rel: "tooltip", title: "The official Google Group for Mongoid." do
= image_tag "/images/google.png"

.link-button
= link_to "http://twitter.com/modetojoy", rel: "tooltip", title: "Durran (@modetojoy) on Twitter." do
= link_to "https://twitter.com/modetojoy", rel: "tooltip", title: "Durran (@modetojoy) on Twitter." do
= image_tag "/images/twitter.png"

.link-button
= link_to "http://mongohq.com", rel: "tooltip", title: "MongoHQ provides Mongoid with databases for testing." do
= link_to "https://mongohq.com", rel: "tooltip", title: "MongoHQ provides Mongoid with databases for testing." do
= image_tag "/images/mongohq.png"

.link-button
= link_to "http://travis-ci.org/#!/mongoid/mongoid", rel: "tooltip", title: "Mongoid's continuous integration on TravisCI." do
= link_to "https://travis-ci.org/#!/mongoid/mongoid", rel: "tooltip", title: "Mongoid's continuous integration on TravisCI." do
= image_tag "/images/travis.png"

.link-button
= link_to "http://flattr.com/thing/472303/mongoid", rel: "tooltip", title: "Donate to Mongoid via Flattr." do
= link_to "https://flattr.com/thing/472303/mongoid", rel: "tooltip", title: "Donate to Mongoid via Flattr." do
= image_tag "/images/flattr.png"

.link-button
= link_to "http://rdoc.info/github/mongoid/mongoid/master/frames", rel: "tooltip", title: "API documentation on rdoc.info" do
= link_to "https://rdoc.info/github/mongoid/mongoid/master/frames", rel: "tooltip", title: "API documentation on rdoc.info" do
= image_tag "/images/rdoc.png"
Loading