shakespeare 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ Wed Jun 2 2010
2
+ - - - - - - - -
3
+ - Added support for html_safe
4
+
1
5
  Feb 15 2010
2
6
  - - - - - -
3
7
  - Added find_by_url to pages
data/Rakefile CHANGED
@@ -25,7 +25,7 @@ begin
25
25
  require 'jeweler'
26
26
  Jeweler::Tasks.new do |s|
27
27
  s.name = "shakespeare"
28
- s.version = "0.3.1"
28
+ s.version = "0.3.2"
29
29
  s.author = "Paul Campbell"
30
30
  s.email = "paul@rslw.com"
31
31
  s.homepage = "http://www.github.com/paulca/shakespeare"
@@ -13,7 +13,8 @@ class Page < ActiveRecord::Base
13
13
  end
14
14
 
15
15
  def to_param
16
- url
16
+ url.respond_to?(:html_safe) ? url.html_safe : url
17
+
17
18
  end
18
19
 
19
20
  def clean_url
@@ -1,24 +1,24 @@
1
- <h2>Pages</h2>
2
-
3
- <ul>
4
- <li><%= link_to "Add a New Page", new_admin_page_path %></li>
5
- </ul>
6
-
7
- <%- if @pages.empty? -%>
8
- <p>No pages have been added yet.</p>
9
- <%- else -%>
10
- <table>
11
- <tr>
12
- <th>Title</th>
13
- <th>&nbsp;</th>
14
- </tr>
15
-
16
- <%- @pages.each do |page| -%>
17
- <tr>
18
- <td><%= page.title %> (<%= link_to "Edit", edit_admin_page_path(page) %>)</td>
19
- <td><%= link_to "Delete", admin_page_path(page), :method => :delete %></td>
20
- </tr>
21
- <%- end -%>
22
-
23
- </table>
1
+ <h2>Pages</h2>
2
+
3
+ <ul>
4
+ <li><%= link_to "Add a New Page", new_admin_page_path %></li>
5
+ </ul>
6
+
7
+ <%- if @pages.empty? -%>
8
+ <p>No pages have been added yet.</p>
9
+ <%- else -%>
10
+ <table>
11
+ <tr>
12
+ <th>Title</th>
13
+ <th>&nbsp;</th>
14
+ </tr>
15
+
16
+ <%- @pages.each do |page| -%>
17
+ <tr>
18
+ <td><%= page.title %> (<%= link_to "Edit", edit_admin_page_path(page) %>)</td>
19
+ <td><%= link_to "Delete", admin_page_path(page), :method => :delete %></td>
20
+ </tr>
21
+ <%- end -%>
22
+
23
+ </table>
24
24
  <%- end -%>
@@ -18,6 +18,17 @@ Feature: Managing Pages
18
18
  And I fill in "Canonical URL" with "http://hendersons.com"
19
19
  And I press "Save"
20
20
  Then I should see "Harry and the Hendersons"
21
+
22
+ Scenario: Page with 'something/something' URL
23
+ Given I am on the pages admin page
24
+ When I follow "Add a New Page"
25
+ And I fill in "URL" with "home/show"
26
+ And I fill in "Title" with "A test"
27
+ And I press "Save"
28
+ And I follow "Edit"
29
+ And I fill in "Title" with "It worked!"
30
+ And I press "Save"
31
+ Then I should see "It worked!"
21
32
 
22
33
  Scenario: Edit Page
23
34
  Given a page titled "Harry and the Hendersons"
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{shakespeare}
8
- s.version = "0.3.1"
8
+ s.version = "0.3.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Paul Campbell"]
12
- s.date = %q{2010-04-27}
12
+ s.date = %q{2010-06-02}
13
13
  s.email = %q{paul@rslw.com}
14
14
  s.extra_rdoc_files = [
15
15
  "README.md"
@@ -64,7 +64,7 @@ Gem::Specification.new do |s|
64
64
  s.homepage = %q{http://www.github.com/paulca/shakespeare}
65
65
  s.rdoc_options = ["--charset=UTF-8"]
66
66
  s.require_paths = ["lib"]
67
- s.rubygems_version = %q{1.3.6}
67
+ s.rubygems_version = %q{1.3.7}
68
68
  s.summary = %q{A Rails drop in CMS.}
69
69
  s.test_files = [
70
70
  "spec/blueprints.rb",
@@ -82,7 +82,7 @@ Gem::Specification.new do |s|
82
82
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
83
83
  s.specification_version = 3
84
84
 
85
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
85
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
86
86
  else
87
87
  end
88
88
  else
@@ -2605,3 +2605,155 @@
2605
2605
  Page Update (0.1ms) UPDATE "pages" SET "updated_at" = '2010-04-27 13:15:30', "content" = 'I was Home Alone' WHERE "id" = 1
2606
2606
  Page Load (0.8ms) SELECT * FROM "pages" WHERE ("pages"."title" = 'Mr. MacAllister''s Christmas') LIMIT 1
2607
2607
  Page Load (0.5ms) SELECT * FROM "pages" WHERE ("pages"."url" = 'gutmann.ca') LIMIT 1
2608
+ SQL (0.3ms) select sqlite_version(*)
2609
+ SQL (0.7ms)  SELECT name
2610
+ FROM sqlite_master
2611
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
2612
+ 
2613
+ SQL (2.1ms) DROP TABLE "pages"
2614
+ SQL (2.0ms) CREATE TABLE "pages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "url" varchar(255), "keywords" text, "description" text, "content" text, "created_at" datetime, "updated_at" datetime, "noindex" boolean, "nofollow" boolean, "canonical" varchar(255), "enable_canonical" boolean, "enable_keywords" boolean) 
2615
+ SQL (0.4ms)  SELECT name
2616
+ FROM sqlite_master
2617
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
2618
+ 
2619
+ SQL (0.3ms) SELECT version FROM "schema_migrations"
2620
+ Page Load (0.2ms) SELECT * FROM "pages" WHERE ("pages"."url" = '/') LIMIT 1
2621
+ Page Load (0.2ms) SELECT * FROM "pages" WHERE ("pages"."url" = '/') LIMIT 1
2622
+ Page Load (0.2ms) SELECT * FROM "pages" WHERE ("pages"."url" = '/') LIMIT 1
2623
+ Page Load (0.2ms) SELECT * FROM "pages" WHERE ("pages"."url" = '/') LIMIT 1
2624
+ Page Load (0.2ms) SELECT * FROM "pages" WHERE ("pages"."url" = '/') LIMIT 1
2625
+ Page Load (0.2ms) SELECT * FROM "pages" 
2626
+ Page Create (0.4ms) INSERT INTO "pages" ("canonical", "created_at", "title", "updated_at", "url", "enable_canonical", "content", "nofollow", "description", "noindex", "enable_keywords", "keywords") VALUES(NULL, '2010-06-02 09:13:17', 'Harry B', '2010-06-02 09:13:17', 'harry-b', NULL, NULL, NULL, NULL, NULL, NULL, NULL)
2627
+ SQL (0.2ms) select sqlite_version(*)
2628
+ SQL (0.4ms)  SELECT name
2629
+ FROM sqlite_master
2630
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
2631
+ 
2632
+ SQL (2.8ms) DROP TABLE "pages"
2633
+ SQL (1.7ms) CREATE TABLE "pages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "url" varchar(255), "keywords" text, "description" text, "content" text, "created_at" datetime, "updated_at" datetime, "noindex" boolean, "nofollow" boolean, "canonical" varchar(255), "enable_canonical" boolean, "enable_keywords" boolean) 
2634
+ SQL (0.3ms)  SELECT name
2635
+ FROM sqlite_master
2636
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
2637
+ 
2638
+ SQL (0.2ms) SELECT version FROM "schema_migrations"
2639
+ Page Load (0.3ms) SELECT * FROM "pages" 
2640
+ Page Load (0.2ms) SELECT * FROM "pages" 
2641
+ Page Create (0.4ms) INSERT INTO "pages" ("canonical", "created_at", "title", "updated_at", "url", "enable_canonical", "content", "nofollow", "description", "noindex", "enable_keywords", "keywords") VALUES('http://hendersons.com', '2010-06-02 09:13:23', 'Harry and the Hendersons', '2010-06-02 09:13:23', '', 't', '', 't', '', 't', NULL, '80s, movie')
2642
+ Page Load (0.4ms) SELECT * FROM "pages" 
2643
+ Page Create (0.4ms) INSERT INTO "pages" ("canonical", "created_at", "title", "updated_at", "url", "enable_canonical", "content", "nofollow", "description", "noindex", "enable_keywords", "keywords") VALUES(NULL, '2010-06-02 09:13:23', 'Harry and the Hendersons', '2010-06-02 09:13:23', 'kundesmith.co.uk', NULL, NULL, NULL, NULL, NULL, NULL, NULL)
2644
+ Page Load (0.4ms) SELECT * FROM "pages" WHERE ("pages"."id" = 1) 
2645
+ Page Load (0.4ms) SELECT * FROM "pages" 
2646
+ Page Create (0.4ms) INSERT INTO "pages" ("canonical", "created_at", "title", "updated_at", "url", "enable_canonical", "content", "nofollow", "description", "noindex", "enable_keywords", "keywords") VALUES(NULL, '2010-06-02 09:13:24', 'The Departed', '2010-06-02 09:13:24', 'kautzergoyette.name', NULL, NULL, NULL, NULL, NULL, NULL, NULL)
2647
+ Page Load (0.3ms) SELECT * FROM "pages" WHERE ("pages"."id" = 1) 
2648
+ Page Load (0.6ms) SELECT * FROM "pages" 
2649
+ Page Create (0.4ms) INSERT INTO "pages" ("canonical", "created_at", "title", "updated_at", "url", "enable_canonical", "content", "nofollow", "description", "noindex", "enable_keywords", "keywords") VALUES(NULL, '2010-06-02 09:13:24', 'Mr. MacAllister''s Christmas', '2010-06-02 09:13:24', 'gutmann.ca', NULL, NULL, NULL, NULL, NULL, NULL, NULL)
2650
+ Page Load (0.3ms) SELECT * FROM "pages" WHERE ("pages"."id" = 1) 
2651
+ Page Load (0.3ms) SELECT * FROM "pages" WHERE ("pages"."title" = 'Mr. MacAllister''s Christmas') LIMIT 1
2652
+ Page Update (0.1ms) UPDATE "pages" SET "updated_at" = '2010-06-02 09:13:24', "content" = 'I was Home Alone' WHERE "id" = 1
2653
+ Page Load (0.4ms) SELECT * FROM "pages" WHERE ("pages"."title" = 'Mr. MacAllister''s Christmas') LIMIT 1
2654
+ Page Load (0.4ms) SELECT * FROM "pages" WHERE ("pages"."url" = 'gutmann.ca') LIMIT 1
2655
+ SQL (0.2ms) select sqlite_version(*)
2656
+ SQL (0.4ms)  SELECT name
2657
+ FROM sqlite_master
2658
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
2659
+ 
2660
+ SQL (2.3ms) DROP TABLE "pages"
2661
+ SQL (1.7ms) CREATE TABLE "pages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "url" varchar(255), "keywords" text, "description" text, "content" text, "created_at" datetime, "updated_at" datetime, "noindex" boolean, "nofollow" boolean, "canonical" varchar(255), "enable_canonical" boolean, "enable_keywords" boolean) 
2662
+ SQL (0.3ms)  SELECT name
2663
+ FROM sqlite_master
2664
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
2665
+ 
2666
+ SQL (0.2ms) SELECT version FROM "schema_migrations"
2667
+ Page Load (0.2ms) SELECT * FROM "pages" 
2668
+ Page Create (0.7ms) INSERT INTO "pages" ("canonical", "created_at", "title", "updated_at", "url", "enable_canonical", "content", "nofollow", "description", "noindex", "enable_keywords", "keywords") VALUES('http://hendersons.com', '2010-06-02 09:13:49', 'Harry and the Hendersons', '2010-06-02 09:13:49', '', 't', '', 't', '', 't', NULL, '80s, movie')
2669
+ Page Load (0.4ms) SELECT * FROM "pages" 
2670
+ Page Create (0.4ms) INSERT INTO "pages" ("canonical", "created_at", "title", "updated_at", "url", "enable_canonical", "content", "nofollow", "description", "noindex", "enable_keywords", "keywords") VALUES(NULL, '2010-06-02 09:13:49', 'Harry and the Hendersons', '2010-06-02 09:13:49', 'kundesmith.co.uk', NULL, NULL, NULL, NULL, NULL, NULL, NULL)
2671
+ Page Load (0.3ms) SELECT * FROM "pages" WHERE ("pages"."id" = 1) 
2672
+ Page Load (0.5ms) SELECT * FROM "pages" 
2673
+ Page Load (0.4ms) SELECT * FROM "pages" WHERE ("pages"."url" = 'kundesmith.co.uk') LIMIT 1
2674
+ Page Load (0.4ms) SELECT * FROM "pages" WHERE ("pages"."url" = 'kundesmith.co.uk') LIMIT 1
2675
+ Page Update (0.2ms) UPDATE "pages" SET "keywords" = '', "updated_at" = '2010-06-02 09:13:49', "title" = 'Three Men and a Baby', "content" = '', "nofollow" = 'f', "canonical" = '', "description" = '', "noindex" = 'f', "enable_canonical" = 'f' WHERE "id" = 1
2676
+ Page Load (0.4ms) SELECT * FROM "pages" 
2677
+ Page Create (0.5ms) INSERT INTO "pages" ("canonical", "created_at", "title", "updated_at", "url", "enable_canonical", "content", "nofollow", "description", "noindex", "enable_keywords", "keywords") VALUES(NULL, '2010-06-02 09:13:49', 'The Departed', '2010-06-02 09:13:49', 'kautzergoyette.name', NULL, NULL, NULL, NULL, NULL, NULL, NULL)
2678
+ Page Load (0.4ms) SELECT * FROM "pages" WHERE ("pages"."id" = 1) 
2679
+ Page Load (0.4ms) SELECT * FROM "pages" 
2680
+ Page Load (0.4ms) SELECT * FROM "pages" WHERE ("pages"."url" = 'kautzergoyette.name') LIMIT 1
2681
+ Page Destroy (0.1ms) DELETE FROM "pages" WHERE "id" = 1
2682
+ Page Load (0.1ms) SELECT * FROM "pages" 
2683
+ SQL (0.2ms) select sqlite_version(*)
2684
+ SQL (0.4ms)  SELECT name
2685
+ FROM sqlite_master
2686
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
2687
+ 
2688
+ SQL (2.7ms) DROP TABLE "pages"
2689
+ SQL (2.1ms) CREATE TABLE "pages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "url" varchar(255), "keywords" text, "description" text, "content" text, "created_at" datetime, "updated_at" datetime, "noindex" boolean, "nofollow" boolean, "canonical" varchar(255), "enable_canonical" boolean, "enable_keywords" boolean) 
2690
+ SQL (0.3ms)  SELECT name
2691
+ FROM sqlite_master
2692
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
2693
+ 
2694
+ SQL (0.2ms) SELECT version FROM "schema_migrations"
2695
+ Page Load (0.2ms) SELECT * FROM "pages" 
2696
+ Page Load (0.2ms) SELECT * FROM "pages" 
2697
+ Page Create (0.4ms) INSERT INTO "pages" ("canonical", "created_at", "title", "updated_at", "url", "enable_canonical", "content", "nofollow", "description", "noindex", "enable_keywords", "keywords") VALUES('http://hendersons.com', '2010-06-02 09:14:15', 'Harry and the Hendersons', '2010-06-02 09:14:15', '', 't', '', 't', '', 't', NULL, '80s, movie')
2698
+ Page Load (0.4ms) SELECT * FROM "pages" 
2699
+ Page Create (0.4ms) INSERT INTO "pages" ("canonical", "created_at", "title", "updated_at", "url", "enable_canonical", "content", "nofollow", "description", "noindex", "enable_keywords", "keywords") VALUES(NULL, '2010-06-02 09:14:15', 'Harry and the Hendersons', '2010-06-02 09:14:15', 'kundesmith.co.uk', NULL, NULL, NULL, NULL, NULL, NULL, NULL)
2700
+ Page Load (0.3ms) SELECT * FROM "pages" WHERE ("pages"."id" = 1) 
2701
+ Page Load (0.4ms) SELECT * FROM "pages" 
2702
+ Page Load (0.4ms) SELECT * FROM "pages" WHERE ("pages"."url" = 'kundesmith.co.uk') LIMIT 1
2703
+ Page Load (0.4ms) SELECT * FROM "pages" WHERE ("pages"."url" = 'kundesmith.co.uk') LIMIT 1
2704
+ Page Update (0.1ms) UPDATE "pages" SET "keywords" = '', "updated_at" = '2010-06-02 09:14:15', "title" = 'Three Men and a Baby', "content" = '', "nofollow" = 'f', "canonical" = '', "description" = '', "noindex" = 'f', "enable_canonical" = 'f' WHERE "id" = 1
2705
+ Page Load (0.4ms) SELECT * FROM "pages" 
2706
+ Page Create (0.4ms) INSERT INTO "pages" ("canonical", "created_at", "title", "updated_at", "url", "enable_canonical", "content", "nofollow", "description", "noindex", "enable_keywords", "keywords") VALUES(NULL, '2010-06-02 09:14:15', 'The Departed', '2010-06-02 09:14:15', 'kautzergoyette.name', NULL, NULL, NULL, NULL, NULL, NULL, NULL)
2707
+ Page Load (0.3ms) SELECT * FROM "pages" WHERE ("pages"."id" = 1) 
2708
+ Page Load (0.4ms) SELECT * FROM "pages" 
2709
+ Page Load (0.4ms) SELECT * FROM "pages" WHERE ("pages"."url" = 'kautzergoyette.name') LIMIT 1
2710
+ Page Destroy (0.1ms) DELETE FROM "pages" WHERE "id" = 1
2711
+ Page Load (0.1ms) SELECT * FROM "pages" 
2712
+ Page Create (0.3ms) INSERT INTO "pages" ("canonical", "created_at", "title", "updated_at", "url", "enable_canonical", "content", "nofollow", "description", "noindex", "enable_keywords", "keywords") VALUES(NULL, '2010-06-02 09:14:15', 'Mr. MacAllister''s Christmas', '2010-06-02 09:14:15', 'gutmann.ca', NULL, NULL, NULL, NULL, NULL, NULL, NULL)
2713
+ Page Load (0.3ms) SELECT * FROM "pages" WHERE ("pages"."id" = 1) 
2714
+ Page Load (0.3ms) SELECT * FROM "pages" WHERE ("pages"."title" = 'Mr. MacAllister''s Christmas') LIMIT 1
2715
+ Page Update (0.1ms) UPDATE "pages" SET "updated_at" = '2010-06-02 09:14:15', "content" = 'I was Home Alone' WHERE "id" = 1
2716
+ Page Load (0.4ms) SELECT * FROM "pages" WHERE ("pages"."title" = 'Mr. MacAllister''s Christmas') LIMIT 1
2717
+ Page Load (0.4ms) SELECT * FROM "pages" WHERE ("pages"."url" = 'gutmann.ca') LIMIT 1
2718
+ SQL (0.2ms) select sqlite_version(*)
2719
+ SQL (0.4ms)  SELECT name
2720
+ FROM sqlite_master
2721
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
2722
+ 
2723
+ SQL (1.4ms) DROP TABLE "pages"
2724
+ SQL (1.3ms) CREATE TABLE "pages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "url" varchar(255), "keywords" text, "description" text, "content" text, "created_at" datetime, "updated_at" datetime, "noindex" boolean, "nofollow" boolean, "canonical" varchar(255), "enable_canonical" boolean, "enable_keywords" boolean) 
2725
+ SQL (0.3ms)  SELECT name
2726
+ FROM sqlite_master
2727
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
2728
+ 
2729
+ SQL (0.2ms) SELECT version FROM "schema_migrations"
2730
+ Page Load (0.2ms) SELECT * FROM "pages" 
2731
+ Page Load (0.2ms) SELECT * FROM "pages" 
2732
+ Page Create (0.5ms) INSERT INTO "pages" ("canonical", "created_at", "title", "updated_at", "url", "enable_canonical", "content", "nofollow", "description", "noindex", "enable_keywords", "keywords") VALUES('http://hendersons.com', '2010-06-02 09:15:46', 'Harry and the Hendersons', '2010-06-02 09:15:46', '', 't', '', 't', '', 't', NULL, '80s, movie')
2733
+ Page Load (0.4ms) SELECT * FROM "pages" 
2734
+ Page Load (0.2ms) SELECT * FROM "pages" 
2735
+ Page Create (0.4ms) INSERT INTO "pages" ("canonical", "created_at", "title", "updated_at", "url", "enable_canonical", "content", "nofollow", "description", "noindex", "enable_keywords", "keywords") VALUES('', '2010-06-02 09:15:46', 'A test', '2010-06-02 09:15:46', 'home/show', 'f', '', 'f', '', 'f', NULL, '')
2736
+ Page Load (0.4ms) SELECT * FROM "pages" 
2737
+ Page Load (0.4ms) SELECT * FROM "pages" WHERE ("pages"."url" = 'home/show') LIMIT 1
2738
+ Page Load (0.4ms) SELECT * FROM "pages" WHERE ("pages"."url" = 'home/show') LIMIT 1
2739
+ Page Update (0.1ms) UPDATE "pages" SET "updated_at" = '2010-06-02 09:15:47', "title" = 'It worked!' WHERE "id" = 1
2740
+ Page Load (0.4ms) SELECT * FROM "pages" 
2741
+ Page Create (0.4ms) INSERT INTO "pages" ("canonical", "created_at", "title", "updated_at", "url", "enable_canonical", "content", "nofollow", "description", "noindex", "enable_keywords", "keywords") VALUES(NULL, '2010-06-02 09:15:47', 'Harry and the Hendersons', '2010-06-02 09:15:47', 'kundesmith.co.uk', NULL, NULL, NULL, NULL, NULL, NULL, NULL)
2742
+ Page Load (0.3ms) SELECT * FROM "pages" WHERE ("pages"."id" = 1) 
2743
+ Page Load (0.4ms) SELECT * FROM "pages" 
2744
+ Page Load (0.4ms) SELECT * FROM "pages" WHERE ("pages"."url" = 'kundesmith.co.uk') LIMIT 1
2745
+ Page Load (0.4ms) SELECT * FROM "pages" WHERE ("pages"."url" = 'kundesmith.co.uk') LIMIT 1
2746
+ Page Update (0.1ms) UPDATE "pages" SET "keywords" = '', "updated_at" = '2010-06-02 09:15:47', "title" = 'Three Men and a Baby', "content" = '', "nofollow" = 'f', "canonical" = '', "description" = '', "noindex" = 'f', "enable_canonical" = 'f' WHERE "id" = 1
2747
+ Page Load (0.4ms) SELECT * FROM "pages" 
2748
+ Page Create (0.4ms) INSERT INTO "pages" ("canonical", "created_at", "title", "updated_at", "url", "enable_canonical", "content", "nofollow", "description", "noindex", "enable_keywords", "keywords") VALUES(NULL, '2010-06-02 09:15:47', 'The Departed', '2010-06-02 09:15:47', 'kautzergoyette.name', NULL, NULL, NULL, NULL, NULL, NULL, NULL)
2749
+ Page Load (0.3ms) SELECT * FROM "pages" WHERE ("pages"."id" = 1) 
2750
+ Page Load (0.4ms) SELECT * FROM "pages" 
2751
+ Page Load (0.4ms) SELECT * FROM "pages" WHERE ("pages"."url" = 'kautzergoyette.name') LIMIT 1
2752
+ Page Destroy (0.1ms) DELETE FROM "pages" WHERE "id" = 1
2753
+ Page Load (0.1ms) SELECT * FROM "pages" 
2754
+ Page Create (0.3ms) INSERT INTO "pages" ("canonical", "created_at", "title", "updated_at", "url", "enable_canonical", "content", "nofollow", "description", "noindex", "enable_keywords", "keywords") VALUES(NULL, '2010-06-02 09:15:47', 'Mr. MacAllister''s Christmas', '2010-06-02 09:15:47', 'gutmann.ca', NULL, NULL, NULL, NULL, NULL, NULL, NULL)
2755
+ Page Load (0.3ms) SELECT * FROM "pages" WHERE ("pages"."id" = 1) 
2756
+ Page Load (0.3ms) SELECT * FROM "pages" WHERE ("pages"."title" = 'Mr. MacAllister''s Christmas') LIMIT 1
2757
+ Page Update (0.1ms) UPDATE "pages" SET "updated_at" = '2010-06-02 09:15:47', "content" = 'I was Home Alone' WHERE "id" = 1
2758
+ Page Load (0.4ms) SELECT * FROM "pages" WHERE ("pages"."title" = 'Mr. MacAllister''s Christmas') LIMIT 1
2759
+ Page Load (0.4ms) SELECT * FROM "pages" WHERE ("pages"."url" = 'gutmann.ca') LIMIT 1
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shakespeare
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 23
4
5
  prerelease: false
5
6
  segments:
6
7
  - 0
7
8
  - 3
8
- - 1
9
- version: 0.3.1
9
+ - 2
10
+ version: 0.3.2
10
11
  platform: ruby
11
12
  authors:
12
13
  - Paul Campbell
@@ -14,7 +15,7 @@ autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2010-04-27 00:00:00 +01:00
18
+ date: 2010-06-02 00:00:00 +01:00
18
19
  default_executable:
19
20
  dependencies: []
20
21
 
@@ -81,23 +82,27 @@ rdoc_options:
81
82
  require_paths:
82
83
  - lib
83
84
  required_ruby_version: !ruby/object:Gem::Requirement
85
+ none: false
84
86
  requirements:
85
87
  - - ">="
86
88
  - !ruby/object:Gem::Version
89
+ hash: 3
87
90
  segments:
88
91
  - 0
89
92
  version: "0"
90
93
  required_rubygems_version: !ruby/object:Gem::Requirement
94
+ none: false
91
95
  requirements:
92
96
  - - ">="
93
97
  - !ruby/object:Gem::Version
98
+ hash: 3
94
99
  segments:
95
100
  - 0
96
101
  version: "0"
97
102
  requirements: []
98
103
 
99
104
  rubyforge_project:
100
- rubygems_version: 1.3.6
105
+ rubygems_version: 1.3.7
101
106
  signing_key:
102
107
  specification_version: 3
103
108
  summary: A Rails drop in CMS.