Skip to content

Commit 26d5360

Browse files
committed
Add copyright notices for pr h2non#102
1 parent 7017810 commit 26d5360

File tree

7 files changed

+111
-0
lines changed

7 files changed

+111
-0
lines changed

NOTICE

+9
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,12 @@ Files modified by dlacher to support predicate logic (https://github.com/h2non/j
33
- jsonpath_ng/ext/iterable.py
44
- jsonpath_ng/ext/parser.py
55
- 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/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_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)