Files
openide/plugins/github/github.iml
T
Kirill Likhodedov 4730a6a22f IDEA-83232 Fix Gist creation, use GitHub v3 API
Change url to https://api.github.com/gists
Prepare request as JSON according to http://developer.github.com/v3/gists/
Use Gson lib to form and parse JSON.
Set the request as request entity (instead of post parameters)
Handle errors better: show notification + write to the log
Show success message as Notification instead of Messages, because on Mac text can't be copied from the sheet dialog. Add link to the notification.

[reviewed by irengrig]
2012-03-22 20:46:08 +04:00

23 lines
1.0 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/resources" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module" module-name="vcs-api" />
<orderEntry type="module" module-name="git4idea" />
<orderEntry type="library" name="http-client-3.1" level="project" />
<orderEntry type="module" module-name="vcs-impl" />
<orderEntry type="module" module-name="tasks-core" />
<orderEntry type="module" module-name="tasks-api" />
<orderEntry type="module" module-name="platform-impl" />
<orderEntry type="module" module-name="util" />
<orderEntry type="library" name="gson" level="project" />
</component>
</module>