Syndicate code posts to Github Gists
This commit is contained in:
@@ -36,6 +36,7 @@ module Adamantium
|
||||
"syndication.dayone",
|
||||
"syndication.mastodon",
|
||||
"syndication.blue_sky",
|
||||
"syndication.gist",
|
||||
"syndication.raindrop",
|
||||
"view_cache.cacher",
|
||||
"renderers.markdown"
|
||||
|
@@ -3,5 +3,6 @@ Hanami.app.register_provider :clients, namespace: true do
|
||||
register "mastodon", Adamantium::Client::Mastodon.new
|
||||
register "blue_sky", Adamantium::Client::BlueSky.new
|
||||
register "omdb", Adamantium::Client::Omdb.new(api_key: target["settings"].omdb_api_key)
|
||||
register "gist", Adamantium::Client::Gist.new(token: target["settings"].gist_client_token)
|
||||
end
|
||||
end
|
||||
|
@@ -1,6 +1,7 @@
|
||||
Hanami.app.register_provider :syndication, namespace: true do
|
||||
start do
|
||||
register "mastodon", Adamantium::Syndication::Mastodon.new
|
||||
register "gist", Adamantium::Syndication::Gist.new
|
||||
register "blue_sky", Adamantium::Syndication::BlueSky.new
|
||||
register "raindrop", Adamantium::Syndication::Raindrop.new(api_key: "Bearer #{target["settings"].raindrop_api_key}")
|
||||
register "dayone", Adamantium::Syndication::Dayone.new(
|
||||
|
@@ -72,5 +72,7 @@ module Adamantium
|
||||
|
||||
setting :sentry_dsn, default: nil
|
||||
setting :raise_exceptions, default: true
|
||||
|
||||
setting :gist_client_token, default: nil
|
||||
end
|
||||
end
|
||||
|
4
config/taglines.yaml
Normal file
4
config/taglines.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
taglines:
|
||||
- lord of the dance
|
||||
- would that it were so simple
|
||||
- "*furious hand gestures*"
|
Reference in New Issue
Block a user