Skip to content

Commit

Permalink
release 0.2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Hao Liu committed Aug 2, 2015
1 parent 256dfc2 commit 46b2694
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 5 deletions.
5 changes: 5 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ Release History

---------------

0.2.5 (2015-08-03)
++++++++++++++++++
* Fix progress message problem when one gist has multiple files
* Use MONOSPACE_FONT in the quick panel for choosing gist


0.2.4 (2015-07-16)
++++++++++++++++++
Expand Down
6 changes: 6 additions & 0 deletions config/messages/0.2.5.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Build 0.2.5
-----------
Release Date: 03 Aug 2015

* Fix progress message problem when one gist has multiple files
* Use MONOSPACE_FONT in the quick panel for choosing gist
2 changes: 1 addition & 1 deletion config/settings/HaoGistPackage.sublime-settings
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "HaoGist",
"version": "0.2.4",
"version": "0.2.5",
"description": "HaoGist is sublime plugin for CRUD on Github gist",
"author": "Hao Liu",
"email": "mouse.mliu@gmail.com",
Expand Down
8 changes: 4 additions & 4 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,10 @@ def choose_gist(self, res, options={}):
gist_items_property = []
for key, value in _gist["files"].items():
if files_number > 1:
key = "%s%s" % (" " * 8, key)
key = "%s%s" % (" " * 4, key)
self.items.append(key)
self.items_property[key] = [{
"fileName": key,
"fileName": key.strip(),
"fileProperty": value,
"gist": _gist
}]
Expand All @@ -111,7 +111,8 @@ def choose_gist(self, res, options={}):
# Populate items_property
self.items_property[description] = gist_items_property

self.window.show_quick_panel(self.items, self.on_done)
self.window.show_quick_panel(self.items, self.on_done,
sublime.MONOSPACE_FONT)

def on_done(self, index):
if index == -1: return
Expand Down Expand Up @@ -387,7 +388,6 @@ def on_input_name(self, input):
}
}
}
print (json.dumps(data))

api = GistApi(self.settings["token"])
thread = threading.Thread(target=api.patch, args=(self.gist_url, data, ))
Expand Down
2 changes: 2 additions & 0 deletions messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,7 @@
"0.2.1": "config/messages/0.2.1.md",
"0.2.2": "config/messages/0.2.2.md",
"0.2.3": "config/messages/0.2.3.md",
"0.2.4": "config/messages/0.2.4.md",
"0.2.5": "config/messages/0.2.5.md",
"install": "config/messages/install.md"
}

0 comments on commit 46b2694

Please sign in to comment.