View all_tweets.rb
1 2 3 4 5 6 7 8 9 10
require 'twitter'
 
class AllTweets
 
attr_accessor :tweets
 
def initialize(username, config)
@username = username
@config = config
@tweets = []
View .bowerrc
1 2 3
{
"directory": "vendor"
}
View has_relations.rb
1 2 3 4 5 6 7 8 9 10
module RelationExtensions
extend ActiveSupport::Concern
 
included do
# -- Constants ------------------------------------------------------------
# -- Attributes -----------------------------------------------------------
attr_accessor :relation_identifier, :relation_position
 
# -- AR Extensions --------------------------------------------------------
View Guardfile
1 2 3 4 5 6 7 8 9 10
guard 'minitest' do
 
# with Minitest::Unit
watch(%r|^test/(.*)\/?test_(.*)\.rb|)
watch(%r|^lib/(.*)([^/]+)\.rb|) { |m| "test/#{m[1]}test_#{m[2]}.rb" }
watch(%r|^test/test_helper\.rb|) { "test" }
 
# Rails 4 - App Files
watch(%r|^app/controllers/(.*)\.rb|) { |m| "test/controllers/#{m[1]}_test.rb" }
watch(%r|^app/helpers/(.*)\.rb|) { |m| "test/helpers/#{m[1]}_test.rb" }
View gist:4675154
1 2
<p>blah blah content blah blah - this is shown on the outside</p><!--break-->
<p>inside article content not shown on the front</p>
Something went wrong with that request. Please try again.