clipster 0.1.2 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/app/assets/stylesheets/clipster/clip.css +18 -0
- data/app/controllers/clipster/clips_controller.rb +29 -3
- data/app/models/clipster/clip.rb +8 -0
- data/app/views/clipster/clips/list.html.erb +9 -4
- data/app/views/layouts/clipster/application.html.erb +6 -1
- data/config/routes.rb +7 -2
- data/lib/clipster/version.rb +1 -1
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/schema.rb +28 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +479 -0
- data/test/dummy/log/test.log +16 -0
- metadata +8 -2
@@ -2,3 +2,21 @@
|
|
2
2
|
Place all the styles related to the matching controller here.
|
3
3
|
They will automatically be included in application.css.
|
4
4
|
*/
|
5
|
+
|
6
|
+
.bordered {
|
7
|
+
border: 1px solid #dddddd;
|
8
|
+
border-collapse: separate;
|
9
|
+
*border-collapse: collapse;
|
10
|
+
/*border-left: 0;*/
|
11
|
+
-webkit-border-radius: 4px;
|
12
|
+
-moz-border-radius: 4px;
|
13
|
+
border-radius: 4px;
|
14
|
+
}
|
15
|
+
|
16
|
+
.bordered div {
|
17
|
+
margin: 5px;
|
18
|
+
}
|
19
|
+
|
20
|
+
.title {
|
21
|
+
border-bottom: 1px solid #ddd;
|
22
|
+
}
|
@@ -11,6 +11,13 @@ module Clipster
|
|
11
11
|
# get all clips, with the newest clip first
|
12
12
|
# TODO: look into pagination and any other info
|
13
13
|
@clips = Clip.where(:private => false).order('created_at DESC')
|
14
|
+
|
15
|
+
# you have to love the activerelation queries don't you
|
16
|
+
# should probably move to one query for performance if that becomes an issue
|
17
|
+
# or we have a large
|
18
|
+
@clips = @clips.where(:language => params[:lang]) unless params[:lang].nil?
|
19
|
+
|
20
|
+
@languages = Clip.select("language, count(*) as count").group(:language)
|
14
21
|
end
|
15
22
|
|
16
23
|
def create
|
@@ -24,9 +31,7 @@ module Clipster
|
|
24
31
|
end
|
25
32
|
|
26
33
|
# Get all languages we have syntax for and remove debugging languages.
|
27
|
-
@languages =
|
28
|
-
@languages.delete(CodeRay::Scanners::Raydebug)
|
29
|
-
@languages.delete(CodeRay::Scanners::Debug)
|
34
|
+
@languages = get_languages
|
30
35
|
end
|
31
36
|
|
32
37
|
def show
|
@@ -37,5 +42,26 @@ module Clipster
|
|
37
42
|
@clip_div = cr_scanner.div
|
38
43
|
@clip_div = cr_scanner.div(:line_numbers => :table) unless cr_scanner.loc <= 1
|
39
44
|
end
|
45
|
+
|
46
|
+
def search
|
47
|
+
@clips = Clip.search(params[:search_term])
|
48
|
+
|
49
|
+
p '\n\n\n\n'
|
50
|
+
p @clips
|
51
|
+
|
52
|
+
@languages = Clip.select("language, count(*) as count").group(:language)
|
53
|
+
|
54
|
+
render 'list' unless @clips.nil?
|
55
|
+
end
|
56
|
+
|
57
|
+
private
|
58
|
+
|
59
|
+
def get_languages
|
60
|
+
languages = CodeRay::Scanners.all_plugins
|
61
|
+
languages.delete(CodeRay::Scanners::Raydebug)
|
62
|
+
languages.delete(CodeRay::Scanners::Debug)
|
63
|
+
|
64
|
+
languages
|
65
|
+
end
|
40
66
|
end
|
41
67
|
end
|
data/app/models/clipster/clip.rb
CHANGED
@@ -3,6 +3,14 @@ module Clipster
|
|
3
3
|
before_create :init_id
|
4
4
|
self.primary_key = :url_hash
|
5
5
|
attr_accessible :clip, :language, :title, :private
|
6
|
+
|
7
|
+
# scope utilized by search functionality.
|
8
|
+
# TODO: build more powerful search term creation
|
9
|
+
scope :search, lambda {|term|
|
10
|
+
where("title LIKE :term or language LIKE :term or clip LIKE :term",{
|
11
|
+
:term => term
|
12
|
+
})
|
13
|
+
}
|
6
14
|
|
7
15
|
validates :clip, :length => {:minimum => 3}
|
8
16
|
validates :title, :length => {:minimum => 1}
|
@@ -1,6 +1,5 @@
|
|
1
|
-
<legend>Recent Clips
|
2
|
-
<div class="span7
|
3
|
-
|
1
|
+
<legend>Recent Clips <%= "- #{params[:lang]}" unless params[:lang].nil? %></legend>
|
2
|
+
<div class="span7">
|
4
3
|
<table class="table table-striped table-bordered table-hover span6">
|
5
4
|
<thead>
|
6
5
|
<tr>
|
@@ -30,4 +29,10 @@
|
|
30
29
|
<% end %>
|
31
30
|
</tbody>
|
32
31
|
</table>
|
33
|
-
</div>
|
32
|
+
</div>
|
33
|
+
<aside class="languages bordered span3 offset1">
|
34
|
+
<div class="title">Languages</div>
|
35
|
+
<% @languages.each do |lang| %>
|
36
|
+
<div><%= link_to lang.language, list_clips_path(:lang => lang.language) %> (<%= lang.count %>)</div>
|
37
|
+
<% end %>
|
38
|
+
</aside>
|
@@ -16,8 +16,13 @@
|
|
16
16
|
<%= link_to "Clipster", root_path, :class => "brand" %>
|
17
17
|
<ul class="nav">
|
18
18
|
<li><%= link_to "New Clip", root_path %></li>
|
19
|
-
<li><%= link_to "Recent Clips",
|
19
|
+
<li><%= link_to "Recent Clips", list_clips_path %></li>
|
20
20
|
</ul>
|
21
|
+
<!-- <form class="navbar-search pull-right"> -->
|
22
|
+
<%= form_tag(search_clips_path, :method => 'get', :class => 'navbar-search pull-right') do %>
|
23
|
+
<input type="text" class="search-query" name="search_term"placeholder="Search">
|
24
|
+
<% end %>
|
25
|
+
|
21
26
|
</div>
|
22
27
|
</div>
|
23
28
|
</div>
|
data/config/routes.rb
CHANGED
@@ -1,8 +1,13 @@
|
|
1
1
|
Clipster::Engine.routes.draw do
|
2
2
|
#/clipster route
|
3
3
|
|
4
|
-
|
5
|
-
|
4
|
+
resources :clips, :path => "/" do
|
5
|
+
collection do
|
6
|
+
get 'list', :action => :list
|
7
|
+
get 'list(/:lang)(.:format)', :action => :list
|
8
|
+
get 'search', :action => :search
|
9
|
+
end
|
10
|
+
end
|
6
11
|
|
7
12
|
root :to => :clips
|
8
13
|
end
|
data/lib/clipster/version.rb
CHANGED
Binary file
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
# This file is auto-generated from the current state of the database. Instead
|
3
|
+
# of editing this file, please use the migrations feature of Active Record to
|
4
|
+
# incrementally modify your database, and then regenerate this schema definition.
|
5
|
+
#
|
6
|
+
# Note that this schema.rb definition is the authoritative source for your
|
7
|
+
# database schema. If you need to create the application database on another
|
8
|
+
# system, you should be using db:schema:load, not running all the migrations
|
9
|
+
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
10
|
+
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
11
|
+
#
|
12
|
+
# It's strongly recommended to check this file into your version control system.
|
13
|
+
|
14
|
+
ActiveRecord::Schema.define(:version => 20121007223631) do
|
15
|
+
|
16
|
+
create_table "clipster_clips", :force => true do |t|
|
17
|
+
t.string "url_hash", :default => "", :null => false
|
18
|
+
t.text "clip", :default => "", :null => false
|
19
|
+
t.string "language", :null => false
|
20
|
+
t.string "title", :default => "Untitled", :null => false
|
21
|
+
t.boolean "private", :default => false, :null => false
|
22
|
+
t.datetime "created_at", :null => false
|
23
|
+
t.datetime "updated_at", :null => false
|
24
|
+
end
|
25
|
+
|
26
|
+
add_index "clipster_clips", ["url_hash"], :name => "index_clipster_clips_on_hash", :unique => true
|
27
|
+
|
28
|
+
end
|
File without changes
|
@@ -1 +1,480 @@
|
|
1
1
|
Connecting to database specified by database.yml
|
2
|
+
Connecting to database specified by database.yml
|
3
|
+
Connecting to database specified by database.yml
|
4
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
5
|
+
[1m[35m (1.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
6
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
7
|
+
[1m[35m (1.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
8
|
+
[1m[36m (0.2ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
9
|
+
Connecting to database specified by database.yml
|
10
|
+
[1m[36m (0.3ms)[0m [1mselect sqlite_version(*)[0m
|
11
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
12
|
+
|
13
|
+
|
14
|
+
Started GET "/" for 127.0.0.1 at 2012-10-10 22:17:20 -0400
|
15
|
+
Connecting to database specified by database.yml
|
16
|
+
|
17
|
+
ActionController::RoutingError (No route matches [GET] "/"):
|
18
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
19
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
20
|
+
railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
|
21
|
+
railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
|
22
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
23
|
+
rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
|
24
|
+
rack (1.4.1) lib/rack/runtime.rb:17:in `call'
|
25
|
+
activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
26
|
+
rack (1.4.1) lib/rack/lock.rb:15:in `call'
|
27
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
|
28
|
+
railties (3.2.8) lib/rails/engine.rb:479:in `call'
|
29
|
+
railties (3.2.8) lib/rails/application.rb:223:in `call'
|
30
|
+
rack (1.4.1) lib/rack/content_length.rb:14:in `call'
|
31
|
+
railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
|
32
|
+
rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
|
33
|
+
/Users/kylebock/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
|
34
|
+
/Users/kylebock/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
|
35
|
+
/Users/kylebock/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
|
36
|
+
|
37
|
+
|
38
|
+
Rendered /Users/kylebock/.rvm/gems/ruby-1.9.3-p194@dynamic_errors/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.5ms)
|
39
|
+
|
40
|
+
|
41
|
+
Started GET "/clipster" for 127.0.0.1 at 2012-10-10 22:17:23 -0400
|
42
|
+
Processing by Clipster::ClipsController#index as HTML
|
43
|
+
Completed 500 Internal Server Error in 44ms
|
44
|
+
|
45
|
+
ActiveRecord::StatementInvalid (Could not find table 'clipster_clips'):
|
46
|
+
activerecord (3.2.8) lib/active_record/connection_adapters/sqlite_adapter.rb:472:in `table_structure'
|
47
|
+
activerecord (3.2.8) lib/active_record/connection_adapters/sqlite_adapter.rb:346:in `columns'
|
48
|
+
activerecord (3.2.8) lib/active_record/connection_adapters/schema_cache.rb:12:in `block in initialize'
|
49
|
+
activerecord (3.2.8) lib/active_record/model_schema.rb:228:in `yield'
|
50
|
+
activerecord (3.2.8) lib/active_record/model_schema.rb:228:in `default'
|
51
|
+
activerecord (3.2.8) lib/active_record/model_schema.rb:228:in `columns'
|
52
|
+
activerecord (3.2.8) lib/active_record/model_schema.rb:243:in `column_defaults'
|
53
|
+
activerecord (3.2.8) lib/active_record/base.rb:482:in `initialize'
|
54
|
+
/Users/kylebock/Documents/dev/github/clipster_migration_app/lib/clipster/app/controllers/clipster/clips_controller.rb:24:in `new'
|
55
|
+
/Users/kylebock/Documents/dev/github/clipster_migration_app/lib/clipster/app/controllers/clipster/clips_controller.rb:24:in `create'
|
56
|
+
/Users/kylebock/Documents/dev/github/clipster_migration_app/lib/clipster/app/controllers/clipster/clips_controller.rb:6:in `index'
|
57
|
+
actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
58
|
+
actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action'
|
59
|
+
actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
60
|
+
actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
|
61
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:403:in `_run__2567399741105445575__process_action__3172938027606579029__callbacks'
|
62
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
|
63
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
|
64
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
65
|
+
actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action'
|
66
|
+
actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
67
|
+
actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
|
68
|
+
activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument'
|
69
|
+
activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
70
|
+
activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
|
71
|
+
actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
|
72
|
+
actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
|
73
|
+
activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
74
|
+
actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process'
|
75
|
+
actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process'
|
76
|
+
actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch'
|
77
|
+
actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
|
78
|
+
actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action'
|
79
|
+
actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call'
|
80
|
+
actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
|
81
|
+
actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call'
|
82
|
+
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
|
83
|
+
journey (1.0.4) lib/journey/router.rb:56:in `each'
|
84
|
+
journey (1.0.4) lib/journey/router.rb:56:in `call'
|
85
|
+
actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call'
|
86
|
+
railties (3.2.8) lib/rails/engine.rb:479:in `call'
|
87
|
+
railties (3.2.8) lib/rails/railtie/configurable.rb:30:in `method_missing'
|
88
|
+
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
|
89
|
+
journey (1.0.4) lib/journey/router.rb:56:in `each'
|
90
|
+
journey (1.0.4) lib/journey/router.rb:56:in `call'
|
91
|
+
actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call'
|
92
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
|
93
|
+
rack (1.4.1) lib/rack/etag.rb:23:in `call'
|
94
|
+
rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
|
95
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
|
96
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
|
97
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
|
98
|
+
rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
|
99
|
+
rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
|
100
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
|
101
|
+
activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call'
|
102
|
+
activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
|
103
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
|
104
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__606415735569931869__call__1340605003951080016__callbacks'
|
105
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
|
106
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
|
107
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
108
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
109
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
|
110
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
|
111
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
|
112
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
113
|
+
railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
|
114
|
+
railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
|
115
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
116
|
+
rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
|
117
|
+
rack (1.4.1) lib/rack/runtime.rb:17:in `call'
|
118
|
+
activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
119
|
+
rack (1.4.1) lib/rack/lock.rb:15:in `call'
|
120
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
|
121
|
+
railties (3.2.8) lib/rails/engine.rb:479:in `call'
|
122
|
+
railties (3.2.8) lib/rails/application.rb:223:in `call'
|
123
|
+
rack (1.4.1) lib/rack/content_length.rb:14:in `call'
|
124
|
+
railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
|
125
|
+
rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
|
126
|
+
/Users/kylebock/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
|
127
|
+
/Users/kylebock/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
|
128
|
+
/Users/kylebock/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
|
129
|
+
|
130
|
+
|
131
|
+
Rendered /Users/kylebock/.rvm/gems/ruby-1.9.3-p194@dynamic_errors/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.8ms)
|
132
|
+
Rendered /Users/kylebock/.rvm/gems/ruby-1.9.3-p194@dynamic_errors/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.6ms)
|
133
|
+
Rendered /Users/kylebock/.rvm/gems/ruby-1.9.3-p194@dynamic_errors/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (13.6ms)
|
134
|
+
Connecting to database specified by database.yml
|
135
|
+
[1m[36m (0.3ms)[0m [1mselect sqlite_version(*)[0m
|
136
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
137
|
+
Connecting to database specified by database.yml
|
138
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
139
|
+
Migrating to CreateClipsterClips (20121011021849)
|
140
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
141
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
142
|
+
[1m[35m (0.7ms)[0m CREATE TABLE "clipster_clips" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "hash" varchar(255) NOT NULL, "clip" text NOT NULL, "language" varchar(255) NOT NULL, "title" varchar(255) NOT NULL, "private" boolean NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
143
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20121011021849')[0m
|
144
|
+
[1m[35m (1.3ms)[0m commit transaction
|
145
|
+
Migrating to AddHashIndexToClips (20121011021850)
|
146
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
147
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("clipster_clips")
|
148
|
+
[1m[36m (0.4ms)[0m [1mCREATE UNIQUE INDEX "index_clipster_clips_on_hash" ON "clipster_clips" ("hash")[0m
|
149
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20121011021850')
|
150
|
+
[1m[36m (1.3ms)[0m [1mcommit transaction[0m
|
151
|
+
Migrating to PopulateClipDefaults (20121011021851)
|
152
|
+
[1m[35m (0.1ms)[0m begin transaction
|
153
|
+
[1m[36m (0.6ms)[0m [1mCREATE TEMPORARY TABLE "altered_clipster_clips" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "hash" varchar(255) NOT NULL, "clip" text NOT NULL, "language" varchar(255) NOT NULL, "title" varchar(255) NOT NULL, "private" boolean NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
154
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("clipster_clips")
|
155
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_clipster_clips_on_hash')[0m
|
156
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("altered_clipster_clips")
|
157
|
+
[1m[36m (0.5ms)[0m [1mCREATE UNIQUE INDEX "temp_index_altered_clipster_clips_on_hash" ON "altered_clipster_clips" ("hash")[0m
|
158
|
+
[1m[35m (0.2ms)[0m SELECT * FROM "clipster_clips"
|
159
|
+
[1m[36m (0.4ms)[0m [1mDROP TABLE "clipster_clips"[0m
|
160
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "clipster_clips" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "hash" varchar(255) DEFAULT '' NOT NULL, "clip" text NOT NULL, "language" varchar(255) NOT NULL, "title" varchar(255) NOT NULL, "private" boolean NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
161
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("altered_clipster_clips")[0m
|
162
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('temp_index_altered_clipster_clips_on_hash')
|
163
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("clipster_clips")[0m
|
164
|
+
[1m[35m (0.5ms)[0m CREATE UNIQUE INDEX "index_clipster_clips_on_hash" ON "clipster_clips" ("hash")
|
165
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "altered_clipster_clips"[0m
|
166
|
+
[1m[35m (0.2ms)[0m DROP TABLE "altered_clipster_clips"
|
167
|
+
[1m[36m (0.2ms)[0m [1mCREATE TEMPORARY TABLE "altered_clipster_clips" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "hash" varchar(255) DEFAULT '' NOT NULL, "clip" text NOT NULL, "language" varchar(255) NOT NULL, "title" varchar(255) NOT NULL, "private" boolean NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
168
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("clipster_clips")
|
169
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_clipster_clips_on_hash')[0m
|
170
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("altered_clipster_clips")
|
171
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "temp_index_altered_clipster_clips_on_hash" ON "altered_clipster_clips" ("hash")[0m
|
172
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "clipster_clips"
|
173
|
+
[1m[36m (0.2ms)[0m [1mDROP TABLE "clipster_clips"[0m
|
174
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "clipster_clips" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "hash" varchar(255) DEFAULT '' NOT NULL, "clip" text DEFAULT '' NOT NULL, "language" varchar(255) NOT NULL, "title" varchar(255) NOT NULL, "private" boolean NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
175
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("altered_clipster_clips")[0m
|
176
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('temp_index_altered_clipster_clips_on_hash')
|
177
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("clipster_clips")[0m
|
178
|
+
[1m[35m (0.2ms)[0m CREATE UNIQUE INDEX "index_clipster_clips_on_hash" ON "clipster_clips" ("hash")
|
179
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "altered_clipster_clips"[0m
|
180
|
+
[1m[35m (0.1ms)[0m DROP TABLE "altered_clipster_clips"
|
181
|
+
[1m[36m (0.2ms)[0m [1mCREATE TEMPORARY TABLE "altered_clipster_clips" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "hash" varchar(255) DEFAULT '' NOT NULL, "clip" text DEFAULT '' NOT NULL, "language" varchar(255) NOT NULL, "title" varchar(255) NOT NULL, "private" boolean NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
182
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("clipster_clips")
|
183
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_clipster_clips_on_hash')[0m
|
184
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("altered_clipster_clips")
|
185
|
+
[1m[36m (0.2ms)[0m [1mCREATE UNIQUE INDEX "temp_index_altered_clipster_clips_on_hash" ON "altered_clipster_clips" ("hash")[0m
|
186
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "clipster_clips"
|
187
|
+
[1m[36m (0.2ms)[0m [1mDROP TABLE "clipster_clips"[0m
|
188
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "clipster_clips" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "hash" varchar(255) DEFAULT '' NOT NULL, "clip" text DEFAULT '' NOT NULL, "language" varchar(255) NOT NULL, "title" varchar(255) DEFAULT '' NOT NULL, "private" boolean NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
189
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("altered_clipster_clips")[0m
|
190
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('temp_index_altered_clipster_clips_on_hash')
|
191
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("clipster_clips")[0m
|
192
|
+
[1m[35m (0.2ms)[0m CREATE UNIQUE INDEX "index_clipster_clips_on_hash" ON "clipster_clips" ("hash")
|
193
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "altered_clipster_clips"[0m
|
194
|
+
[1m[35m (0.2ms)[0m DROP TABLE "altered_clipster_clips"
|
195
|
+
[1m[36m (0.2ms)[0m [1mCREATE TEMPORARY TABLE "altered_clipster_clips" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "hash" varchar(255) DEFAULT '' NOT NULL, "clip" text DEFAULT '' NOT NULL, "language" varchar(255) NOT NULL, "title" varchar(255) DEFAULT '' NOT NULL, "private" boolean NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
196
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("clipster_clips")
|
197
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_clipster_clips_on_hash')[0m
|
198
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("altered_clipster_clips")
|
199
|
+
[1m[36m (0.3ms)[0m [1mCREATE UNIQUE INDEX "temp_index_altered_clipster_clips_on_hash" ON "altered_clipster_clips" ("hash")[0m
|
200
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "clipster_clips"
|
201
|
+
[1m[36m (0.2ms)[0m [1mDROP TABLE "clipster_clips"[0m
|
202
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "clipster_clips" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "hash" varchar(255) DEFAULT '' NOT NULL, "clip" text DEFAULT '' NOT NULL, "language" varchar(255) DEFAULT '' NOT NULL, "title" varchar(255) DEFAULT '' NOT NULL, "private" boolean NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
203
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("altered_clipster_clips")[0m
|
204
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('temp_index_altered_clipster_clips_on_hash')
|
205
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("clipster_clips")[0m
|
206
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "index_clipster_clips_on_hash" ON "clipster_clips" ("hash")
|
207
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "altered_clipster_clips"[0m
|
208
|
+
[1m[35m (0.1ms)[0m DROP TABLE "altered_clipster_clips"
|
209
|
+
[1m[36m (0.2ms)[0m [1mCREATE TEMPORARY TABLE "altered_clipster_clips" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "hash" varchar(255) DEFAULT '' NOT NULL, "clip" text DEFAULT '' NOT NULL, "language" varchar(255) DEFAULT '' NOT NULL, "title" varchar(255) DEFAULT '' NOT NULL, "private" boolean NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
210
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("clipster_clips")
|
211
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_clipster_clips_on_hash')[0m
|
212
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("altered_clipster_clips")
|
213
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "temp_index_altered_clipster_clips_on_hash" ON "altered_clipster_clips" ("hash")[0m
|
214
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "clipster_clips"
|
215
|
+
[1m[36m (0.1ms)[0m [1mDROP TABLE "clipster_clips"[0m
|
216
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "clipster_clips" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "hash" varchar(255) DEFAULT '' NOT NULL, "clip" text DEFAULT '' NOT NULL, "language" varchar(255) DEFAULT '' NOT NULL, "title" varchar(255) DEFAULT '' NOT NULL, "private" boolean DEFAULT 'f' NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
217
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("altered_clipster_clips")[0m
|
218
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('temp_index_altered_clipster_clips_on_hash')
|
219
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("clipster_clips")[0m
|
220
|
+
[1m[35m (0.2ms)[0m CREATE UNIQUE INDEX "index_clipster_clips_on_hash" ON "clipster_clips" ("hash")
|
221
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "altered_clipster_clips"[0m
|
222
|
+
[1m[35m (0.2ms)[0m DROP TABLE "altered_clipster_clips"
|
223
|
+
[1m[36m (0.5ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20121011021851')[0m
|
224
|
+
[1m[35m (2.0ms)[0m commit transaction
|
225
|
+
Migrating to RenameHashToUrlHash (20121011021852)
|
226
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
227
|
+
[1m[35m (0.3ms)[0m CREATE TEMPORARY TABLE "altered_clipster_clips" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url_hash" varchar(255) DEFAULT '' NOT NULL, "clip" text DEFAULT '' NOT NULL, "language" varchar(255) DEFAULT '' NOT NULL, "title" varchar(255) DEFAULT '' NOT NULL, "private" boolean DEFAULT 'f' NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
228
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("clipster_clips")[0m
|
229
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_clipster_clips_on_hash')
|
230
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("altered_clipster_clips")[0m
|
231
|
+
[1m[35m (0.2ms)[0m CREATE UNIQUE INDEX "temp_index_altered_clipster_clips_on_hash" ON "altered_clipster_clips" ("url_hash")
|
232
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "clipster_clips"[0m
|
233
|
+
[1m[35m (0.3ms)[0m DROP TABLE "clipster_clips"
|
234
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "clipster_clips" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url_hash" varchar(255) DEFAULT '' NOT NULL, "clip" text DEFAULT '' NOT NULL, "language" varchar(255) DEFAULT '' NOT NULL, "title" varchar(255) DEFAULT '' NOT NULL, "private" boolean DEFAULT 'f' NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
235
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("altered_clipster_clips")
|
236
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('temp_index_altered_clipster_clips_on_hash')[0m
|
237
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("clipster_clips")
|
238
|
+
[1m[36m (0.4ms)[0m [1mCREATE UNIQUE INDEX "index_clipster_clips_on_hash" ON "clipster_clips" ("url_hash")[0m
|
239
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "altered_clipster_clips"
|
240
|
+
[1m[36m (0.2ms)[0m [1mDROP TABLE "altered_clipster_clips"[0m
|
241
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20121011021852')
|
242
|
+
[1m[36m (1.9ms)[0m [1mcommit transaction[0m
|
243
|
+
Migrating to RemoveDefaultFromLanguage (20121011021853)
|
244
|
+
[1m[35m (0.1ms)[0m begin transaction
|
245
|
+
[1m[36m (0.3ms)[0m [1mCREATE TEMPORARY TABLE "altered_clipster_clips" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url_hash" varchar(255) DEFAULT '' NOT NULL, "clip" text DEFAULT '' NOT NULL, "language" varchar(255) DEFAULT '' NOT NULL, "title" varchar(255) DEFAULT '' NOT NULL, "private" boolean DEFAULT 'f' NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
246
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("clipster_clips")
|
247
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_clipster_clips_on_hash')[0m
|
248
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("altered_clipster_clips")
|
249
|
+
[1m[36m (0.2ms)[0m [1mCREATE UNIQUE INDEX "temp_index_altered_clipster_clips_on_hash" ON "altered_clipster_clips" ("url_hash")[0m
|
250
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "clipster_clips"
|
251
|
+
[1m[36m (0.3ms)[0m [1mDROP TABLE "clipster_clips"[0m
|
252
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "clipster_clips" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url_hash" varchar(255) DEFAULT '' NOT NULL, "clip" text DEFAULT '' NOT NULL, "language" varchar(255) NOT NULL, "title" varchar(255) DEFAULT '' NOT NULL, "private" boolean DEFAULT 'f' NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
253
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("altered_clipster_clips")[0m
|
254
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('temp_index_altered_clipster_clips_on_hash')
|
255
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("clipster_clips")[0m
|
256
|
+
[1m[35m (0.4ms)[0m CREATE UNIQUE INDEX "index_clipster_clips_on_hash" ON "clipster_clips" ("url_hash")
|
257
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "altered_clipster_clips"[0m
|
258
|
+
[1m[35m (0.2ms)[0m DROP TABLE "altered_clipster_clips"
|
259
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20121011021853')[0m
|
260
|
+
[1m[35m (1.4ms)[0m commit transaction
|
261
|
+
Migrating to SetDefaultTitleToUntitled (20121011021854)
|
262
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
263
|
+
[1m[35m (0.2ms)[0m CREATE TEMPORARY TABLE "altered_clipster_clips" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url_hash" varchar(255) DEFAULT '' NOT NULL, "clip" text DEFAULT '' NOT NULL, "language" varchar(255) NOT NULL, "title" varchar(255) DEFAULT '' NOT NULL, "private" boolean DEFAULT 'f' NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
264
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("clipster_clips")[0m
|
265
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_clipster_clips_on_hash')
|
266
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("altered_clipster_clips")[0m
|
267
|
+
[1m[35m (0.2ms)[0m CREATE UNIQUE INDEX "temp_index_altered_clipster_clips_on_hash" ON "altered_clipster_clips" ("url_hash")
|
268
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "clipster_clips"[0m
|
269
|
+
[1m[35m (0.3ms)[0m DROP TABLE "clipster_clips"
|
270
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "clipster_clips" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url_hash" varchar(255) DEFAULT '' NOT NULL, "clip" text DEFAULT '' NOT NULL, "language" varchar(255) NOT NULL, "title" varchar(255) DEFAULT 'Untitled' NOT NULL, "private" boolean DEFAULT 'f' NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
271
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("altered_clipster_clips")
|
272
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('temp_index_altered_clipster_clips_on_hash')[0m
|
273
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("clipster_clips")
|
274
|
+
[1m[36m (0.5ms)[0m [1mCREATE UNIQUE INDEX "index_clipster_clips_on_hash" ON "clipster_clips" ("url_hash")[0m
|
275
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "altered_clipster_clips"
|
276
|
+
[1m[36m (0.2ms)[0m [1mDROP TABLE "altered_clipster_clips"[0m
|
277
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20121011021854')
|
278
|
+
[1m[36m (2.1ms)[0m [1mcommit transaction[0m
|
279
|
+
[1m[35m (0.6ms)[0m select sqlite_version(*)
|
280
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
281
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("clipster_clips")
|
282
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_clipster_clips_on_hash')[0m
|
283
|
+
Connecting to database specified by database.yml
|
284
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
285
|
+
[1m[35m (3.2ms)[0m select sqlite_version(*)
|
286
|
+
[1m[36m (1.9ms)[0m [1mCREATE TABLE "clipster_clips" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url_hash" varchar(255) DEFAULT '' NOT NULL, "clip" text DEFAULT '' NOT NULL, "language" varchar(255) NOT NULL, "title" varchar(255) DEFAULT 'Untitled' NOT NULL, "private" boolean DEFAULT 'f' NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
287
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("clipster_clips")
|
288
|
+
[1m[36m (1.3ms)[0m [1mCREATE UNIQUE INDEX "index_clipster_clips_on_hash" ON "clipster_clips" ("url_hash")[0m
|
289
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
290
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
291
|
+
[1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
292
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
293
|
+
[1m[35m (5.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20121011021854')
|
294
|
+
[1m[36m (2.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20121011021849')[0m
|
295
|
+
[1m[35m (2.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20121011021850')
|
296
|
+
[1m[36m (2.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20121011021851')[0m
|
297
|
+
[1m[35m (2.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20121011021852')
|
298
|
+
[1m[36m (2.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20121011021853')[0m
|
299
|
+
Connecting to database specified by database.yml
|
300
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
301
|
+
[1m[35m (0.4ms)[0m select sqlite_version(*)
|
302
|
+
[1m[36m (2.1ms)[0m [1mCREATE TABLE "clipster_clips" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url_hash" varchar(255) DEFAULT '' NOT NULL, "clip" text DEFAULT '' NOT NULL, "language" varchar(255) NOT NULL, "title" varchar(255) DEFAULT 'Untitled' NOT NULL, "private" boolean DEFAULT 'f' NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
303
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("clipster_clips")
|
304
|
+
[1m[36m (1.4ms)[0m [1mCREATE UNIQUE INDEX "index_clipster_clips_on_hash" ON "clipster_clips" ("url_hash")[0m
|
305
|
+
[1m[35m (1.5ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
306
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
307
|
+
[1m[35m (1.5ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
308
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
309
|
+
[1m[35m (1.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20121011021854')
|
310
|
+
[1m[36m (1.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20121011021849')[0m
|
311
|
+
[1m[35m (1.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20121011021850')
|
312
|
+
[1m[36m (1.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20121011021851')[0m
|
313
|
+
[1m[35m (2.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20121011021852')
|
314
|
+
[1m[36m (1.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20121011021853')[0m
|
315
|
+
Connecting to database specified by database.yml
|
316
|
+
[1m[36m (0.2ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
317
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
318
|
+
[1m[36m (2.2ms)[0m [1mCREATE TABLE "clipster_clips" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url_hash" varchar(255) DEFAULT '' NOT NULL, "clip" text DEFAULT '' NOT NULL, "language" varchar(255) NOT NULL, "title" varchar(255) DEFAULT 'Untitled' NOT NULL, "private" boolean DEFAULT 'f' NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
319
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("clipster_clips")
|
320
|
+
[1m[36m (2.1ms)[0m [1mCREATE UNIQUE INDEX "index_clipster_clips_on_hash" ON "clipster_clips" ("url_hash")[0m
|
321
|
+
[1m[35m (7.8ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
322
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
323
|
+
[1m[35m (2.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
324
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
325
|
+
[1m[35m (8.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20121011021854')
|
326
|
+
[1m[36m (1.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20121011021849')[0m
|
327
|
+
[1m[35m (1.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20121011021850')
|
328
|
+
[1m[36m (2.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20121011021851')[0m
|
329
|
+
[1m[35m (1.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20121011021852')
|
330
|
+
[1m[36m (2.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20121011021853')[0m
|
331
|
+
Connecting to database specified by database.yml
|
332
|
+
Connecting to database specified by database.yml
|
333
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
334
|
+
[1m[35m (1.6ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
335
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
336
|
+
[1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
337
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
338
|
+
Migrating to CreateClipsterClips (20121004010757)
|
339
|
+
[1m[35m (0.0ms)[0m begin transaction
|
340
|
+
[1m[36m (0.6ms)[0m [1mCREATE TABLE "clipster_clips" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "hash" varchar(255) NOT NULL, "clip" text NOT NULL, "language" varchar(255) NOT NULL, "title" varchar(255) NOT NULL, "private" boolean NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
341
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20121004010757')
|
342
|
+
[1m[36m (3.1ms)[0m [1mcommit transaction[0m
|
343
|
+
Migrating to AddHashIndexToClips (20121007154400)
|
344
|
+
[1m[35m (0.1ms)[0m begin transaction
|
345
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("clipster_clips")[0m
|
346
|
+
[1m[35m (0.4ms)[0m CREATE UNIQUE INDEX "index_clipster_clips_on_hash" ON "clipster_clips" ("hash")
|
347
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20121007154400')[0m
|
348
|
+
[1m[35m (1.4ms)[0m commit transaction
|
349
|
+
Migrating to PopulateClipDefaults (20121007155125)
|
350
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
351
|
+
[1m[35m (0.7ms)[0m CREATE TEMPORARY TABLE "altered_clipster_clips" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "hash" varchar(255) NOT NULL, "clip" text NOT NULL, "language" varchar(255) NOT NULL, "title" varchar(255) NOT NULL, "private" boolean NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
352
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("clipster_clips")[0m
|
353
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_clipster_clips_on_hash')
|
354
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("altered_clipster_clips")[0m
|
355
|
+
[1m[35m (0.4ms)[0m CREATE UNIQUE INDEX "temp_index_altered_clipster_clips_on_hash" ON "altered_clipster_clips" ("hash")
|
356
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "clipster_clips"[0m
|
357
|
+
[1m[35m (0.4ms)[0m DROP TABLE "clipster_clips"
|
358
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "clipster_clips" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "hash" varchar(255) DEFAULT '' NOT NULL, "clip" text NOT NULL, "language" varchar(255) NOT NULL, "title" varchar(255) NOT NULL, "private" boolean NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
359
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("altered_clipster_clips")
|
360
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('temp_index_altered_clipster_clips_on_hash')[0m
|
361
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("clipster_clips")
|
362
|
+
[1m[36m (0.4ms)[0m [1mCREATE UNIQUE INDEX "index_clipster_clips_on_hash" ON "clipster_clips" ("hash")[0m
|
363
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "altered_clipster_clips"
|
364
|
+
[1m[36m (0.2ms)[0m [1mDROP TABLE "altered_clipster_clips"[0m
|
365
|
+
[1m[35m (0.2ms)[0m CREATE TEMPORARY TABLE "altered_clipster_clips" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "hash" varchar(255) DEFAULT '' NOT NULL, "clip" text NOT NULL, "language" varchar(255) NOT NULL, "title" varchar(255) NOT NULL, "private" boolean NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
366
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("clipster_clips")[0m
|
367
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_clipster_clips_on_hash')
|
368
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("altered_clipster_clips")[0m
|
369
|
+
[1m[35m (0.2ms)[0m CREATE UNIQUE INDEX "temp_index_altered_clipster_clips_on_hash" ON "altered_clipster_clips" ("hash")
|
370
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "clipster_clips"[0m
|
371
|
+
[1m[35m (0.2ms)[0m DROP TABLE "clipster_clips"
|
372
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "clipster_clips" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "hash" varchar(255) DEFAULT '' NOT NULL, "clip" text DEFAULT '' NOT NULL, "language" varchar(255) NOT NULL, "title" varchar(255) NOT NULL, "private" boolean NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
373
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("altered_clipster_clips")
|
374
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('temp_index_altered_clipster_clips_on_hash')[0m
|
375
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("clipster_clips")
|
376
|
+
[1m[36m (0.2ms)[0m [1mCREATE UNIQUE INDEX "index_clipster_clips_on_hash" ON "clipster_clips" ("hash")[0m
|
377
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "altered_clipster_clips"
|
378
|
+
[1m[36m (0.1ms)[0m [1mDROP TABLE "altered_clipster_clips"[0m
|
379
|
+
[1m[35m (0.2ms)[0m CREATE TEMPORARY TABLE "altered_clipster_clips" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "hash" varchar(255) DEFAULT '' NOT NULL, "clip" text DEFAULT '' NOT NULL, "language" varchar(255) NOT NULL, "title" varchar(255) NOT NULL, "private" boolean NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
380
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("clipster_clips")[0m
|
381
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_clipster_clips_on_hash')
|
382
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("altered_clipster_clips")[0m
|
383
|
+
[1m[35m (0.2ms)[0m CREATE UNIQUE INDEX "temp_index_altered_clipster_clips_on_hash" ON "altered_clipster_clips" ("hash")
|
384
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "clipster_clips"[0m
|
385
|
+
[1m[35m (0.1ms)[0m DROP TABLE "clipster_clips"
|
386
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "clipster_clips" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "hash" varchar(255) DEFAULT '' NOT NULL, "clip" text DEFAULT '' NOT NULL, "language" varchar(255) NOT NULL, "title" varchar(255) DEFAULT '' NOT NULL, "private" boolean NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
387
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("altered_clipster_clips")
|
388
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('temp_index_altered_clipster_clips_on_hash')[0m
|
389
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("clipster_clips")
|
390
|
+
[1m[36m (0.3ms)[0m [1mCREATE UNIQUE INDEX "index_clipster_clips_on_hash" ON "clipster_clips" ("hash")[0m
|
391
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "altered_clipster_clips"
|
392
|
+
[1m[36m (0.2ms)[0m [1mDROP TABLE "altered_clipster_clips"[0m
|
393
|
+
[1m[35m (0.2ms)[0m CREATE TEMPORARY TABLE "altered_clipster_clips" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "hash" varchar(255) DEFAULT '' NOT NULL, "clip" text DEFAULT '' NOT NULL, "language" varchar(255) NOT NULL, "title" varchar(255) DEFAULT '' NOT NULL, "private" boolean NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
394
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("clipster_clips")[0m
|
395
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_clipster_clips_on_hash')
|
396
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("altered_clipster_clips")[0m
|
397
|
+
[1m[35m (0.2ms)[0m CREATE UNIQUE INDEX "temp_index_altered_clipster_clips_on_hash" ON "altered_clipster_clips" ("hash")
|
398
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "clipster_clips"[0m
|
399
|
+
[1m[35m (0.2ms)[0m DROP TABLE "clipster_clips"
|
400
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "clipster_clips" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "hash" varchar(255) DEFAULT '' NOT NULL, "clip" text DEFAULT '' NOT NULL, "language" varchar(255) DEFAULT '' NOT NULL, "title" varchar(255) DEFAULT '' NOT NULL, "private" boolean NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
401
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("altered_clipster_clips")
|
402
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('temp_index_altered_clipster_clips_on_hash')[0m
|
403
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("clipster_clips")
|
404
|
+
[1m[36m (0.2ms)[0m [1mCREATE UNIQUE INDEX "index_clipster_clips_on_hash" ON "clipster_clips" ("hash")[0m
|
405
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "altered_clipster_clips"
|
406
|
+
[1m[36m (0.2ms)[0m [1mDROP TABLE "altered_clipster_clips"[0m
|
407
|
+
[1m[35m (0.5ms)[0m CREATE TEMPORARY TABLE "altered_clipster_clips" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "hash" varchar(255) DEFAULT '' NOT NULL, "clip" text DEFAULT '' NOT NULL, "language" varchar(255) DEFAULT '' NOT NULL, "title" varchar(255) DEFAULT '' NOT NULL, "private" boolean NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
408
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("clipster_clips")[0m
|
409
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_clipster_clips_on_hash')
|
410
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("altered_clipster_clips")[0m
|
411
|
+
[1m[35m (0.2ms)[0m CREATE UNIQUE INDEX "temp_index_altered_clipster_clips_on_hash" ON "altered_clipster_clips" ("hash")
|
412
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "clipster_clips"[0m
|
413
|
+
[1m[35m (0.2ms)[0m DROP TABLE "clipster_clips"
|
414
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "clipster_clips" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "hash" varchar(255) DEFAULT '' NOT NULL, "clip" text DEFAULT '' NOT NULL, "language" varchar(255) DEFAULT '' NOT NULL, "title" varchar(255) DEFAULT '' NOT NULL, "private" boolean DEFAULT 'f' NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
415
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("altered_clipster_clips")
|
416
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('temp_index_altered_clipster_clips_on_hash')[0m
|
417
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("clipster_clips")
|
418
|
+
[1m[36m (0.2ms)[0m [1mCREATE UNIQUE INDEX "index_clipster_clips_on_hash" ON "clipster_clips" ("hash")[0m
|
419
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "altered_clipster_clips"
|
420
|
+
[1m[36m (0.2ms)[0m [1mDROP TABLE "altered_clipster_clips"[0m
|
421
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20121007155125')
|
422
|
+
[1m[36m (1.9ms)[0m [1mcommit transaction[0m
|
423
|
+
Migrating to RenameHashToUrlHash (20121007162741)
|
424
|
+
[1m[35m (0.1ms)[0m begin transaction
|
425
|
+
[1m[36m (0.3ms)[0m [1mCREATE TEMPORARY TABLE "altered_clipster_clips" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url_hash" varchar(255) DEFAULT '' NOT NULL, "clip" text DEFAULT '' NOT NULL, "language" varchar(255) DEFAULT '' NOT NULL, "title" varchar(255) DEFAULT '' NOT NULL, "private" boolean DEFAULT 'f' NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
426
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("clipster_clips")
|
427
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_clipster_clips_on_hash')[0m
|
428
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("altered_clipster_clips")
|
429
|
+
[1m[36m (0.2ms)[0m [1mCREATE UNIQUE INDEX "temp_index_altered_clipster_clips_on_hash" ON "altered_clipster_clips" ("url_hash")[0m
|
430
|
+
[1m[35m (0.2ms)[0m SELECT * FROM "clipster_clips"
|
431
|
+
[1m[36m (0.4ms)[0m [1mDROP TABLE "clipster_clips"[0m
|
432
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "clipster_clips" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url_hash" varchar(255) DEFAULT '' NOT NULL, "clip" text DEFAULT '' NOT NULL, "language" varchar(255) DEFAULT '' NOT NULL, "title" varchar(255) DEFAULT '' NOT NULL, "private" boolean DEFAULT 'f' NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
433
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("altered_clipster_clips")[0m
|
434
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('temp_index_altered_clipster_clips_on_hash')
|
435
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("clipster_clips")[0m
|
436
|
+
[1m[35m (0.6ms)[0m CREATE UNIQUE INDEX "index_clipster_clips_on_hash" ON "clipster_clips" ("url_hash")
|
437
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "altered_clipster_clips"[0m
|
438
|
+
[1m[35m (2.4ms)[0m DROP TABLE "altered_clipster_clips"
|
439
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20121007162741')[0m
|
440
|
+
[1m[35m (2.1ms)[0m commit transaction
|
441
|
+
Migrating to RemoveDefaultFromLanguage (20121007223358)
|
442
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
443
|
+
[1m[35m (0.3ms)[0m CREATE TEMPORARY TABLE "altered_clipster_clips" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url_hash" varchar(255) DEFAULT '' NOT NULL, "clip" text DEFAULT '' NOT NULL, "language" varchar(255) DEFAULT '' NOT NULL, "title" varchar(255) DEFAULT '' NOT NULL, "private" boolean DEFAULT 'f' NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
444
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("clipster_clips")[0m
|
445
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_clipster_clips_on_hash')
|
446
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("altered_clipster_clips")[0m
|
447
|
+
[1m[35m (0.3ms)[0m CREATE UNIQUE INDEX "temp_index_altered_clipster_clips_on_hash" ON "altered_clipster_clips" ("url_hash")
|
448
|
+
[1m[36m (0.2ms)[0m [1mSELECT * FROM "clipster_clips"[0m
|
449
|
+
[1m[35m (0.4ms)[0m DROP TABLE "clipster_clips"
|
450
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "clipster_clips" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url_hash" varchar(255) DEFAULT '' NOT NULL, "clip" text DEFAULT '' NOT NULL, "language" varchar(255) NOT NULL, "title" varchar(255) DEFAULT '' NOT NULL, "private" boolean DEFAULT 'f' NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
451
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("altered_clipster_clips")
|
452
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('temp_index_altered_clipster_clips_on_hash')[0m
|
453
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("clipster_clips")
|
454
|
+
[1m[36m (3.2ms)[0m [1mCREATE UNIQUE INDEX "index_clipster_clips_on_hash" ON "clipster_clips" ("url_hash")[0m
|
455
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "altered_clipster_clips"
|
456
|
+
[1m[36m (0.2ms)[0m [1mDROP TABLE "altered_clipster_clips"[0m
|
457
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20121007223358')
|
458
|
+
[1m[36m (2.4ms)[0m [1mcommit transaction[0m
|
459
|
+
Migrating to SetDefaultTitleToUntitled (20121007223631)
|
460
|
+
[1m[35m (0.1ms)[0m begin transaction
|
461
|
+
[1m[36m (0.4ms)[0m [1mCREATE TEMPORARY TABLE "altered_clipster_clips" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url_hash" varchar(255) DEFAULT '' NOT NULL, "clip" text DEFAULT '' NOT NULL, "language" varchar(255) NOT NULL, "title" varchar(255) DEFAULT '' NOT NULL, "private" boolean DEFAULT 'f' NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
462
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("clipster_clips")
|
463
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_clipster_clips_on_hash')[0m
|
464
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("altered_clipster_clips")
|
465
|
+
[1m[36m (0.2ms)[0m [1mCREATE UNIQUE INDEX "temp_index_altered_clipster_clips_on_hash" ON "altered_clipster_clips" ("url_hash")[0m
|
466
|
+
[1m[35m (0.2ms)[0m SELECT * FROM "clipster_clips"
|
467
|
+
[1m[36m (0.3ms)[0m [1mDROP TABLE "clipster_clips"[0m
|
468
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "clipster_clips" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url_hash" varchar(255) DEFAULT '' NOT NULL, "clip" text DEFAULT '' NOT NULL, "language" varchar(255) NOT NULL, "title" varchar(255) DEFAULT 'Untitled' NOT NULL, "private" boolean DEFAULT 'f' NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
469
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("altered_clipster_clips")[0m
|
470
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('temp_index_altered_clipster_clips_on_hash')
|
471
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("clipster_clips")[0m
|
472
|
+
[1m[35m (0.6ms)[0m CREATE UNIQUE INDEX "index_clipster_clips_on_hash" ON "clipster_clips" ("url_hash")
|
473
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "altered_clipster_clips"[0m
|
474
|
+
[1m[35m (1.3ms)[0m DROP TABLE "altered_clipster_clips"
|
475
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20121007223631')[0m
|
476
|
+
[1m[35m (2.1ms)[0m commit transaction
|
477
|
+
[1m[36m (0.4ms)[0m [1mselect sqlite_version(*)[0m
|
478
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
479
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("clipster_clips")[0m
|
480
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_clipster_clips_on_hash')
|
data/test/dummy/log/test.log
CHANGED
@@ -1,3 +1,19 @@
|
|
1
1
|
Connecting to database specified by database.yml
|
2
2
|
Connecting to database specified by database.yml
|
3
3
|
Connecting to database specified by database.yml
|
4
|
+
Connecting to database specified by database.yml
|
5
|
+
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
6
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
7
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
9
|
+
Connecting to database specified by database.yml
|
10
|
+
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
11
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
12
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
14
|
+
Connecting to database specified by database.yml
|
15
|
+
Connecting to database specified by database.yml
|
16
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
17
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
18
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
19
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: clipster
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2012-10-
|
13
|
+
date: 2012-10-12 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rails
|
@@ -153,6 +153,9 @@ files:
|
|
153
153
|
- test/dummy/config/locales/en.yml
|
154
154
|
- test/dummy/config/routes.rb
|
155
155
|
- test/dummy/config.ru
|
156
|
+
- test/dummy/db/development.sqlite3
|
157
|
+
- test/dummy/db/schema.rb
|
158
|
+
- test/dummy/db/test.sqlite3
|
156
159
|
- test/dummy/log/development.log
|
157
160
|
- test/dummy/log/test.log
|
158
161
|
- test/dummy/public/404.html
|
@@ -216,6 +219,9 @@ test_files:
|
|
216
219
|
- test/dummy/config/locales/en.yml
|
217
220
|
- test/dummy/config/routes.rb
|
218
221
|
- test/dummy/config.ru
|
222
|
+
- test/dummy/db/development.sqlite3
|
223
|
+
- test/dummy/db/schema.rb
|
224
|
+
- test/dummy/db/test.sqlite3
|
219
225
|
- test/dummy/log/development.log
|
220
226
|
- test/dummy/log/test.log
|
221
227
|
- test/dummy/public/404.html
|