summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2017-11-08 15:42:37 -0500
committerKelly Rauchenberger <fefferburbia@gmail.com>2017-11-08 15:42:37 -0500
commit42741a3659281ffbef259eafeeb127b3286506cf (patch)
tree91cf237eb5d7c0abe5e2631bdc976f9cc88bd3be
parent9fb32eb6185e0bbf358d279a267d187c266b6656 (diff)
downloadgrunge-42741a3659281ffbef259eafeeb127b3286506cf.tar.gz
grunge-42741a3659281ffbef259eafeeb127b3286506cf.tar.bz2
grunge-42741a3659281ffbef259eafeeb127b3286506cf.zip
Updated verbly (datafile versioning)
-rw-r--r--grunge.cpp8
m---------vendor/verbly0
2 files changed, 4 insertions, 4 deletions
diff --git a/grunge.cpp b/grunge.cpp index de9061e..2f6783c 100644 --- a/grunge.cpp +++ b/grunge.cpp
@@ -16,6 +16,10 @@ grunge::grunge(
16 // Load the config file. 16 // Load the config file.
17 YAML::Node config = YAML::LoadFile(configFile); 17 YAML::Node config = YAML::LoadFile(configFile);
18 18
19 // Set up the verbly database.
20 database_ = std::unique_ptr<verbly::database>(
21 new verbly::database(config["verbly_datafile"].as<std::string>()));
22
19 // Set up the Twitter client. 23 // Set up the Twitter client.
20 twitter::auth auth; 24 twitter::auth auth;
21 auth.setConsumerKey(config["consumer_key"].as<std::string>()); 25 auth.setConsumerKey(config["consumer_key"].as<std::string>());
@@ -24,10 +28,6 @@ grunge::grunge(
24 auth.setAccessSecret(config["access_secret"].as<std::string>()); 28 auth.setAccessSecret(config["access_secret"].as<std::string>());
25 29
26 client_ = std::unique_ptr<twitter::client>(new twitter::client(auth)); 30 client_ = std::unique_ptr<twitter::client>(new twitter::client(auth));
27
28 // Set up the verbly database.
29 database_ = std::unique_ptr<verbly::database>(
30 new verbly::database(config["verbly_datafile"].as<std::string>()));
31} 31}
32 32
33void grunge::run() const 33void grunge::run() const
diff --git a/vendor/verbly b/vendor/verbly
Subproject 59eab842de02b2b2ba8bf53e2214b558457e635 Subproject 350bfdb5ea9b4f7e50746c50a46d8032cbc5a10