aboutsummaryrefslogtreecommitdiffstats
path: root/vendor
diff options
context:
space:
mode:
Diffstat (limited to 'vendor')
-rw-r--r--vendor/gems/fast_gettext-0.5.10/.specification4
-rw-r--r--vendor/gems/gettext-2.1.0/.specification36
-rw-r--r--vendor/gems/json-1.5.1/.specification4
-rw-r--r--vendor/gems/locale-2.0.5/.specification22
-rw-r--r--vendor/gems/rack-1.1.0/.specification2
-rw-r--r--vendor/gems/recaptcha-0.3.1/.specification2
-rw-r--r--vendor/gems/rspec-1.3.1/.specification2
-rw-r--r--vendor/gems/rspec-rails-1.3.3/.specification2
-rw-r--r--vendor/gems/will_paginate-2.3.15/.specification2
-rw-r--r--vendor/plugins/action_mailer_layouts/CHANGELOG21
-rw-r--r--vendor/plugins/action_mailer_layouts/README35
-rw-r--r--vendor/plugins/action_mailer_layouts/init.rb7
-rw-r--r--vendor/plugins/action_mailer_layouts/plugin.rb48
-rw-r--r--vendor/plugins/acts_as_xapian/lib/acts_as_xapian.rb6
14 files changed, 58 insertions, 135 deletions
diff --git a/vendor/gems/fast_gettext-0.5.10/.specification b/vendor/gems/fast_gettext-0.5.10/.specification
index 7e1bcf3dc..7e241fff7 100644
--- a/vendor/gems/fast_gettext-0.5.10/.specification
+++ b/vendor/gems/fast_gettext-0.5.10/.specification
@@ -2,7 +2,7 @@
name: fast_gettext
version: !ruby/object:Gem::Version
hash: 31
- prerelease: false
+ prerelease:
segments:
- 0
- 5
@@ -127,7 +127,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
requirements: []
rubyforge_project:
-rubygems_version: 1.3.7
+rubygems_version: 1.4.2
signing_key:
specification_version: 3
summary: A simple, fast and threadsafe implementation of GetText
diff --git a/vendor/gems/gettext-2.1.0/.specification b/vendor/gems/gettext-2.1.0/.specification
index 43cf26fff..d318db351 100644
--- a/vendor/gems/gettext-2.1.0/.specification
+++ b/vendor/gems/gettext-2.1.0/.specification
@@ -1,6 +1,12 @@
--- !ruby/object:Gem::Specification
name: gettext
version: !ruby/object:Gem::Version
+ hash: 11
+ prerelease:
+ segments:
+ - 2
+ - 1
+ - 0
version: 2.1.0
platform: ruby
authors:
@@ -14,15 +20,21 @@ default_executable:
dependencies:
- !ruby/object:Gem::Dependency
name: locale
- type: :runtime
- version_requirement:
- version_requirements: !ruby/object:Gem::Requirement
+ prerelease: false
+ requirement: &id001 !ruby/object:Gem::Requirement
+ none: false
requirements:
- - ">="
- !ruby/object:Gem::Version
+ hash: 5
+ segments:
+ - 2
+ - 0
+ - 5
version: 2.0.5
- version:
-description: Ruby-GetText-Package is a GNU GetText-like program for Ruby. The catalog file(po-file) is same format with GNU GetText. So you can use GNU GetText tools for maintaining.
+ type: :runtime
+ version_requirements: *id001
+description: " Ruby-GetText-Package is a GNU GetText-like program for Ruby.\n The catalog file(po-file) is same format with GNU GetText.\n So you can use GNU GetText tools for maintaining.\n"
email: mutomasa at gmail.com
executables:
- rmsgmerge
@@ -791,27 +803,35 @@ files:
- samples/hello.rb
has_rdoc: true
homepage: http://gettext.rubyforge.org/
+licenses: []
+
post_install_message:
rdoc_options: []
require_paths:
- lib
required_ruby_version: !ruby/object:Gem::Requirement
+ none: false
requirements:
- - ">="
- !ruby/object:Gem::Version
+ hash: 3
+ segments:
+ - 0
version: "0"
- version:
required_rubygems_version: !ruby/object:Gem::Requirement
+ none: false
requirements:
- - ">="
- !ruby/object:Gem::Version
+ hash: 3
+ segments:
+ - 0
version: "0"
- version:
requirements: []
rubyforge_project: gettext
-rubygems_version: 1.2.0
+rubygems_version: 1.4.2
signing_key:
specification_version: 3
summary: Ruby-GetText-Package is a libary and tools to localize messages.
diff --git a/vendor/gems/json-1.5.1/.specification b/vendor/gems/json-1.5.1/.specification
index 26813246a..323455f68 100644
--- a/vendor/gems/json-1.5.1/.specification
+++ b/vendor/gems/json-1.5.1/.specification
@@ -36,6 +36,7 @@ post_install_message:
rdoc_options: []
require_paths:
+- bin
- lib
required_ruby_version: !ruby/object:Gem::Requirement
requirements:
@@ -56,10 +57,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
requirements: []
rubyforge_project: json
-rubygems_version: 1.3.7
+rubygems_version: 1.4.2
signing_key:
specification_version: 3
summary: JSON Implementation for Ruby
test_files: []
-
diff --git a/vendor/gems/locale-2.0.5/.specification b/vendor/gems/locale-2.0.5/.specification
index 7d3263441..0150358f4 100644
--- a/vendor/gems/locale-2.0.5/.specification
+++ b/vendor/gems/locale-2.0.5/.specification
@@ -1,6 +1,12 @@
--- !ruby/object:Gem::Specification
name: locale
version: !ruby/object:Gem::Version
+ hash: 5
+ prerelease:
+ segments:
+ - 2
+ - 0
+ - 5
version: 2.0.5
platform: ruby
authors:
@@ -13,7 +19,7 @@ date: 2009-11-13 00:00:00 +00:00
default_executable:
dependencies: []
-description: Ruby-Locale is the pure ruby library which provides basic APIs for localization.
+description: " Ruby-Locale is the pure ruby library which provides basic APIs for localization.\n"
email: mutomasa at gmail.com
executables: []
@@ -70,27 +76,35 @@ files:
- samples/sample_1.rb
has_rdoc: true
homepage: http://locale.rubyforge.org/
+licenses: []
+
post_install_message:
rdoc_options: []
require_paths:
- lib
required_ruby_version: !ruby/object:Gem::Requirement
+ none: false
requirements:
- - ">="
- !ruby/object:Gem::Version
+ hash: 3
+ segments:
+ - 0
version: "0"
- version:
required_rubygems_version: !ruby/object:Gem::Requirement
+ none: false
requirements:
- - ">="
- !ruby/object:Gem::Version
+ hash: 3
+ segments:
+ - 0
version: "0"
- version:
requirements: []
rubyforge_project: locale
-rubygems_version: 1.2.0
+rubygems_version: 1.4.2
signing_key:
specification_version: 3
summary: Ruby-Locale is the pure ruby library which provides basic APIs for localization.
diff --git a/vendor/gems/rack-1.1.0/.specification b/vendor/gems/rack-1.1.0/.specification
index 1e78d1e42..b0c27ec96 100644
--- a/vendor/gems/rack-1.1.0/.specification
+++ b/vendor/gems/rack-1.1.0/.specification
@@ -263,7 +263,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
requirements: []
rubyforge_project: rack
-rubygems_version: 1.3.7
+rubygems_version: 1.4.2
signing_key:
specification_version: 3
summary: a modular Ruby webserver interface
diff --git a/vendor/gems/recaptcha-0.3.1/.specification b/vendor/gems/recaptcha-0.3.1/.specification
index b7234754d..d021eabbb 100644
--- a/vendor/gems/recaptcha-0.3.1/.specification
+++ b/vendor/gems/recaptcha-0.3.1/.specification
@@ -102,7 +102,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
requirements: []
rubyforge_project:
-rubygems_version: 1.3.7
+rubygems_version: 1.4.2
signing_key:
specification_version: 3
summary: Helpers for the reCAPTCHA API
diff --git a/vendor/gems/rspec-1.3.1/.specification b/vendor/gems/rspec-1.3.1/.specification
index bdc08e236..3022d067d 100644
--- a/vendor/gems/rspec-1.3.1/.specification
+++ b/vendor/gems/rspec-1.3.1/.specification
@@ -566,7 +566,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
requirements: []
rubyforge_project: rspec
-rubygems_version: 1.3.7
+rubygems_version: 1.4.2
signing_key:
specification_version: 3
summary: rspec 1.3.1
diff --git a/vendor/gems/rspec-rails-1.3.3/.specification b/vendor/gems/rspec-rails-1.3.3/.specification
index d6eb1f0b7..f1f280090 100644
--- a/vendor/gems/rspec-rails-1.3.3/.specification
+++ b/vendor/gems/rspec-rails-1.3.3/.specification
@@ -305,7 +305,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
requirements: []
rubyforge_project: rspec
-rubygems_version: 1.3.7
+rubygems_version: 1.4.2
signing_key:
specification_version: 3
summary: rspec-rails 1.3.3
diff --git a/vendor/gems/will_paginate-2.3.15/.specification b/vendor/gems/will_paginate-2.3.15/.specification
index 68e2cfca2..c1f3064e2 100644
--- a/vendor/gems/will_paginate-2.3.15/.specification
+++ b/vendor/gems/will_paginate-2.3.15/.specification
@@ -100,7 +100,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
requirements: []
rubyforge_project:
-rubygems_version: 1.3.7
+rubygems_version: 1.4.2
signing_key:
specification_version: 3
summary: Pagination for Rails
diff --git a/vendor/plugins/action_mailer_layouts/CHANGELOG b/vendor/plugins/action_mailer_layouts/CHANGELOG
deleted file mode 100644
index 0b3f47667..000000000
--- a/vendor/plugins/action_mailer_layouts/CHANGELOG
+++ /dev/null
@@ -1,21 +0,0 @@
-2008-06-03
-* Added support for Rails 2.0 and 2.1. Thanks to Scott Windsor.
-
-2008-02-08
-* Added support for *.<format>.erb layouts and templates. Thanks to Eric Wollensen.
-
-2007-12-20
-* Fixed a bug present when specifying the layout with a string (eg: layout 'subdir/layout_template') in a multipart mail, which caused the plugin to only render one part and not the other. Thanks to Andres Koetsier.
-
-2007-12-12
-* Now works with Rails 2.0.
-
-2007-11-27
-* Now supports helpers defined in the mailer class. Thanks to Marshall Roch.
-
-2007-24-07
-* Now requires actionmailer-1.3.3.
-
-2007-05-07
-* No longer have to specify a :layout. The layout name is now inferred from the mailer class name. Thanks to Peter Boctor.
-* Helper methods are now available to action mailer layouts. Thanks to Peter Boctor. \ No newline at end of file
diff --git a/vendor/plugins/action_mailer_layouts/README b/vendor/plugins/action_mailer_layouts/README
deleted file mode 100644
index 92b19a69d..000000000
--- a/vendor/plugins/action_mailer_layouts/README
+++ /dev/null
@@ -1,35 +0,0 @@
-== Action Mailer Layouts
-
-Original Homepage: http://cardboardrocket.com/pages/action_mailer_layouts
-Original svn: http://svn.cardboardrocket.com/action_mailer_layouts
-
-A plugin to enable layouts for ActionMailer templates.
-
-Adds a new 'layout' property to the ActionMailer::Base class. Specify the name
-of the layout you want to use. The plugin will look in app/views/layouts for your
-layout. If no layout is specified, the plugin will look for a layout that matches
-the name of your mailer class.
-
-For example:
-
-If your mailer class is called UserNotifier and you are rendering the activation.rhtml
-template, then the plugin will attempt to load the user_notifier.rhtml layout. If you are
-rendering the activation.text.html.rhtml template, the plugin will look for the
-user_notifier.text.html.rhtml layout. In other words, the plugin attempts to load the
-layout named after the your ActionMailer class.
-
-You can overload this behavior by setting the layout property of your mailer:
-
-class UserNotfier < ActionMailer::Base
- def activation(user)
- @recipients = user.email
- @from = 'you@domain.com'
- @sent_on = Time.now
- @subject = 'Activate your account!'
- @layout = :email
- end
-end
-
-This arrangement will cause the plugin to render the content in
-views/user_notifier/activation.text.html.rhtml in the views/layouts/email.text.html.rhtml
-layout. \ No newline at end of file
diff --git a/vendor/plugins/action_mailer_layouts/init.rb b/vendor/plugins/action_mailer_layouts/init.rb
deleted file mode 100644
index 8289c4eb9..000000000
--- a/vendor/plugins/action_mailer_layouts/init.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-begin
- require File.join(File.dirname(__FILE__), 'plugin.rb')
- ActionController::Base.logger.fatal '** Loaded layouts plugin for ActionMailer'
-rescue Exception => e
- puts e.inspect
- ActionController::Base.logger.fatal e if ActionController::Base.logger
-end \ No newline at end of file
diff --git a/vendor/plugins/action_mailer_layouts/plugin.rb b/vendor/plugins/action_mailer_layouts/plugin.rb
deleted file mode 100644
index ef0cbc37c..000000000
--- a/vendor/plugins/action_mailer_layouts/plugin.rb
+++ /dev/null
@@ -1,48 +0,0 @@
-module ActionMailer
- class Base
-
- # Specify the layout name
- adv_attr_accessor :layout
-
- alias_method :render_message_without_layouts, :render_message
-
- def render_message(method_name, body)
- layout = @layout ? @layout.to_s.clone : self.class.to_s.underscore
-
- filename = if method_name.respond_to?(:filename)
- method_name.filename
- else
- method_name
- end
-
- md = /([^\.]+)\.([^\.]+\.[^\.]+)\.(erb|rhtml|rxml)$/.match(filename)
-
- layout << ".#{md.captures[1]}" if md && md.captures[1]
- layout << ".#{md.captures[2]}" if md && md.captures[2]
-
- if File.exists?(File.join(layouts_path, layout))
- body[:content_for_layout] = render_message_without_layouts(method_name, body)
-
- # TODO: extract content_for blocks and somehow put them in body[:content_for_...]
-
- initialize_layout_template_class(body).render(:file => "/#{layout}")
- else
- render_message_without_layouts(method_name, body)
- end
- end
-
- def initialize_layout_template_class(assigns)
- # for Rails 2.1 (and greater), we have to process view paths first!
- ActionView::TemplateFinder.process_view_paths(layouts_path) if defined?(ActionView::TemplateFinder)
-
- returning(template = ActionView::Base.new(layouts_path, assigns, self)) do
- template.extend self.class.master_helper_module
- template.extend ActionView::Helpers::CaptureHelper
- end
- end
-
- def layouts_path
- File.join(template_root, 'layouts')
- end
- end
-end \ No newline at end of file
diff --git a/vendor/plugins/acts_as_xapian/lib/acts_as_xapian.rb b/vendor/plugins/acts_as_xapian/lib/acts_as_xapian.rb
index 43f0764ca..4671b79da 100644
--- a/vendor/plugins/acts_as_xapian/lib/acts_as_xapian.rb
+++ b/vendor/plugins/acts_as_xapian/lib/acts_as_xapian.rb
@@ -668,8 +668,8 @@ module ActsAsXapian
self.class.to_s + "-" + self.id.to_s
end
- def xapian_value(field, type = nil)
- if self.respond_to?("translations")
+ def xapian_value(field, type = nil, index_translations = false)
+ if index_translations && self.respond_to?("translations")
if type == :date or type == :boolean
value = single_xapian_value(field, type = type)
else
@@ -756,7 +756,7 @@ module ActsAsXapian
for text in self.xapian_options[:texts]
ActsAsXapian.term_generator.increase_termpos # stop phrases spanning different text fields
# XXX the "1" here is a weight that could be varied for a boost function
- ActsAsXapian.term_generator.index_text(xapian_value(text), 1)
+ ActsAsXapian.term_generator.index_text(xapian_value(text, nil, true), 1)
end
end