imagesite 1.0.9 → 1.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/Gemfile.lock +59 -51
- data/README.md +7 -6
- data/imagesite.gemspec +7 -7
- data/lib/image_site/image.rb +2 -2
- metadata +25 -25
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bf4af0333eec6b3d346c7085e9c41b73545e46259f7c1f1b2541bcc6d5574ddd
|
|
4
|
+
data.tar.gz: 8395c9db778fcde73dc5b61ec0ab9141faf4ae2aa79fa319cdf0db09224552e7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2ca33cd660b5765f7ac632b25fd87a640bdc195e991b448685d3711526ef9b83d65f4da64d2edb29caac59b17fdbab03b546ffa9bc5077254cab2b35f088c489
|
|
7
|
+
data.tar.gz: 459fc2b42b406ddd56667b13017d213dda8dcb9a30773c8593dbe2632f2c334b2846995a14fa18a67e184ee4afc0d6040fb0cbd79033e5c4a5e201119b43a6a1
|
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.
|
|
1
|
+
2.6.10
|
data/Gemfile.lock
CHANGED
|
@@ -1,61 +1,68 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
imagesite (1.0.
|
|
4
|
+
imagesite (1.0.11)
|
|
5
5
|
erubis (~> 2.7)
|
|
6
6
|
exifr (~> 1.3)
|
|
7
7
|
image_science (~> 1.3)
|
|
8
|
-
xmp (~> 0
|
|
8
|
+
xmp (~> 2.0)
|
|
9
9
|
|
|
10
10
|
GEM
|
|
11
11
|
remote: https://rubygems.org/
|
|
12
12
|
specs:
|
|
13
|
-
RubyInline (3.
|
|
13
|
+
RubyInline (3.14.1)
|
|
14
14
|
ZenTest (~> 4.3)
|
|
15
|
-
ZenTest (4.12.
|
|
16
|
-
addressable (2.7
|
|
17
|
-
public_suffix (>= 2.0.2, <
|
|
15
|
+
ZenTest (4.12.2)
|
|
16
|
+
addressable (2.8.7)
|
|
17
|
+
public_suffix (>= 2.0.2, < 7.0)
|
|
18
18
|
ast (2.4.2)
|
|
19
|
-
capybara (
|
|
19
|
+
capybara (3.36.0)
|
|
20
20
|
addressable
|
|
21
|
+
matrix
|
|
21
22
|
mini_mime (>= 0.1.3)
|
|
22
|
-
nokogiri (
|
|
23
|
-
rack (>= 1.
|
|
24
|
-
rack-test (>= 0.
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
23
|
+
nokogiri (~> 1.8)
|
|
24
|
+
rack (>= 1.6.0)
|
|
25
|
+
rack-test (>= 0.6.3)
|
|
26
|
+
regexp_parser (>= 1.5, < 3.0)
|
|
27
|
+
xpath (~> 3.2)
|
|
28
|
+
diff-lcs (1.5.1)
|
|
29
|
+
docile (1.4.1)
|
|
28
30
|
erubis (2.7.0)
|
|
29
|
-
exifr (1.
|
|
30
|
-
image_science (1.3.
|
|
31
|
+
exifr (1.4.0)
|
|
32
|
+
image_science (1.3.2)
|
|
31
33
|
RubyInline (~> 3.9)
|
|
32
|
-
|
|
33
|
-
mini_mime (1.1.
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
matrix (0.4.2)
|
|
35
|
+
mini_mime (1.1.5)
|
|
36
|
+
mini_portile2 (2.8.7)
|
|
37
|
+
nokogiri (1.13.10)
|
|
38
|
+
mini_portile2 (~> 2.8.0)
|
|
39
|
+
racc (~> 1.4)
|
|
40
|
+
parallel (1.24.0)
|
|
36
41
|
parser (2.7.2.0)
|
|
37
42
|
ast (~> 2.4.1)
|
|
38
43
|
powerpack (0.1.3)
|
|
39
|
-
public_suffix (
|
|
40
|
-
|
|
41
|
-
rack
|
|
42
|
-
|
|
44
|
+
public_suffix (5.1.1)
|
|
45
|
+
racc (1.8.1)
|
|
46
|
+
rack (3.1.7)
|
|
47
|
+
rack-test (2.1.0)
|
|
48
|
+
rack (>= 1.3)
|
|
43
49
|
rainbow (2.2.2)
|
|
44
50
|
rake
|
|
45
|
-
rake (13.
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
rspec-
|
|
49
|
-
rspec-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
51
|
+
rake (13.2.1)
|
|
52
|
+
regexp_parser (2.9.2)
|
|
53
|
+
rspec (3.13.0)
|
|
54
|
+
rspec-core (~> 3.13.0)
|
|
55
|
+
rspec-expectations (~> 3.13.0)
|
|
56
|
+
rspec-mocks (~> 3.13.0)
|
|
57
|
+
rspec-core (3.13.1)
|
|
58
|
+
rspec-support (~> 3.13.0)
|
|
59
|
+
rspec-expectations (3.13.3)
|
|
53
60
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
54
|
-
rspec-support (~> 3.
|
|
55
|
-
rspec-mocks (3.
|
|
61
|
+
rspec-support (~> 3.13.0)
|
|
62
|
+
rspec-mocks (3.13.2)
|
|
56
63
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
57
|
-
rspec-support (~> 3.
|
|
58
|
-
rspec-support (3.
|
|
64
|
+
rspec-support (~> 3.13.0)
|
|
65
|
+
rspec-support (3.13.1)
|
|
59
66
|
rubocop (0.50.0)
|
|
60
67
|
parallel (~> 1.10)
|
|
61
68
|
parser (>= 2.3.3.1, < 3.0)
|
|
@@ -63,29 +70,30 @@ GEM
|
|
|
63
70
|
rainbow (>= 2.2.2, < 3.0)
|
|
64
71
|
ruby-progressbar (~> 1.7)
|
|
65
72
|
unicode-display_width (~> 1.0, >= 1.0.1)
|
|
66
|
-
ruby-progressbar (1.
|
|
67
|
-
simplecov (0.
|
|
73
|
+
ruby-progressbar (1.13.0)
|
|
74
|
+
simplecov (0.22.0)
|
|
68
75
|
docile (~> 1.1)
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
simplecov-html (0.
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
76
|
+
simplecov-html (~> 0.11)
|
|
77
|
+
simplecov_json_formatter (~> 0.1)
|
|
78
|
+
simplecov-html (0.13.1)
|
|
79
|
+
simplecov_json_formatter (0.1.4)
|
|
80
|
+
unicode-display_width (1.8.0)
|
|
81
|
+
xmp (2.0.0)
|
|
82
|
+
nokogiri (~> 1.0)
|
|
83
|
+
xpath (3.2.0)
|
|
84
|
+
nokogiri (~> 1.8)
|
|
77
85
|
|
|
78
86
|
PLATFORMS
|
|
79
87
|
ruby
|
|
80
88
|
|
|
81
89
|
DEPENDENCIES
|
|
82
|
-
bundler
|
|
83
|
-
capybara
|
|
90
|
+
bundler
|
|
91
|
+
capybara
|
|
84
92
|
imagesite!
|
|
85
|
-
rake
|
|
86
|
-
rspec
|
|
93
|
+
rake
|
|
94
|
+
rspec
|
|
87
95
|
rubocop (= 0.50.0)
|
|
88
|
-
simplecov
|
|
96
|
+
simplecov
|
|
89
97
|
|
|
90
98
|
BUNDLED WITH
|
|
91
|
-
2.
|
|
99
|
+
2.4.22
|
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# imagesite
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
macOS's iPhoto software had a feature that exported photos to a static web site.
|
|
4
4
|
iPhoto was discontinued in 2015. Its replacement, Photos, does not have that
|
|
5
5
|
feature. imagesite approximates that feature.
|
|
6
6
|
|
|
@@ -11,18 +11,19 @@ its title and description.
|
|
|
11
11
|
|
|
12
12
|
## Requirements
|
|
13
13
|
|
|
14
|
-
imagesite
|
|
15
|
-
|
|
16
|
-
If your Mac has an older
|
|
17
|
-
If not, you may be able to install a newer Ruby on your Mac to use with imagesite.
|
|
14
|
+
imagesite is developed and tested on Ruby 2.6.10, which comes with macOS 14 (Sonoma).
|
|
15
|
+
It was previously tested on Ruby 2.3.7, which comes with macOS 10.12 (Sierra).
|
|
16
|
+
If your Mac has an older or newer macOS, imagesite may or may not work with its built-in Ruby.
|
|
17
|
+
If not, you may be able to install a newer or older Ruby on your Mac to use with imagesite.
|
|
18
18
|
|
|
19
19
|
## Installation
|
|
20
20
|
|
|
21
21
|
- Install [FreeImage](http://freeimage.sourceforge.net/).
|
|
22
22
|
The easiest way to do that is probably with [homebrew](http://brew.sh/) or
|
|
23
23
|
[MacPorts](https://www.macports.org/).
|
|
24
|
-
- If you're using the Ruby that comes with
|
|
24
|
+
- If you're using the Ruby that comes with macOS,
|
|
25
25
|
|
|
26
|
+
$ sudo gem install -v 1.5.11 nokogiri -- --with-cflags="-Wno-incompatible-function-pointer-types -Wno-incompatible-pointer-types-discards-qualifiers -Wno-compound-token-split-by-macro -Wno-int-conversion"
|
|
26
27
|
$ sudo gem install imagesite
|
|
27
28
|
|
|
28
29
|
If you're using a Ruby that you installed yourself, `sudo` may or may not be appropriate.
|
data/imagesite.gemspec
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Gem::Specification.new do |spec|
|
|
2
2
|
spec.name = 'imagesite'
|
|
3
|
-
spec.version = '1.0.
|
|
3
|
+
spec.version = '1.0.11'
|
|
4
4
|
spec.author = 'Dave Schweisguth'
|
|
5
5
|
spec.email = 'dave@schweisguth.org'
|
|
6
6
|
|
|
@@ -16,15 +16,15 @@ Gem::Specification.new do |spec|
|
|
|
16
16
|
spec.required_ruby_version = '~> 2.3'
|
|
17
17
|
|
|
18
18
|
spec.add_runtime_dependency 'exifr', '~> 1.3'
|
|
19
|
-
spec.add_runtime_dependency 'xmp', '~> 0
|
|
19
|
+
spec.add_runtime_dependency 'xmp', '~> 2.0'
|
|
20
20
|
spec.add_runtime_dependency 'image_science', '~> 1.3'
|
|
21
21
|
spec.add_runtime_dependency 'erubis', '~> 2.7'
|
|
22
22
|
|
|
23
|
-
spec.add_development_dependency 'bundler'
|
|
24
|
-
spec.add_development_dependency 'capybara'
|
|
25
|
-
spec.add_development_dependency 'rake'
|
|
26
|
-
spec.add_development_dependency 'rspec'
|
|
23
|
+
spec.add_development_dependency 'bundler'
|
|
24
|
+
spec.add_development_dependency 'capybara'
|
|
25
|
+
spec.add_development_dependency 'rake'
|
|
26
|
+
spec.add_development_dependency 'rspec'
|
|
27
27
|
spec.add_development_dependency 'rubocop', '0.50.0'
|
|
28
|
-
spec.add_development_dependency 'simplecov'
|
|
28
|
+
spec.add_development_dependency 'simplecov'
|
|
29
29
|
|
|
30
30
|
end
|
data/lib/image_site/image.rb
CHANGED
|
@@ -43,13 +43,13 @@ module ImageSite
|
|
|
43
43
|
|
|
44
44
|
def title
|
|
45
45
|
title = dc(:title)
|
|
46
|
-
title && title.first || nil
|
|
46
|
+
title && title.first || nil # title can be false, so we can't use &.
|
|
47
47
|
end
|
|
48
48
|
|
|
49
49
|
NEWLINE = "\xE2\x80\xA8".force_encoding('ASCII-8BIT')
|
|
50
50
|
|
|
51
51
|
def description
|
|
52
|
-
exif
|
|
52
|
+
exif.image_description && exif.image_description.gsub(NEWLINE, "<br/>\n").force_encoding('utf-8')
|
|
53
53
|
end
|
|
54
54
|
|
|
55
55
|
def tags
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: imagesite
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.11
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dave Schweisguth
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2024-10-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: exifr
|
|
@@ -30,14 +30,14 @@ dependencies:
|
|
|
30
30
|
requirements:
|
|
31
31
|
- - "~>"
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: '0
|
|
33
|
+
version: '2.0'
|
|
34
34
|
type: :runtime
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
38
|
- - "~>"
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: '0
|
|
40
|
+
version: '2.0'
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
42
|
name: image_science
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -70,58 +70,58 @@ dependencies:
|
|
|
70
70
|
name: bundler
|
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
|
72
72
|
requirements:
|
|
73
|
-
- - "
|
|
73
|
+
- - ">="
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
|
-
version: '
|
|
75
|
+
version: '0'
|
|
76
76
|
type: :development
|
|
77
77
|
prerelease: false
|
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
|
79
79
|
requirements:
|
|
80
|
-
- - "
|
|
80
|
+
- - ">="
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
|
-
version: '
|
|
82
|
+
version: '0'
|
|
83
83
|
- !ruby/object:Gem::Dependency
|
|
84
84
|
name: capybara
|
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
|
86
86
|
requirements:
|
|
87
|
-
- - "
|
|
87
|
+
- - ">="
|
|
88
88
|
- !ruby/object:Gem::Version
|
|
89
|
-
version: '
|
|
89
|
+
version: '0'
|
|
90
90
|
type: :development
|
|
91
91
|
prerelease: false
|
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
|
93
93
|
requirements:
|
|
94
|
-
- - "
|
|
94
|
+
- - ">="
|
|
95
95
|
- !ruby/object:Gem::Version
|
|
96
|
-
version: '
|
|
96
|
+
version: '0'
|
|
97
97
|
- !ruby/object:Gem::Dependency
|
|
98
98
|
name: rake
|
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
|
100
100
|
requirements:
|
|
101
|
-
- - "
|
|
101
|
+
- - ">="
|
|
102
102
|
- !ruby/object:Gem::Version
|
|
103
|
-
version: '
|
|
103
|
+
version: '0'
|
|
104
104
|
type: :development
|
|
105
105
|
prerelease: false
|
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
|
107
107
|
requirements:
|
|
108
|
-
- - "
|
|
108
|
+
- - ">="
|
|
109
109
|
- !ruby/object:Gem::Version
|
|
110
|
-
version: '
|
|
110
|
+
version: '0'
|
|
111
111
|
- !ruby/object:Gem::Dependency
|
|
112
112
|
name: rspec
|
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
|
114
114
|
requirements:
|
|
115
|
-
- - "
|
|
115
|
+
- - ">="
|
|
116
116
|
- !ruby/object:Gem::Version
|
|
117
|
-
version: '
|
|
117
|
+
version: '0'
|
|
118
118
|
type: :development
|
|
119
119
|
prerelease: false
|
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
|
121
121
|
requirements:
|
|
122
|
-
- - "
|
|
122
|
+
- - ">="
|
|
123
123
|
- !ruby/object:Gem::Version
|
|
124
|
-
version: '
|
|
124
|
+
version: '0'
|
|
125
125
|
- !ruby/object:Gem::Dependency
|
|
126
126
|
name: rubocop
|
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -140,16 +140,16 @@ dependencies:
|
|
|
140
140
|
name: simplecov
|
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
|
142
142
|
requirements:
|
|
143
|
-
- - "
|
|
143
|
+
- - ">="
|
|
144
144
|
- !ruby/object:Gem::Version
|
|
145
|
-
version: 0
|
|
145
|
+
version: '0'
|
|
146
146
|
type: :development
|
|
147
147
|
prerelease: false
|
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
|
149
149
|
requirements:
|
|
150
|
-
- - "
|
|
150
|
+
- - ">="
|
|
151
151
|
- !ruby/object:Gem::Version
|
|
152
|
-
version: 0
|
|
152
|
+
version: '0'
|
|
153
153
|
description: OS X's iPhoto software had a feature that exported photos to a static
|
|
154
154
|
web site. iPhoto was discontinued in 2015. Its replacement, Photos, does not have
|
|
155
155
|
that feature. imagesite approximates that feature.
|
|
@@ -196,7 +196,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
196
196
|
- !ruby/object:Gem::Version
|
|
197
197
|
version: '0'
|
|
198
198
|
requirements: []
|
|
199
|
-
rubygems_version: 3.
|
|
199
|
+
rubygems_version: 3.4.22
|
|
200
200
|
signing_key:
|
|
201
201
|
specification_version: 4
|
|
202
202
|
summary: iPhoto-style web export for Photos
|