indieweb-authorship 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +11 -0
- data/Gemfile.lock +6 -6
- data/lib/indieweb/authorship.rb +1 -1
- data/lib/indieweb/authorship/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 63cb33a091b6abc55b83f52e2edc1126e1f2d3a5112f4b919b1e2a3d4a771be4
|
4
|
+
data.tar.gz: 1571b823385080df97df29678cfeedee8bc3a65df54685c81c9b167484aa68a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f584254cb3553cc7d3e70661ba366c9da2ebf6c61b2e665290367689dc768bc2aa2bcaa4a96e271413cb70960604c9683d3fc9068e91bd8793dfb9275beef66c
|
7
|
+
data.tar.gz: 46a77a6e1b85b300164d88b9936d98846a62d546e8e271ac96b830bfce436778e625eae82e55afa49c0d5f3beed3e5e63cfca7574a6a14b59a3da26c65aab0f8
|
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,17 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
6
6
|
|
7
7
|
## [Unreleased]
|
8
8
|
|
9
|
+
## [0.2.0] - 2020-05-11
|
10
|
+
|
11
|
+
### Added
|
12
|
+
|
13
|
+
- Allow for h-cards without a photo, thanks to [Barry Frost](https://barryfrost.com/).
|
14
|
+
|
15
|
+
### Security
|
16
|
+
|
17
|
+
- Update nokogiri from 1.10.4 to 1.10.9.
|
18
|
+
- Update json from 2.2.0 to 2.3.0.
|
19
|
+
|
9
20
|
## [0.1.0] - 2019-10-15
|
10
21
|
|
11
22
|
### Added
|
data/Gemfile.lock
CHANGED
@@ -1,19 +1,19 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
indieweb-authorship (0.
|
4
|
+
indieweb-authorship (0.2.0)
|
5
5
|
microformats (~> 4.0, >= 4.1.0)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
10
|
diff-lcs (1.3)
|
11
|
-
json (2.
|
12
|
-
microformats (4.
|
13
|
-
json (~> 2.
|
14
|
-
nokogiri (~> 1.
|
11
|
+
json (2.3.0)
|
12
|
+
microformats (4.2.0)
|
13
|
+
json (~> 2.2)
|
14
|
+
nokogiri (~> 1.10)
|
15
15
|
mini_portile2 (2.4.0)
|
16
|
-
nokogiri (1.10.
|
16
|
+
nokogiri (1.10.9)
|
17
17
|
mini_portile2 (~> 2.4.0)
|
18
18
|
rake (12.3.1)
|
19
19
|
rspec (3.7.0)
|
data/lib/indieweb/authorship.rb
CHANGED
@@ -35,7 +35,7 @@ module Indieweb
|
|
35
35
|
return hcard_data_for(
|
36
36
|
URI.join(url, hcard['properties']['url'][0]).to_s,
|
37
37
|
hcard['properties']['name'][0],
|
38
|
-
URI.join(url, hcard['properties']['photo'][0]).to_s
|
38
|
+
hcard['properties'].key?('photo') ? URI.join(url, hcard['properties']['photo'][0]).to_s : nil
|
39
39
|
)
|
40
40
|
|
41
41
|
# 5.2. otherwise if author property is an http(s) URL, let the
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: indieweb-authorship
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen Rushe
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-05-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: microformats
|
@@ -115,7 +115,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
115
115
|
- !ruby/object:Gem::Version
|
116
116
|
version: '0'
|
117
117
|
requirements: []
|
118
|
-
|
118
|
+
rubyforge_project:
|
119
|
+
rubygems_version: 2.7.6
|
119
120
|
signing_key:
|
120
121
|
specification_version: 4
|
121
122
|
summary: Identify the author of an IndieWeb post
|