Skip to content

Commit

Permalink
Merge branch 'dev/3.6.7' of github.com:pooza/tomato-shrieker into dev…
Browse files Browse the repository at this point in the history
…/3.6.7
  • Loading branch information
pooza committed May 11, 2024
2 parents c7074a0 + af2eaf4 commit 1881a9e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -267,4 +267,4 @@ RUBY VERSION
ruby 3.3.1p55

BUNDLED WITH
2.5.9
2.5.10
1 change: 1 addition & 0 deletions app/lib/tomato_shrieker/source/icalendar_source.rb
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ def uri
uri = Ginseng::URI.parse(self['/source/calendar'])
uri ||= Ginseng::URI.parse(self['/source/ical'])
return nil unless uri&.absolute?
uri.query_values = {t: rand(1000..9999)}
return uri
end

Expand Down
5 changes: 5 additions & 0 deletions app/task/tomato/calendar.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ module TomatoShrieker
puts source.summary.deep_stringify_keys.to_yaml
end

desc "entries <#{source.uri}>"
task :entries do
puts source.entries.to_yaml
end

desc "shriek <#{source.uri}>"
task :shriek do
source.exec
Expand Down

0 comments on commit 1881a9e

Please sign in to comment.