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 +4 -0
- data/Rakefile +1 -1
- data/app/models/page.rb +2 -1
- data/app/views/admin/pages/index.html.erb +23 -23
- data/features/admin_pages.feature +11 -0
- data/shakespeare.gemspec +4 -4
- data/spec/debug.log +152 -0
- metadata +9 -4
data/CHANGELOG
CHANGED
data/Rakefile
CHANGED
data/app/models/page.rb
CHANGED
@@ -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> </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> </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"
|
data/shakespeare.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{shakespeare}
|
8
|
-
s.version = "0.3.
|
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-
|
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.
|
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::
|
85
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
86
86
|
else
|
87
87
|
end
|
88
88
|
else
|
data/spec/debug.log
CHANGED
@@ -2605,3 +2605,155 @@
|
|
2605
2605
|
[4;36;1mPage Update (0.1ms)[0m [0;1mUPDATE "pages" SET "updated_at" = '2010-04-27 13:15:30', "content" = 'I was Home Alone' WHERE "id" = 1[0m
|
2606
2606
|
[4;35;1mPage Load (0.8ms)[0m [0mSELECT * FROM "pages" WHERE ("pages"."title" = 'Mr. MacAllister''s Christmas') LIMIT 1[0m
|
2607
2607
|
[4;36;1mPage Load (0.5ms)[0m [0;1mSELECT * FROM "pages" WHERE ("pages"."url" = 'gutmann.ca') LIMIT 1[0m
|
2608
|
+
[4;36;1mSQL (0.3ms)[0m [0;1mselect sqlite_version(*)[0m
|
2609
|
+
[4;35;1mSQL (0.7ms)[0m [0m SELECT name
|
2610
|
+
FROM sqlite_master
|
2611
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
2612
|
+
[0m
|
2613
|
+
[4;36;1mSQL (2.1ms)[0m [0;1mDROP TABLE "pages"[0m
|
2614
|
+
[4;35;1mSQL (2.0ms)[0m [0mCREATE 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) [0m
|
2615
|
+
[4;36;1mSQL (0.4ms)[0m [0;1m SELECT name
|
2616
|
+
FROM sqlite_master
|
2617
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
2618
|
+
[0m
|
2619
|
+
[4;35;1mSQL (0.3ms)[0m [0mSELECT version FROM "schema_migrations"[0m
|
2620
|
+
[4;36;1mPage Load (0.2ms)[0m [0;1mSELECT * FROM "pages" WHERE ("pages"."url" = '/') LIMIT 1[0m
|
2621
|
+
[4;35;1mPage Load (0.2ms)[0m [0mSELECT * FROM "pages" WHERE ("pages"."url" = '/') LIMIT 1[0m
|
2622
|
+
[4;36;1mPage Load (0.2ms)[0m [0;1mSELECT * FROM "pages" WHERE ("pages"."url" = '/') LIMIT 1[0m
|
2623
|
+
[4;35;1mPage Load (0.2ms)[0m [0mSELECT * FROM "pages" WHERE ("pages"."url" = '/') LIMIT 1[0m
|
2624
|
+
[4;36;1mPage Load (0.2ms)[0m [0;1mSELECT * FROM "pages" WHERE ("pages"."url" = '/') LIMIT 1[0m
|
2625
|
+
[4;35;1mPage Load (0.2ms)[0m [0mSELECT * FROM "pages" [0m
|
2626
|
+
[4;36;1mPage Create (0.4ms)[0m [0;1mINSERT 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)[0m
|
2627
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mselect sqlite_version(*)[0m
|
2628
|
+
[4;35;1mSQL (0.4ms)[0m [0m SELECT name
|
2629
|
+
FROM sqlite_master
|
2630
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
2631
|
+
[0m
|
2632
|
+
[4;36;1mSQL (2.8ms)[0m [0;1mDROP TABLE "pages"[0m
|
2633
|
+
[4;35;1mSQL (1.7ms)[0m [0mCREATE 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) [0m
|
2634
|
+
[4;36;1mSQL (0.3ms)[0m [0;1m SELECT name
|
2635
|
+
FROM sqlite_master
|
2636
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
2637
|
+
[0m
|
2638
|
+
[4;35;1mSQL (0.2ms)[0m [0mSELECT version FROM "schema_migrations"[0m
|
2639
|
+
[4;36;1mPage Load (0.3ms)[0m [0;1mSELECT * FROM "pages" [0m
|
2640
|
+
[4;35;1mPage Load (0.2ms)[0m [0mSELECT * FROM "pages" [0m
|
2641
|
+
[4;36;1mPage Create (0.4ms)[0m [0;1mINSERT 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')[0m
|
2642
|
+
[4;35;1mPage Load (0.4ms)[0m [0mSELECT * FROM "pages" [0m
|
2643
|
+
[4;36;1mPage Create (0.4ms)[0m [0;1mINSERT 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)[0m
|
2644
|
+
[4;35;1mPage Load (0.4ms)[0m [0mSELECT * FROM "pages" WHERE ("pages"."id" = 1) [0m
|
2645
|
+
[4;36;1mPage Load (0.4ms)[0m [0;1mSELECT * FROM "pages" [0m
|
2646
|
+
[4;35;1mPage Create (0.4ms)[0m [0mINSERT 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)[0m
|
2647
|
+
[4;36;1mPage Load (0.3ms)[0m [0;1mSELECT * FROM "pages" WHERE ("pages"."id" = 1) [0m
|
2648
|
+
[4;35;1mPage Load (0.6ms)[0m [0mSELECT * FROM "pages" [0m
|
2649
|
+
[4;36;1mPage Create (0.4ms)[0m [0;1mINSERT 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)[0m
|
2650
|
+
[4;35;1mPage Load (0.3ms)[0m [0mSELECT * FROM "pages" WHERE ("pages"."id" = 1) [0m
|
2651
|
+
[4;36;1mPage Load (0.3ms)[0m [0;1mSELECT * FROM "pages" WHERE ("pages"."title" = 'Mr. MacAllister''s Christmas') LIMIT 1[0m
|
2652
|
+
[4;35;1mPage Update (0.1ms)[0m [0mUPDATE "pages" SET "updated_at" = '2010-06-02 09:13:24', "content" = 'I was Home Alone' WHERE "id" = 1[0m
|
2653
|
+
[4;36;1mPage Load (0.4ms)[0m [0;1mSELECT * FROM "pages" WHERE ("pages"."title" = 'Mr. MacAllister''s Christmas') LIMIT 1[0m
|
2654
|
+
[4;35;1mPage Load (0.4ms)[0m [0mSELECT * FROM "pages" WHERE ("pages"."url" = 'gutmann.ca') LIMIT 1[0m
|
2655
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mselect sqlite_version(*)[0m
|
2656
|
+
[4;35;1mSQL (0.4ms)[0m [0m SELECT name
|
2657
|
+
FROM sqlite_master
|
2658
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
2659
|
+
[0m
|
2660
|
+
[4;36;1mSQL (2.3ms)[0m [0;1mDROP TABLE "pages"[0m
|
2661
|
+
[4;35;1mSQL (1.7ms)[0m [0mCREATE 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) [0m
|
2662
|
+
[4;36;1mSQL (0.3ms)[0m [0;1m SELECT name
|
2663
|
+
FROM sqlite_master
|
2664
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
2665
|
+
[0m
|
2666
|
+
[4;35;1mSQL (0.2ms)[0m [0mSELECT version FROM "schema_migrations"[0m
|
2667
|
+
[4;36;1mPage Load (0.2ms)[0m [0;1mSELECT * FROM "pages" [0m
|
2668
|
+
[4;35;1mPage Create (0.7ms)[0m [0mINSERT 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')[0m
|
2669
|
+
[4;36;1mPage Load (0.4ms)[0m [0;1mSELECT * FROM "pages" [0m
|
2670
|
+
[4;35;1mPage Create (0.4ms)[0m [0mINSERT 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)[0m
|
2671
|
+
[4;36;1mPage Load (0.3ms)[0m [0;1mSELECT * FROM "pages" WHERE ("pages"."id" = 1) [0m
|
2672
|
+
[4;35;1mPage Load (0.5ms)[0m [0mSELECT * FROM "pages" [0m
|
2673
|
+
[4;36;1mPage Load (0.4ms)[0m [0;1mSELECT * FROM "pages" WHERE ("pages"."url" = 'kundesmith.co.uk') LIMIT 1[0m
|
2674
|
+
[4;35;1mPage Load (0.4ms)[0m [0mSELECT * FROM "pages" WHERE ("pages"."url" = 'kundesmith.co.uk') LIMIT 1[0m
|
2675
|
+
[4;36;1mPage Update (0.2ms)[0m [0;1mUPDATE "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[0m
|
2676
|
+
[4;35;1mPage Load (0.4ms)[0m [0mSELECT * FROM "pages" [0m
|
2677
|
+
[4;36;1mPage Create (0.5ms)[0m [0;1mINSERT 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)[0m
|
2678
|
+
[4;35;1mPage Load (0.4ms)[0m [0mSELECT * FROM "pages" WHERE ("pages"."id" = 1) [0m
|
2679
|
+
[4;36;1mPage Load (0.4ms)[0m [0;1mSELECT * FROM "pages" [0m
|
2680
|
+
[4;35;1mPage Load (0.4ms)[0m [0mSELECT * FROM "pages" WHERE ("pages"."url" = 'kautzergoyette.name') LIMIT 1[0m
|
2681
|
+
[4;36;1mPage Destroy (0.1ms)[0m [0;1mDELETE FROM "pages" WHERE "id" = 1[0m
|
2682
|
+
[4;35;1mPage Load (0.1ms)[0m [0mSELECT * FROM "pages" [0m
|
2683
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mselect sqlite_version(*)[0m
|
2684
|
+
[4;35;1mSQL (0.4ms)[0m [0m SELECT name
|
2685
|
+
FROM sqlite_master
|
2686
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
2687
|
+
[0m
|
2688
|
+
[4;36;1mSQL (2.7ms)[0m [0;1mDROP TABLE "pages"[0m
|
2689
|
+
[4;35;1mSQL (2.1ms)[0m [0mCREATE 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) [0m
|
2690
|
+
[4;36;1mSQL (0.3ms)[0m [0;1m SELECT name
|
2691
|
+
FROM sqlite_master
|
2692
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
2693
|
+
[0m
|
2694
|
+
[4;35;1mSQL (0.2ms)[0m [0mSELECT version FROM "schema_migrations"[0m
|
2695
|
+
[4;36;1mPage Load (0.2ms)[0m [0;1mSELECT * FROM "pages" [0m
|
2696
|
+
[4;35;1mPage Load (0.2ms)[0m [0mSELECT * FROM "pages" [0m
|
2697
|
+
[4;36;1mPage Create (0.4ms)[0m [0;1mINSERT 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')[0m
|
2698
|
+
[4;35;1mPage Load (0.4ms)[0m [0mSELECT * FROM "pages" [0m
|
2699
|
+
[4;36;1mPage Create (0.4ms)[0m [0;1mINSERT 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)[0m
|
2700
|
+
[4;35;1mPage Load (0.3ms)[0m [0mSELECT * FROM "pages" WHERE ("pages"."id" = 1) [0m
|
2701
|
+
[4;36;1mPage Load (0.4ms)[0m [0;1mSELECT * FROM "pages" [0m
|
2702
|
+
[4;35;1mPage Load (0.4ms)[0m [0mSELECT * FROM "pages" WHERE ("pages"."url" = 'kundesmith.co.uk') LIMIT 1[0m
|
2703
|
+
[4;36;1mPage Load (0.4ms)[0m [0;1mSELECT * FROM "pages" WHERE ("pages"."url" = 'kundesmith.co.uk') LIMIT 1[0m
|
2704
|
+
[4;35;1mPage Update (0.1ms)[0m [0mUPDATE "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[0m
|
2705
|
+
[4;36;1mPage Load (0.4ms)[0m [0;1mSELECT * FROM "pages" [0m
|
2706
|
+
[4;35;1mPage Create (0.4ms)[0m [0mINSERT 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)[0m
|
2707
|
+
[4;36;1mPage Load (0.3ms)[0m [0;1mSELECT * FROM "pages" WHERE ("pages"."id" = 1) [0m
|
2708
|
+
[4;35;1mPage Load (0.4ms)[0m [0mSELECT * FROM "pages" [0m
|
2709
|
+
[4;36;1mPage Load (0.4ms)[0m [0;1mSELECT * FROM "pages" WHERE ("pages"."url" = 'kautzergoyette.name') LIMIT 1[0m
|
2710
|
+
[4;35;1mPage Destroy (0.1ms)[0m [0mDELETE FROM "pages" WHERE "id" = 1[0m
|
2711
|
+
[4;36;1mPage Load (0.1ms)[0m [0;1mSELECT * FROM "pages" [0m
|
2712
|
+
[4;35;1mPage Create (0.3ms)[0m [0mINSERT 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)[0m
|
2713
|
+
[4;36;1mPage Load (0.3ms)[0m [0;1mSELECT * FROM "pages" WHERE ("pages"."id" = 1) [0m
|
2714
|
+
[4;35;1mPage Load (0.3ms)[0m [0mSELECT * FROM "pages" WHERE ("pages"."title" = 'Mr. MacAllister''s Christmas') LIMIT 1[0m
|
2715
|
+
[4;36;1mPage Update (0.1ms)[0m [0;1mUPDATE "pages" SET "updated_at" = '2010-06-02 09:14:15', "content" = 'I was Home Alone' WHERE "id" = 1[0m
|
2716
|
+
[4;35;1mPage Load (0.4ms)[0m [0mSELECT * FROM "pages" WHERE ("pages"."title" = 'Mr. MacAllister''s Christmas') LIMIT 1[0m
|
2717
|
+
[4;36;1mPage Load (0.4ms)[0m [0;1mSELECT * FROM "pages" WHERE ("pages"."url" = 'gutmann.ca') LIMIT 1[0m
|
2718
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mselect sqlite_version(*)[0m
|
2719
|
+
[4;35;1mSQL (0.4ms)[0m [0m SELECT name
|
2720
|
+
FROM sqlite_master
|
2721
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
2722
|
+
[0m
|
2723
|
+
[4;36;1mSQL (1.4ms)[0m [0;1mDROP TABLE "pages"[0m
|
2724
|
+
[4;35;1mSQL (1.3ms)[0m [0mCREATE 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) [0m
|
2725
|
+
[4;36;1mSQL (0.3ms)[0m [0;1m SELECT name
|
2726
|
+
FROM sqlite_master
|
2727
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
2728
|
+
[0m
|
2729
|
+
[4;35;1mSQL (0.2ms)[0m [0mSELECT version FROM "schema_migrations"[0m
|
2730
|
+
[4;36;1mPage Load (0.2ms)[0m [0;1mSELECT * FROM "pages" [0m
|
2731
|
+
[4;35;1mPage Load (0.2ms)[0m [0mSELECT * FROM "pages" [0m
|
2732
|
+
[4;36;1mPage Create (0.5ms)[0m [0;1mINSERT 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')[0m
|
2733
|
+
[4;35;1mPage Load (0.4ms)[0m [0mSELECT * FROM "pages" [0m
|
2734
|
+
[4;36;1mPage Load (0.2ms)[0m [0;1mSELECT * FROM "pages" [0m
|
2735
|
+
[4;35;1mPage Create (0.4ms)[0m [0mINSERT 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, '')[0m
|
2736
|
+
[4;36;1mPage Load (0.4ms)[0m [0;1mSELECT * FROM "pages" [0m
|
2737
|
+
[4;35;1mPage Load (0.4ms)[0m [0mSELECT * FROM "pages" WHERE ("pages"."url" = 'home/show') LIMIT 1[0m
|
2738
|
+
[4;36;1mPage Load (0.4ms)[0m [0;1mSELECT * FROM "pages" WHERE ("pages"."url" = 'home/show') LIMIT 1[0m
|
2739
|
+
[4;35;1mPage Update (0.1ms)[0m [0mUPDATE "pages" SET "updated_at" = '2010-06-02 09:15:47', "title" = 'It worked!' WHERE "id" = 1[0m
|
2740
|
+
[4;36;1mPage Load (0.4ms)[0m [0;1mSELECT * FROM "pages" [0m
|
2741
|
+
[4;35;1mPage Create (0.4ms)[0m [0mINSERT 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)[0m
|
2742
|
+
[4;36;1mPage Load (0.3ms)[0m [0;1mSELECT * FROM "pages" WHERE ("pages"."id" = 1) [0m
|
2743
|
+
[4;35;1mPage Load (0.4ms)[0m [0mSELECT * FROM "pages" [0m
|
2744
|
+
[4;36;1mPage Load (0.4ms)[0m [0;1mSELECT * FROM "pages" WHERE ("pages"."url" = 'kundesmith.co.uk') LIMIT 1[0m
|
2745
|
+
[4;35;1mPage Load (0.4ms)[0m [0mSELECT * FROM "pages" WHERE ("pages"."url" = 'kundesmith.co.uk') LIMIT 1[0m
|
2746
|
+
[4;36;1mPage Update (0.1ms)[0m [0;1mUPDATE "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[0m
|
2747
|
+
[4;35;1mPage Load (0.4ms)[0m [0mSELECT * FROM "pages" [0m
|
2748
|
+
[4;36;1mPage Create (0.4ms)[0m [0;1mINSERT 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)[0m
|
2749
|
+
[4;35;1mPage Load (0.3ms)[0m [0mSELECT * FROM "pages" WHERE ("pages"."id" = 1) [0m
|
2750
|
+
[4;36;1mPage Load (0.4ms)[0m [0;1mSELECT * FROM "pages" [0m
|
2751
|
+
[4;35;1mPage Load (0.4ms)[0m [0mSELECT * FROM "pages" WHERE ("pages"."url" = 'kautzergoyette.name') LIMIT 1[0m
|
2752
|
+
[4;36;1mPage Destroy (0.1ms)[0m [0;1mDELETE FROM "pages" WHERE "id" = 1[0m
|
2753
|
+
[4;35;1mPage Load (0.1ms)[0m [0mSELECT * FROM "pages" [0m
|
2754
|
+
[4;36;1mPage Create (0.3ms)[0m [0;1mINSERT 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)[0m
|
2755
|
+
[4;35;1mPage Load (0.3ms)[0m [0mSELECT * FROM "pages" WHERE ("pages"."id" = 1) [0m
|
2756
|
+
[4;36;1mPage Load (0.3ms)[0m [0;1mSELECT * FROM "pages" WHERE ("pages"."title" = 'Mr. MacAllister''s Christmas') LIMIT 1[0m
|
2757
|
+
[4;35;1mPage Update (0.1ms)[0m [0mUPDATE "pages" SET "updated_at" = '2010-06-02 09:15:47', "content" = 'I was Home Alone' WHERE "id" = 1[0m
|
2758
|
+
[4;36;1mPage Load (0.4ms)[0m [0;1mSELECT * FROM "pages" WHERE ("pages"."title" = 'Mr. MacAllister''s Christmas') LIMIT 1[0m
|
2759
|
+
[4;35;1mPage Load (0.4ms)[0m [0mSELECT * FROM "pages" WHERE ("pages"."url" = 'gutmann.ca') LIMIT 1[0m
|
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
|
-
-
|
9
|
-
version: 0.3.
|
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-
|
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.
|
105
|
+
rubygems_version: 1.3.7
|
101
106
|
signing_key:
|
102
107
|
specification_version: 3
|
103
108
|
summary: A Rails drop in CMS.
|