governor_atom 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (68) hide show
  1. data/.document +5 -0
  2. data/.rspec +1 -0
  3. data/Gemfile +18 -0
  4. data/Gemfile.lock +129 -0
  5. data/LICENSE.txt +20 -0
  6. data/README.rdoc +43 -0
  7. data/Rakefile +50 -0
  8. data/VERSION +1 -0
  9. data/app/views/governor/articles/index.atom.builder +21 -0
  10. data/governor_atom.gemspec +170 -0
  11. data/lib/governor_atom.rb +5 -0
  12. data/lib/governor_atom/rails.rb +6 -0
  13. data/spec/controllers/governor/articles_controller_spec.rb +35 -0
  14. data/spec/governor_atom_spec.rb +9 -0
  15. data/spec/rails_app/.gitignore +4 -0
  16. data/spec/rails_app/Gemfile +37 -0
  17. data/spec/rails_app/Gemfile.lock +92 -0
  18. data/spec/rails_app/README +256 -0
  19. data/spec/rails_app/Rakefile +7 -0
  20. data/spec/rails_app/app/controllers/application_controller.rb +3 -0
  21. data/spec/rails_app/app/controllers/home_controller.rb +2 -0
  22. data/spec/rails_app/app/helpers/application_helper.rb +2 -0
  23. data/spec/rails_app/app/helpers/home_helper.rb +2 -0
  24. data/spec/rails_app/app/models/article.rb +5 -0
  25. data/spec/rails_app/app/models/user.rb +9 -0
  26. data/spec/rails_app/app/views/home/index.html.erb +0 -0
  27. data/spec/rails_app/app/views/layouts/application.html.erb +22 -0
  28. data/spec/rails_app/config.ru +4 -0
  29. data/spec/rails_app/config/application.rb +42 -0
  30. data/spec/rails_app/config/boot.rb +14 -0
  31. data/spec/rails_app/config/database.yml +19 -0
  32. data/spec/rails_app/config/environment.rb +5 -0
  33. data/spec/rails_app/config/environments/development.rb +26 -0
  34. data/spec/rails_app/config/environments/production.rb +49 -0
  35. data/spec/rails_app/config/environments/test.rb +35 -0
  36. data/spec/rails_app/config/initializers/backtrace_silencers.rb +7 -0
  37. data/spec/rails_app/config/initializers/devise.rb +142 -0
  38. data/spec/rails_app/config/initializers/governor.rb +36 -0
  39. data/spec/rails_app/config/initializers/inflections.rb +10 -0
  40. data/spec/rails_app/config/initializers/mime_types.rb +5 -0
  41. data/spec/rails_app/config/initializers/secret_token.rb +7 -0
  42. data/spec/rails_app/config/initializers/session_store.rb +8 -0
  43. data/spec/rails_app/config/locales/devise.en.yml +39 -0
  44. data/spec/rails_app/config/locales/en.yml +5 -0
  45. data/spec/rails_app/config/routes.rb +64 -0
  46. data/spec/rails_app/db/migrate/20110329032256_devise_create_users.rb +28 -0
  47. data/spec/rails_app/db/migrate/20110330020108_governor_create_articles.rb +15 -0
  48. data/spec/rails_app/db/schema.rb +47 -0
  49. data/spec/rails_app/db/seeds.rb +7 -0
  50. data/spec/rails_app/lib/tasks/.gitkeep +0 -0
  51. data/spec/rails_app/public/404.html +26 -0
  52. data/spec/rails_app/public/422.html +26 -0
  53. data/spec/rails_app/public/500.html +26 -0
  54. data/spec/rails_app/public/favicon.ico +0 -0
  55. data/spec/rails_app/public/images/rails.png +0 -0
  56. data/spec/rails_app/public/javascripts/application.js +2 -0
  57. data/spec/rails_app/public/javascripts/controls.js +965 -0
  58. data/spec/rails_app/public/javascripts/dragdrop.js +974 -0
  59. data/spec/rails_app/public/javascripts/effects.js +1123 -0
  60. data/spec/rails_app/public/javascripts/prototype.js +6001 -0
  61. data/spec/rails_app/public/javascripts/rails.js +191 -0
  62. data/spec/rails_app/public/robots.txt +5 -0
  63. data/spec/rails_app/public/stylesheets/.gitkeep +0 -0
  64. data/spec/rails_app/script/rails +6 -0
  65. data/spec/rails_app/spec/factories.rb +12 -0
  66. data/spec/rails_app/vendor/plugins/.gitkeep +0 -0
  67. data/spec/spec_helper.rb +17 -0
  68. metadata +341 -0
data/.document ADDED
@@ -0,0 +1,5 @@
1
+ lib/**/*.rb
2
+ bin/*
3
+ -
4
+ features/**/*.feature
5
+ LICENSE.txt
data/.rspec ADDED
@@ -0,0 +1 @@
1
+ --color
data/Gemfile ADDED
@@ -0,0 +1,18 @@
1
+ source "http://rubygems.org"
2
+
3
+ gem 'governor', '>= 0.3.0'
4
+
5
+ group :development, :test do
6
+ gem 'rspec-rails'
7
+ gem 'webrat'
8
+ gem 'sqlite3'
9
+ gem "bundler", "~> 1.0.0"
10
+ gem "jeweler", "~> 1.5.2"
11
+ gem "rcov", ">= 0"
12
+ gem 'factory_girl', '~> 2.0.0.beta'
13
+ gem 'factory_girl_rails', '~> 1.1.beta'
14
+
15
+ gem 'governor_atom', :path => './'
16
+ gem 'devise'
17
+ gem 'will_paginate', '~> 3.0.beta'
18
+ end
data/Gemfile.lock ADDED
@@ -0,0 +1,129 @@
1
+ PATH
2
+ remote: ./
3
+ specs:
4
+ governor_atom (0.1.0)
5
+ governor (>= 0.3.0)
6
+
7
+ GEM
8
+ remote: http://rubygems.org/
9
+ specs:
10
+ abstract (1.0.0)
11
+ actionmailer (3.0.6)
12
+ actionpack (= 3.0.6)
13
+ mail (~> 2.2.15)
14
+ actionpack (3.0.6)
15
+ activemodel (= 3.0.6)
16
+ activesupport (= 3.0.6)
17
+ builder (~> 2.1.2)
18
+ erubis (~> 2.6.6)
19
+ i18n (~> 0.5.0)
20
+ rack (~> 1.2.1)
21
+ rack-mount (~> 0.6.14)
22
+ rack-test (~> 0.5.7)
23
+ tzinfo (~> 0.3.23)
24
+ activemodel (3.0.6)
25
+ activesupport (= 3.0.6)
26
+ builder (~> 2.1.2)
27
+ i18n (~> 0.5.0)
28
+ activerecord (3.0.6)
29
+ activemodel (= 3.0.6)
30
+ activesupport (= 3.0.6)
31
+ arel (~> 2.0.2)
32
+ tzinfo (~> 0.3.23)
33
+ activeresource (3.0.6)
34
+ activemodel (= 3.0.6)
35
+ activesupport (= 3.0.6)
36
+ activesupport (3.0.6)
37
+ arel (2.0.9)
38
+ bcrypt-ruby (2.1.4)
39
+ builder (2.1.2)
40
+ devise (1.2.1)
41
+ bcrypt-ruby (~> 2.1.2)
42
+ orm_adapter (~> 0.0.3)
43
+ warden (~> 1.0.3)
44
+ diff-lcs (1.1.2)
45
+ erubis (2.6.6)
46
+ abstract (>= 1.0.0)
47
+ factory_girl (2.0.0.beta2)
48
+ factory_girl_rails (1.1.beta1)
49
+ factory_girl (~> 2.0.0.beta)
50
+ rails (>= 3.0.0)
51
+ git (1.2.5)
52
+ governor (0.3.0)
53
+ rails (~> 3.0.5)
54
+ i18n (0.5.0)
55
+ jeweler (1.5.2)
56
+ bundler (~> 1.0.0)
57
+ git (>= 1.2.5)
58
+ rake
59
+ mail (2.2.15)
60
+ activesupport (>= 2.3.6)
61
+ i18n (>= 0.4.0)
62
+ mime-types (~> 1.16)
63
+ treetop (~> 1.4.8)
64
+ mime-types (1.16)
65
+ nokogiri (1.4.4)
66
+ orm_adapter (0.0.4)
67
+ polyglot (0.3.1)
68
+ rack (1.2.2)
69
+ rack-mount (0.6.14)
70
+ rack (>= 1.0.0)
71
+ rack-test (0.5.7)
72
+ rack (>= 1.0)
73
+ rails (3.0.6)
74
+ actionmailer (= 3.0.6)
75
+ actionpack (= 3.0.6)
76
+ activerecord (= 3.0.6)
77
+ activeresource (= 3.0.6)
78
+ activesupport (= 3.0.6)
79
+ bundler (~> 1.0)
80
+ railties (= 3.0.6)
81
+ railties (3.0.6)
82
+ actionpack (= 3.0.6)
83
+ activesupport (= 3.0.6)
84
+ rake (>= 0.8.7)
85
+ thor (~> 0.14.4)
86
+ rake (0.8.7)
87
+ rcov (0.9.9)
88
+ rspec (2.5.0)
89
+ rspec-core (~> 2.5.0)
90
+ rspec-expectations (~> 2.5.0)
91
+ rspec-mocks (~> 2.5.0)
92
+ rspec-core (2.5.1)
93
+ rspec-expectations (2.5.0)
94
+ diff-lcs (~> 1.1.2)
95
+ rspec-mocks (2.5.0)
96
+ rspec-rails (2.5.0)
97
+ actionpack (~> 3.0)
98
+ activesupport (~> 3.0)
99
+ railties (~> 3.0)
100
+ rspec (~> 2.5.0)
101
+ sqlite3 (1.3.3)
102
+ thor (0.14.6)
103
+ treetop (1.4.9)
104
+ polyglot (>= 0.3.1)
105
+ tzinfo (0.3.26)
106
+ warden (1.0.3)
107
+ rack (>= 1.0.0)
108
+ webrat (0.7.3)
109
+ nokogiri (>= 1.2.0)
110
+ rack (>= 1.0)
111
+ rack-test (>= 0.5.3)
112
+ will_paginate (3.0.pre2)
113
+
114
+ PLATFORMS
115
+ ruby
116
+
117
+ DEPENDENCIES
118
+ bundler (~> 1.0.0)
119
+ devise
120
+ factory_girl (~> 2.0.0.beta)
121
+ factory_girl_rails (~> 1.1.beta)
122
+ governor (>= 0.3.0)
123
+ governor_atom!
124
+ jeweler (~> 1.5.2)
125
+ rcov
126
+ rspec-rails
127
+ sqlite3
128
+ webrat
129
+ will_paginate (~> 3.0.beta)
data/LICENSE.txt ADDED
@@ -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.
data/README.rdoc ADDED
@@ -0,0 +1,43 @@
1
+ = governor_atom
2
+
3
+ *Governor* (named after Rod Blagojevich) is the pluggable blogging platform
4
+ for Rails, built for people who want to build their blog into their website,
5
+ not build their website into their blog.
6
+
7
+ *governor_atom* is a plugin for Governor, allowing a blog to publish an ATOM
8
+ feed of its articles.
9
+
10
+ == Dependencies
11
+
12
+ * Governor, version 0.3.0 or higher.
13
+
14
+ == Setting up
15
+
16
+ First, install Governor[http://carpeliam.github.com/governor/]. Then, in
17
+ your Gemfile, add the following:
18
+
19
+ gem 'governor_atom'
20
+
21
+ Once you've installed the gem into your app, just add the auto-discovery link
22
+ tag to your layout:
23
+
24
+ <%= auto_discovery_link_tag(:atom, articles_path(:format => :atom), :title => 'your title goes here') %>
25
+
26
+ If you're not using the default +articles+ as a resource type, replace
27
+ +articles_path+ with the path to your resource type.
28
+
29
+ == Contributing to governor_atom
30
+
31
+ * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
32
+ * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
33
+ * Fork the project
34
+ * Start a feature/bugfix branch
35
+ * Commit and push until you are happy with your contribution
36
+ * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
37
+ * 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.
38
+
39
+ == Copyright
40
+
41
+ Copyright (c) 2011 Liam Morley. See LICENSE.txt for
42
+ further details.
43
+
data/Rakefile ADDED
@@ -0,0 +1,50 @@
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_atom"
16
+ gem.homepage = "http://github.com/carpeliam/governor_atom"
17
+ gem.license = "MIT"
18
+ gem.summary = %Q{ATOM feed 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 an ATOM feed 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_atom #{version}"
48
+ rdoc.rdoc_files.include('README*')
49
+ rdoc.rdoc_files.include('lib/**/*.rb')
50
+ end
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.1.0
@@ -0,0 +1,21 @@
1
+ atom_feed do |feed|
2
+ feed.title("#{mapping.humanize} feed")
3
+
4
+ unless resources.empty?
5
+ feed.updated(resources.first.updated_at)
6
+
7
+ resources.each do |article|
8
+ feed.entry(article) do |entry|
9
+
10
+ entry.title article.title
11
+ entry.summary article.description
12
+ entry.content truncate(strip_tags(Governor::Formatters.format_article(article)), :length => 100)
13
+
14
+ entry.author do |author|
15
+ author.name article.author.name
16
+ author.uri article.author.website
17
+ end
18
+ end
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,170 @@
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_atom}
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-16}
13
+ s.description = %q{A plugin for the Rails 3-based Governor blogging system that adds an ATOM feed 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
+ ".rspec",
22
+ "Gemfile",
23
+ "Gemfile.lock",
24
+ "LICENSE.txt",
25
+ "README.rdoc",
26
+ "Rakefile",
27
+ "VERSION",
28
+ "app/views/governor/articles/index.atom.builder",
29
+ "governor_atom.gemspec",
30
+ "lib/governor_atom.rb",
31
+ "lib/governor_atom/rails.rb",
32
+ "spec/controllers/governor/articles_controller_spec.rb",
33
+ "spec/governor_atom_spec.rb",
34
+ "spec/rails_app/.gitignore",
35
+ "spec/rails_app/Gemfile",
36
+ "spec/rails_app/Gemfile.lock",
37
+ "spec/rails_app/README",
38
+ "spec/rails_app/Rakefile",
39
+ "spec/rails_app/app/controllers/application_controller.rb",
40
+ "spec/rails_app/app/controllers/home_controller.rb",
41
+ "spec/rails_app/app/helpers/application_helper.rb",
42
+ "spec/rails_app/app/helpers/home_helper.rb",
43
+ "spec/rails_app/app/models/article.rb",
44
+ "spec/rails_app/app/models/user.rb",
45
+ "spec/rails_app/app/views/home/index.html.erb",
46
+ "spec/rails_app/app/views/layouts/application.html.erb",
47
+ "spec/rails_app/config.ru",
48
+ "spec/rails_app/config/application.rb",
49
+ "spec/rails_app/config/boot.rb",
50
+ "spec/rails_app/config/database.yml",
51
+ "spec/rails_app/config/environment.rb",
52
+ "spec/rails_app/config/environments/development.rb",
53
+ "spec/rails_app/config/environments/production.rb",
54
+ "spec/rails_app/config/environments/test.rb",
55
+ "spec/rails_app/config/initializers/backtrace_silencers.rb",
56
+ "spec/rails_app/config/initializers/devise.rb",
57
+ "spec/rails_app/config/initializers/governor.rb",
58
+ "spec/rails_app/config/initializers/inflections.rb",
59
+ "spec/rails_app/config/initializers/mime_types.rb",
60
+ "spec/rails_app/config/initializers/secret_token.rb",
61
+ "spec/rails_app/config/initializers/session_store.rb",
62
+ "spec/rails_app/config/locales/devise.en.yml",
63
+ "spec/rails_app/config/locales/en.yml",
64
+ "spec/rails_app/config/routes.rb",
65
+ "spec/rails_app/db/migrate/20110329032256_devise_create_users.rb",
66
+ "spec/rails_app/db/migrate/20110330020108_governor_create_articles.rb",
67
+ "spec/rails_app/db/schema.rb",
68
+ "spec/rails_app/db/seeds.rb",
69
+ "spec/rails_app/lib/tasks/.gitkeep",
70
+ "spec/rails_app/public/404.html",
71
+ "spec/rails_app/public/422.html",
72
+ "spec/rails_app/public/500.html",
73
+ "spec/rails_app/public/favicon.ico",
74
+ "spec/rails_app/public/images/rails.png",
75
+ "spec/rails_app/public/javascripts/application.js",
76
+ "spec/rails_app/public/javascripts/controls.js",
77
+ "spec/rails_app/public/javascripts/dragdrop.js",
78
+ "spec/rails_app/public/javascripts/effects.js",
79
+ "spec/rails_app/public/javascripts/prototype.js",
80
+ "spec/rails_app/public/javascripts/rails.js",
81
+ "spec/rails_app/public/robots.txt",
82
+ "spec/rails_app/public/stylesheets/.gitkeep",
83
+ "spec/rails_app/script/rails",
84
+ "spec/rails_app/spec/factories.rb",
85
+ "spec/rails_app/vendor/plugins/.gitkeep",
86
+ "spec/spec_helper.rb"
87
+ ]
88
+ s.homepage = %q{http://github.com/carpeliam/governor_atom}
89
+ s.licenses = ["MIT"]
90
+ s.require_paths = ["lib"]
91
+ s.rubygems_version = %q{1.3.7}
92
+ s.summary = %q{ATOM feed plugin for the Rails 3-based Governor blogging system.}
93
+ s.test_files = [
94
+ "spec/controllers/governor/articles_controller_spec.rb",
95
+ "spec/governor_atom_spec.rb",
96
+ "spec/rails_app/app/controllers/application_controller.rb",
97
+ "spec/rails_app/app/controllers/home_controller.rb",
98
+ "spec/rails_app/app/helpers/application_helper.rb",
99
+ "spec/rails_app/app/helpers/home_helper.rb",
100
+ "spec/rails_app/app/models/article.rb",
101
+ "spec/rails_app/app/models/user.rb",
102
+ "spec/rails_app/config/application.rb",
103
+ "spec/rails_app/config/boot.rb",
104
+ "spec/rails_app/config/environment.rb",
105
+ "spec/rails_app/config/environments/development.rb",
106
+ "spec/rails_app/config/environments/production.rb",
107
+ "spec/rails_app/config/environments/test.rb",
108
+ "spec/rails_app/config/initializers/backtrace_silencers.rb",
109
+ "spec/rails_app/config/initializers/devise.rb",
110
+ "spec/rails_app/config/initializers/governor.rb",
111
+ "spec/rails_app/config/initializers/inflections.rb",
112
+ "spec/rails_app/config/initializers/mime_types.rb",
113
+ "spec/rails_app/config/initializers/secret_token.rb",
114
+ "spec/rails_app/config/initializers/session_store.rb",
115
+ "spec/rails_app/config/routes.rb",
116
+ "spec/rails_app/db/migrate/20110329032256_devise_create_users.rb",
117
+ "spec/rails_app/db/migrate/20110330020108_governor_create_articles.rb",
118
+ "spec/rails_app/db/schema.rb",
119
+ "spec/rails_app/db/seeds.rb",
120
+ "spec/rails_app/spec/factories.rb",
121
+ "spec/spec_helper.rb"
122
+ ]
123
+
124
+ if s.respond_to? :specification_version then
125
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
126
+ s.specification_version = 3
127
+
128
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
129
+ s.add_runtime_dependency(%q<governor>, [">= 0.3.0"])
130
+ s.add_development_dependency(%q<rspec-rails>, [">= 0"])
131
+ s.add_development_dependency(%q<webrat>, [">= 0"])
132
+ s.add_development_dependency(%q<sqlite3>, [">= 0"])
133
+ s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
134
+ s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
135
+ s.add_development_dependency(%q<rcov>, [">= 0"])
136
+ s.add_development_dependency(%q<factory_girl>, ["~> 2.0.0.beta"])
137
+ s.add_development_dependency(%q<factory_girl_rails>, ["~> 1.1.beta"])
138
+ s.add_development_dependency(%q<governor_atom>, [">= 0"])
139
+ s.add_development_dependency(%q<devise>, [">= 0"])
140
+ s.add_development_dependency(%q<will_paginate>, ["~> 3.0.beta"])
141
+ else
142
+ s.add_dependency(%q<governor>, [">= 0.3.0"])
143
+ s.add_dependency(%q<rspec-rails>, [">= 0"])
144
+ s.add_dependency(%q<webrat>, [">= 0"])
145
+ s.add_dependency(%q<sqlite3>, [">= 0"])
146
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
147
+ s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
148
+ s.add_dependency(%q<rcov>, [">= 0"])
149
+ s.add_dependency(%q<factory_girl>, ["~> 2.0.0.beta"])
150
+ s.add_dependency(%q<factory_girl_rails>, ["~> 1.1.beta"])
151
+ s.add_dependency(%q<governor_atom>, [">= 0"])
152
+ s.add_dependency(%q<devise>, [">= 0"])
153
+ s.add_dependency(%q<will_paginate>, ["~> 3.0.beta"])
154
+ end
155
+ else
156
+ s.add_dependency(%q<governor>, [">= 0.3.0"])
157
+ s.add_dependency(%q<rspec-rails>, [">= 0"])
158
+ s.add_dependency(%q<webrat>, [">= 0"])
159
+ s.add_dependency(%q<sqlite3>, [">= 0"])
160
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
161
+ s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
162
+ s.add_dependency(%q<rcov>, [">= 0"])
163
+ s.add_dependency(%q<factory_girl>, ["~> 2.0.0.beta"])
164
+ s.add_dependency(%q<factory_girl_rails>, ["~> 1.1.beta"])
165
+ s.add_dependency(%q<governor_atom>, [">= 0"])
166
+ s.add_dependency(%q<devise>, [">= 0"])
167
+ s.add_dependency(%q<will_paginate>, ["~> 3.0.beta"])
168
+ end
169
+ end
170
+