micropub 0.0.5 → 0.0.6

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
  SHA1:
3
- metadata.gz: 0db7a3682304b5c26c85c72c1ffa361e3b9e342f
4
- data.tar.gz: e73de8013d9a3a7531e1695b1f2b6c1f30133250
3
+ metadata.gz: 6edc39c52b2461b27f734eba9ab79f4fb4d583a6
4
+ data.tar.gz: a67c5b02a03dea050e7397254a93bb88bb049643
5
5
  SHA512:
6
- metadata.gz: 8dfe511ff7b30abbf7c8d75d14609b31aefda24edfbf379406d94ec4a7a6cf6416cbe17dfd608617870d8ff38f913a4e6cef447fdf98b4e5668f54898654dfdc
7
- data.tar.gz: 6636fb2cad7b4aec5076751f3af73c830dfb232f7132dedfdd02e9f8ab82b7b889c39d3b370bee6f9fdb75ba428c6f3939715876c672b02dc651ed445900f1d7
6
+ metadata.gz: 7fe4fe125f9b75f2de233a0283c31572d71c9a93783d6350ef464bbc40fdda0145f5ca5b7dce2cec4405d97378180446d740bdea1b7617ea796293e7dece784c
7
+ data.tar.gz: eb4b2cba5a1538dff87cb8587615dba3859bf2e2152399870b4d556f55b0cd26829e1155101aacf32aa7a0f94ab7a8d93a7497f6e37108ef560864982afb71c3
@@ -27,7 +27,13 @@ module Micropub
27
27
  end
28
28
 
29
29
  def uri
30
- "#{Micropub.configuration.me}/#{publisher}"
30
+ "#{host}/#{publisher}"
31
+ end
32
+
33
+ def host
34
+ # ENV is temp to hardcode the host before
35
+ # the hs router is hooked up.
36
+ ENV["PUBLISHER_HOST"] || Micropub.configuration.me
31
37
  end
32
38
  end
33
39
  end
@@ -1,3 +1,3 @@
1
1
  module Micropub
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: micropub
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shane Becker