governor_thinking_sphinx 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/.document +5 -0
  2. data/Gemfile +23 -0
  3. data/Gemfile.lock +133 -0
  4. data/LICENSE.txt +20 -0
  5. data/README.rdoc +19 -0
  6. data/Rakefile +51 -0
  7. data/VERSION +1 -0
  8. data/config/locales/en.yml +6 -0
  9. data/governor_thinking_sphinx.gemspec +183 -0
  10. data/lib/generators/governor/add_thinking_sphinx_generator.rb +25 -0
  11. data/lib/generators/governor/templates/migrations/add_thinking_sphinx.rb +9 -0
  12. data/lib/governor/controllers/methods.rb +11 -0
  13. data/lib/governor_thinking_sphinx.rb +22 -0
  14. data/lib/governor_thinking_sphinx/rails.rb +5 -0
  15. data/script/rails +6 -0
  16. data/spec/controllers/governor/articles_controller_spec.rb +10 -0
  17. data/spec/governor_thinking_sphinx_spec.rb +9 -0
  18. data/spec/models/article.rb +7 -0
  19. data/spec/rails_app/.gitignore +4 -0
  20. data/spec/rails_app/Gemfile +22 -0
  21. data/spec/rails_app/Gemfile.lock +104 -0
  22. data/spec/rails_app/README +256 -0
  23. data/spec/rails_app/Rakefile +7 -0
  24. data/spec/rails_app/app/controllers/application_controller.rb +3 -0
  25. data/spec/rails_app/app/controllers/home_controller.rb +2 -0
  26. data/spec/rails_app/app/helpers/application_helper.rb +2 -0
  27. data/spec/rails_app/app/helpers/home_helper.rb +2 -0
  28. data/spec/rails_app/app/models/article.rb +7 -0
  29. data/spec/rails_app/app/models/user.rb +9 -0
  30. data/spec/rails_app/app/views/home/index.html.erb +0 -0
  31. data/spec/rails_app/app/views/layouts/application.html.erb +29 -0
  32. data/spec/rails_app/config.ru +4 -0
  33. data/spec/rails_app/config/application.rb +42 -0
  34. data/spec/rails_app/config/boot.rb +14 -0
  35. data/spec/rails_app/config/database.yml +23 -0
  36. data/spec/rails_app/config/environment.rb +5 -0
  37. data/spec/rails_app/config/environments/development.rb +26 -0
  38. data/spec/rails_app/config/environments/production.rb +49 -0
  39. data/spec/rails_app/config/environments/test.rb +35 -0
  40. data/spec/rails_app/config/initializers/backtrace_silencers.rb +7 -0
  41. data/spec/rails_app/config/initializers/devise.rb +142 -0
  42. data/spec/rails_app/config/initializers/governor.rb +36 -0
  43. data/spec/rails_app/config/initializers/inflections.rb +10 -0
  44. data/spec/rails_app/config/initializers/mime_types.rb +5 -0
  45. data/spec/rails_app/config/initializers/secret_token.rb +7 -0
  46. data/spec/rails_app/config/initializers/session_store.rb +8 -0
  47. data/spec/rails_app/config/locales/devise.en.yml +39 -0
  48. data/spec/rails_app/config/locales/en.yml +5 -0
  49. data/spec/rails_app/config/routes.rb +64 -0
  50. data/spec/rails_app/db/migrate/20110329032256_devise_create_users.rb +28 -0
  51. data/spec/rails_app/db/migrate/20110330020108_governor_create_articles.rb +15 -0
  52. data/spec/rails_app/db/migrate/20110411050445_governor_add_thinking_sphinx.rb +9 -0
  53. data/spec/rails_app/db/schema.rb +48 -0
  54. data/spec/rails_app/db/seeds.rb +7 -0
  55. data/spec/rails_app/lib/tasks/.gitkeep +0 -0
  56. data/spec/rails_app/public/404.html +26 -0
  57. data/spec/rails_app/public/422.html +26 -0
  58. data/spec/rails_app/public/500.html +26 -0
  59. data/spec/rails_app/public/favicon.ico +0 -0
  60. data/spec/rails_app/public/images/rails.png +0 -0
  61. data/spec/rails_app/public/javascripts/application.js +2 -0
  62. data/spec/rails_app/public/javascripts/controls.js +965 -0
  63. data/spec/rails_app/public/javascripts/dragdrop.js +974 -0
  64. data/spec/rails_app/public/javascripts/effects.js +1123 -0
  65. data/spec/rails_app/public/javascripts/prototype.js +6001 -0
  66. data/spec/rails_app/public/javascripts/rails.js +191 -0
  67. data/spec/rails_app/public/robots.txt +5 -0
  68. data/spec/rails_app/public/stylesheets/.gitkeep +0 -0
  69. data/spec/rails_app/script/rails +6 -0
  70. data/spec/rails_app/spec/factories.rb +11 -0
  71. data/spec/rails_app/vendor/plugins/.gitkeep +0 -0
  72. data/spec/spec_helper.rb +19 -0
  73. metadata +376 -0
@@ -0,0 +1,5 @@
1
+ lib/**/*.rb
2
+ bin/*
3
+ -
4
+ features/**/*.feature
5
+ LICENSE.txt
data/Gemfile ADDED
@@ -0,0 +1,23 @@
1
+ source 'http://rubygems.org'
2
+
3
+ gem 'governor', '0.2.2'
4
+ gem 'thinking-sphinx', '2.0.0', :require => 'thinking_sphinx'
5
+
6
+ group :development, :test do
7
+ gem 'jeweler', '~> 1.5.2'
8
+ gem 'sqlite3'
9
+ gem 'rspec-rails'
10
+ gem 'mocha'
11
+ gem 'factory_girl', '~> 2.0.0.beta'
12
+ gem 'factory_girl_rails', '~> 1.1.beta'
13
+ gem 'activerecord-nulldb-adapter'
14
+
15
+ gem 'will_paginate', '~> 3.0.beta'
16
+ gem 'devise'
17
+ gem 'governor_thinking_sphinx', :path => './'
18
+ gem 'dynamic_form'
19
+ end
20
+
21
+ group :development do
22
+ gem 'mysql2'
23
+ end
@@ -0,0 +1,133 @@
1
+ PATH
2
+ remote: ./
3
+ specs:
4
+ governor_thinking_sphinx (0.1.0)
5
+ governor (= 0.2.2)
6
+ thinking-sphinx (= 2.0.0)
7
+
8
+ GEM
9
+ remote: http://rubygems.org/
10
+ specs:
11
+ abstract (1.0.0)
12
+ actionmailer (3.0.6)
13
+ actionpack (= 3.0.6)
14
+ mail (~> 2.2.15)
15
+ actionpack (3.0.6)
16
+ activemodel (= 3.0.6)
17
+ activesupport (= 3.0.6)
18
+ builder (~> 2.1.2)
19
+ erubis (~> 2.6.6)
20
+ i18n (~> 0.5.0)
21
+ rack (~> 1.2.1)
22
+ rack-mount (~> 0.6.14)
23
+ rack-test (~> 0.5.7)
24
+ tzinfo (~> 0.3.23)
25
+ activemodel (3.0.6)
26
+ activesupport (= 3.0.6)
27
+ builder (~> 2.1.2)
28
+ i18n (~> 0.5.0)
29
+ activerecord (3.0.6)
30
+ activemodel (= 3.0.6)
31
+ activesupport (= 3.0.6)
32
+ arel (~> 2.0.2)
33
+ tzinfo (~> 0.3.23)
34
+ activerecord-nulldb-adapter (0.2.1)
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)
40
+ arel (2.0.9)
41
+ bcrypt-ruby (2.1.4)
42
+ builder (2.1.2)
43
+ devise (1.1.7)
44
+ bcrypt-ruby (~> 2.1.2)
45
+ warden (~> 1.0.2)
46
+ diff-lcs (1.1.2)
47
+ dynamic_form (1.1.3)
48
+ erubis (2.6.6)
49
+ abstract (>= 1.0.0)
50
+ factory_girl (2.0.0.beta2)
51
+ factory_girl_rails (1.1.beta1)
52
+ factory_girl (~> 2.0.0.beta)
53
+ rails (>= 3.0.0)
54
+ git (1.2.5)
55
+ governor (0.2.2)
56
+ rails (~> 3.0.5)
57
+ i18n (0.5.0)
58
+ jeweler (1.5.2)
59
+ bundler (~> 1.0.0)
60
+ git (>= 1.2.5)
61
+ rake
62
+ mail (2.2.15)
63
+ activesupport (>= 2.3.6)
64
+ i18n (>= 0.4.0)
65
+ mime-types (~> 1.16)
66
+ treetop (~> 1.4.8)
67
+ mime-types (1.16)
68
+ mocha (0.9.12)
69
+ mysql2 (0.2.6)
70
+ polyglot (0.3.1)
71
+ rack (1.2.2)
72
+ rack-mount (0.6.14)
73
+ rack (>= 1.0.0)
74
+ rack-test (0.5.7)
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)
82
+ bundler (~> 1.0)
83
+ railties (= 3.0.6)
84
+ railties (3.0.6)
85
+ actionpack (= 3.0.6)
86
+ activesupport (= 3.0.6)
87
+ rake (>= 0.8.7)
88
+ thor (~> 0.14.4)
89
+ rake (0.8.7)
90
+ riddle (1.2.2)
91
+ rspec (2.5.0)
92
+ rspec-core (~> 2.5.0)
93
+ rspec-expectations (~> 2.5.0)
94
+ rspec-mocks (~> 2.5.0)
95
+ rspec-core (2.5.1)
96
+ rspec-expectations (2.5.0)
97
+ diff-lcs (~> 1.1.2)
98
+ rspec-mocks (2.5.0)
99
+ rspec-rails (2.5.0)
100
+ actionpack (~> 3.0)
101
+ activesupport (~> 3.0)
102
+ railties (~> 3.0)
103
+ rspec (~> 2.5.0)
104
+ sqlite3 (1.3.3)
105
+ thinking-sphinx (2.0.0)
106
+ activerecord (>= 3.0.0)
107
+ riddle (>= 1.2.0)
108
+ thor (0.14.6)
109
+ treetop (1.4.9)
110
+ polyglot (>= 0.3.1)
111
+ tzinfo (0.3.26)
112
+ warden (1.0.3)
113
+ rack (>= 1.0.0)
114
+ will_paginate (3.0.pre2)
115
+
116
+ PLATFORMS
117
+ ruby
118
+
119
+ DEPENDENCIES
120
+ activerecord-nulldb-adapter
121
+ devise
122
+ dynamic_form
123
+ factory_girl (~> 2.0.0.beta)
124
+ factory_girl_rails (~> 1.1.beta)
125
+ governor (= 0.2.2)
126
+ governor_thinking_sphinx!
127
+ jeweler (~> 1.5.2)
128
+ mocha
129
+ mysql2
130
+ rspec-rails
131
+ sqlite3
132
+ thinking-sphinx (= 2.0.0)
133
+ will_paginate (~> 3.0.beta)
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2011 Liam Morley
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,19 @@
1
+ = governor_thinking_sphinx
2
+
3
+ Description goes here.
4
+
5
+ == Contributing to governor_thinking_sphinx
6
+
7
+ * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
8
+ * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
9
+ * Fork the project
10
+ * Start a feature/bugfix branch
11
+ * Commit and push until you are happy with your contribution
12
+ * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
13
+ * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
14
+
15
+ == Copyright
16
+
17
+ Copyright (c) 2011 Liam Morley. See LICENSE.txt for
18
+ further details.
19
+
@@ -0,0 +1,51 @@
1
+ require 'rubygems'
2
+ require 'bundler'
3
+ begin
4
+ Bundler.setup(:default, :development)
5
+ rescue Bundler::BundlerError => e
6
+ $stderr.puts e.message
7
+ $stderr.puts "Run `bundle install` to install missing gems"
8
+ exit e.status_code
9
+ end
10
+ require 'rake'
11
+
12
+ require 'jeweler'
13
+ Jeweler::Tasks.new do |gem|
14
+ # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
15
+ gem.name = "governor_thinking_sphinx"
16
+ gem.homepage = "http://github.com/carpeliam/governor_thinking_sphinx"
17
+ gem.license = "MIT"
18
+ gem.summary = %Q{ThinkingSphinx plugin for the Rails 3-based Governor blogging system.}
19
+ gem.description = %Q{A plugin for the Rails 3-based Governor blogging system that adds ThinkingSphinx search functionality to a blog.}
20
+ gem.email = "liam@carpeliam.com"
21
+ gem.authors = ["Liam Morley"]
22
+ # Include your dependencies below. Runtime dependencies are required when using your gem,
23
+ # and development dependencies are only needed for development (ie running rake tasks, tests, etc)
24
+ # gem.add_runtime_dependency 'jabber4r', '> 0.1'
25
+ # gem.add_development_dependency 'rspec', '> 1.2.3'
26
+ end
27
+ Jeweler::RubygemsDotOrgTasks.new
28
+
29
+ require 'rspec/core'
30
+ require 'rspec/core/rake_task'
31
+ RSpec::Core::RakeTask.new(:spec) do |spec|
32
+ spec.pattern = FileList['spec/**/*_spec.rb']
33
+ end
34
+
35
+ RSpec::Core::RakeTask.new(:rcov) do |spec|
36
+ spec.pattern = 'spec/**/*_spec.rb'
37
+ spec.rcov = true
38
+ end
39
+
40
+ task :default => :spec
41
+
42
+ require 'rake/rdoctask'
43
+ Rake::RDocTask.new do |rdoc|
44
+ version = File.exist?('VERSION') ? File.read('VERSION') : ""
45
+
46
+ rdoc.rdoc_dir = 'rdoc'
47
+ rdoc.title = "governor_thinking_sphinx #{version}"
48
+ rdoc.rdoc_files.include('README*')
49
+ rdoc.rdoc_files.include('lib/**/*.rb')
50
+ rdoc.rdoc_files.exclude('lib/generators/**/*.rb')
51
+ end
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.1.0
@@ -0,0 +1,6 @@
1
+ # Sample localization file for English. Add more files in this directory for other locales.
2
+ # See http://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
3
+
4
+ en:
5
+ hello: "Hello world"
6
+ unauthorized_edit: "You're not allowed to edit this %{resource_type}."
@@ -0,0 +1,183 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{governor_thinking_sphinx}
8
+ s.version = "0.1.0"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Liam Morley"]
12
+ s.date = %q{2011-04-11}
13
+ s.description = %q{A plugin for the Rails 3-based Governor blogging system that adds ThinkingSphinx search functionality to a blog.}
14
+ s.email = %q{liam@carpeliam.com}
15
+ s.extra_rdoc_files = [
16
+ "LICENSE.txt",
17
+ "README.rdoc"
18
+ ]
19
+ s.files = [
20
+ ".document",
21
+ "Gemfile",
22
+ "Gemfile.lock",
23
+ "LICENSE.txt",
24
+ "README.rdoc",
25
+ "Rakefile",
26
+ "VERSION",
27
+ "config/locales/en.yml",
28
+ "governor_thinking_sphinx.gemspec",
29
+ "lib/generators/governor/add_thinking_sphinx_generator.rb",
30
+ "lib/generators/governor/templates/migrations/add_thinking_sphinx.rb",
31
+ "lib/governor/controllers/methods.rb",
32
+ "lib/governor_thinking_sphinx.rb",
33
+ "lib/governor_thinking_sphinx/rails.rb",
34
+ "script/rails",
35
+ "spec/controllers/governor/articles_controller_spec.rb",
36
+ "spec/governor_thinking_sphinx_spec.rb",
37
+ "spec/models/article.rb",
38
+ "spec/rails_app/.gitignore",
39
+ "spec/rails_app/Gemfile",
40
+ "spec/rails_app/Gemfile.lock",
41
+ "spec/rails_app/README",
42
+ "spec/rails_app/Rakefile",
43
+ "spec/rails_app/app/controllers/application_controller.rb",
44
+ "spec/rails_app/app/controllers/home_controller.rb",
45
+ "spec/rails_app/app/helpers/application_helper.rb",
46
+ "spec/rails_app/app/helpers/home_helper.rb",
47
+ "spec/rails_app/app/models/article.rb",
48
+ "spec/rails_app/app/models/user.rb",
49
+ "spec/rails_app/app/views/home/index.html.erb",
50
+ "spec/rails_app/app/views/layouts/application.html.erb",
51
+ "spec/rails_app/config.ru",
52
+ "spec/rails_app/config/application.rb",
53
+ "spec/rails_app/config/boot.rb",
54
+ "spec/rails_app/config/database.yml",
55
+ "spec/rails_app/config/environment.rb",
56
+ "spec/rails_app/config/environments/development.rb",
57
+ "spec/rails_app/config/environments/production.rb",
58
+ "spec/rails_app/config/environments/test.rb",
59
+ "spec/rails_app/config/initializers/backtrace_silencers.rb",
60
+ "spec/rails_app/config/initializers/devise.rb",
61
+ "spec/rails_app/config/initializers/governor.rb",
62
+ "spec/rails_app/config/initializers/inflections.rb",
63
+ "spec/rails_app/config/initializers/mime_types.rb",
64
+ "spec/rails_app/config/initializers/secret_token.rb",
65
+ "spec/rails_app/config/initializers/session_store.rb",
66
+ "spec/rails_app/config/locales/devise.en.yml",
67
+ "spec/rails_app/config/locales/en.yml",
68
+ "spec/rails_app/config/routes.rb",
69
+ "spec/rails_app/db/migrate/20110329032256_devise_create_users.rb",
70
+ "spec/rails_app/db/migrate/20110330020108_governor_create_articles.rb",
71
+ "spec/rails_app/db/migrate/20110411050445_governor_add_thinking_sphinx.rb",
72
+ "spec/rails_app/db/schema.rb",
73
+ "spec/rails_app/db/seeds.rb",
74
+ "spec/rails_app/lib/tasks/.gitkeep",
75
+ "spec/rails_app/public/404.html",
76
+ "spec/rails_app/public/422.html",
77
+ "spec/rails_app/public/500.html",
78
+ "spec/rails_app/public/favicon.ico",
79
+ "spec/rails_app/public/images/rails.png",
80
+ "spec/rails_app/public/javascripts/application.js",
81
+ "spec/rails_app/public/javascripts/controls.js",
82
+ "spec/rails_app/public/javascripts/dragdrop.js",
83
+ "spec/rails_app/public/javascripts/effects.js",
84
+ "spec/rails_app/public/javascripts/prototype.js",
85
+ "spec/rails_app/public/javascripts/rails.js",
86
+ "spec/rails_app/public/robots.txt",
87
+ "spec/rails_app/public/stylesheets/.gitkeep",
88
+ "spec/rails_app/script/rails",
89
+ "spec/rails_app/spec/factories.rb",
90
+ "spec/rails_app/vendor/plugins/.gitkeep",
91
+ "spec/spec_helper.rb"
92
+ ]
93
+ s.homepage = %q{http://github.com/carpeliam/governor_thinking_sphinx}
94
+ s.licenses = ["MIT"]
95
+ s.require_paths = ["lib"]
96
+ s.rubygems_version = %q{1.3.7}
97
+ s.summary = %q{ThinkingSphinx plugin for the Rails 3-based Governor blogging system.}
98
+ s.test_files = [
99
+ "spec/controllers/governor/articles_controller_spec.rb",
100
+ "spec/governor_thinking_sphinx_spec.rb",
101
+ "spec/models/article.rb",
102
+ "spec/rails_app/app/controllers/application_controller.rb",
103
+ "spec/rails_app/app/controllers/home_controller.rb",
104
+ "spec/rails_app/app/helpers/application_helper.rb",
105
+ "spec/rails_app/app/helpers/home_helper.rb",
106
+ "spec/rails_app/app/models/article.rb",
107
+ "spec/rails_app/app/models/user.rb",
108
+ "spec/rails_app/config/application.rb",
109
+ "spec/rails_app/config/boot.rb",
110
+ "spec/rails_app/config/environment.rb",
111
+ "spec/rails_app/config/environments/development.rb",
112
+ "spec/rails_app/config/environments/production.rb",
113
+ "spec/rails_app/config/environments/test.rb",
114
+ "spec/rails_app/config/initializers/backtrace_silencers.rb",
115
+ "spec/rails_app/config/initializers/devise.rb",
116
+ "spec/rails_app/config/initializers/governor.rb",
117
+ "spec/rails_app/config/initializers/inflections.rb",
118
+ "spec/rails_app/config/initializers/mime_types.rb",
119
+ "spec/rails_app/config/initializers/secret_token.rb",
120
+ "spec/rails_app/config/initializers/session_store.rb",
121
+ "spec/rails_app/config/routes.rb",
122
+ "spec/rails_app/db/migrate/20110329032256_devise_create_users.rb",
123
+ "spec/rails_app/db/migrate/20110330020108_governor_create_articles.rb",
124
+ "spec/rails_app/db/migrate/20110411050445_governor_add_thinking_sphinx.rb",
125
+ "spec/rails_app/db/schema.rb",
126
+ "spec/rails_app/db/seeds.rb",
127
+ "spec/rails_app/spec/factories.rb",
128
+ "spec/spec_helper.rb"
129
+ ]
130
+
131
+ if s.respond_to? :specification_version then
132
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
133
+ s.specification_version = 3
134
+
135
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
136
+ s.add_runtime_dependency(%q<governor>, ["= 0.2.2"])
137
+ s.add_runtime_dependency(%q<thinking-sphinx>, ["= 2.0.0"])
138
+ s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
139
+ s.add_development_dependency(%q<sqlite3>, [">= 0"])
140
+ s.add_development_dependency(%q<rspec-rails>, [">= 0"])
141
+ s.add_development_dependency(%q<mocha>, [">= 0"])
142
+ s.add_development_dependency(%q<factory_girl>, ["~> 2.0.0.beta"])
143
+ s.add_development_dependency(%q<factory_girl_rails>, ["~> 1.1.beta"])
144
+ s.add_development_dependency(%q<activerecord-nulldb-adapter>, [">= 0"])
145
+ s.add_development_dependency(%q<will_paginate>, ["~> 3.0.beta"])
146
+ s.add_development_dependency(%q<devise>, [">= 0"])
147
+ s.add_development_dependency(%q<governor_thinking_sphinx>, [">= 0"])
148
+ s.add_development_dependency(%q<dynamic_form>, [">= 0"])
149
+ s.add_development_dependency(%q<mysql2>, [">= 0"])
150
+ else
151
+ s.add_dependency(%q<governor>, ["= 0.2.2"])
152
+ s.add_dependency(%q<thinking-sphinx>, ["= 2.0.0"])
153
+ s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
154
+ s.add_dependency(%q<sqlite3>, [">= 0"])
155
+ s.add_dependency(%q<rspec-rails>, [">= 0"])
156
+ s.add_dependency(%q<mocha>, [">= 0"])
157
+ s.add_dependency(%q<factory_girl>, ["~> 2.0.0.beta"])
158
+ s.add_dependency(%q<factory_girl_rails>, ["~> 1.1.beta"])
159
+ s.add_dependency(%q<activerecord-nulldb-adapter>, [">= 0"])
160
+ s.add_dependency(%q<will_paginate>, ["~> 3.0.beta"])
161
+ s.add_dependency(%q<devise>, [">= 0"])
162
+ s.add_dependency(%q<governor_thinking_sphinx>, [">= 0"])
163
+ s.add_dependency(%q<dynamic_form>, [">= 0"])
164
+ s.add_dependency(%q<mysql2>, [">= 0"])
165
+ end
166
+ else
167
+ s.add_dependency(%q<governor>, ["= 0.2.2"])
168
+ s.add_dependency(%q<thinking-sphinx>, ["= 2.0.0"])
169
+ s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
170
+ s.add_dependency(%q<sqlite3>, [">= 0"])
171
+ s.add_dependency(%q<rspec-rails>, [">= 0"])
172
+ s.add_dependency(%q<mocha>, [">= 0"])
173
+ s.add_dependency(%q<factory_girl>, ["~> 2.0.0.beta"])
174
+ s.add_dependency(%q<factory_girl_rails>, ["~> 1.1.beta"])
175
+ s.add_dependency(%q<activerecord-nulldb-adapter>, [">= 0"])
176
+ s.add_dependency(%q<will_paginate>, ["~> 3.0.beta"])
177
+ s.add_dependency(%q<devise>, [">= 0"])
178
+ s.add_dependency(%q<governor_thinking_sphinx>, [">= 0"])
179
+ s.add_dependency(%q<dynamic_form>, [">= 0"])
180
+ s.add_dependency(%q<mysql2>, [">= 0"])
181
+ end
182
+ end
183
+