Skip to content

Commit c1b1f1f

Browse files
Merge pull request #2 from aerospike-community/copyright
Add copyright notices for pr h2non#21 and 102
2 parents 7f3bc45 + 26d5360 commit c1b1f1f

11 files changed

+130
-0
lines changed

NOTICE

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Files modified by dlacher to support predicate logic (https://github.com/h2non/jsonpath-ng/pull/21):
2+
- jsonpath_ng/ext/filter.py
3+
- jsonpath_ng/ext/iterable.py
4+
- jsonpath_ng/ext/parser.py
5+
- tests/test_jsonpath_rw_ext.py
6+
7+
Files modified by elrandira to support commas for index accesses and steps in slices
8+
(https://github.com/h2non/jsonpath-ng/pull/102):
9+
- jsonpath_ng/jsonpath.py
10+
- jsonpath_ng/parser.py
11+
- tests/test_create.py
12+
- tests/test_examples.py
13+
- tests/test_jsonpath.py
14+
- tests/test_parser.py

jsonpath_ng/ext/filter.py

+4
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
1111
# License for the specific language governing permissions and limitations
1212
# under the License.
13+
#
14+
# NOTICE:
15+
# modified by dlacher to support predicate logic: https://github.com/h2non/jsonpath-ng/pull/21
16+
#
1317

1418
import operator
1519
import re

jsonpath_ng/ext/iterable.py

+4
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
1111
# License for the specific language governing permissions and limitations
1212
# under the License.
13+
#
14+
# NOTICE:
15+
# modified by dlacher to support predicate logic: https://github.com/h2non/jsonpath-ng/pull/21
16+
#
1317

1418
import functools
1519
from .. import This, DatumInContext, JSONPath

jsonpath_ng/ext/parser.py

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
1111
# License for the specific language governing permissions and limitations
1212
# under the License.
13+
#
14+
# NOTICE:
15+
# modified by dlacher to support predicate logic: https://github.com/h2non/jsonpath-ng/pull/21
1316

1417
from .. import lexer
1518
from .. import parser

jsonpath_ng/jsonpath.py

+17
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
#
2+
# Licensed under the Apache License, Version 2.0 (the "License"); you may
3+
# not use this file except in compliance with the License. You may obtain
4+
# a copy of the License at
5+
#
6+
# http://www.apache.org/licenses/LICENSE-2.0
7+
#
8+
# Unless required by applicable law or agreed to in writing, software
9+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
10+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
11+
# License for the specific language governing permissions and limitations
12+
# under the License.
13+
#
14+
# NOTICE:
15+
# modified by elrandira to support commas for index accesses and steps in slices
16+
# https://github.com/h2non/jsonpath-ng/pull/102
17+
118
from __future__ import unicode_literals, print_function, absolute_import, division, generators, nested_scopes
219
import logging
320
import six

jsonpath_ng/parser.py

+17
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
#
2+
# Licensed under the Apache License, Version 2.0 (the "License"); you may
3+
# not use this file except in compliance with the License. You may obtain
4+
# a copy of the License at
5+
#
6+
# http://www.apache.org/licenses/LICENSE-2.0
7+
#
8+
# Unless required by applicable law or agreed to in writing, software
9+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
10+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
11+
# License for the specific language governing permissions and limitations
12+
# under the License.
13+
#
14+
# NOTICE:
15+
# modified by elrandira to support commas for index accesses and steps in slices
16+
# https://github.com/h2non/jsonpath-ng/pull/102
17+
118
from __future__ import (
219
print_function,
320
absolute_import,

tests/test_create.py

+17
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
#
2+
# Licensed under the Apache License, Version 2.0 (the "License"); you may
3+
# not use this file except in compliance with the License. You may obtain
4+
# a copy of the License at
5+
#
6+
# http://www.apache.org/licenses/LICENSE-2.0
7+
#
8+
# Unless required by applicable law or agreed to in writing, software
9+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
10+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
11+
# License for the specific language governing permissions and limitations
12+
# under the License.
13+
#
14+
# NOTICE:
15+
# modified by elrandira to support commas for index accesses and steps in slices
16+
# https://github.com/h2non/jsonpath-ng/pull/102
17+
118
import doctest
219
from collections import namedtuple
320

tests/test_examples.py

+17
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
#
2+
# Licensed under the Apache License, Version 2.0 (the "License"); you may
3+
# not use this file except in compliance with the License. You may obtain
4+
# a copy of the License at
5+
#
6+
# http://www.apache.org/licenses/LICENSE-2.0
7+
#
8+
# Unless required by applicable law or agreed to in writing, software
9+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
10+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
11+
# License for the specific language governing permissions and limitations
12+
# under the License.
13+
#
14+
# NOTICE:
15+
# modified by elrandira to support commas for index accesses
16+
# https://github.com/h2non/jsonpath-ng/pull/102
17+
118
import pytest
219

320
from jsonpath_ng.ext.filter import Filter, Expression

tests/test_jsonpath.py

+17
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
#
2+
# Licensed under the Apache License, Version 2.0 (the "License"); you may
3+
# not use this file except in compliance with the License. You may obtain
4+
# a copy of the License at
5+
#
6+
# http://www.apache.org/licenses/LICENSE-2.0
7+
#
8+
# Unless required by applicable law or agreed to in writing, software
9+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
10+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
11+
# License for the specific language governing permissions and limitations
12+
# under the License.
13+
#
14+
# NOTICE:
15+
# modified by elrandira to support commas for index accesses and steps in slices
16+
# https://github.com/h2non/jsonpath-ng/pull/102
17+
118
from __future__ import unicode_literals, print_function, absolute_import, division, generators, nested_scopes
219
import unittest
320

tests/test_jsonpath_rw_ext.py

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
1212
# License for the specific language governing permissions and limitations
1313
# under the License.
14+
#
15+
# NOTICE:
16+
# modified by dlacher to support predicate logic: https://github.com/h2non/jsonpath-ng/pull/21
1417

1518
"""
1619
test_jsonpath_ng_ext

tests/test_parser.py

+17
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
#
2+
# Licensed under the Apache License, Version 2.0 (the "License"); you may
3+
# not use this file except in compliance with the License. You may obtain
4+
# a copy of the License at
5+
#
6+
# http://www.apache.org/licenses/LICENSE-2.0
7+
#
8+
# Unless required by applicable law or agreed to in writing, software
9+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
10+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
11+
# License for the specific language governing permissions and limitations
12+
# under the License.
13+
#
14+
# NOTICE:
15+
# modified by elrandira to support commas for index accesses
16+
# https://github.com/h2non/jsonpath-ng/pull/102
17+
118
from __future__ import unicode_literals, print_function, absolute_import, division, generators, nested_scopes
219
import unittest
320

0 commit comments

Comments
 (0)