Sha256: 31192a58cb19a49d1f6b666e9f173a97099a4114e33380b85717d9934f196430

Contents?: true

Size: 301 Bytes

Versions: 25

Compression:

Stored size: 301 Bytes

Contents

class FluentdUiUpdateCheck
  include SuckerPunch::Job

  def perform
    pl = Plugin.new(gem_name: "fluentd-ui")
    if pl.gem_versions
      FluentdUI.latest_version = pl.latest_version
    end
    later(3600) # will be checked every hour
  end

  def later(sec)
    after(sec) { perform }
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
fluentd-ui-0.3.7 app/workers/fluentd_ui_update_check.rb
fluentd-ui-0.3.6 app/workers/fluentd_ui_update_check.rb
fluentd-ui-0.3.5 app/workers/fluentd_ui_update_check.rb
fluentd-ui-0.3.3 app/workers/fluentd_ui_update_check.rb
fluentd-ui-0.3.2 app/workers/fluentd_ui_update_check.rb