WordPress.org

Plugin Directory

Changeset 603336


Ignore:
Timestamp:
09/24/12 22:45:18 (19 months ago)
Author:
jaredatch
Message:

Proper 1.0.0 initial commit

Location:
github-user-repo-widget/trunk
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • github-user-repo-widget/trunk/github-repos-widget.php

    r603332 r603336  
    44 * Plugin URI: https://github.com/jaredatch/github-user-repo-widget/ 
    55 * Description: A simple widget that will show a list of repos for a specified GitHub user. Optionally can display a GitHub follow badge as well. 
    6  * Version: 0.3 
     6 * Version: 1.0.0 
    77 * Author: Jared Atchison 
    88 * Author URI: http://jaredatchison.com  
     
    189189    } 
    190190} 
    191  
    192191add_action( 'widgets_init', create_function( '', "register_widget('ja_github_repo_Widget');" ) ); 
    193  
    194 /** 
    195  * Github plugin updater 
    196  * 
    197  * This script will look for plugin updates on GitHub.com 
    198  * 
    199  * @since   1.0.0 
    200  * @package GitHubUserRepoWidget 
    201  */ 
    202 function ja_github_repo_updater_init() { 
    203  
    204     include_once( 'updater.php' ); 
    205  
    206     define( 'WP_GITHUB_FORCE_UPDATE', true ); 
    207  
    208     if ( is_admin() ) { 
    209  
    210         $config = array( 
    211             'slug'               => plugin_basename(__FILE__), 
    212             'proper_folder_name' => 'github-user-repo-widget', 
    213             'api_url'            => 'https://api.github.com/repos/jaredatch/GitHub-User-Repo-Widget', 
    214             'raw_url'            => 'https://raw.github.com/jaredatch/GitHub-User-Repo-Widget/master', 
    215             'github_url'         => 'https://github.com/jaredatch/GitHub-User-Repo-Widget', 
    216             'zip_url'            => 'https://github.com/jaredatch/GitHub-User-Repo-Widget/zipball/master', 
    217             'sslverify'          => true, 
    218             'requires'           => '3.4', 
    219             'tested'             => '3.5', 
    220             'readme'             => 'readme.txt', 
    221         ); 
    222  
    223         new WPGitHubUpdater( $config ); 
    224  
    225     } 
    226  
    227 } 
    228 add_action( 'init', 'ja_github_repo_updater_init' ); 
  • github-user-repo-widget/trunk/readme.txt

    r603333 r603336  
    88  
    99A simple widget that will show a list of repos for a specified GitHub user. 
    10  
    11 Note: This plugin users GitHub.com for updates instead of WordPress.org. If you install it from WordPress.org an newer version may be available from GitHub. If so, you will prompted that an update is available and you can update the plugin through the dashboard like normal. 
    1210 
    1311== Description == 
Note: See TracChangeset for help on using the changeset viewer.