Skip to content

Commit

Permalink
moved lists in subdirectories
Browse files Browse the repository at this point in the history
  • Loading branch information
pixeldesu committed Oct 25, 2014
1 parent 07a785c commit 73a30b9
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
11 changes: 6 additions & 5 deletions waifu.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@
require "tumblr_client"
require "ostruct"

version = "v2.0.1"
keys = YAML.load_file File.expand_path(".", "config.yml")
FILTER_WORDS = YAML.load_file File.expand_path(".", "filter_words.yml")
FILTER_USERS = YAML.load_file File.expand_path(".", "filter_users.yml")
waifu = YAML.load_file File.expand_path(".", "waifu.yml")
husbando = YAML.load_file File.expand_path(".", "husbando.yml")
FILTER_WORDS = YAML.load_file File.expand_path(".", "filters/words.yml")
FILTER_USERS = YAML.load_file File.expand_path(".", "filters/users.yml")
waifu = YAML.load_file File.expand_path(".", "lists/waifu.yml")
husbando = YAML.load_file File.expand_path(".", "lists/husbando.yml")

client = Twitter::REST::Client.new do |config|
config.consumer_key = keys['twitter']['consumer_key']
Expand Down Expand Up @@ -46,7 +47,7 @@
$current_user.id = keys['twitter']["access_token"].split("-")[0].to_i
end

puts "yourwaifu"
puts "yourwaifu #{version}"
puts "-------------------------------"
puts "waifu entries: \033[34;1m#{waifu.count}\033[0m"
puts "husbando entries: \033[34;1m#{husbando.count}\033[0m"
Expand Down

0 comments on commit 73a30b9

Please sign in to comment.