indieweb-authorship 0.1.0 → 0.2.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b71984e99aeca13f5754a3c35a571d6c67bef092e5bc95d5fe8a9cdb3cb8619a
4
- data.tar.gz: ad55b917bc0b0c38a02255fe7441b737dff97656b131cf7d7754e5cf08917f4d
3
+ metadata.gz: 63cb33a091b6abc55b83f52e2edc1126e1f2d3a5112f4b919b1e2a3d4a771be4
4
+ data.tar.gz: 1571b823385080df97df29678cfeedee8bc3a65df54685c81c9b167484aa68a7
5
5
  SHA512:
6
- metadata.gz: 0a635d08bb9e1989d3800e28fe142297ddf9aeb170ea0ff18d168763f28a63d2108fe415df350c0b16cb4e97a41b06f7a922d6752d964306119b01f490063e06
7
- data.tar.gz: 0ebacadded5c1ad1b0d43d552ccf8129b80250da37d65fd8527ba1b1c0efca68c7a20fda9781f78cad6eb15ce25b196c9f9bde2ffa52557b67a5057d458fd130
6
+ metadata.gz: f584254cb3553cc7d3e70661ba366c9da2ebf6c61b2e665290367689dc768bc2aa2bcaa4a96e271413cb70960604c9683d3fc9068e91bd8793dfb9275beef66c
7
+ data.tar.gz: 46a77a6e1b85b300164d88b9936d98846a62d546e8e271ac96b830bfce436778e625eae82e55afa49c0d5f3beed3e5e63cfca7574a6a14b59a3da26c65aab0f8
@@ -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
@@ -1,19 +1,19 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- indieweb-authorship (0.1.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.2.0)
12
- microformats (4.1.0)
13
- json (~> 2.1)
14
- nokogiri (~> 1.8, >= 1.8.3)
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.4)
16
+ nokogiri (1.10.9)
17
17
  mini_portile2 (~> 2.4.0)
18
18
  rake (12.3.1)
19
19
  rspec (3.7.0)
@@ -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
@@ -1,5 +1,5 @@
1
1
  module Indieweb
2
2
  module Authorship
3
- VERSION = "0.1.0"
3
+ VERSION = "0.2.0"
4
4
  end
5
5
  end
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.1.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: 2019-10-15 00:00:00.000000000 Z
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
- rubygems_version: 3.0.3
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