Sha256: 9e202135e50f330bcee657d2d1445823d02205dd565d0730b6ead883ecad8376

Contents?: true

Size: 433 Bytes

Versions: 35

Compression:

Stored size: 433 Bytes

Contents

buzzwords = ['Paradigm shift', 'Leverage', 'Pivoting', 'Turn-key', 'Streamlininess', 'Exit strategy', 'Synergy', 'Enterprise', 'Web 2.0'] 
buzzword_counts = Hash.new({ value: 0 })

SCHEDULER.every '2s' do
  random_buzzword = buzzwords.sample
  buzzword_counts[random_buzzword] = { label: random_buzzword, value: (buzzword_counts[random_buzzword][:value] + 1) % 30 }
  
  send_event('buzzwords', { items: buzzword_counts.values })
end

Version data entries

35 entries across 35 versions & 6 rubygems

Version Path
smashing-1.3.6 templates/project/jobs/buzzwords.rb
smashing-1.3.5 templates/project/jobs/buzzwords.rb
smashing-1.3.4 templates/project/jobs/buzzwords.rb
smashing-1.3.3 templates/project/jobs/buzzwords.rb
smashing-1.3.2 templates/project/jobs/buzzwords.rb
smashing-1.3.1 templates/project/jobs/buzzwords.rb
smashing-1.3.0 templates/project/jobs/buzzwords.rb
smashing-1.2.0 templates/project/jobs/buzzwords.rb
smashing-1.1.0 templates/project/jobs/buzzwords.rb
smashing-1.0.0 templates/project/jobs/buzzwords.rb
dashing-1.3.7 templates/project/jobs/buzzwords.rb
dashing-1.3.6 templates/project/jobs/buzzwords.rb
baseboard-1.0.4 templates/project/jobs/buzzwords.rb
baseboard-1.0.3 templates/project/jobs/buzzwords.rb
baseboard-1.0.2 templates/project/jobs/buzzwords.rb
baseboard-1.0.1 templates/project/jobs/buzzwords.rb
rtdi-1.0 templates/project/jobs/buzzwords.rb
dashing-jruby-1.3.4.1 templates/project/jobs/buzzwords.rb
dashing-jruby-1.3.4 templates/project/jobs/buzzwords.rb
dashing-1.3.4 templates/project/jobs/buzzwords.rb