You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by ma...@apache.org on 2012/03/21 02:37:48 UTC

[lucy-commits] svn commit: r1303249 - in /incubator/lucy/trunk/ruby: apache_lucy.gemspec lib/ lib/apache_lucy.rb test/ test/test_apache_lucy.rb

Author: marvin
Date: Wed Mar 21 01:37:48 2012
New Revision: 1303249

URL: http://svn.apache.org/viewvc?rev=1303249&view=rev
Log:
Add skeletal files for Ruby gem "apache_lucy".

Add gemspec, basic .rb library file, and basic test file for "apache_lucy" gem
and the Ruby module "Lucy".

Added:
    incubator/lucy/trunk/ruby/apache_lucy.gemspec   (with props)
    incubator/lucy/trunk/ruby/lib/
    incubator/lucy/trunk/ruby/lib/apache_lucy.rb   (with props)
    incubator/lucy/trunk/ruby/test/
    incubator/lucy/trunk/ruby/test/test_apache_lucy.rb   (with props)

Added: incubator/lucy/trunk/ruby/apache_lucy.gemspec
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/ruby/apache_lucy.gemspec?rev=1303249&view=auto
==============================================================================
--- incubator/lucy/trunk/ruby/apache_lucy.gemspec (added)
+++ incubator/lucy/trunk/ruby/apache_lucy.gemspec Wed Mar 21 01:37:48 2012
@@ -0,0 +1,10 @@
+Gem::Specification.new do |spec|
+  spec.name        = 'apache_lucy'
+  spec.version     = '0.3.0'
+  spec.summary     = "Full text search engine library."
+  spec.author      = "Apache Lucy project"
+  spec.email       = 'lucy-dev@incubator.apache.org'
+  spec.files       = ["lib/apache_lucy.rb"]
+  spec.homepage    = 'http://incubator.apache.org/lucy'
+end
+

Propchange: incubator/lucy/trunk/ruby/apache_lucy.gemspec
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/lucy/trunk/ruby/lib/apache_lucy.rb
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/ruby/lib/apache_lucy.rb?rev=1303249&view=auto
==============================================================================
--- incubator/lucy/trunk/ruby/lib/apache_lucy.rb (added)
+++ incubator/lucy/trunk/ruby/lib/apache_lucy.rb Wed Mar 21 01:37:48 2012
@@ -0,0 +1,4 @@
+module Lucy 
+  VERSION = '0.3.0'
+end
+

Propchange: incubator/lucy/trunk/ruby/lib/apache_lucy.rb
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/lucy/trunk/ruby/test/test_apache_lucy.rb
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/ruby/test/test_apache_lucy.rb?rev=1303249&view=auto
==============================================================================
--- incubator/lucy/trunk/ruby/test/test_apache_lucy.rb (added)
+++ incubator/lucy/trunk/ruby/test/test_apache_lucy.rb Wed Mar 21 01:37:48 2012
@@ -0,0 +1,9 @@
+require 'test/unit'
+require 'apache_lucy'
+
+class ApacheLucyTest < Test::Unit::TestCase
+  def test_lucy_version
+    assert Lucy::VERSION
+  end
+end
+

Propchange: incubator/lucy/trunk/ruby/test/test_apache_lucy.rb
------------------------------------------------------------------------------
    svn:eol-style = native