Yoji Shidara
null+****@clear*****
Tue Sep 10 15:05:25 JST 2013
Yoji Shidara 2013-09-10 15:05:25 +0900 (Tue, 10 Sep 2013) New Revision: 0fb664b93ed8bf84e60978b870304cea9aaaff43 https://github.com/droonga/droonga-client-ruby/commit/0fb664b93ed8bf84e60978b870304cea9aaaff43 Message: Make droonga-client as a gem Generate skeleton with: bundle gem droonga-client Then copy generated files onto droonga-client-ruby, with modifications. Added files: Gemfile Gemfile.lock README.md Rakefile droonga-client.gemspec lib/droonga/client/version.rb Modified files: lib/droonga/client.rb Added: Gemfile (+4 -0) 100644 =================================================================== --- /dev/null +++ Gemfile 2013-09-10 15:05:25 +0900 (f2d4f89) @@ -0,0 +1,4 @@ +source 'https://rubygems.org' + +# Specify your gem's dependencies in droonga-client.gemspec +gemspec Added: Gemfile.lock (+17 -0) 100644 =================================================================== --- /dev/null +++ Gemfile.lock 2013-09-10 15:05:25 +0900 (c71be78) @@ -0,0 +1,17 @@ +PATH + remote: . + specs: + droonga-client (0.0.1) + +GEM + remote: https://rubygems.org/ + specs: + rake (10.1.0) + +PLATFORMS + ruby + +DEPENDENCIES + bundler (~> 1.3) + droonga-client! + rake Added: README.md (+29 -0) 100644 =================================================================== --- /dev/null +++ README.md 2013-09-10 15:05:25 +0900 (a7fc0c1) @@ -0,0 +1,29 @@ +# Droonga::Client + +TODO: Write a gem description + +## Installation + +Add this line to your application's Gemfile: + + gem 'droonga-client' + +And then execute: + + $ bundle + +Or install it yourself as: + + $ gem install droonga-client + +## Usage + +TODO: Write usage instructions here + +## Contributing + +1. Fork it +2. Create your feature branch (`git checkout -b my-new-feature`) +3. Commit your changes (`git commit -am 'Add some feature'`) +4. Push to the branch (`git push origin my-new-feature`) +5. Create new Pull Request Added: Rakefile (+1 -0) 100644 =================================================================== --- /dev/null +++ Rakefile 2013-09-10 15:05:25 +0900 (2995527) @@ -0,0 +1 @@ +require "bundler/gem_tasks" Added: droonga-client.gemspec (+23 -0) 100644 =================================================================== --- /dev/null +++ droonga-client.gemspec 2013-09-10 15:05:25 +0900 (be03ed0) @@ -0,0 +1,23 @@ +# coding: utf-8 +lib = File.expand_path('../lib', __FILE__) +$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) +require 'droonga/client/version' + +Gem::Specification.new do |spec| + spec.name = "droonga-client" + spec.version = Droonga::Client::VERSION + spec.authors = ["droonga project"] + spec.email = ["droonga �� groonga.org"] + spec.description = %q{Droonga client for Ruby} + spec.summary = %q{Droonga client for Ruby} + spec.homepage = "https://github.com/droonga/droonga-client-ruby" + spec.license = "LGPL-2.1" + + spec.files = `git ls-files`.split($/) + spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } + spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) + spec.require_paths = ["lib"] + + spec.add_development_dependency "bundler", "~> 1.3" + spec.add_development_dependency "rake" +end Modified: lib/droonga/client.rb (+3 -1) =================================================================== --- lib/droonga/client.rb 2013-08-19 18:42:00 +0900 (a1f3e2d) +++ lib/droonga/client.rb 2013-09-10 15:05:25 +0900 (367f391) @@ -19,7 +19,9 @@ require "socket" require "msgpack" require "fluent-logger" -module DroongaProtocol +require "droonga/client/version" + +module Droonga class Client def initialize(options={}) default_options = { Added: lib/droonga/client/version.rb (+5 -0) 100644 =================================================================== --- /dev/null +++ lib/droonga/client/version.rb 2013-09-10 15:05:25 +0900 (73cd942) @@ -0,0 +1,5 @@ +module Droonga + class Client + VERSION = "0.0.1" + end +end -------------- next part -------------- HTML����������������������������...Download