embed_xmp 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c43b6512c1799531bf8eff944a39df0a9104c37efde80baae9807877e3db7e17
4
- data.tar.gz: f6ebaa9ac5f3865587a530db76d11a2cc5b5b381511711eccd10ac492f27fe1a
3
+ metadata.gz: 2c28f5812500bc2e6c91a6c5473fc21586c3de3340c7c5a2e705ac0de3dbc3eb
4
+ data.tar.gz: cc5d2516b50cc1b76edf9b2881767ac1ffb58baa694fcb5270ca6fa0ca124353
5
5
  SHA512:
6
- metadata.gz: 8b39a208756fc270088971aa8922f046ff0bf158dcbc7f8c45252fe9f62a13640437369d53b524236218c71ac3bbb84ce975338b56b7cbe344cc0bc9b33abfcf
7
- data.tar.gz: 186975546220d9f5b565d1dd3db5ac64df4355a542bb0370a28cd1e3363db93dbed7657d42f4348e744fe0dd04ba86ac73d01e868d0f4b0014ac932b5e7441af
6
+ metadata.gz: 0dac252f1feb9ea83b0a7b438c9ba665e07f3b78f4cfb4d0743f193e238e11475f0d072452b42390123ffe42dd544192c02497c6e818ba72f0214c270454dc2d
7
+ data.tar.gz: 03413df19a4a2327b579a973186db54509a52f48cfac5e86c28aa321b2eed971b44bd668f99c788daaaaedbee369c7bd2ec106296cf52bc863a8fb2f55452af5
@@ -0,0 +1,26 @@
1
+ Copyright © 2020 Daniel Aleksandersen. All rights reserved.
2
+
3
+ Redistribution and use in source and binary forms, with or without modification,
4
+ are permitted provided that the following conditions are met:
5
+
6
+ 1. Redistributions of source code must retain the above copyright notice,
7
+ this list of conditions and the following disclaimer.
8
+
9
+ 2. Redistributions in binary form must reproduce the above copyright notice,
10
+ this list of conditions and the following disclaimer in the documentation
11
+ and/or other materials provided with the distribution.
12
+
13
+ 3. Neither the name of the copyright holder nor the names of its contributors
14
+ may be used to endorse or promote products derived from this software without
15
+ specific prior written permission.
16
+
17
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
18
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
21
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
23
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
24
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
25
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
26
+ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -3,7 +3,6 @@
3
3
 
4
4
  # Copyright 2020 Daniel Aleksandersen <https://www.daniel.priv.no/>
5
5
  # SPDX-License-Identifier: BSD-3-Clause
6
- # License-Filename: COPYING
7
6
 
8
7
  require 'embed_xmp'
9
8
 
@@ -2,7 +2,6 @@
2
2
 
3
3
  # Copyright 2020 Daniel Aleksandersen <https://www.daniel.priv.no/>
4
4
  # SPDX-License-Identifier: BSD-3-Clause
5
- # License-Filename: COPYING
6
5
 
7
6
  require 'embed_xmp/xmp'
8
7
  require 'embed_xmp/jpeg'
@@ -2,7 +2,6 @@
2
2
 
3
3
  # Copyright 2020 Daniel Aleksandersen <https://www.daniel.priv.no/>
4
4
  # SPDX-License-Identifier: BSD-3-Clause
5
- # License-Filename: COPYING
6
5
 
7
6
  class EmbedXMP
8
7
  # Basic image file representation.
@@ -2,7 +2,6 @@
2
2
 
3
3
  # Copyright 2020 Daniel Aleksandersen <https://www.daniel.priv.no/>
4
4
  # SPDX-License-Identifier: BSD-3-Clause
5
- # License-Filename: COPYING
6
5
 
7
6
  require 'embed_xmp/image_file'
8
7
 
@@ -2,7 +2,6 @@
2
2
 
3
3
  # Copyright 2020 Daniel Aleksandersen <https://www.daniel.priv.no/>
4
4
  # SPDX-License-Identifier: BSD-3-Clause
5
- # License-Filename: COPYING
6
5
 
7
6
  require 'embed_xmp/jfif'
8
7
 
@@ -2,7 +2,6 @@
2
2
 
3
3
  # Copyright 2020 Daniel Aleksandersen <https://www.daniel.priv.no/>
4
4
  # SPDX-License-Identifier: BSD-3-Clause
5
- # License-Filename: COPYING
6
5
 
7
6
  require 'digest/crc32'
8
7
 
@@ -2,7 +2,6 @@
2
2
 
3
3
  # Copyright 2020 Daniel Aleksandersen <https://www.daniel.priv.no/>
4
4
  # SPDX-License-Identifier: BSD-3-Clause
5
- # License-Filename: COPYING
6
5
 
7
6
  require 'embed_xmp/image_file'
8
7
 
@@ -2,7 +2,6 @@
2
2
 
3
3
  # Copyright 2020 Daniel Aleksandersen <https://www.daniel.priv.no/>
4
4
  # SPDX-License-Identifier: BSD-3-Clause
5
- # License-Filename: COPYING
6
5
 
7
6
  require 'nokogiri'
8
7
 
@@ -2,7 +2,6 @@
2
2
 
3
3
  # Copyright 2020 Daniel Aleksandersen <https://www.daniel.priv.no/>
4
4
  # SPDX-License-Identifier: BSD-3-Clause
5
- # License-Filename: COPYING
6
5
 
7
6
  require 'embed_xmp/riff'
8
7
 
@@ -2,7 +2,6 @@
2
2
 
3
3
  # Copyright 2020 Daniel Aleksandersen <https://www.daniel.priv.no/>
4
4
  # SPDX-License-Identifier: BSD-3-Clause
5
- # License-Filename: COPYING
6
5
 
7
6
  require 'nokogiri'
8
7
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: embed_xmp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Aleksandersen
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-27 00:00:00.000000000 Z
11
+ date: 2020-09-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: digest-crc
@@ -38,15 +38,19 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '1.10'
41
- description: Embed XMP sidecar files into image files.
41
+ description: Embed Extensible Metadata (XMP) sidecar files into image files. You must
42
+ supply your own XMP sidecar files, usually provided along with your photos, this
43
+ gem won’t help you write or validate them. The gem can be useful if you want to
44
+ embed licensing, copyright, descriptions, accessive information, or other metadata
45
+ into your photos. Supports JPEG, PNG, SVG, and WebP.
42
46
  email: code@daniel.priv.no
43
47
  executables:
44
48
  - embed_xmp
45
49
  extensions: []
46
50
  extra_rdoc_files:
47
- - COPYING
51
+ - LICENSES/BSD-3-Clause.txt
48
52
  files:
49
- - COPYING
53
+ - LICENSES/BSD-3-Clause.txt
50
54
  - bin/embed_xmp
51
55
  - lib/embed_xmp.rb
52
56
  - lib/embed_xmp/image_file.rb
@@ -57,11 +61,13 @@ files:
57
61
  - lib/embed_xmp/svg.rb
58
62
  - lib/embed_xmp/webp.rb
59
63
  - lib/embed_xmp/xmp.rb
60
- homepage:
64
+ homepage: https://www.ctrl.blog/entry/embed-xmp.html
61
65
  licenses:
62
66
  - BSD-3-Clause
63
- metadata: {}
64
- post_install_message:
67
+ metadata:
68
+ bug_tracker_uri: https://codeberg.org/da/embed_xmp/issues
69
+ source_code_uri: https://codeberg.org/da/embed_xmp
70
+ post_install_message:
65
71
  rdoc_options: []
66
72
  require_paths:
67
73
  - lib
@@ -69,15 +75,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
69
75
  requirements:
70
76
  - - ">="
71
77
  - !ruby/object:Gem::Version
72
- version: '0'
78
+ version: '2.4'
73
79
  required_rubygems_version: !ruby/object:Gem::Requirement
74
80
  requirements:
75
81
  - - ">="
76
82
  - !ruby/object:Gem::Version
77
83
  version: '0'
78
84
  requirements: []
79
- rubygems_version: 3.0.3
80
- signing_key:
85
+ rubygems_version: 3.1.2
86
+ signing_key:
81
87
  specification_version: 4
82
- summary: XMP sidecar embedder.
88
+ summary: Embed XMP sidecars into image files.
83
89
  test_files: []
data/COPYING DELETED
@@ -1,9 +0,0 @@
1
- Copyright © 2020 Daniel Aleksandersen. All rights reserved.
2
-
3
- Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
4
-
5
- 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
6
- 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
7
- 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
8
-
9
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.