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.4.5 app/workers/fluentd_ui_update_check.rb
fluentd-ui-0.4.4 app/workers/fluentd_ui_update_check.rb
fluentd-ui-0.4.3 app/workers/fluentd_ui_update_check.rb
fluentd-ui-0.4.2 app/workers/fluentd_ui_update_check.rb
fluentd-ui-0.4.1 app/workers/fluentd_ui_update_check.rb
fluentd-ui-0.4.0 app/workers/fluentd_ui_update_check.rb
fluentd-ui-0.3.21 app/workers/fluentd_ui_update_check.rb
fluentd-ui-0.3.20 app/workers/fluentd_ui_update_check.rb
fluentd-ui-0.3.19 app/workers/fluentd_ui_update_check.rb
fluentd-ui-0.3.18 app/workers/fluentd_ui_update_check.rb
fluentd-ui-0.3.17 app/workers/fluentd_ui_update_check.rb
fluentd-ui-0.3.16 app/workers/fluentd_ui_update_check.rb
fluentd-ui-0.3.15 app/workers/fluentd_ui_update_check.rb
fluentd-ui-0.3.14 app/workers/fluentd_ui_update_check.rb
fluentd-ui-0.3.13 app/workers/fluentd_ui_update_check.rb
fluentd-ui-0.3.12 app/workers/fluentd_ui_update_check.rb
fluentd-ui-0.3.11 app/workers/fluentd_ui_update_check.rb
fluentd-ui-0.3.10 app/workers/fluentd_ui_update_check.rb
fluentd-ui-0.3.9 app/workers/fluentd_ui_update_check.rb
fluentd-ui-0.3.8 app/workers/fluentd_ui_update_check.rb