governor_thinking_sphinx 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ./
3
3
  specs:
4
- governor_thinking_sphinx (0.1.3)
4
+ governor_thinking_sphinx (0.1.4)
5
5
  governor (>= 0.2.2)
6
6
  thinking-sphinx (~> 2.0)
7
7
 
@@ -9,12 +9,12 @@ GEM
9
9
  remote: http://rubygems.org/
10
10
  specs:
11
11
  abstract (1.0.0)
12
- actionmailer (3.0.6)
13
- actionpack (= 3.0.6)
12
+ actionmailer (3.0.7)
13
+ actionpack (= 3.0.7)
14
14
  mail (~> 2.2.15)
15
- actionpack (3.0.6)
16
- activemodel (= 3.0.6)
17
- activesupport (= 3.0.6)
15
+ actionpack (3.0.7)
16
+ activemodel (= 3.0.7)
17
+ activesupport (= 3.0.7)
18
18
  builder (~> 2.1.2)
19
19
  erubis (~> 2.6.6)
20
20
  i18n (~> 0.5.0)
@@ -22,21 +22,21 @@ GEM
22
22
  rack-mount (~> 0.6.14)
23
23
  rack-test (~> 0.5.7)
24
24
  tzinfo (~> 0.3.23)
25
- activemodel (3.0.6)
26
- activesupport (= 3.0.6)
25
+ activemodel (3.0.7)
26
+ activesupport (= 3.0.7)
27
27
  builder (~> 2.1.2)
28
28
  i18n (~> 0.5.0)
29
- activerecord (3.0.6)
30
- activemodel (= 3.0.6)
31
- activesupport (= 3.0.6)
29
+ activerecord (3.0.7)
30
+ activemodel (= 3.0.7)
31
+ activesupport (= 3.0.7)
32
32
  arel (~> 2.0.2)
33
33
  tzinfo (~> 0.3.23)
34
34
  activerecord-nulldb-adapter (0.2.1)
35
35
  activerecord (>= 2.0.0, < 3.1)
36
- activeresource (3.0.6)
37
- activemodel (= 3.0.6)
38
- activesupport (= 3.0.6)
39
- activesupport (3.0.6)
36
+ activeresource (3.0.7)
37
+ activemodel (= 3.0.7)
38
+ activesupport (= 3.0.7)
39
+ activesupport (3.0.7)
40
40
  arel (2.0.9)
41
41
  bcrypt-ruby (2.1.4)
42
42
  builder (2.1.2)
@@ -52,14 +52,14 @@ GEM
52
52
  factory_girl (~> 2.0.0.beta)
53
53
  rails (>= 3.0.0)
54
54
  git (1.2.5)
55
- governor (0.3.0)
56
- rails (~> 3.0.5)
55
+ governor (0.5.7)
56
+ rails (>= 3.0.5)
57
57
  i18n (0.5.0)
58
58
  jeweler (1.5.2)
59
59
  bundler (~> 1.0.0)
60
60
  git (>= 1.2.5)
61
61
  rake
62
- mail (2.2.15)
62
+ mail (2.2.19)
63
63
  activesupport (>= 2.3.6)
64
64
  i18n (>= 0.4.0)
65
65
  mime-types (~> 1.16)
@@ -73,17 +73,17 @@ GEM
73
73
  rack (>= 1.0.0)
74
74
  rack-test (0.5.7)
75
75
  rack (>= 1.0)
76
- rails (3.0.6)
77
- actionmailer (= 3.0.6)
78
- actionpack (= 3.0.6)
79
- activerecord (= 3.0.6)
80
- activeresource (= 3.0.6)
81
- activesupport (= 3.0.6)
76
+ rails (3.0.7)
77
+ actionmailer (= 3.0.7)
78
+ actionpack (= 3.0.7)
79
+ activerecord (= 3.0.7)
80
+ activeresource (= 3.0.7)
81
+ activesupport (= 3.0.7)
82
82
  bundler (~> 1.0)
83
- railties (= 3.0.6)
84
- railties (3.0.6)
85
- actionpack (= 3.0.6)
86
- activesupport (= 3.0.6)
83
+ railties (= 3.0.7)
84
+ railties (3.0.7)
85
+ actionpack (= 3.0.7)
86
+ activesupport (= 3.0.7)
87
87
  rake (>= 0.8.7)
88
88
  thor (~> 0.14.4)
89
89
  rake (0.8.7)
@@ -108,7 +108,7 @@ GEM
108
108
  thor (0.14.6)
109
109
  treetop (1.4.9)
110
110
  polyglot (>= 0.3.1)
111
- tzinfo (0.3.26)
111
+ tzinfo (0.3.27)
112
112
  warden (1.0.3)
113
113
  rack (>= 1.0.0)
114
114
  will_paginate (3.0.pre2)
@@ -1,6 +1,6 @@
1
1
  = governor_thinking_sphinx
2
2
 
3
- *Governor[http://carpeliam.github.com/governor/]* (named after Rod
3
+ <b>Governor[http://carpeliam.github.com/governor/]</b> (named after Rod
4
4
  Blagojevich) is the pluggable blogging platform for Rails, built for people
5
5
  who want to build their blog into their website, not build their website into
6
6
  their blog.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.3
1
+ 0.1.4
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{governor_thinking_sphinx}
8
- s.version = "0.1.3"
8
+ s.version = "0.1.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Liam Morley"]
12
- s.date = %q{2011-04-16}
12
+ s.date = %q{2011-05-16}
13
13
  s.description = %q{A plugin for the Rails 3-based Governor blogging system that adds ThinkingSphinx search functionality to a blog.}
14
14
  s.email = %q{liam@carpeliam.com}
15
15
  s.extra_rdoc_files = [
@@ -28,8 +28,8 @@ Gem::Specification.new do |s|
28
28
  "governor_thinking_sphinx.gemspec",
29
29
  "lib/generators/governor/add_thinking_sphinx_generator.rb",
30
30
  "lib/generators/governor/templates/migrations/add_thinking_sphinx.rb",
31
- "lib/governor/controllers/methods.rb",
32
31
  "lib/governor_thinking_sphinx.rb",
32
+ "lib/governor_thinking_sphinx/controllers/methods.rb",
33
33
  "lib/governor_thinking_sphinx/rails.rb",
34
34
  "script/rails",
35
35
  "spec/controllers/governor/articles_controller_spec.rb",
@@ -1,5 +1,5 @@
1
1
  require 'governor_thinking_sphinx/rails'
2
- require 'governor/controllers/methods'
2
+ require 'governor_thinking_sphinx/controllers/methods'
3
3
 
4
4
  thinking_sphinx = Governor::Plugin.new('thinking_sphinx')
5
5
 
@@ -12,7 +12,9 @@ thinking_sphinx.register_model_callback do |base|
12
12
  set_property :delta => true
13
13
  end
14
14
  end
15
-
15
+ thinking_sphinx.register_controller_callback do |controller|
16
+ controller.send :include, GovernorThinkingSphinx::Controllers::Methods
17
+ end
16
18
  thinking_sphinx.set_routes do
17
19
  collection do
18
20
  get 'search'
@@ -1,4 +1,4 @@
1
- module Governor
1
+ module GovernorThinkingSphinx
2
2
  module Controllers
3
3
  module Methods
4
4
  def search
@@ -3,8 +3,7 @@ require 'spec_helper'
3
3
  module Governor
4
4
  describe ArticlesController do
5
5
  it "has a search method" do
6
- pending "this seems to work outside of rspec, but doesn't pass within rspec"
7
- ArticlesController.instance_methods.sort.should include 'search'
6
+ ArticlesController.new.should respond_to :search
8
7
  end
9
8
  end
10
9
  end
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ../..
3
3
  specs:
4
- governor_thinking_sphinx (0.1.3)
4
+ governor_thinking_sphinx (0.1.4)
5
5
  governor (>= 0.2.2)
6
6
  thinking-sphinx (~> 2.0)
7
7
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: governor_thinking_sphinx
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 19
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 3
10
- version: 0.1.3
9
+ - 4
10
+ version: 0.1.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Liam Morley
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-04-16 00:00:00 -04:00
18
+ date: 2011-05-16 00:00:00 -04:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -247,8 +247,8 @@ files:
247
247
  - governor_thinking_sphinx.gemspec
248
248
  - lib/generators/governor/add_thinking_sphinx_generator.rb
249
249
  - lib/generators/governor/templates/migrations/add_thinking_sphinx.rb
250
- - lib/governor/controllers/methods.rb
251
250
  - lib/governor_thinking_sphinx.rb
251
+ - lib/governor_thinking_sphinx/controllers/methods.rb
252
252
  - lib/governor_thinking_sphinx/rails.rb
253
253
  - script/rails
254
254
  - spec/controllers/governor/articles_controller_spec.rb