Standard
This commit is contained in:
@@ -70,7 +70,6 @@ module Adamantium
|
|||||||
memo[year][date.strftime("%m")][date.strftime("%d")] += 1
|
memo[year][date.strftime("%m")][date.strftime("%d")] += 1
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
podcast_scrobble_repo.listing.each do |scrobble|
|
podcast_scrobble_repo.listing.each do |scrobble|
|
||||||
post_stats[scrobble.listened_at.year][scrobble.listened_at.strftime("%m")][scrobble.listened_at.strftime("%d")] += 1
|
post_stats[scrobble.listened_at.year][scrobble.listened_at.strftime("%m")][scrobble.listened_at.strftime("%d")] += 1
|
||||||
end
|
end
|
||||||
|
@@ -4,7 +4,6 @@ module Admin
|
|||||||
module Actions
|
module Actions
|
||||||
module Books
|
module Books
|
||||||
class Create < Admin::Action
|
class Create < Admin::Action
|
||||||
|
|
||||||
include Deps["repos.book_repo"]
|
include Deps["repos.book_repo"]
|
||||||
|
|
||||||
def handle(req, resp)
|
def handle(req, resp)
|
||||||
|
@@ -4,7 +4,6 @@ module Admin
|
|||||||
module Actions
|
module Actions
|
||||||
module Books
|
module Books
|
||||||
class Update < Admin::Action
|
class Update < Admin::Action
|
||||||
|
|
||||||
include Deps["repos.book_repo"]
|
include Deps["repos.book_repo"]
|
||||||
|
|
||||||
def handle(req, resp)
|
def handle(req, resp)
|
||||||
|
@@ -4,7 +4,6 @@ module Admin
|
|||||||
module Views
|
module Views
|
||||||
module Books
|
module Books
|
||||||
class Index < Admin::View
|
class Index < Admin::View
|
||||||
|
|
||||||
include Deps["repos.book_repo"]
|
include Deps["repos.book_repo"]
|
||||||
|
|
||||||
expose :books do
|
expose :books do
|
||||||
|
@@ -29,7 +29,7 @@ module Micropub
|
|||||||
|
|
||||||
reply[:post_id] = post.id
|
reply[:post_id] = post.id
|
||||||
|
|
||||||
webmentions_repo.create(reply)
|
webmentions_repo.create(like)
|
||||||
res.body = {
|
res.body = {
|
||||||
result: "Webmention was successful"
|
result: "Webmention was successful"
|
||||||
}.to_json
|
}.to_json
|
||||||
|
Reference in New Issue
Block a user