indieweb-endpoints 1.0.0 → 1.0.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: d94a9697335de7e9dbc24727805991f0a6831195a9bc81c44d2b3b63c750c976
4
- data.tar.gz: 62b63c314f17152b2934c8fe740dd0a986a400be3694ecceb64f07670a961de4
3
+ metadata.gz: 7ab7a9bf349e3abd6df42e7cdbedfe0789f0e52abbf31be34f61b875c4ef8b64
4
+ data.tar.gz: 9b7edf5cd8aa674948b38c10ff18955e23d2bc7faa5ccaaf8e0a93ddf55aac31
5
5
  SHA512:
6
- metadata.gz: 286f0df5a086a15e6bbde85cc24a71fc4cbb175f6be98dc15fe52d7b8bc138bcffee098c3572db007b536c27d1c1575e951f371a77a7c46b8b2baf0493454e22
7
- data.tar.gz: a4bd418e746511772973b50216962978350b34bf433c525b8cf44e03726e6d30d10939d60879518cf4000c4e1cf5245024606a52f7cf4f58b03a92f863e9058b
6
+ metadata.gz: a0482a91137294415767558d2195f6bae425105f496b75b874a950e50bc5cfed65619a469d411c301e10eb3eadb8439eb5fb4647142693ed8ed2a02c9f6aa1d9
7
+ data.tar.gz: e228e5d9a5f04979a980d1e50f00e2752b63fc6808b74ce234435132a39a7cc1e7102d22b94faa6c5ee50a455f530f1240e7c7fca0cdf44b74e6746e05a0640b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.1 / 2019-07-17
4
+
5
+ - Safely combine, flatten, and compact result set (5f2d9c5)
6
+
3
7
  ## 1.0.0 / 2019-07-08
4
8
 
5
9
  - Refactor gem code using service objects approach (78511d7 and 9d2fee0)
@@ -28,7 +28,7 @@ Gem::Specification.new do |spec|
28
28
  spec.add_development_dependency 'rake', '~> 12.3'
29
29
  spec.add_development_dependency 'reek', '~> 5.4'
30
30
  spec.add_development_dependency 'rspec', '~> 3.8'
31
- spec.add_development_dependency 'rubocop', '~> 0.72.0'
31
+ spec.add_development_dependency 'rubocop', '~> 0.73.0'
32
32
  spec.add_development_dependency 'rubocop-performance', '~> 1.4'
33
33
  spec.add_development_dependency 'rubocop-rspec', '~> 1.33'
34
34
  spec.add_development_dependency 'simplecov', '~> 0.17.0'
@@ -16,7 +16,7 @@ module IndieWeb
16
16
 
17
17
  # https://www.w3.org/TR/webmention/#sender-discovers-receiver-webmention-endpoint
18
18
  def results_from_body
19
- @results_from_body ||= results_for_node('link') + results_for_node('a')
19
+ @results_from_body ||= [results_for_node('link'), results_for_node('a')].flatten.compact
20
20
  end
21
21
  end
22
22
  end
@@ -1,5 +1,5 @@
1
1
  module IndieWeb
2
2
  module Endpoints
3
- VERSION = '1.0.0'.freeze
3
+ VERSION = '1.0.1'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: indieweb-endpoints
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Garber
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-09 00:00:00.000000000 Z
11
+ date: 2019-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 0.72.0
61
+ version: 0.73.0
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 0.72.0
68
+ version: 0.73.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rubocop-performance
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -251,7 +251,7 @@ licenses:
251
251
  - MIT
252
252
  metadata:
253
253
  bug_tracker_uri: https://github.com/indieweb/indieweb-endpoints-ruby/issues
254
- changelog_uri: https://github.com/indieweb/indieweb-endpoints-ruby/blob/v1.0.0/CHANGELOG.md
254
+ changelog_uri: https://github.com/indieweb/indieweb-endpoints-ruby/blob/v1.0.1/CHANGELOG.md
255
255
  post_install_message:
256
256
  rdoc_options: []
257
257
  require_paths: