zen_seo 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. data/.gitignore +12 -0
  2. data/.gitignore~ +7 -0
  3. data/.rspec +2 -0
  4. data/Gemfile +22 -0
  5. data/Gemfile.lock +115 -0
  6. data/README.md +88 -0
  7. data/lib/zen_seo/base.rb +5 -4
  8. data/lib/zen_seo/controller_helper.rb +1 -0
  9. data/lib/zen_seo/version.rb +1 -1
  10. data/{test → spec}/dummy/README.rdoc +0 -0
  11. data/{test → spec}/dummy/Rakefile +0 -0
  12. data/{test → spec}/dummy/app/assets/javascripts/application.js +0 -0
  13. data/spec/dummy/app/assets/javascripts/posts.js +2 -0
  14. data/{test → spec}/dummy/app/assets/stylesheets/application.css +0 -0
  15. data/spec/dummy/app/assets/stylesheets/posts.css +4 -0
  16. data/spec/dummy/app/assets/stylesheets/scaffold.css +56 -0
  17. data/{test → spec}/dummy/app/controllers/application_controller.rb +0 -0
  18. data/spec/dummy/app/controllers/posts_controller.rb +83 -0
  19. data/{test → spec}/dummy/app/helpers/application_helper.rb +0 -0
  20. data/spec/dummy/app/helpers/posts_helper.rb +2 -0
  21. data/{test/dummy/public/favicon.ico → spec/dummy/app/mailers/.gitkeep} +0 -0
  22. data/spec/dummy/app/models/.gitkeep +0 -0
  23. data/spec/dummy/app/models/post.rb +8 -0
  24. data/{test → spec}/dummy/app/views/layouts/application.html.erb +1 -0
  25. data/spec/dummy/app/views/posts/_form.html.erb +43 -0
  26. data/spec/dummy/app/views/posts/edit.html.erb +6 -0
  27. data/spec/dummy/app/views/posts/index.html.erb +27 -0
  28. data/spec/dummy/app/views/posts/new.html.erb +5 -0
  29. data/spec/dummy/app/views/posts/show.html.erb +20 -0
  30. data/{test → spec}/dummy/config/application.rb +0 -0
  31. data/{test → spec}/dummy/config/boot.rb +0 -0
  32. data/{test → spec}/dummy/config/database.yml +0 -0
  33. data/{test → spec}/dummy/config/environment.rb +0 -0
  34. data/{test → spec}/dummy/config/environments/development.rb +0 -0
  35. data/{test → spec}/dummy/config/environments/production.rb +0 -0
  36. data/{test → spec}/dummy/config/environments/test.rb +0 -0
  37. data/{test → spec}/dummy/config/initializers/backtrace_silencers.rb +0 -0
  38. data/{test → spec}/dummy/config/initializers/inflections.rb +0 -0
  39. data/{test → spec}/dummy/config/initializers/mime_types.rb +0 -0
  40. data/{test → spec}/dummy/config/initializers/secret_token.rb +0 -0
  41. data/{test → spec}/dummy/config/initializers/session_store.rb +0 -0
  42. data/{test → spec}/dummy/config/initializers/wrap_parameters.rb +0 -0
  43. data/{test → spec}/dummy/config/locales/en.yml +0 -0
  44. data/{test → spec}/dummy/config/routes.rb +4 -0
  45. data/{test → spec}/dummy/config.ru +0 -0
  46. data/spec/dummy/db/development.sqlite3 +0 -0
  47. data/spec/dummy/db/migrate/20130329073248_create_posts.rb +11 -0
  48. data/spec/dummy/db/migrate/20130329073304_create_seos.rb +12 -0
  49. data/spec/dummy/db/schema.rb +34 -0
  50. data/spec/dummy/lib/assets/.gitkeep +0 -0
  51. data/spec/dummy/log/.gitkeep +0 -0
  52. data/spec/dummy/log/development.log +711 -0
  53. data/{test → spec}/dummy/public/404.html +0 -0
  54. data/{test → spec}/dummy/public/422.html +0 -0
  55. data/{test → spec}/dummy/public/500.html +0 -0
  56. data/spec/dummy/public/favicon.ico +0 -0
  57. data/{test → spec}/dummy/script/rails +0 -0
  58. data/spec/dummy/test/fixtures/posts.yml +11 -0
  59. data/spec/dummy/test/functional/posts_controller_test.rb +49 -0
  60. data/spec/dummy/test/unit/helpers/posts_helper_test.rb +4 -0
  61. data/spec/dummy/test/unit/post_test.rb +7 -0
  62. data/spec/dummy/tmp/cache/assets/C8C/B80/sprockets%2F371bf96e99717688ed7313a0c53f4212 +0 -0
  63. data/spec/dummy/tmp/cache/assets/CAB/2B0/sprockets%2F7f42b56265da60e2e55070da5209187e +0 -0
  64. data/spec/dummy/tmp/cache/assets/CC7/220/sprockets%2Fd066c004d1fd26ae76a61303a7a18145 +0 -0
  65. data/spec/dummy/tmp/cache/assets/CD5/B70/sprockets%2F416150dc3ac35079c94273cc46e90aa6 +0 -0
  66. data/spec/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
  67. data/spec/dummy/tmp/cache/assets/CF0/1D0/sprockets%2F6fc757c2c8329244ca95d6909865bbc2 +0 -0
  68. data/spec/dummy/tmp/cache/assets/D1A/310/sprockets%2F5384ad85f52d3272dbc64d46ef3876a4 +0 -0
  69. data/spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
  70. data/spec/dummy/tmp/cache/assets/D4C/0A0/sprockets%2F128b787007ed7bcc496f2cfe954054df +0 -0
  71. data/spec/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
  72. data/spec/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
  73. data/spec/dummy/tmp/cache/assets/D9C/CD0/sprockets%2Fc85016e7bbd4f3adbb7635d01f85d39b +0 -0
  74. data/spec/dummy/tmp/cache/assets/DA0/4D0/sprockets%2F621e6ac32f63ecb1fcd158c408cd877f +0 -0
  75. data/spec/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
  76. data/spec/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
  77. data/spec/dummy/tmp/cache/assets/E1C/CF0/sprockets%2Fa1bfe0c8cb9c6a2d3b00a914dcdfb494 +0 -0
  78. data/spec/spec_helper.rb +22 -0
  79. data/spec/zen_seo_spec.rb +43 -0
  80. data/zen_seo.gemspec +30 -0
  81. data/zen_seo.gemspec~ +28 -0
  82. metadata +155 -71
  83. data/test/test_helper.rb +0 -15
  84. data/test/zen_seo_test.rb +0 -7
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,11 @@
1
+ # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html
2
+
3
+ one:
4
+ title: MyString
5
+ body: MyText
6
+ tags: MyText
7
+
8
+ two:
9
+ title: MyString
10
+ body: MyText
11
+ tags: MyText
@@ -0,0 +1,49 @@
1
+ require 'test_helper'
2
+
3
+ class PostsControllerTest < ActionController::TestCase
4
+ setup do
5
+ @post = posts(:one)
6
+ end
7
+
8
+ test "should get index" do
9
+ get :index
10
+ assert_response :success
11
+ assert_not_nil assigns(:posts)
12
+ end
13
+
14
+ test "should get new" do
15
+ get :new
16
+ assert_response :success
17
+ end
18
+
19
+ test "should create post" do
20
+ assert_difference('Post.count') do
21
+ post :create, post: { body: @post.body, tags: @post.tags, title: @post.title }
22
+ end
23
+
24
+ assert_redirected_to post_path(assigns(:post))
25
+ end
26
+
27
+ test "should show post" do
28
+ get :show, id: @post
29
+ assert_response :success
30
+ end
31
+
32
+ test "should get edit" do
33
+ get :edit, id: @post
34
+ assert_response :success
35
+ end
36
+
37
+ test "should update post" do
38
+ put :update, id: @post, post: { body: @post.body, tags: @post.tags, title: @post.title }
39
+ assert_redirected_to post_path(assigns(:post))
40
+ end
41
+
42
+ test "should destroy post" do
43
+ assert_difference('Post.count', -1) do
44
+ delete :destroy, id: @post
45
+ end
46
+
47
+ assert_redirected_to posts_path
48
+ end
49
+ end
@@ -0,0 +1,4 @@
1
+ require 'test_helper'
2
+
3
+ class PostsHelperTest < ActionView::TestCase
4
+ end
@@ -0,0 +1,7 @@
1
+ require 'test_helper'
2
+
3
+ class PostTest < ActiveSupport::TestCase
4
+ # test "the truth" do
5
+ # assert true
6
+ # end
7
+ end
@@ -0,0 +1,22 @@
1
+ # This file was generated by the `rspec --init` command. Conventionally, all
2
+ # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
3
+ # Require this file using `require "spec_helper"` to ensure that it is only
4
+ # loaded once.
5
+ #
6
+ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
7
+ require File.expand_path("../dummy/config/environment", __FILE__)
8
+
9
+
10
+ RSpec.configure do |config|
11
+ config.treat_symbols_as_metadata_keys_with_true_values = true
12
+ config.run_all_when_everything_filtered = true
13
+ config.filter_run :focus
14
+
15
+ # Run specs in random order to surface order dependencies. If you find an
16
+ # order dependency and want to debug it, you can fix the order by providing
17
+ # the seed, which is printed after each run.
18
+ # --seed 1234
19
+ config.order = 'random'
20
+
21
+
22
+ end
@@ -0,0 +1,43 @@
1
+ require 'spec_helper'
2
+
3
+ describe Post do
4
+ before(:each) do
5
+ @post = Post.new
6
+ end
7
+
8
+ it 'zen_seo should be bootstrapped' do
9
+ Post.respond_to?(:has_seo).should be_true
10
+ end
11
+
12
+ it "should have seo association" do
13
+ @post.respond_to?(:seo).should be_true
14
+ end
15
+
16
+ it 'should save post with predefined seo fields' do
17
+ @post = Post.new(
18
+ :title => 'Title',
19
+ :body => 'Body',
20
+ :tags => 'keywords',
21
+ :seo_attributes=>{
22
+ :title => 'seo_title',
23
+ :description=> 'seo_description',
24
+ :keywords => 'key, word'})
25
+ @post.should be_valid
26
+ end
27
+
28
+ it 'should generate seo fields if no value given' do
29
+ @post= Post.new(
30
+ :title => 'Title',
31
+ :body => 'Body',
32
+ :tags => 'keywords:some')
33
+ @post.should be_valid
34
+ end
35
+
36
+ it 'should generate seo fields if no value given' do
37
+ @post= Post.new(
38
+ :title => nil,
39
+ :body => 'Body',
40
+ :tags => 'keywords')
41
+ @post.should_not be_valid
42
+ end
43
+ end
data/zen_seo.gemspec ADDED
@@ -0,0 +1,30 @@
1
+ $:.push File.expand_path("../lib", __FILE__)
2
+
3
+ # Maintain your gem's version:
4
+ require "zen_seo/version"
5
+
6
+ # Describe your gem and declare its dependencies:
7
+ Gem::Specification.new do |s|
8
+ s.name = "zen_seo"
9
+ s.version = ZenSeo::VERSION
10
+ s.authors = ["Serj Prikhodko"]
11
+ s.email = ["prikha@gmail.com"]
12
+ s.homepage = "http://github.com/zengile/zen_seo"
13
+ s.summary = 'Fancy way of forgetting about SEO issues.'
14
+
15
+ s.files = `git ls-files`.split("\n")
16
+ s.test_files = Dir["spec/**/*"]
17
+ s.require_paths = ["lib"]
18
+
19
+ s.add_dependency "rails", "~> 3.2.13"
20
+ s.add_dependency "meta-tags"
21
+
22
+ s.description = <<-EOM
23
+ Seo is missed when talking about web apps. Zen_seo comes to bring justice to this cruel world.
24
+ EOM
25
+
26
+ s.post_install_message = <<-EOM
27
+ You are now on Zen promotion of zen_seo. Enjoy!
28
+ EOM
29
+
30
+ end
data/zen_seo.gemspec~ ADDED
@@ -0,0 +1,28 @@
1
+ $:.push File.expand_path("../lib", __FILE__)
2
+
3
+ # Maintain your gem's version:
4
+ require "zen_seo/version"
5
+
6
+ # Describe your gem and declare its dependencies:
7
+ Gem::Specification.new do |s|
8
+ s.name = "zen_seo"
9
+ s.version = ZenSeo::VERSION
10
+ s.authors = ["Serj Prikhodko"]
11
+ s.email = ["sergey@zengile.com"]
12
+ s.homepage = "http://github.com/zengile/zen_seo"
13
+
14
+ s.files = Dir["{app,config,db,lib}/**/*"] + ["MIT-LICENSE", "Rakefile", "README.rdoc"]
15
+ s.test_files = Dir["test/**/*"]
16
+ s.require_paths = ["lib"]
17
+
18
+ s.add_dependency "rails", "~> 3.2.13"
19
+
20
+ s.description = <<-EOM
21
+ Seo is missed when talking about web apps. Zen_seo comes to bring justice to this cruel world.
22
+ EOM
23
+
24
+ s.post_install_message = <<-EOM
25
+ You are now on Zen promotion of zen_seo. Enjoy!
26
+ EOM
27
+
28
+ end
metadata CHANGED
@@ -2,14 +2,14 @@
2
2
  name: zen_seo
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.1
5
+ version: 0.0.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Serj Prikhodko
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-27 00:00:00.000000000 Z
12
+ date: 2013-03-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  type: :runtime
@@ -53,49 +53,97 @@ executables: []
53
53
  extensions: []
54
54
  extra_rdoc_files: []
55
55
  files:
56
+ - .gitignore
57
+ - .gitignore~
58
+ - .rspec
59
+ - Gemfile
60
+ - Gemfile.lock
61
+ - MIT-LICENSE
62
+ - README.md
63
+ - README.rdoc
64
+ - Rakefile
56
65
  - app/models/seo.rb
57
66
  - db/migrate/create_seos.rb
58
67
  - lib/generators/install.rb
59
68
  - lib/tasks/zen_seo_tasks.rake
60
- - lib/zen_seo/version.rb
69
+ - lib/zen_seo.rb
70
+ - lib/zen_seo.rb~
61
71
  - lib/zen_seo/base.rb
62
72
  - lib/zen_seo/controller_helper.rb
63
73
  - lib/zen_seo/seo.rb
64
- - lib/zen_seo.rb~
65
- - lib/zen_seo.rb
66
- - MIT-LICENSE
67
- - Rakefile
68
- - README.rdoc
69
- - test/test_helper.rb
70
- - test/zen_seo_test.rb
71
- - test/dummy/public/favicon.ico
72
- - test/dummy/public/404.html
73
- - test/dummy/public/422.html
74
- - test/dummy/public/500.html
75
- - test/dummy/config.ru
76
- - test/dummy/README.rdoc
77
- - test/dummy/Rakefile
78
- - test/dummy/script/rails
79
- - test/dummy/config/boot.rb
80
- - test/dummy/config/locales/en.yml
81
- - test/dummy/config/initializers/wrap_parameters.rb
82
- - test/dummy/config/initializers/backtrace_silencers.rb
83
- - test/dummy/config/initializers/inflections.rb
84
- - test/dummy/config/initializers/secret_token.rb
85
- - test/dummy/config/initializers/session_store.rb
86
- - test/dummy/config/initializers/mime_types.rb
87
- - test/dummy/config/environments/test.rb
88
- - test/dummy/config/environments/production.rb
89
- - test/dummy/config/environments/development.rb
90
- - test/dummy/config/environment.rb
91
- - test/dummy/config/routes.rb
92
- - test/dummy/config/application.rb
93
- - test/dummy/config/database.yml
94
- - test/dummy/app/helpers/application_helper.rb
95
- - test/dummy/app/views/layouts/application.html.erb
96
- - test/dummy/app/controllers/application_controller.rb
97
- - test/dummy/app/assets/stylesheets/application.css
98
- - test/dummy/app/assets/javascripts/application.js
74
+ - lib/zen_seo/version.rb
75
+ - spec/dummy/README.rdoc
76
+ - spec/dummy/Rakefile
77
+ - spec/dummy/app/assets/javascripts/application.js
78
+ - spec/dummy/app/assets/javascripts/posts.js
79
+ - spec/dummy/app/assets/stylesheets/application.css
80
+ - spec/dummy/app/assets/stylesheets/posts.css
81
+ - spec/dummy/app/assets/stylesheets/scaffold.css
82
+ - spec/dummy/app/controllers/application_controller.rb
83
+ - spec/dummy/app/controllers/posts_controller.rb
84
+ - spec/dummy/app/helpers/application_helper.rb
85
+ - spec/dummy/app/helpers/posts_helper.rb
86
+ - spec/dummy/app/mailers/.gitkeep
87
+ - spec/dummy/app/models/.gitkeep
88
+ - spec/dummy/app/models/post.rb
89
+ - spec/dummy/app/views/layouts/application.html.erb
90
+ - spec/dummy/app/views/posts/_form.html.erb
91
+ - spec/dummy/app/views/posts/edit.html.erb
92
+ - spec/dummy/app/views/posts/index.html.erb
93
+ - spec/dummy/app/views/posts/new.html.erb
94
+ - spec/dummy/app/views/posts/show.html.erb
95
+ - spec/dummy/config.ru
96
+ - spec/dummy/config/application.rb
97
+ - spec/dummy/config/boot.rb
98
+ - spec/dummy/config/database.yml
99
+ - spec/dummy/config/environment.rb
100
+ - spec/dummy/config/environments/development.rb
101
+ - spec/dummy/config/environments/production.rb
102
+ - spec/dummy/config/environments/test.rb
103
+ - spec/dummy/config/initializers/backtrace_silencers.rb
104
+ - spec/dummy/config/initializers/inflections.rb
105
+ - spec/dummy/config/initializers/mime_types.rb
106
+ - spec/dummy/config/initializers/secret_token.rb
107
+ - spec/dummy/config/initializers/session_store.rb
108
+ - spec/dummy/config/initializers/wrap_parameters.rb
109
+ - spec/dummy/config/locales/en.yml
110
+ - spec/dummy/config/routes.rb
111
+ - spec/dummy/db/migrate/20130329073248_create_posts.rb
112
+ - spec/dummy/db/migrate/20130329073304_create_seos.rb
113
+ - spec/dummy/db/schema.rb
114
+ - spec/dummy/lib/assets/.gitkeep
115
+ - spec/dummy/log/.gitkeep
116
+ - spec/dummy/public/404.html
117
+ - spec/dummy/public/422.html
118
+ - spec/dummy/public/500.html
119
+ - spec/dummy/public/favicon.ico
120
+ - spec/dummy/script/rails
121
+ - spec/dummy/test/fixtures/posts.yml
122
+ - spec/dummy/test/functional/posts_controller_test.rb
123
+ - spec/dummy/test/unit/helpers/posts_helper_test.rb
124
+ - spec/dummy/test/unit/post_test.rb
125
+ - spec/spec_helper.rb
126
+ - spec/zen_seo_spec.rb
127
+ - zen_seo.gemspec
128
+ - zen_seo.gemspec~
129
+ - spec/dummy/log/development.log
130
+ - spec/dummy/db/development.sqlite3
131
+ - spec/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
132
+ - spec/dummy/tmp/cache/assets/E1C/CF0/sprockets%2Fa1bfe0c8cb9c6a2d3b00a914dcdfb494
133
+ - spec/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
134
+ - spec/dummy/tmp/cache/assets/CC7/220/sprockets%2Fd066c004d1fd26ae76a61303a7a18145
135
+ - spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
136
+ - spec/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
137
+ - spec/dummy/tmp/cache/assets/CAB/2B0/sprockets%2F7f42b56265da60e2e55070da5209187e
138
+ - spec/dummy/tmp/cache/assets/D4C/0A0/sprockets%2F128b787007ed7bcc496f2cfe954054df
139
+ - spec/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
140
+ - spec/dummy/tmp/cache/assets/CF0/1D0/sprockets%2F6fc757c2c8329244ca95d6909865bbc2
141
+ - spec/dummy/tmp/cache/assets/DA0/4D0/sprockets%2F621e6ac32f63ecb1fcd158c408cd877f
142
+ - spec/dummy/tmp/cache/assets/D1A/310/sprockets%2F5384ad85f52d3272dbc64d46ef3876a4
143
+ - spec/dummy/tmp/cache/assets/CD5/B70/sprockets%2F416150dc3ac35079c94273cc46e90aa6
144
+ - spec/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
145
+ - spec/dummy/tmp/cache/assets/D9C/CD0/sprockets%2Fc85016e7bbd4f3adbb7635d01f85d39b
146
+ - spec/dummy/tmp/cache/assets/C8C/B80/sprockets%2F371bf96e99717688ed7313a0c53f4212
99
147
  homepage: http://github.com/zengile/zen_seo
100
148
  licenses: []
101
149
  post_install_message: ! 'You are now on Zen promotion of zen_seo. Enjoy!
@@ -108,7 +156,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
108
156
  requirements:
109
157
  - - ! '>='
110
158
  - !ruby/object:Gem::Version
111
- hash: -3161575317714126946
159
+ hash: -493029168251905467
112
160
  segments:
113
161
  - 0
114
162
  version: '0'
@@ -117,7 +165,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
117
165
  requirements:
118
166
  - - ! '>='
119
167
  - !ruby/object:Gem::Version
120
- hash: -3161575317714126946
168
+ hash: -493029168251905467
121
169
  segments:
122
170
  - 0
123
171
  version: '0'
@@ -127,35 +175,71 @@ rubyforge_project:
127
175
  rubygems_version: 1.8.25
128
176
  signing_key:
129
177
  specification_version: 3
130
- summary: Fancy way of forgetting about seo issues.
178
+ summary: Fancy way of forgetting about SEO issues.
131
179
  test_files:
132
- - test/test_helper.rb
133
- - test/zen_seo_test.rb
134
- - test/dummy/public/favicon.ico
135
- - test/dummy/public/404.html
136
- - test/dummy/public/422.html
137
- - test/dummy/public/500.html
138
- - test/dummy/config.ru
139
- - test/dummy/README.rdoc
140
- - test/dummy/Rakefile
141
- - test/dummy/script/rails
142
- - test/dummy/config/boot.rb
143
- - test/dummy/config/locales/en.yml
144
- - test/dummy/config/initializers/wrap_parameters.rb
145
- - test/dummy/config/initializers/backtrace_silencers.rb
146
- - test/dummy/config/initializers/inflections.rb
147
- - test/dummy/config/initializers/secret_token.rb
148
- - test/dummy/config/initializers/session_store.rb
149
- - test/dummy/config/initializers/mime_types.rb
150
- - test/dummy/config/environments/test.rb
151
- - test/dummy/config/environments/production.rb
152
- - test/dummy/config/environments/development.rb
153
- - test/dummy/config/environment.rb
154
- - test/dummy/config/routes.rb
155
- - test/dummy/config/application.rb
156
- - test/dummy/config/database.yml
157
- - test/dummy/app/helpers/application_helper.rb
158
- - test/dummy/app/views/layouts/application.html.erb
159
- - test/dummy/app/controllers/application_controller.rb
160
- - test/dummy/app/assets/stylesheets/application.css
161
- - test/dummy/app/assets/javascripts/application.js
180
+ - spec/spec_helper.rb
181
+ - spec/zen_seo_spec.rb
182
+ - spec/dummy/log/development.log
183
+ - spec/dummy/public/favicon.ico
184
+ - spec/dummy/public/404.html
185
+ - spec/dummy/public/422.html
186
+ - spec/dummy/public/500.html
187
+ - spec/dummy/config.ru
188
+ - spec/dummy/README.rdoc
189
+ - spec/dummy/test/fixtures/posts.yml
190
+ - spec/dummy/test/functional/posts_controller_test.rb
191
+ - spec/dummy/test/unit/helpers/posts_helper_test.rb
192
+ - spec/dummy/test/unit/post_test.rb
193
+ - spec/dummy/db/development.sqlite3
194
+ - spec/dummy/db/migrate/20130329073248_create_posts.rb
195
+ - spec/dummy/db/migrate/20130329073304_create_seos.rb
196
+ - spec/dummy/db/schema.rb
197
+ - spec/dummy/Rakefile
198
+ - spec/dummy/script/rails
199
+ - spec/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
200
+ - spec/dummy/tmp/cache/assets/E1C/CF0/sprockets%2Fa1bfe0c8cb9c6a2d3b00a914dcdfb494
201
+ - spec/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
202
+ - spec/dummy/tmp/cache/assets/CC7/220/sprockets%2Fd066c004d1fd26ae76a61303a7a18145
203
+ - spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
204
+ - spec/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
205
+ - spec/dummy/tmp/cache/assets/CAB/2B0/sprockets%2F7f42b56265da60e2e55070da5209187e
206
+ - spec/dummy/tmp/cache/assets/D4C/0A0/sprockets%2F128b787007ed7bcc496f2cfe954054df
207
+ - spec/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
208
+ - spec/dummy/tmp/cache/assets/CF0/1D0/sprockets%2F6fc757c2c8329244ca95d6909865bbc2
209
+ - spec/dummy/tmp/cache/assets/DA0/4D0/sprockets%2F621e6ac32f63ecb1fcd158c408cd877f
210
+ - spec/dummy/tmp/cache/assets/D1A/310/sprockets%2F5384ad85f52d3272dbc64d46ef3876a4
211
+ - spec/dummy/tmp/cache/assets/CD5/B70/sprockets%2F416150dc3ac35079c94273cc46e90aa6
212
+ - spec/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
213
+ - spec/dummy/tmp/cache/assets/D9C/CD0/sprockets%2Fc85016e7bbd4f3adbb7635d01f85d39b
214
+ - spec/dummy/tmp/cache/assets/C8C/B80/sprockets%2F371bf96e99717688ed7313a0c53f4212
215
+ - spec/dummy/config/boot.rb
216
+ - spec/dummy/config/locales/en.yml
217
+ - spec/dummy/config/initializers/wrap_parameters.rb
218
+ - spec/dummy/config/initializers/backtrace_silencers.rb
219
+ - spec/dummy/config/initializers/inflections.rb
220
+ - spec/dummy/config/initializers/secret_token.rb
221
+ - spec/dummy/config/initializers/session_store.rb
222
+ - spec/dummy/config/initializers/mime_types.rb
223
+ - spec/dummy/config/environments/test.rb
224
+ - spec/dummy/config/environments/production.rb
225
+ - spec/dummy/config/environments/development.rb
226
+ - spec/dummy/config/environment.rb
227
+ - spec/dummy/config/routes.rb
228
+ - spec/dummy/config/application.rb
229
+ - spec/dummy/config/database.yml
230
+ - spec/dummy/app/helpers/posts_helper.rb
231
+ - spec/dummy/app/helpers/application_helper.rb
232
+ - spec/dummy/app/models/post.rb
233
+ - spec/dummy/app/views/posts/index.html.erb
234
+ - spec/dummy/app/views/posts/new.html.erb
235
+ - spec/dummy/app/views/posts/show.html.erb
236
+ - spec/dummy/app/views/posts/edit.html.erb
237
+ - spec/dummy/app/views/posts/_form.html.erb
238
+ - spec/dummy/app/views/layouts/application.html.erb
239
+ - spec/dummy/app/controllers/posts_controller.rb
240
+ - spec/dummy/app/controllers/application_controller.rb
241
+ - spec/dummy/app/assets/stylesheets/application.css
242
+ - spec/dummy/app/assets/stylesheets/scaffold.css
243
+ - spec/dummy/app/assets/stylesheets/posts.css
244
+ - spec/dummy/app/assets/javascripts/application.js
245
+ - spec/dummy/app/assets/javascripts/posts.js
data/test/test_helper.rb DELETED
@@ -1,15 +0,0 @@
1
- # Configure Rails Environment
2
- ENV["RAILS_ENV"] = "test"
3
-
4
- require File.expand_path("../dummy/config/environment.rb", __FILE__)
5
- require "rails/test_help"
6
-
7
- Rails.backtrace_cleaner.remove_silencers!
8
-
9
- # Load support files
10
- Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
11
-
12
- # Load fixtures from the engine
13
- if ActiveSupport::TestCase.method_defined?(:fixture_path=)
14
- ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
15
- end
data/test/zen_seo_test.rb DELETED
@@ -1,7 +0,0 @@
1
- require 'test_helper'
2
-
3
- class ZenSeoTest < ActiveSupport::TestCase
4
- test "truth" do
5
- assert_kind_of Module, ZenSeo
6
- end
7
- end