Browse files

maintain autoloads file

also add gh.el as single entry point
  • Loading branch information...
1 parent 2094c0e commit c280f442f3dbfc78a244faac924676cd1ecda5ab @sigma sigma committed Jun 5, 2011
Showing with 91 additions and 0 deletions.
  1. +2 −0 gh-api.el
  2. +3 −0 gh-auth.el
  3. +49 −0 gh-autoloads.el
  4. +2 −0 gh-gist.el
  5. +35 −0 gh.el
View
2 gh-api.el
@@ -30,6 +30,7 @@
(require 'json)
(require 'gh-auth)
+;;;###autoload
(defclass gh-api ()
((sync :initarg :sync :initform t)
(base :initarg :base :type string)
@@ -48,6 +49,7 @@
(unless eieio-skip-typecheck
(gh-password-authenticator "pwd-auth")))
+;;;###autoload
(defclass gh-api-v3 (gh-api)
((base :initarg :base :initform "https://api.github.com")
(auth :initarg :auth :initform (gh-api-get-password-authenticator)))
View
3 gh-auth.el
@@ -51,10 +51,12 @@
(gh-set-config "password" pass))
pass)))
+;;;###autoload
(defclass gh-authenticator ()
((username :initarg :username :initform (gh-auth-get-username)))
"Abstract authenticator")
+;;;###autoload
(defclass gh-password-authenticator (gh-authenticator)
((password :initarg :password :initform (gh-auth-get-password)))
"Password-based authenticator")
@@ -71,6 +73,7 @@
(oref auth :password) 'utf-8))))))
req)
+;;;###autoload
(defclass gh-oauth-authenticator (gh-authenticator)
((token :initarg :token))
"Oauth-based authenticator")
View
49 gh-autoloads.el
@@ -0,0 +1,49 @@
+;;; gh-autoloads.el --- automatically extracted autoloads
+;;
+;;; Code:
+
+
+;;;### (autoloads (gh-api-v3 gh-api) "gh-api" "gh-api.el" (19947
+;;;;;; 20831))
+;;; Generated autoloads from gh-api.el
+
+(eieio-defclass-autoload 'gh-api 'nil "gh-api" "Github API")
+
+(eieio-defclass-autoload 'gh-api-v3 '(gh-api) "gh-api" "Github API v3")
+
+;;;***
+
+;;;### (autoloads (gh-oauth-authenticator gh-password-authenticator
+;;;;;; gh-authenticator) "gh-auth" "gh-auth.el" (19947 20863))
+;;; Generated autoloads from gh-auth.el
+
+(eieio-defclass-autoload 'gh-authenticator 'nil "gh-auth" "Abstract authenticator")
+
+(eieio-defclass-autoload 'gh-password-authenticator '(gh-authenticator) "gh-auth" "Password-based authenticator")
+
+(eieio-defclass-autoload 'gh-oauth-authenticator '(gh-authenticator) "gh-auth" "Oauth-based authenticator")
+
+;;;***
+
+;;;### (autoloads (gh-gist-gist gh-gist-api) "gh-gist" "gh-gist.el"
+;;;;;; (19947 20919))
+;;; Generated autoloads from gh-gist.el
+
+(eieio-defclass-autoload 'gh-gist-api '(gh-api-v3) "gh-gist" "Gist API")
+
+(eieio-defclass-autoload 'gh-gist-gist 'nil "gh-gist" "Gist object")
+
+;;;***
+
+;;;### (autoloads nil nil ("gh-common.el" "gh.el") (19947 20937 987481))
+
+;;;***
+
+(provide 'gh-autoloads)
+;; Local Variables:
+;; version-control: never
+;; no-byte-compile: t
+;; no-update-autoloads: t
+;; coding: utf-8
+;; End:
+;;; gh-autoloads.el ends here
View
2 gh-gist.el
@@ -30,10 +30,12 @@
(require 'gh-auth)
(require 'gh-common)
+;;;###autoload
(defclass gh-gist-api (gh-api-v3)
()
"Gist API")
+;;;###autoload
(defclass gh-gist-gist ()
((date :initarg :date)
(push-url :initarg :push-url)
View
35 gh.el
@@ -0,0 +1,35 @@
+;;; gh.el --- main entry point for gh.el library
+
+;; Copyright (C) 2011 Free Software Foundation, Inc.
+
+;; Author: Yann Hodique <yhodique@vmware.com>
+;; Keywords:
+
+;; This file is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation; either version 2, or (at your option)
+;; any later version.
+
+;; This file is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs; see the file COPYING. If not, write to
+;; the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+;; Boston, MA 02111-1307, USA.
+
+;;; Commentary:
+
+;;
+
+;;; Code:
+
+;;; Run the following to update autoloads
+;;; (let ((generated-autoload-file (concat (file-name-directory buffer-file-name) "gh-autoloads.el"))) (update-directory-autoloads "."))
+
+(require 'gh-autoloads)
+
+(provide 'gh)
+;;; gh.el ends here

0 comments on commit c280f44

Please sign in to comment.