micropub-endpoint 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 +4 -4
- data/CHANGELOG.md +5 -1
- data/lib/micropub/endpoint/client.rb +2 -0
- data/lib/micropub/endpoint/version.rb +1 -1
- data/micropub-endpoint.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cb432da92caa96f223ba3912eaf6efeaa47c37b0
|
4
|
+
data.tar.gz: 9affdffd03dc30fc3b6956b71a3ebf3bdc8b8142
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0112cefb10ac537aeeb33333fdea33675491fa86e5e3c761c7d5c1437f8644607f718a976c6c324422261c88288987c622b57c9b6b8bb4386d9f7f4b0fa6d5df
|
7
|
+
data.tar.gz: 1fa29510bb8a5158a2bc64346396fc82b369657172bc3bf55ce62c22fc6db3a31e6a8f5bbc80c2ebf4e6fb1b1406ea033dc4d62e7db63481531965704bfef29e
|
data/CHANGELOG.md
CHANGED
@@ -1,8 +1,12 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 1.0.1 / 2018-07-29
|
4
|
+
|
5
|
+
- Raise an `ArgumentError` when `Client` instantiated with non-absolute URI ([d598f1b](https://github.com/jgarber623/micropub-endpoint-ruby/commit/d598f1b)).
|
6
|
+
|
3
7
|
## 1.0.0 / 2018-07-17
|
4
8
|
|
5
|
-
- Adds new `Micropub::Endpoint::Client` and `Micropub::Endpoint::Response` classes and refactors `
|
9
|
+
- Adds new `Micropub::Endpoint::Client` and `Micropub::Endpoint::Response` classes and refactors `Micropub::Endpoint::Discover` API ([77f9865](https://github.com/jgarber623/micropub-endpoint-ruby/commit/77f9865)).
|
6
10
|
- Updates specs ([78d15d0](https://github.com/jgarber623/micropub-endpoint-ruby/commit/78d15d0)) and documentation ([383e6b9](https://github.com/jgarber623/micropub-endpoint-ruby/commit/383e6b9)).
|
7
11
|
|
8
12
|
## 0.2.1 / 2018-07-05
|
@@ -5,6 +5,8 @@ module Micropub
|
|
5
5
|
raise ArgumentError, "url must be a String (given #{url.class.name})" unless url.is_a?(String)
|
6
6
|
|
7
7
|
@uri = Addressable::URI.parse(url)
|
8
|
+
|
9
|
+
raise ArgumentError, 'url must be an absolute URI (e.g. https://example.com)' unless @uri.absolute?
|
8
10
|
rescue Addressable::URI::InvalidURIError => error
|
9
11
|
raise InvalidURIError, error
|
10
12
|
end
|
data/micropub-endpoint.gemspec
CHANGED
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
|
|
23
23
|
spec.add_development_dependency 'bundler', '~> 1.16', '>= 1.16.2'
|
24
24
|
spec.add_development_dependency 'rake', '~> 12.3', '>= 12.3.1'
|
25
25
|
spec.add_development_dependency 'rspec', '~> 3.7'
|
26
|
-
spec.add_development_dependency 'rubocop', '~> 0.58.
|
26
|
+
spec.add_development_dependency 'rubocop', '~> 0.58.1'
|
27
27
|
spec.add_development_dependency 'rubocop-rspec', '~> 1.27'
|
28
28
|
spec.add_development_dependency 'simplecov', '~> 0.16.1'
|
29
29
|
spec.add_development_dependency 'simplecov-console', '~> 0.4.2'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: micropub-endpoint
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.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: 2018-07-
|
11
|
+
date: 2018-07-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -70,14 +70,14 @@ dependencies:
|
|
70
70
|
requirements:
|
71
71
|
- - "~>"
|
72
72
|
- !ruby/object:Gem::Version
|
73
|
-
version: 0.58.
|
73
|
+
version: 0.58.1
|
74
74
|
type: :development
|
75
75
|
prerelease: false
|
76
76
|
version_requirements: !ruby/object:Gem::Requirement
|
77
77
|
requirements:
|
78
78
|
- - "~>"
|
79
79
|
- !ruby/object:Gem::Version
|
80
|
-
version: 0.58.
|
80
|
+
version: 0.58.1
|
81
81
|
- !ruby/object:Gem::Dependency
|
82
82
|
name: rubocop-rspec
|
83
83
|
requirement: !ruby/object:Gem::Requirement
|