tb_cms 1.2.3 → 1.3.beta1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (76) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +1 -1
  3. data/app/assets/javascripts/admin/cms/menu_items.js +39 -17
  4. data/app/assets/stylesheets/admin/cms/application.css +11 -0
  5. data/app/controllers/admin/menu_items_controller.rb +103 -113
  6. data/app/controllers/admin/menus_controller.rb +52 -53
  7. data/app/controllers/admin/pages_controller.rb +107 -111
  8. data/app/controllers/admin/snippets_controller.rb +16 -16
  9. data/app/controllers/cms/sitemaps_controller.rb +5 -5
  10. data/app/controllers/pages_controller.rb +30 -34
  11. data/app/helpers/cms/application_helper.rb +184 -212
  12. data/app/models/concerns/cms_deprecated_multisite.rb +3 -3
  13. data/app/models/spud_menu.rb +4 -4
  14. data/app/models/spud_menu_item.rb +58 -61
  15. data/app/models/spud_page.rb +63 -67
  16. data/app/models/spud_page_partial.rb +42 -44
  17. data/app/models/spud_page_partial_revision.rb +3 -3
  18. data/app/models/spud_snippet.rb +7 -7
  19. data/app/views/admin/menu_items/index.html.erb +1 -1
  20. data/lib/generators/spud/cms/layout_generator.rb +8 -8
  21. data/lib/spud_cms/configuration.rb +10 -10
  22. data/lib/spud_cms/engine.rb +28 -28
  23. data/lib/spud_cms/liquid_snippet.rb +5 -7
  24. data/lib/spud_cms/page_route.rb +1 -1
  25. data/lib/spud_cms/template_parser.rb +35 -40
  26. data/lib/spud_cms/test_files.rb +6 -6
  27. data/lib/spud_cms/version.rb +3 -3
  28. data/spec/controllers/admin/menu_items_controller_spec.rb +54 -56
  29. data/spec/controllers/admin/menus_controller_spec.rb +31 -37
  30. data/spec/controllers/admin/pages_controller_spec.rb +31 -36
  31. data/spec/controllers/admin/snippets_controller_spec.rb +1 -1
  32. data/spec/controllers/pages_controller_spec.rb +21 -21
  33. data/spec/dummy/config/application.rb +3 -4
  34. data/spec/dummy/config/boot.rb +1 -1
  35. data/spec/dummy/config/environments/production.rb +1 -1
  36. data/spec/dummy/config/environments/test.rb +3 -3
  37. data/spec/dummy/config.ru +1 -1
  38. data/spec/dummy/db/migrate/20141231214447_create_spud_users.tb_core.rb +12 -12
  39. data/spec/dummy/db/migrate/20141231214448_add_time_zone_to_spud_user.tb_core.rb +0 -1
  40. data/spec/dummy/db/migrate/20141231214449_add_scope_to_spud_admin_permissions.tb_core.rb +0 -1
  41. data/spec/dummy/db/migrate/20141231214452_create_spud_permissions.tb_core.rb +3 -3
  42. data/spec/dummy/db/migrate/20141231214453_create_spud_role_permissions.tb_core.rb +2 -2
  43. data/spec/dummy/db/migrate/20141231214455_create_spud_permalinks.tb_permalinks.rb +1 -1
  44. data/spec/dummy/db/migrate/20141231214456_add_site_id_to_spud_permalinks.tb_permalinks.rb +1 -1
  45. data/spec/dummy/db/migrate/20141231214457_modify_site_id_for_spud_permalinks.tb_permalinks.rb +4 -4
  46. data/spec/dummy/db/migrate/20141231214459_create_spud_pages.tb_cms.rb +1 -1
  47. data/spec/dummy/db/migrate/20141231214461_create_spud_menu_items.tb_cms.rb +3 -3
  48. data/spec/dummy/db/migrate/20141231214463_create_spud_page_partials.tb_cms.rb +1 -1
  49. data/spec/dummy/db/migrate/20141231214464_add_visibility_to_spud_pages.tb_cms.rb +2 -2
  50. data/spec/dummy/db/migrate/20141231214466_add_use_custom_url_name_to_spud_pages.tb_cms.rb +1 -1
  51. data/spec/dummy/db/migrate/20141231214468_add_menu_id_to_spud_menu_items.tb_cms.rb +1 -1
  52. data/spec/dummy/db/migrate/20141231214469_add_classes_to_spud_menu_items.tb_cms.rb +0 -1
  53. data/spec/dummy/db/migrate/20141231214470_add_site_id_to_spud_pages.tb_cms.rb +2 -2
  54. data/spec/dummy/db/migrate/20141231214471_add_site_id_to_spud_templates.tb_cms.rb +2 -2
  55. data/spec/dummy/db/migrate/20141231214472_add_site_id_to_spud_menus.tb_cms.rb +2 -2
  56. data/spec/dummy/db/migrate/20141231214473_create_spud_page_partial_revisions.tb_cms.rb +1 -1
  57. data/spec/dummy/db/migrate/20141231214475_modify_site_id_for_spud_pages.tb_cms.rb +8 -8
  58. data/spec/dummy/db/migrate/20141231214478_create_spud_page_liquid_tags.tb_cms.rb +1 -1
  59. data/spec/dummy/db/migrate/20141231214479_create_spud_snippets.tb_cms.rb +1 -2
  60. data/spec/dummy/db/migrate/20141231214480_change_liquid_tags_to_polymorphic.tb_cms.rb +2 -2
  61. data/spec/dummy/db/migrate/20141231214481_drop_spud_page_liquid_tags.tb_cms.rb +6 -8
  62. data/spec/dummy/db/migrate/20150108164814_remove_site_id_from_cms_tables.tb_cms.rb +1 -0
  63. data/spec/dummy/db/migrate/20150911185843_add_requires_password_change_to_spud_users.tb_core.rb +1 -1
  64. data/spec/dummy/db/migrate/20160215180157_create_tb_redirects.tb_redirects.rb +3 -3
  65. data/spec/dummy/db/schema.rb +142 -153
  66. data/spec/dummy/script/rails +2 -2
  67. data/spec/helpers/cms/application_helper_spec.rb +39 -41
  68. data/spec/models/spud_menu_item_spec.rb +13 -13
  69. data/spec/models/spud_page_partial_revision_spec.rb +1 -1
  70. data/spec/models/spud_page_partial_spec.rb +19 -20
  71. data/spec/models/spud_page_spec.rb +90 -91
  72. data/spec/models/spud_snippet_spec.rb +1 -1
  73. data/spec/rails_helper.rb +12 -6
  74. data/spec/spec_helper.rb +42 -44
  75. metadata +64 -38
  76. data/spec/authlogic_helper.rb +0 -2
@@ -1,96 +1,95 @@
1
1
  require 'rails_helper'
2
2
 
3
- describe SpudPage, :type => :model do
4
-
5
- it {should have_many(:spud_page_partials)}
6
- it {should have_many(:spud_pages)}
7
- it {should belong_to(:spud_page)}
8
- it {should belong_to(:created_by_user)}
9
- it {should belong_to(:updated_by_user)}
10
-
11
- describe "validations" do
12
-
13
- it "should require a name" do
14
- p = FactoryGirl.build(:spud_page,:name => nil)
15
- expect(p).to_not be_valid
16
- end
17
-
18
- it "should require a unique url_name" do
19
- FactoryGirl.create(:spud_page, :url_name => "test", :use_custom_url_name => true)
20
- t = FactoryGirl.build(:spud_page, :url_name => "test", :use_custom_url_name => true)
21
- expect(t).to_not be_valid
22
- end
23
-
24
- it "should generate a url_name if taken" do
25
- FactoryGirl.create(:spud_page, :name => "test")
26
- t = FactoryGirl.build(:spud_page, :name => "test")
27
- expect {
3
+ describe SpudPage, type: :model do
4
+
5
+ it { should have_many(:spud_page_partials) }
6
+ it { should have_many(:spud_pages) }
7
+ it { should belong_to(:spud_page) }
8
+ it { should belong_to(:created_by_user) }
9
+ it { should belong_to(:updated_by_user) }
10
+
11
+ describe 'validations' do
12
+
13
+ it 'should require a name' do
14
+ p = FactoryGirl.build(:spud_page, name: nil)
15
+ expect(p).to_not be_valid
16
+ end
17
+
18
+ it 'should require a unique url_name' do
19
+ FactoryGirl.create(:spud_page, url_name: 'test', use_custom_url_name: true)
20
+ t = FactoryGirl.build(:spud_page, url_name: 'test', use_custom_url_name: true)
21
+ expect(t).to_not be_valid
22
+ end
23
+
24
+ it 'should generate a url_name if taken' do
25
+ FactoryGirl.create(:spud_page, name: 'test')
26
+ t = FactoryGirl.build(:spud_page, name: 'test')
27
+ expect do
28
28
  t.valid?
29
- }.to change(t, :url_name)
30
- end
31
-
32
- it "should dependantly destroy page_partials" do
33
- t = FactoryGirl.create(:spud_page, :spud_page_partials => [SpudPagePartial.new(:name => "body")])
34
- expect {
35
- t.destroy
36
- }.to change(SpudPagePartial, :count).from(1).to(0)
37
- end
38
-
39
-
40
- end
41
-
42
- describe "scopes" do
43
-
44
- it "should only show published pages" do
45
- expect(SpudPage.published_pages.to_sql).to eq(SpudPage.where(:published => true).to_sql)
46
- end
47
-
48
- it "should only show parent pages" do
49
- expect(SpudPage.parent_pages.to_sql).to eq(SpudPage.where(:spud_page_id => nil).to_sql)
50
- end
51
-
52
- it "should only show public pages" do
53
- expect(SpudPage.viewable.to_sql).to eq(SpudPage.where(:visibility => 0).to_sql)
54
- end
55
-
56
- it "should return private if visibility is == 1" do
57
- parent_page = FactoryGirl.build(:spud_page,:name => "parent",:visibility => 1)
58
-
59
- expect(parent_page.is_private?).to eq(true)
60
-
61
- parent_page.visibility = 0
62
- expect(parent_page.is_private?).to eq(false)
63
- end
64
- end
65
-
66
- describe "#generate_url_name" do
67
- it 'should use the provided url' do
68
- @page = FactoryGirl.create(:spud_page, :url_name => 'test')
69
- expect(@page.url_name).to eq('test')
70
- end
71
-
72
- it 'should generate a url based on the page name' do
73
- @page = FactoryGirl.create(:spud_page, :name => 'Hello World')
74
- expect(@page.url_name).to eq('hello-world')
75
- end
76
-
77
- it 'should generate a url based on the page name and parent page' do
78
- @parent = FactoryGirl.create(:spud_page, :name => 'About Us')
79
- @page = FactoryGirl.create(:spud_page, :name => 'Hello World', :spud_page => @parent)
80
- expect(@page.url_name).to eq('about-us/hello-world')
81
- end
82
- end
83
-
84
- describe '#create_redirect_if_necessary' do
85
- it 'should create a redirect' do
86
- page = FactoryGirl.create(:spud_page, :url_name => 'page-a')
87
- expect{
88
- page.update(:url_name => 'page-b')
89
- }.to change(page.tb_redirects, :count).by(1)
90
- redirect = page.tb_redirects.last
91
- expect(redirect.source).to eq('/page-a')
92
- expect(redirect.destination).to eq('/page-b')
93
- end
94
- end
29
+ end.to change(t, :url_name)
30
+ end
31
+
32
+ it 'should dependantly destroy page_partials' do
33
+ t = FactoryGirl.create(:spud_page, spud_page_partials: [SpudPagePartial.new(name: 'body')])
34
+ expect do
35
+ t.destroy
36
+ end.to change(SpudPagePartial, :count).from(1).to(0)
37
+ end
38
+
39
+ end
40
+
41
+ describe 'scopes' do
42
+
43
+ it 'should only show published pages' do
44
+ expect(SpudPage.published_pages.to_sql).to eq(SpudPage.where(published: true).to_sql)
45
+ end
46
+
47
+ it 'should only show parent pages' do
48
+ expect(SpudPage.parent_pages.to_sql).to eq(SpudPage.where(spud_page_id: nil).to_sql)
49
+ end
50
+
51
+ it 'should only show public pages' do
52
+ expect(SpudPage.viewable.to_sql).to eq(SpudPage.where(visibility: 0).to_sql)
53
+ end
54
+
55
+ it 'should return private if visibility is == 1' do
56
+ parent_page = FactoryGirl.build(:spud_page, name: 'parent', visibility: 1)
57
+
58
+ expect(parent_page.is_private?).to eq(true)
59
+
60
+ parent_page.visibility = 0
61
+ expect(parent_page.is_private?).to eq(false)
62
+ end
63
+ end
64
+
65
+ describe '#generate_url_name' do
66
+ it 'should use the provided url' do
67
+ @page = FactoryGirl.create(:spud_page, url_name: 'test')
68
+ expect(@page.url_name).to eq('test')
69
+ end
70
+
71
+ it 'should generate a url based on the page name' do
72
+ @page = FactoryGirl.create(:spud_page, name: 'Hello World')
73
+ expect(@page.url_name).to eq('hello-world')
74
+ end
75
+
76
+ it 'should generate a url based on the page name and parent page' do
77
+ @parent = FactoryGirl.create(:spud_page, name: 'About Us')
78
+ @page = FactoryGirl.create(:spud_page, name: 'Hello World', spud_page: @parent)
79
+ expect(@page.url_name).to eq('about-us/hello-world')
80
+ end
81
+ end
82
+
83
+ describe '#create_redirect_if_necessary' do
84
+ it 'should create a redirect' do
85
+ page = FactoryGirl.create(:spud_page, url_name: 'page-a')
86
+ expect do
87
+ page.update(url_name: 'page-b')
88
+ end.to change(page.tb_redirects, :count).by(1)
89
+ redirect = page.tb_redirects.last
90
+ expect(redirect.source).to eq('/page-a')
91
+ expect(redirect.destination).to eq('/page-b')
92
+ end
93
+ end
95
94
 
96
95
  end
@@ -1,5 +1,5 @@
1
1
  require 'rails_helper'
2
2
 
3
- describe SpudSnippet, :type => :model do
3
+ describe SpudSnippet, type: :model do
4
4
  pending "add some examples to (or delete) #{__FILE__}"
5
5
  end
data/spec/rails_helper.rb CHANGED
@@ -1,13 +1,14 @@
1
1
  # This file is copied to spec/ when you run 'rails generate rspec:install'
2
- ENV["RAILS_ENV"] ||= 'test'
2
+ ENV['RAILS_ENV'] ||= 'test'
3
3
 
4
- require File.expand_path("../dummy/config/environment.rb", __FILE__)
4
+ require File.expand_path('../dummy/config/environment.rb', __FILE__)
5
5
  require 'spec_helper'
6
- require 'authlogic_helper'
7
6
  require 'rspec/rails'
7
+ require 'rails-controller-testing'
8
8
  require 'database_cleaner'
9
9
  require 'simplecov'
10
10
  require 'factory_girl_rails'
11
+ require 'tb_core/test_helper'
11
12
  require 'shoulda'
12
13
 
13
14
  SimpleCov.start 'rails'
@@ -31,12 +32,18 @@ SimpleCov.start 'rails'
31
32
 
32
33
  # Checks for pending migrations before tests are run.
33
34
  # If you are not using ActiveRecord, you can remove this line.
34
- #ActiveRecord::Migration.maintain_test_schema!
35
+ # ActiveRecord::Migration.maintain_test_schema!
35
36
 
36
37
  RSpec.configure do |config|
38
+ [:controller, :view, :request].each do |type|
39
+ config.include ::Rails::Controller::Testing::TestProcess, type: type
40
+ config.include ::Rails::Controller::Testing::TemplateAssertions, type: type
41
+ config.include ::Rails::Controller::Testing::Integration, type: type
42
+ end
43
+
37
44
  config.raise_errors_for_deprecations!
38
45
  config.infer_base_class_for_anonymous_controllers = false
39
-
46
+
40
47
  # If you're not using ActiveRecord, or you'd prefer not to run each of your
41
48
  # examples within a transaction, remove the following line or assign false
42
49
  # instead of true.
@@ -68,5 +75,4 @@ RSpec.configure do |config|
68
75
  example.run
69
76
  end
70
77
  end
71
-
72
78
  end
data/spec/spec_helper.rb CHANGED
@@ -38,48 +38,46 @@ RSpec.configure do |config|
38
38
  mocks.verify_partial_doubles = true
39
39
  end
40
40
 
41
- # The settings below are suggested to provide a good initial experience
42
- # with RSpec, but feel free to customize to your heart's content.
43
- =begin
44
- # These two settings work together to allow you to limit a spec run
45
- # to individual examples or groups you care about by tagging them with
46
- # `:focus` metadata. When nothing is tagged with `:focus`, all examples
47
- # get run.
48
- config.filter_run :focus
49
- config.run_all_when_everything_filtered = true
50
-
51
- # Limits the available syntax to the non-monkey patched syntax that is recommended.
52
- # For more details, see:
53
- # - http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
54
- # - http://teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
55
- # - http://myronmars.to/n/dev-blog/2014/05/notable-changes-in-rspec-3#new__config_option_to_disable_rspeccore_monkey_patching
56
- config.disable_monkey_patching!
57
-
58
- # Many RSpec users commonly either run the entire suite or an individual
59
- # file, and it's useful to allow more verbose output when running an
60
- # individual spec file.
61
- if config.files_to_run.one?
62
- # Use the documentation formatter for detailed output,
63
- # unless a formatter has already been configured
64
- # (e.g. via a command-line flag).
65
- config.default_formatter = 'doc'
66
- end
67
-
68
- # Print the 10 slowest examples and example groups at the
69
- # end of the spec run, to help surface which specs are running
70
- # particularly slow.
71
- config.profile_examples = 10
72
-
73
- # Run specs in random order to surface order dependencies. If you find an
74
- # order dependency and want to debug it, you can fix the order by providing
75
- # the seed, which is printed after each run.
76
- # --seed 1234
77
- config.order = :random
78
-
79
- # Seed global randomization in this process using the `--seed` CLI option.
80
- # Setting this allows you to use `--seed` to deterministically reproduce
81
- # test failures related to randomization by passing the same `--seed` value
82
- # as the one that triggered the failure.
83
- Kernel.srand config.seed
84
- =end
41
+ # The settings below are suggested to provide a good initial experience
42
+ # with RSpec, but feel free to customize to your heart's content.
43
+ # # These two settings work together to allow you to limit a spec run
44
+ # # to individual examples or groups you care about by tagging them with
45
+ # # `:focus` metadata. When nothing is tagged with `:focus`, all examples
46
+ # # get run.
47
+ # config.filter_run :focus
48
+ # config.run_all_when_everything_filtered = true
49
+ #
50
+ # # Limits the available syntax to the non-monkey patched syntax that is recommended.
51
+ # # For more details, see:
52
+ # # - http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
53
+ # # - http://teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
54
+ # # - http://myronmars.to/n/dev-blog/2014/05/notable-changes-in-rspec-3#new__config_option_to_disable_rspeccore_monkey_patching
55
+ # config.disable_monkey_patching!
56
+ #
57
+ # # Many RSpec users commonly either run the entire suite or an individual
58
+ # # file, and it's useful to allow more verbose output when running an
59
+ # # individual spec file.
60
+ # if config.files_to_run.one?
61
+ # # Use the documentation formatter for detailed output,
62
+ # # unless a formatter has already been configured
63
+ # # (e.g. via a command-line flag).
64
+ # config.default_formatter = 'doc'
65
+ # end
66
+ #
67
+ # # Print the 10 slowest examples and example groups at the
68
+ # # end of the spec run, to help surface which specs are running
69
+ # # particularly slow.
70
+ # config.profile_examples = 10
71
+ #
72
+ # # Run specs in random order to surface order dependencies. If you find an
73
+ # # order dependency and want to debug it, you can fix the order by providing
74
+ # # the seed, which is printed after each run.
75
+ # # --seed 1234
76
+ # config.order = :random
77
+ #
78
+ # # Seed global randomization in this process using the `--seed` CLI option.
79
+ # # Setting this allows you to use `--seed` to deterministically reproduce
80
+ # # test failures related to randomization by passing the same `--seed` value
81
+ # # as the one that triggered the failure.
82
+ # Kernel.srand config.seed
85
83
  end
metadata CHANGED
@@ -1,57 +1,71 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tb_cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.3
4
+ version: 1.3.beta1
5
5
  platform: ruby
6
6
  authors:
7
- - Westlake Design
7
+ - Moser Consulting
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-10 00:00:00.000000000 Z
11
+ date: 2016-10-21 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 5.0.0.1
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 5.0.0.1
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: tb_core
15
29
  requirement: !ruby/object:Gem::Requirement
16
30
  requirements:
17
- - - "~>"
31
+ - - ">="
18
32
  - !ruby/object:Gem::Version
19
- version: 1.3.7
33
+ version: 1.4.beta2
20
34
  type: :runtime
21
35
  prerelease: false
22
36
  version_requirements: !ruby/object:Gem::Requirement
23
37
  requirements:
24
- - - "~>"
38
+ - - ">="
25
39
  - !ruby/object:Gem::Version
26
- version: 1.3.7
40
+ version: 1.4.beta2
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: tb_redirects
29
43
  requirement: !ruby/object:Gem::Requirement
30
44
  requirements:
31
45
  - - ">="
32
46
  - !ruby/object:Gem::Version
33
- version: 0.0.1
47
+ version: 1.0.beta1
34
48
  type: :runtime
35
49
  prerelease: false
36
50
  version_requirements: !ruby/object:Gem::Requirement
37
51
  requirements:
38
52
  - - ">="
39
53
  - !ruby/object:Gem::Version
40
- version: 0.0.1
54
+ version: 1.0.beta1
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: tb_liquid
43
57
  requirement: !ruby/object:Gem::Requirement
44
58
  requirements:
45
59
  - - ">="
46
60
  - !ruby/object:Gem::Version
47
- version: 1.0.3
61
+ version: 1.1.beta1
48
62
  type: :runtime
49
63
  prerelease: false
50
64
  version_requirements: !ruby/object:Gem::Requirement
51
65
  requirements:
52
66
  - - ">="
53
67
  - !ruby/object:Gem::Version
54
- version: 1.0.3
68
+ version: 1.1.beta1
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: mysql2
57
71
  requirement: !ruby/object:Gem::Requirement
@@ -70,75 +84,89 @@ dependencies:
70
84
  name: rspec-rails
71
85
  requirement: !ruby/object:Gem::Requirement
72
86
  requirements:
73
- - - "~>"
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: 3.5.0
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: 3.5.0
97
+ - !ruby/object:Gem::Dependency
98
+ name: rails-controller-testing
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
74
102
  - !ruby/object:Gem::Version
75
- version: 3.4.2
103
+ version: '0'
76
104
  type: :development
77
105
  prerelease: false
78
106
  version_requirements: !ruby/object:Gem::Requirement
79
107
  requirements:
80
- - - "~>"
108
+ - - ">="
81
109
  - !ruby/object:Gem::Version
82
- version: 3.4.2
110
+ version: '0'
83
111
  - !ruby/object:Gem::Dependency
84
112
  name: factory_girl_rails
85
113
  requirement: !ruby/object:Gem::Requirement
86
114
  requirements:
87
- - - "~>"
115
+ - - ">="
88
116
  - !ruby/object:Gem::Version
89
- version: 4.5.0
117
+ version: '0'
90
118
  type: :development
91
119
  prerelease: false
92
120
  version_requirements: !ruby/object:Gem::Requirement
93
121
  requirements:
94
- - - "~>"
122
+ - - ">="
95
123
  - !ruby/object:Gem::Version
96
- version: 4.5.0
124
+ version: '0'
97
125
  - !ruby/object:Gem::Dependency
98
126
  name: database_cleaner
99
127
  requirement: !ruby/object:Gem::Requirement
100
128
  requirements:
101
- - - "~>"
129
+ - - ">="
102
130
  - !ruby/object:Gem::Version
103
- version: 1.3.0
131
+ version: '0'
104
132
  type: :development
105
133
  prerelease: false
106
134
  version_requirements: !ruby/object:Gem::Requirement
107
135
  requirements:
108
- - - "~>"
136
+ - - ">="
109
137
  - !ruby/object:Gem::Version
110
- version: 1.3.0
138
+ version: '0'
111
139
  - !ruby/object:Gem::Dependency
112
140
  name: simplecov
113
141
  requirement: !ruby/object:Gem::Requirement
114
142
  requirements:
115
- - - "~>"
143
+ - - ">="
116
144
  - !ruby/object:Gem::Version
117
- version: 0.9.1
145
+ version: '0'
118
146
  type: :development
119
147
  prerelease: false
120
148
  version_requirements: !ruby/object:Gem::Requirement
121
149
  requirements:
122
- - - "~>"
150
+ - - ">="
123
151
  - !ruby/object:Gem::Version
124
- version: 0.9.1
152
+ version: '0'
125
153
  - !ruby/object:Gem::Dependency
126
154
  name: shoulda
127
155
  requirement: !ruby/object:Gem::Requirement
128
156
  requirements:
129
- - - "~>"
157
+ - - ">="
130
158
  - !ruby/object:Gem::Version
131
- version: 3.5.0
159
+ version: '0'
132
160
  type: :development
133
161
  prerelease: false
134
162
  version_requirements: !ruby/object:Gem::Requirement
135
163
  requirements:
136
- - - "~>"
164
+ - - ">="
137
165
  - !ruby/object:Gem::Version
138
- version: 3.5.0
166
+ version: '0'
139
167
  description: Content management engine for Twice Baked
140
168
  email:
141
- - greg@westlakedesign.com
169
+ - greg.woods@moserit.com
142
170
  executables: []
143
171
  extensions: []
144
172
  extra_rdoc_files: []
@@ -230,7 +258,6 @@ files:
230
258
  - lib/spud_cms/version.rb
231
259
  - lib/tasks/spud_cms_tasks.rake
232
260
  - lib/tb_cms.rb
233
- - spec/authlogic_helper.rb
234
261
  - spec/controllers/admin/menu_items_controller_spec.rb
235
262
  - spec/controllers/admin/menus_controller_spec.rb
236
263
  - spec/controllers/admin/pages_controller_spec.rb
@@ -314,7 +341,7 @@ files:
314
341
  - spec/models/spud_snippet_spec.rb
315
342
  - spec/rails_helper.rb
316
343
  - spec/spec_helper.rb
317
- homepage: http://bitbucket.org/westlakedesign/tb_cms
344
+ homepage: http://bitbucket.org/moser-inc/tb_cms
318
345
  licenses: []
319
346
  metadata: {}
320
347
  post_install_message:
@@ -328,17 +355,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
328
355
  version: '0'
329
356
  required_rubygems_version: !ruby/object:Gem::Requirement
330
357
  requirements:
331
- - - ">="
358
+ - - ">"
332
359
  - !ruby/object:Gem::Version
333
- version: '0'
360
+ version: 1.3.1
334
361
  requirements: []
335
362
  rubyforge_project:
336
- rubygems_version: 2.4.6
363
+ rubygems_version: 2.5.1
337
364
  signing_key:
338
365
  specification_version: 4
339
366
  summary: Twice Baked CMS
340
367
  test_files:
341
- - spec/authlogic_helper.rb
342
368
  - spec/controllers/admin/menu_items_controller_spec.rb
343
369
  - spec/controllers/admin/menus_controller_spec.rb
344
370
  - spec/controllers/admin/pages_controller_spec.rb
@@ -1,2 +0,0 @@
1
- require 'authlogic/test_case'
2
- include Authlogic::TestCase