From 5028f7cf27570a236f35b06b1aebe0f5eae72846 Mon Sep 17 00:00:00 2001 From: vunhat_minh Date: Thu, 6 Aug 2015 12:43:55 +0900 Subject: [PATCH] Add config document for IMAGE_RESIZE_TO_FIT and bump to version 1.3.1 --- docs/conf.py | 4 ++-- docs/index.rst | 2 ++ rainbowstream/colorset/config | 2 ++ setup.py | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 3c2d6aa..124de0c 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -48,9 +48,9 @@ copyright = u'2014, Vu Nhat Minh' # built documents. # # The short X.Y version. -version = '1.3.0' +version = '1.3.1' # The full version, including alpha/beta/rc tags. -release = '1.3.0' +release = '1.3.1' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/docs/index.rst b/docs/index.rst index 5152f4f..348d1a1 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -319,6 +319,8 @@ You also can view or set a new value of every config key by ``config`` command ( - ``IMAGE_ON_TERM``: display tweet's image directly on terminal. +- ``IMAGE_RESIZE_TO_FIT``: display tweet's image fit inside terminal view (width and height). + - ``THEME``: current theme. - ``ASCII_ART``: diplay your twitter name by ascii art at stream begin or not. diff --git a/rainbowstream/colorset/config b/rainbowstream/colorset/config index bae4eb7..7dae57a 100644 --- a/rainbowstream/colorset/config +++ b/rainbowstream/colorset/config @@ -3,6 +3,8 @@ "HEARTBEAT_TIMEOUT" : 120, // Image on term "IMAGE_ON_TERM" : false, + // Resize image to fit on terminal view + "IMAGE_RESIZE_TO_FIT" : false, // Themes "THEME" : "monokai", // Ascii Art diff --git a/setup.py b/setup.py index 74c671d..b04ce8e 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ import os import os.path # Bumped version -version = '1.3.0' +version = '1.3.1' # Require install_requires = [ -- 2.25.1