Skip to content

Commit

Permalink
Concept
Browse files Browse the repository at this point in the history
  • Loading branch information
snoozer05 committed Nov 1, 2012
1 parent 4fc4b0d commit 1378066
Show file tree
Hide file tree
Showing 7 changed files with 123 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Gemfile
@@ -0,0 +1,4 @@
source "http://rubygems.org"

# Specify your gem's dependencies in gglog.gemspec
gemspec
41 changes: 41 additions & 0 deletions Gemfile.lock
@@ -0,0 +1,41 @@
PATH
remote: .
specs:
gglog (0.0.1)
bundler (>= 1.2)
rainbow
rroonga (>= 2.0.6)
thor (>= 0.16.0)

GEM
remote: http://rubygems.org/
specs:
archive-zip (0.5.0)
io-like (>= 0.3.0)
diff-lcs (1.1.3)
io-like (0.3.0)
json (1.7.5)
pkg-config (1.1.4)
rainbow (1.1.4)
rake (0.9.2.2)
rroonga (2.0.6)
archive-zip
json
pkg-config
rspec (2.11.0)
rspec-core (~> 2.11.0)
rspec-expectations (~> 2.11.0)
rspec-mocks (~> 2.11.0)
rspec-core (2.11.1)
rspec-expectations (2.11.3)
diff-lcs (~> 1.1.3)
rspec-mocks (2.11.3)
thor (0.16.0)

PLATFORMS
ruby

DEPENDENCIES
gglog!
rake
rspec
8 changes: 8 additions & 0 deletions bin/gglog
@@ -0,0 +1,8 @@
#!/usr/bin/env ruby

lib = File.expand_path(File.dirname(__FILE__) + '/../lib')
$LOAD_PATH.unshift(lib) if File.directory?(lib) && !$LOAD_PATH.include?(lib)

require 'gglog'

Gglog::Command.start
30 changes: 30 additions & 0 deletions gglog.gemspec
@@ -0,0 +1,30 @@
# coding: utf-8
$:.push File.expand_path("../lib", __FILE__)
require "gglog/version"

Gem::Specification.new do |s|
s.name = "gglog"
s.version = Gglog::VERSION
s.authors = ["SHIMADA Koji"]
s.email = ["koji.shimada@enishi-tech.com"]
s.homepage = "http://gglog.github.com/"
s.summary = %q{Your partner for finding a good commit message.}
s.description = %q{Your partner for finding a good commit message.}

s.rubyforge_project = "gglog"

s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]

s.required_ruby_version = '>= 1.9.3'

s.add_runtime_dependency 'thor', ['>= 0.16.0']
s.add_runtime_dependency 'bundler', ['>= 1.2']
s.add_runtime_dependency 'rroonga', ['>= 2.0.6']
s.add_runtime_dependency 'rainbow'

s.add_development_dependency 'rake'
s.add_development_dependency 'rspec'
end
5 changes: 5 additions & 0 deletions lib/gglog.rb
@@ -0,0 +1,5 @@
#coding: utf-8
require "Gglog/command"

module Gglog
end
31 changes: 31 additions & 0 deletions lib/gglog/command.rb
@@ -0,0 +1,31 @@
#coding: utf-8
require 'thor'

module Gglog
class Command < Thor
desc 'register [CLONE URL]', 'Register git repository on clone url to gglog target'
def register(clone_url)
#TODO
end

desc 'list', 'List git repositories of gglog target'
def list
#TODO
end

desc 'search [WORDS]', 'Search commit message'
def search(words)
#TODO
end

desc 'yaku [JAPANESE WORDS]', 'Translate commit message'
def yaku(japanese_words)
#TODO
end

desc 'sync', 'Sync git repositories of gglog target'
def sync
#TODO
end
end
end
4 changes: 4 additions & 0 deletions lib/gglog/version.rb
@@ -0,0 +1,4 @@
#coding: utf-8
module Gglog
VERSION = '0.0.1'
end

0 comments on commit 1378066

Please sign in to comment.