Skip to content

Commit

Permalink
licenses
Browse files Browse the repository at this point in the history
  • Loading branch information
kristina committed Aug 26, 2009
1 parent 520484b commit 0fc9151
Show file tree
Hide file tree
Showing 10 changed files with 161 additions and 2 deletions.
16 changes: 16 additions & 0 deletions lib/MongoDB.pm
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
#
# Copyright 2009 10gen, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

use strict;
use warnings;

Expand Down
18 changes: 17 additions & 1 deletion lib/MongoDB/Collection.pm
Original file line number Diff line number Diff line change
@@ -1,7 +1,23 @@
#
# Copyright 2009 10gen, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

package MongoDB::Collection;
# ABSTRACT: A Mongo Collection
use Tie::IxHash;

use Tie::IxHash;
use Any::Moose;

has _database => (
Expand Down
16 changes: 16 additions & 0 deletions lib/MongoDB/Connection.pm
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
#
# Copyright 2009 10gen, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

package MongoDB::Connection;
# ABSTRACT: A connection to a Mongo server

Expand Down
16 changes: 16 additions & 0 deletions lib/MongoDB/Cursor.pm
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
#
# Copyright 2009 10gen, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

package MongoDB::Cursor;
# ABSTRACT: A cursor/iterator for Mongo query results

Expand Down
16 changes: 16 additions & 0 deletions lib/MongoDB/Database.pm
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
#
# Copyright 2009 10gen, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

package MongoDB::Database;
# ABSTRACT: A Mongo Database

Expand Down
16 changes: 16 additions & 0 deletions lib/MongoDB/OID.pm
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
#
# Copyright 2009 10gen, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

package MongoDB::OID;
# ABSTRACT: A Mongo Object ID

Expand Down
16 changes: 16 additions & 0 deletions xs/Connection.xs
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/*
* Copyright 2009 10gen, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

#include "perl_mongo.h"
#include "mongo_link.h"

Expand Down
16 changes: 16 additions & 0 deletions xs/Cursor.xs
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/*
* Copyright 2009 10gen, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

#include "perl_mongo.h"
#include "mongo_link.h"

Expand Down
16 changes: 16 additions & 0 deletions xs/Mongo.xs
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/*
* Copyright 2009 10gen, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

#include "perl_mongo.h"

int request_id;
Expand Down
17 changes: 16 additions & 1 deletion xs/OID.xs
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
#include "perl_mongo.h"
/*
* Copyright 2009 10gen, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

#include "perl_mongo.h"

MODULE = MongoDB::OID PACKAGE = MongoDB::OID

Expand Down

0 comments on commit 0fc9151

Please sign in to comment.