Sha256: 8cd9131a48cdd56e8db089b799838b400a0c84e44610b60d38194afe64c5d8d9

Contents?: true

Size: 382 Bytes

Versions: 8

Compression:

Stored size: 382 Bytes

Contents

class FluentdUiUpdateCheck
  include SuckerPunch::Job

  def perform
    pl = Plugin.new(gem_name: "fluentd-ui")
    if pl.gem_versions # NOTE: fluentd-ui is not released yet, so `pl.latest_version` will fail for now
      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

8 entries across 8 versions & 1 rubygems

Version Path
fluentd-ui-0.3.1 app/workers/fluentd_ui_update_check.rb
fluentd-ui-0.3.0 app/workers/fluentd_ui_update_check.rb
fluentd-ui-0.2.0 app/workers/fluentd_ui_update_check.rb
fluentd-ui-0.1.4 app/workers/fluentd_ui_update_check.rb
fluentd-ui-0.1.3 app/workers/fluentd_ui_update_check.rb
fluentd-ui-0.1.2 app/workers/fluentd_ui_update_check.rb
fluentd-ui-0.1.1 app/workers/fluentd_ui_update_check.rb
fluentd-ui-0.1.0 app/workers/fluentd_ui_update_check.rb