Merge pull request #153 from albertsun/cleanup

Cleanup
This commit is contained in:
Andrew Cantino 2014-01-30 21:43:57 -08:00
commit e6191b2818
3 changed files with 10 additions and 15 deletions

View file

@ -31,6 +31,11 @@ GEM
addressable (2.3.5)
arel (3.0.3)
bcrypt-ruby (3.1.1)
better_errors (1.1.0)
coderay (>= 1.0.0)
erubis (>= 2.6.6)
binding_of_caller (0.7.2)
debug_inspector (>= 0.0.1)
bootstrap-kaminari-views (0.0.2)
kaminari (>= 0.13)
rails (>= 3.1)
@ -53,6 +58,7 @@ GEM
crack (0.4.1)
safe_yaml (~> 0.9.0)
daemons (1.1.9)
debug_inspector (0.0.2)
delayed_job (4.0.0)
activesupport (>= 3.0, < 4.1)
delayed_job_active_record (4.0.0)
@ -261,6 +267,8 @@ PLATFORMS
ruby
DEPENDENCIES
better_errors
binding_of_caller
bootstrap-kaminari-views
coffee-rails (~> 3.2.1)
coveralls

View file

@ -3,7 +3,7 @@
<% end %>
<% if @agent.memory[:data] && @agent.memory[:data].length > 0 %>
<h3>Recent Tweet Trends</h3>
<h3>Recent Trends</h3>
<% @agent.memory[:data].each.with_index do |(group_name, data), index| %>
<div class="filter-group counts">
<div class='filter'><%= link_to group_name.to_s, "https://twitter.com/search?q=#{CGI::escape group_name.to_s}", :target => "blank" %></div>

View file

@ -37,9 +37,9 @@ ActiveRecord::Schema.define(:version => 20131227000021) do
t.datetime "updated_at", :null => false
t.text "memory", :limit => 2147483647
t.datetime "last_webhook_at"
t.integer "keep_events_for", :default => 0, :null => false
t.datetime "last_event_at"
t.datetime "last_error_log_at"
t.integer "keep_events_for", :default => 0, :null => false
end
add_index "agents", ["schedule"], :name => "index_agents_on_schedule"
@ -87,19 +87,6 @@ ActiveRecord::Schema.define(:version => 20131227000021) do
add_index "links", ["receiver_id", "source_id"], :name => "index_links_on_receiver_id_and_source_id"
add_index "links", ["source_id", "receiver_id"], :name => "index_links_on_source_id_and_receiver_id"
create_table "rails_admin_histories", :force => true do |t|
t.text "message"
t.string "username"
t.integer "item"
t.string "table"
t.integer "month", :limit => 2
t.integer "year", :limit => 8
t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false
end
add_index "rails_admin_histories", ["item", "table", "month", "year"], :name => "index_rails_admin_histories"
create_table "users", :force => true do |t|
t.string "email", :default => "", :null => false
t.string "encrypted_password", :default => "", :null => false