dusen 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. data/.gitignore +8 -0
  2. data/README.md +4 -0
  3. data/Rakefile +32 -0
  4. data/dusen.gemspec +20 -0
  5. data/lib/dusen/active_record_ext.rb +29 -0
  6. data/lib/dusen/atom.rb +21 -0
  7. data/lib/dusen/description.rb +21 -0
  8. data/lib/dusen/parser.rb +32 -0
  9. data/lib/dusen/query.rb +23 -0
  10. data/lib/dusen/syntax.rb +42 -0
  11. data/lib/dusen/util.rb +34 -0
  12. data/lib/dusen/version.rb +3 -0
  13. data/lib/dusen.rb +10 -0
  14. data/spec/rails-2.3/Gemfile +9 -0
  15. data/spec/rails-2.3/Rakefile +11 -0
  16. data/spec/rails-2.3/app_root/config/boot.rb +128 -0
  17. data/spec/rails-2.3/app_root/config/database.yml +21 -0
  18. data/spec/rails-2.3/app_root/config/environment.rb +14 -0
  19. data/spec/rails-2.3/app_root/config/environments/in_memory.rb +0 -0
  20. data/spec/rails-2.3/app_root/config/environments/mysql.rb +0 -0
  21. data/spec/rails-2.3/app_root/config/environments/postgresql.rb +0 -0
  22. data/spec/rails-2.3/app_root/config/environments/sqlite.rb +0 -0
  23. data/spec/rails-2.3/app_root/config/environments/sqlite3.rb +0 -0
  24. data/spec/rails-2.3/app_root/config/preinitializer.rb +20 -0
  25. data/spec/rails-2.3/app_root/config/routes.rb +13 -0
  26. data/spec/rails-2.3/app_root/log/.gitignore +1 -0
  27. data/spec/rails-2.3/rcov.opts +2 -0
  28. data/spec/rails-2.3/spec.opts +4 -0
  29. data/spec/rails-2.3/spec_helper.rb +24 -0
  30. data/spec/rails-3.0/.rspec +2 -0
  31. data/spec/rails-3.0/Gemfile +9 -0
  32. data/spec/rails-3.0/Rakefile +11 -0
  33. data/spec/rails-3.0/app_root/.gitignore +4 -0
  34. data/spec/rails-3.0/app_root/config/application.rb +31 -0
  35. data/spec/rails-3.0/app_root/config/boot.rb +13 -0
  36. data/spec/rails-3.0/app_root/config/database.yml +4 -0
  37. data/spec/rails-3.0/app_root/config/environment.rb +5 -0
  38. data/spec/rails-3.0/app_root/config/environments/test.rb +35 -0
  39. data/spec/rails-3.0/app_root/config/initializers/backtrace_silencers.rb +7 -0
  40. data/spec/rails-3.0/app_root/config/initializers/inflections.rb +10 -0
  41. data/spec/rails-3.0/app_root/config/initializers/mime_types.rb +5 -0
  42. data/spec/rails-3.0/app_root/config/initializers/secret_token.rb +7 -0
  43. data/spec/rails-3.0/app_root/config/initializers/session_store.rb +8 -0
  44. data/spec/rails-3.0/app_root/config/routes.rb +3 -0
  45. data/spec/rails-3.0/app_root/lib/tasks/.gitkeep +0 -0
  46. data/spec/rails-3.0/app_root/log/.gitkeep +0 -0
  47. data/spec/rails-3.0/app_root/script/rails +6 -0
  48. data/spec/rails-3.0/rcov.opts +2 -0
  49. data/spec/rails-3.0/spec_helper.rb +21 -0
  50. data/spec/rails-3.2/.rspec +2 -0
  51. data/spec/rails-3.2/Gemfile +11 -0
  52. data/spec/rails-3.2/Rakefile +11 -0
  53. data/spec/rails-3.2/app_root/.gitignore +4 -0
  54. data/spec/rails-3.2/app_root/config/application.rb +31 -0
  55. data/spec/rails-3.2/app_root/config/boot.rb +13 -0
  56. data/spec/rails-3.2/app_root/config/database.yml +4 -0
  57. data/spec/rails-3.2/app_root/config/environment.rb +5 -0
  58. data/spec/rails-3.2/app_root/config/environments/test.rb +35 -0
  59. data/spec/rails-3.2/app_root/config/initializers/backtrace_silencers.rb +7 -0
  60. data/spec/rails-3.2/app_root/config/initializers/inflections.rb +10 -0
  61. data/spec/rails-3.2/app_root/config/initializers/mime_types.rb +5 -0
  62. data/spec/rails-3.2/app_root/config/initializers/secret_token.rb +7 -0
  63. data/spec/rails-3.2/app_root/config/initializers/session_store.rb +8 -0
  64. data/spec/rails-3.2/app_root/config/routes.rb +3 -0
  65. data/spec/rails-3.2/app_root/log/.gitignore +1 -0
  66. data/spec/rails-3.2/rcov.opts +2 -0
  67. data/spec/rails-3.2/spec_helper.rb +26 -0
  68. data/spec/shared/app_root/app/controllers/application_controller.rb +3 -0
  69. data/spec/shared/app_root/app/models/user.rb +20 -0
  70. data/spec/shared/app_root/db/gem_test.db +0 -0
  71. data/spec/shared/app_root/db/migrate/001_create_users.rb +15 -0
  72. data/spec/shared/dusen/active_record_spec.rb +45 -0
  73. metadata +151 -0
@@ -0,0 +1,35 @@
1
+ SpecApp::Application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb
3
+
4
+ # The test environment is used exclusively to run your application's
5
+ # test suite. You never need to work with it otherwise. Remember that
6
+ # your test database is "scratch space" for the test suite and is wiped
7
+ # and recreated between test runs. Don't rely on the data there!
8
+ config.cache_classes = true
9
+
10
+ # Log error messages when you accidentally call methods on nil.
11
+ config.whiny_nils = true
12
+
13
+ # Show full error reports and disable caching
14
+ config.consider_all_requests_local = true
15
+ config.action_controller.perform_caching = false
16
+
17
+ # Raise exceptions instead of rendering exception templates
18
+ config.action_dispatch.show_exceptions = false
19
+
20
+ # Disable request forgery protection in test environment
21
+ config.action_controller.allow_forgery_protection = false
22
+
23
+ # Tell Action Mailer not to deliver emails to the real world.
24
+ # The :test delivery method accumulates sent emails in the
25
+ # ActionMailer::Base.deliveries array.
26
+ config.action_mailer.delivery_method = :test
27
+
28
+ # Use SQL instead of Active Record's schema dumper when creating the test database.
29
+ # This is necessary if your schema can't be completely dumped by the schema dumper,
30
+ # like if you have constraints or database-specific column types
31
+ # config.active_record.schema_format = :sql
32
+
33
+ # Print deprecation notices to the stderr
34
+ config.active_support.deprecation = :stderr
35
+ end
@@ -0,0 +1,7 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
4
+ # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
5
+
6
+ # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
7
+ # Rails.backtrace_cleaner.remove_silencers!
@@ -0,0 +1,10 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new inflection rules using the following format
4
+ # (all these examples are active by default):
5
+ # ActiveSupport::Inflector.inflections do |inflect|
6
+ # inflect.plural /^(ox)$/i, '\1en'
7
+ # inflect.singular /^(ox)en/i, '\1'
8
+ # inflect.irregular 'person', 'people'
9
+ # inflect.uncountable %w( fish sheep )
10
+ # end
@@ -0,0 +1,5 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new mime types for use in respond_to blocks:
4
+ # Mime::Type.register "text/richtext", :rtf
5
+ # Mime::Type.register_alias "text/html", :iphone
@@ -0,0 +1,7 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Your secret key for verifying the integrity of signed cookies.
4
+ # If you change this key, all old signed cookies will become invalid!
5
+ # Make sure the secret is at least 30 characters and all random,
6
+ # no regular words or you'll be exposed to dictionary attacks.
7
+ SpecApp::Application.config.secret_token = 'cb014a08a45243e7143f31e04774c342c1fba329fd594ae1a480d8283b1a851f425dc08044311fb4be6d000b6e6681de7c76d19148419a5ffa0a9f84556d3b33'
@@ -0,0 +1,8 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ SpecApp::Application.config.session_store :cookie_store, :key => '_app_root_session'
4
+
5
+ # Use the database for sessions instead of the cookie-based default,
6
+ # which shouldn't be used to store highly confidential information
7
+ # (create the session table with "rails generate session_migration")
8
+ # HasDefaultSpecApp::Application.config.session_store :active_record_store
@@ -0,0 +1,3 @@
1
+ SpecApp::Application.routes.draw do
2
+ match ':controller(/:action(/:id(.:format)))'
3
+ end
File without changes
File without changes
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby1.8
2
+ # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
3
+
4
+ APP_PATH = File.expand_path('../../config/application', __FILE__)
5
+ require File.expand_path('../../config/boot', __FILE__)
6
+ require 'rails/commands'
@@ -0,0 +1,2 @@
1
+ --exclude "spec/*,gems/*"
2
+ --rails
@@ -0,0 +1,21 @@
1
+ $: << File.join(File.dirname(__FILE__), "/../lib" )
2
+
3
+ # Set the default environment to sqlite3's in_memory database
4
+ ENV['RAILS_ENV'] ||= 'test'
5
+ ENV['RAILS_ROOT'] = 'app_root'
6
+
7
+ # Load the Rails environment and testing framework
8
+ require "#{File.dirname(__FILE__)}/app_root/config/environment"
9
+ require 'rspec/rails'
10
+
11
+ FileUtils.rm(Dir.glob("#{Rails.root}/db/*.db"), :force => true)
12
+
13
+ # Run the migrations
14
+ print "\033[30m" # dark gray text
15
+ ActiveRecord::Migrator.migrate("#{Rails.root}/db/migrate")
16
+ print "\033[0m"
17
+
18
+ RSpec.configure do |config|
19
+ config.use_transactional_fixtures = true
20
+ config.use_instantiated_fixtures = false
21
+ end
@@ -0,0 +1,2 @@
1
+ --colour
2
+ --format progress
@@ -0,0 +1,11 @@
1
+ source :rubygems
2
+
3
+ gem 'rails', '~>3.2.0'
4
+ gem 'rspec'
5
+ gem 'rspec-rails'
6
+ gem 'sqlite3'
7
+ gem 'rspec_candy'
8
+ gem 'ruby-debug'
9
+ gem 'database_cleaner'
10
+
11
+ gem 'dusen', :path => '../..'
@@ -0,0 +1,11 @@
1
+ require 'rake'
2
+ require 'rspec/core/rake_task'
3
+
4
+ desc 'Default: Run all specs for a specific rails version.'
5
+ task :default => :spec
6
+
7
+ desc "Run all specs for a specific rails version"
8
+ RSpec::Core::RakeTask.new(:spec) do |t|
9
+ t.pattern = defined?(SPEC) ? SPEC : ['**/*_spec.rb', '../shared/**/*_spec.rb']
10
+ t.verbose = false
11
+ end
@@ -0,0 +1,4 @@
1
+ .bundle
2
+ db/*.sqlite3
3
+ log/*.log
4
+ tmp/**/*
@@ -0,0 +1,31 @@
1
+ require File.expand_path('../boot', __FILE__)
2
+
3
+ require 'rails/all'
4
+
5
+ # If you have a Gemfile, require the gems listed there, including any gems
6
+ # you've limited to :test, :development, or :production.
7
+ Bundler.require(:default, Rails.env) if defined?(Bundler)
8
+
9
+ module SpecApp
10
+ class Application < Rails::Application
11
+ config.encoding = "utf-8"
12
+
13
+ config.cache_classes = true
14
+ config.whiny_nils = true
15
+
16
+ config.consider_all_requests_local = true
17
+ config.action_controller.perform_caching = false
18
+
19
+ config.action_dispatch.show_exceptions = false
20
+
21
+ config.action_controller.allow_forgery_protection = false
22
+
23
+ config.action_mailer.delivery_method = :test
24
+
25
+ config.active_support.deprecation = :stderr
26
+
27
+ config.root = File.expand_path('../..', __FILE__)
28
+
29
+ # railties.plugins << Rails::Plugin.new(File.expand_path('../../../../..', __FILE__))
30
+ end
31
+ end
@@ -0,0 +1,13 @@
1
+ require 'rubygems'
2
+
3
+ # Set up gems listed in the Gemfile.
4
+ gemfile = File.expand_path('../../Gemfile', __FILE__)
5
+ begin
6
+ ENV['BUNDLE_GEMFILE'] = gemfile
7
+ require 'bundler'
8
+ Bundler.setup
9
+ rescue Bundler::GemNotFound => e
10
+ STDERR.puts e.message
11
+ STDERR.puts "Try running `bundle install`."
12
+ exit!
13
+ end if File.exist?(gemfile)
@@ -0,0 +1,4 @@
1
+ test:
2
+ adapter: sqlite3
3
+ database: db/gem_test.db
4
+ verbosity: quiet
@@ -0,0 +1,5 @@
1
+ # Load the rails application
2
+ require File.expand_path('../application', __FILE__)
3
+
4
+ # Initialize the rails application
5
+ SpecApp::Application.initialize!
@@ -0,0 +1,35 @@
1
+ SpecApp::Application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb
3
+
4
+ # The test environment is used exclusively to run your application's
5
+ # test suite. You never need to work with it otherwise. Remember that
6
+ # your test database is "scratch space" for the test suite and is wiped
7
+ # and recreated between test runs. Don't rely on the data there!
8
+ config.cache_classes = true
9
+
10
+ # Log error messages when you accidentally call methods on nil.
11
+ config.whiny_nils = true
12
+
13
+ # Show full error reports and disable caching
14
+ config.consider_all_requests_local = true
15
+ config.action_controller.perform_caching = false
16
+
17
+ # Raise exceptions instead of rendering exception templates
18
+ config.action_dispatch.show_exceptions = false
19
+
20
+ # Disable request forgery protection in test environment
21
+ config.action_controller.allow_forgery_protection = false
22
+
23
+ # Tell Action Mailer not to deliver emails to the real world.
24
+ # The :test delivery method accumulates sent emails in the
25
+ # ActionMailer::Base.deliveries array.
26
+ config.action_mailer.delivery_method = :test
27
+
28
+ # Use SQL instead of Active Record's schema dumper when creating the test database.
29
+ # This is necessary if your schema can't be completely dumped by the schema dumper,
30
+ # like if you have constraints or database-specific column types
31
+ # config.active_record.schema_format = :sql
32
+
33
+ # Print deprecation notices to the stderr
34
+ config.active_support.deprecation = :stderr
35
+ end
@@ -0,0 +1,7 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
4
+ # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
5
+
6
+ # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
7
+ # Rails.backtrace_cleaner.remove_silencers!
@@ -0,0 +1,10 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new inflection rules using the following format
4
+ # (all these examples are active by default):
5
+ # ActiveSupport::Inflector.inflections do |inflect|
6
+ # inflect.plural /^(ox)$/i, '\1en'
7
+ # inflect.singular /^(ox)en/i, '\1'
8
+ # inflect.irregular 'person', 'people'
9
+ # inflect.uncountable %w( fish sheep )
10
+ # end
@@ -0,0 +1,5 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new mime types for use in respond_to blocks:
4
+ # Mime::Type.register "text/richtext", :rtf
5
+ # Mime::Type.register_alias "text/html", :iphone
@@ -0,0 +1,7 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Your secret key for verifying the integrity of signed cookies.
4
+ # If you change this key, all old signed cookies will become invalid!
5
+ # Make sure the secret is at least 30 characters and all random,
6
+ # no regular words or you'll be exposed to dictionary attacks.
7
+ SpecApp::Application.config.secret_token = 'cb014a08a45243e7143f31e04774c342c1fba329fd594ae1a480d8283b1a851f425dc08044311fb4be6d000b6e6681de7c76d19148419a5ffa0a9f84556d3b33'
@@ -0,0 +1,8 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ SpecApp::Application.config.session_store :cookie_store, :key => '_app_root_session'
4
+
5
+ # Use the database for sessions instead of the cookie-based default,
6
+ # which shouldn't be used to store highly confidential information
7
+ # (create the session table with "rails generate session_migration")
8
+ # HasDefaultSpecApp::Application.config.session_store :active_record_store
@@ -0,0 +1,3 @@
1
+ SpecApp::Application.routes.draw do
2
+ match ':controller(/:action(/:id(.:format)))'
3
+ end
@@ -0,0 +1 @@
1
+ *.log
@@ -0,0 +1,2 @@
1
+ --exclude "spec/*,gems/*"
2
+ --rails
@@ -0,0 +1,26 @@
1
+ $: << File.join(File.dirname(__FILE__), "/../lib" )
2
+
3
+ ENV['RAILS_ENV'] ||= 'test'
4
+ ENV['RAILS_ROOT'] = 'app_root'
5
+
6
+ FileUtils.rm(Dir.glob("#{ENV['RAILS_ROOT']}/db/*.db"), :force => true)
7
+
8
+ # Load the Rails environment and testing framework
9
+ require "#{File.dirname(__FILE__)}/app_root/config/environment"
10
+ require 'rspec/rails'
11
+ require 'database_cleaner'
12
+
13
+ DatabaseCleaner.strategy = :truncation
14
+
15
+ # Run the migrations
16
+ print "\033[30m" # dark gray text
17
+ ActiveRecord::Migrator.migrate("#{Rails.root}/db/migrate")
18
+ print "\033[0m"
19
+
20
+ RSpec.configure do |config|
21
+ config.use_transactional_fixtures = false
22
+ config.use_instantiated_fixtures = false
23
+ config.before(:each) do
24
+ DatabaseCleaner.clean
25
+ end
26
+ end
@@ -0,0 +1,3 @@
1
+ class ApplicationController < ActionController::Base
2
+
3
+ end
@@ -0,0 +1,20 @@
1
+ class User < ActiveRecord::Base
2
+
3
+ search_syntax do
4
+
5
+ search_by :text do |scope, text|
6
+ scope.where_like([:name, :email, :city] => text)
7
+ end
8
+
9
+ search_by :city do |scope, city|
10
+ scope.scoped(:conditions => { :city => city })
11
+ end
12
+
13
+ search_by :email do |scope, email|
14
+ scope.scoped(:conditions => { :email => email })
15
+ end
16
+
17
+ end
18
+
19
+ end
20
+
Binary file
@@ -0,0 +1,15 @@
1
+ class CreateUsers < ActiveRecord::Migration
2
+
3
+ def self.up
4
+ create_table :users do |t|
5
+ t.string :name
6
+ t.string :email
7
+ t.string :city
8
+ end
9
+ end
10
+
11
+ def self.down
12
+ drop_table :users
13
+ end
14
+
15
+ end
@@ -0,0 +1,45 @@
1
+ require 'spec_helper'
2
+
3
+ describe Dusen::ActiveRecord do
4
+
5
+ describe '.search' do
6
+
7
+ it 'should find records by given words' do
8
+ match = User.create!(:name => 'foo')
9
+ no_match = User.create!(:name => 'bar')
10
+ User.search('foo').to_a.should == [match]
11
+ end
12
+
13
+ it 'should AND multiple words' do
14
+ match = User.create!(:name => 'foo bar')
15
+ no_match = User.create!(:name => 'foo')
16
+ User.search('foo bar').to_a.should == [match]
17
+ end
18
+
19
+ it 'should find records by phrases' do
20
+ match = User.create!(:name => 'foo bar baz')
21
+ no_match = User.create!(:name => 'foo baz bar')
22
+ User.search('"foo bar"').to_a.should == [match]
23
+ end
24
+
25
+ it 'should find records by qualified fields' do
26
+ match = User.create!(:name => 'foo@bar.com', :email => 'foo@bar.com')
27
+ no_match = User.create!(:name => 'foo@bar.com', :email => 'bam@baz.com')
28
+ User.search('email:foo@bar.com').to_a.should == [match]
29
+ end
30
+
31
+ it 'should allow phrases as values for qualified field queries' do
32
+ match = User.create!(:name => 'Foo Bar', :city => 'Foo Bar')
33
+ no_match = User.create!(:name => 'Foo Bar', :city => 'Bar Foo')
34
+ User.search('city:"Foo Bar"').to_a.should == [match]
35
+ end
36
+
37
+ it 'should allow to mix multiple types of atoms in a single query' do
38
+ match = User.create!(:name => 'Foo', :city => 'Foohausen')
39
+ no_match = User.create!(:name => 'Foo', :city => 'Barhausen')
40
+ User.search('Foo city:Foohausen').to_a.should == [match]
41
+ end
42
+
43
+ end
44
+
45
+ end
metadata ADDED
@@ -0,0 +1,151 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: dusen
3
+ version: !ruby/object:Gem::Version
4
+ hash: 27
5
+ prerelease:
6
+ segments:
7
+ - 0
8
+ - 1
9
+ - 0
10
+ version: 0.1.0
11
+ platform: ruby
12
+ authors:
13
+ - Henning Koch
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2012-11-20 00:00:00 +01:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ name: rails
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ hash: 3
30
+ segments:
31
+ - 0
32
+ version: "0"
33
+ type: :runtime
34
+ version_requirements: *id001
35
+ description: Maps Google-like queries (words, "phrases", qualified:fields) to ActiveRecord scope chains
36
+ email: henning.koch@makandra.de
37
+ executables: []
38
+
39
+ extensions: []
40
+
41
+ extra_rdoc_files: []
42
+
43
+ files:
44
+ - .gitignore
45
+ - README.md
46
+ - Rakefile
47
+ - dusen.gemspec
48
+ - lib/dusen.rb
49
+ - lib/dusen/active_record_ext.rb
50
+ - lib/dusen/atom.rb
51
+ - lib/dusen/description.rb
52
+ - lib/dusen/parser.rb
53
+ - lib/dusen/query.rb
54
+ - lib/dusen/syntax.rb
55
+ - lib/dusen/util.rb
56
+ - lib/dusen/version.rb
57
+ - spec/rails-2.3/Gemfile
58
+ - spec/rails-2.3/Rakefile
59
+ - spec/rails-2.3/app_root/config/boot.rb
60
+ - spec/rails-2.3/app_root/config/database.yml
61
+ - spec/rails-2.3/app_root/config/environment.rb
62
+ - spec/rails-2.3/app_root/config/environments/in_memory.rb
63
+ - spec/rails-2.3/app_root/config/environments/mysql.rb
64
+ - spec/rails-2.3/app_root/config/environments/postgresql.rb
65
+ - spec/rails-2.3/app_root/config/environments/sqlite.rb
66
+ - spec/rails-2.3/app_root/config/environments/sqlite3.rb
67
+ - spec/rails-2.3/app_root/config/preinitializer.rb
68
+ - spec/rails-2.3/app_root/config/routes.rb
69
+ - spec/rails-2.3/app_root/log/.gitignore
70
+ - spec/rails-2.3/rcov.opts
71
+ - spec/rails-2.3/spec.opts
72
+ - spec/rails-2.3/spec_helper.rb
73
+ - spec/rails-3.0/.rspec
74
+ - spec/rails-3.0/Gemfile
75
+ - spec/rails-3.0/Rakefile
76
+ - spec/rails-3.0/app_root/.gitignore
77
+ - spec/rails-3.0/app_root/config/application.rb
78
+ - spec/rails-3.0/app_root/config/boot.rb
79
+ - spec/rails-3.0/app_root/config/database.yml
80
+ - spec/rails-3.0/app_root/config/environment.rb
81
+ - spec/rails-3.0/app_root/config/environments/test.rb
82
+ - spec/rails-3.0/app_root/config/initializers/backtrace_silencers.rb
83
+ - spec/rails-3.0/app_root/config/initializers/inflections.rb
84
+ - spec/rails-3.0/app_root/config/initializers/mime_types.rb
85
+ - spec/rails-3.0/app_root/config/initializers/secret_token.rb
86
+ - spec/rails-3.0/app_root/config/initializers/session_store.rb
87
+ - spec/rails-3.0/app_root/config/routes.rb
88
+ - spec/rails-3.0/app_root/lib/tasks/.gitkeep
89
+ - spec/rails-3.0/app_root/log/.gitkeep
90
+ - spec/rails-3.0/app_root/script/rails
91
+ - spec/rails-3.0/rcov.opts
92
+ - spec/rails-3.0/spec_helper.rb
93
+ - spec/rails-3.2/.rspec
94
+ - spec/rails-3.2/Gemfile
95
+ - spec/rails-3.2/Rakefile
96
+ - spec/rails-3.2/app_root/.gitignore
97
+ - spec/rails-3.2/app_root/config/application.rb
98
+ - spec/rails-3.2/app_root/config/boot.rb
99
+ - spec/rails-3.2/app_root/config/database.yml
100
+ - spec/rails-3.2/app_root/config/environment.rb
101
+ - spec/rails-3.2/app_root/config/environments/test.rb
102
+ - spec/rails-3.2/app_root/config/initializers/backtrace_silencers.rb
103
+ - spec/rails-3.2/app_root/config/initializers/inflections.rb
104
+ - spec/rails-3.2/app_root/config/initializers/mime_types.rb
105
+ - spec/rails-3.2/app_root/config/initializers/secret_token.rb
106
+ - spec/rails-3.2/app_root/config/initializers/session_store.rb
107
+ - spec/rails-3.2/app_root/config/routes.rb
108
+ - spec/rails-3.2/app_root/log/.gitignore
109
+ - spec/rails-3.2/rcov.opts
110
+ - spec/rails-3.2/spec_helper.rb
111
+ - spec/shared/app_root/app/controllers/application_controller.rb
112
+ - spec/shared/app_root/app/models/user.rb
113
+ - spec/shared/app_root/db/gem_test.db
114
+ - spec/shared/app_root/db/migrate/001_create_users.rb
115
+ - spec/shared/dusen/active_record_spec.rb
116
+ has_rdoc: true
117
+ homepage: https://github.com/makandra/dusen
118
+ licenses: []
119
+
120
+ post_install_message:
121
+ rdoc_options: []
122
+
123
+ require_paths:
124
+ - lib
125
+ required_ruby_version: !ruby/object:Gem::Requirement
126
+ none: false
127
+ requirements:
128
+ - - ">="
129
+ - !ruby/object:Gem::Version
130
+ hash: 3
131
+ segments:
132
+ - 0
133
+ version: "0"
134
+ required_rubygems_version: !ruby/object:Gem::Requirement
135
+ none: false
136
+ requirements:
137
+ - - ">="
138
+ - !ruby/object:Gem::Version
139
+ hash: 3
140
+ segments:
141
+ - 0
142
+ version: "0"
143
+ requirements: []
144
+
145
+ rubyforge_project:
146
+ rubygems_version: 1.3.9.4
147
+ signing_key:
148
+ specification_version: 3
149
+ summary: Maps Google-like queries (words, "phrases", qualified:fields) to ActiveRecord scope chains
150
+ test_files: []
151
+