trax 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 7fe2de2dbe1a08050f0c2937c18d6d01b45c80c5
4
+ data.tar.gz: 35e73be76fba8cdce7a027524763873ec689b213
5
+ SHA512:
6
+ metadata.gz: 7a67b3fd8f86794da5600b12358ae866543e8c4673a6a6eef4fe5f4aac6cb707090416957fe50d5a840bf52f36c589a9efdb390debef2012e284ca081e178fac
7
+ data.tar.gz: 1d52b7a19ec27907a3a66bec6c6b4fba0c66f680c434c388b92b5a7ff953f68242dbf0761e4c75bbdbdee499c0134ed48a5f6af9a838b5cde6fe5afc92580042
@@ -0,0 +1,20 @@
1
+ Copyright 2013 YOURNAME
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,3 @@
1
+ = Trax
2
+
3
+ This project rocks and uses MIT-LICENSE.
@@ -0,0 +1,61 @@
1
+ # begin
2
+ # require 'bundler/setup'
3
+ # rescue LoadError
4
+ # puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
5
+ # end
6
+ #
7
+ # require 'rdoc/task'
8
+ #
9
+ # RDoc::Task.new(:rdoc) do |rdoc|
10
+ # rdoc.rdoc_dir = 'rdoc'
11
+ # rdoc.title = 'Trax'
12
+ # rdoc.options << '--line-numbers'
13
+ # rdoc.rdoc_files.include('README.rdoc')
14
+ # rdoc.rdoc_files.include('lib/**/*.rb')
15
+ # end
16
+ #
17
+ # APP_RAKEFILE = File.expand_path("../spec/traxblog/Rakefile", __FILE__)
18
+ # load 'rails/tasks/engine.rake'
19
+ #
20
+ #
21
+ #
22
+ # Bundler::GemHelper.install_tasks
23
+
24
+
25
+ #!/usr/bin/env rake
26
+ begin
27
+ require 'bundler/setup'
28
+ rescue LoadError
29
+ puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
30
+ end
31
+ # require 'rubygems'
32
+ # spec = eval(File.read('trax.gemspec'))
33
+ # Gem::PackageTask.new(spec) do |pkg|
34
+ # pkg.gem_spec = spec
35
+ # end
36
+ # APP_RAKEFILE = File.expand_path("../spec/traxblog/Rakefile", __FILE__)
37
+ # load 'rails/tasks/engine.rake'
38
+ Bundler::GemHelper.install_tasks
39
+ Dir[File.join(File.dirname(__FILE__), 'tasks/**/*.rake')].each {|f| load f }
40
+ # require 'rspec/core'
41
+ # require 'rspec/core/rake_task'
42
+ # desc "Run all specs in spec directory (excluding plugin specs)"
43
+ # RSpec::Core::RakeTask.new(:spec => 'app:db:test:prepare')
44
+ # task :default => :spec
45
+
46
+ desc 'Clean & Compile the protobuf definitions to ruby classes. Pass NO_CLEAN if you do not want to clean first.'
47
+ task :compile, [ :out ] do |t, args|
48
+ ::Rake::Task[:clean].invoke unless ENV['NO_CLEAN']
49
+ args.with_defaults(:out => 'lib')
50
+ cmd = "protoc --ruby_out=#{args[:out]} -I ./definitions definitions/trax/*.proto definitions/trax/**/*.proto"
51
+ puts cmd
52
+ exec(cmd)
53
+ end
54
+
55
+ desc 'Clean the generated *.pb.rb files'
56
+ task :clean do
57
+ puts 'Cleaning compiled ruby files'
58
+ file_glob = ::File.expand_path('../lib/trax/**/*.pb.rb', __FILE__)
59
+ ::Dir[file_glob].each { |file| ::FileUtils.rm(file) }
60
+ end
61
+
@@ -0,0 +1,22 @@
1
+ module Trax
2
+ BASE_PATH = ::File.expand_path('..', ::File.dirname(__FILE__))
3
+ BASE_LIB_PATH = ::File.join(BASE_PATH, 'lib')
4
+ DEFINITIONS_PATH = ::File.join(BASE_PATH, 'definitions')
5
+ PACKAGE_NAMESPACE = 'trax'
6
+
7
+ def self.proto_file_paths
8
+ ::Dir.glob(::File.join(::Trax::BASE_LIB_PATH, ::Trax::PACKAGE_NAMESPACE, '**', '*.pb.rb'))
9
+ end
10
+
11
+ proto_file_paths.each { |path| require path }
12
+
13
+ # def self.thrift_file_paths
14
+ # ::Dir.glob(::File.join(::Trax::BASE_LIB_PATH, ::Trax::PACKAGE_NAMESPACE, 'thrift', '**', '*.rb'))
15
+ # end
16
+ #
17
+ # thrift_file_paths.each { |path| require path }
18
+ end
19
+
20
+ require 'trax_core'
21
+ require 'trax_backend'
22
+ require 'trax_frontend'
@@ -0,0 +1,37 @@
1
+ ##
2
+ # This file is auto-generated. DO NOT EDIT!
3
+ #
4
+ require 'protobuf/message'
5
+
6
+
7
+ ##
8
+ # Imports
9
+ #
10
+ require 'trax/common.pb'
11
+ require 'trax/core/channel.pb'
12
+
13
+ module Trax
14
+ module Backend
15
+
16
+ ##
17
+ # Message Classes
18
+ #
19
+ class ChannelForm < ::Protobuf::Message; end
20
+ class ChannelPermittedParams < ::Protobuf::Message; end
21
+
22
+
23
+ ##
24
+ # Message Fields
25
+ #
26
+ class ChannelPermittedParams
27
+ optional ::Protobuf::Field::StringField, :name, 1
28
+ optional ::Protobuf::Field::StringField, :details, 2
29
+ optional ::Protobuf::Field::StringField, :description, 3
30
+ optional ::Protobuf::Field::BoolField, :active, 4
31
+ optional ::Trax::RoutingStrategy, :routing_strategy, 5
32
+ end
33
+
34
+ end
35
+
36
+ end
37
+
@@ -0,0 +1,37 @@
1
+ ##
2
+ # This file is auto-generated. DO NOT EDIT!
3
+ #
4
+ require 'protobuf/message'
5
+
6
+
7
+ ##
8
+ # Imports
9
+ #
10
+ require 'trax/common.pb'
11
+
12
+ module Trax
13
+ module Backend
14
+
15
+ ##
16
+ # Message Classes
17
+ #
18
+ class EntryPermittedParams < ::Protobuf::Message; end
19
+
20
+
21
+ ##
22
+ # Message Fields
23
+ #
24
+ class EntryPermittedParams
25
+ optional ::Protobuf::Field::StringField, :title, 1
26
+ optional ::Protobuf::Field::StringField, :body, 2
27
+ optional ::Protobuf::Field::BoolField, :active, 3
28
+ optional ::Protobuf::Field::StringField, :slug, 4
29
+ optional ::Protobuf::Field::BytesField, :channel_id, 5
30
+ # Extension Fields
31
+ extensions 200...536870912
32
+ end
33
+
34
+ end
35
+
36
+ end
37
+
@@ -0,0 +1,40 @@
1
+ ##
2
+ # This file is auto-generated. DO NOT EDIT!
3
+ #
4
+ require 'protobuf/message'
5
+
6
+
7
+ ##
8
+ # Imports
9
+ #
10
+ require 'trax/common.pb'
11
+
12
+ module Trax
13
+ module Backend
14
+
15
+ ##
16
+ # Message Classes
17
+ #
18
+ class SitePermittedParams < ::Protobuf::Message; end
19
+
20
+
21
+ ##
22
+ # Message Fields
23
+ #
24
+ class SitePermittedParams
25
+ optional ::Protobuf::Field::StringField, :name, 1
26
+ optional ::Protobuf::Field::StringField, :details, 2
27
+ optional ::Protobuf::Field::StringField, :description, 3
28
+ optional ::Protobuf::Field::StringField, :host, 4
29
+ optional ::Protobuf::Field::BoolField, :is_default, 5
30
+ optional ::Protobuf::Field::BytesField, :theme_id, 6
31
+ optional ::Trax::RoutingStrategy, :routing_strategy, 7
32
+ optional ::Protobuf::Field::BoolField, :active, 8
33
+ # Extension Fields
34
+ extensions 200...536870912
35
+ end
36
+
37
+ end
38
+
39
+ end
40
+
@@ -0,0 +1,34 @@
1
+ ##
2
+ # This file is auto-generated. DO NOT EDIT!
3
+ #
4
+ require 'protobuf/message'
5
+
6
+
7
+ ##
8
+ # Imports
9
+ #
10
+ require 'trax/common.pb'
11
+
12
+ module Trax
13
+ module Backend
14
+
15
+ ##
16
+ # Message Classes
17
+ #
18
+ class ThemePermittedParams < ::Protobuf::Message; end
19
+
20
+
21
+ ##
22
+ # Message Fields
23
+ #
24
+ class ThemePermittedParams
25
+ optional ::Protobuf::Field::StringField, :name, 1
26
+ optional ::Protobuf::Field::StringField, :version, 2
27
+ # Extension Fields
28
+ extensions 200...536870912
29
+ end
30
+
31
+ end
32
+
33
+ end
34
+
@@ -0,0 +1,22 @@
1
+ ##
2
+ # This file is auto-generated. DO NOT EDIT!
3
+ #
4
+ require 'protobuf/message'
5
+
6
+ module Trax
7
+
8
+ ##
9
+ # Enum Classes
10
+ #
11
+ class RoutingStrategy < ::Protobuf::Enum
12
+ define :RESTFUL, 1
13
+ define :STATIC, 2
14
+ end
15
+
16
+ class Status < ::Protobuf::Enum
17
+ define :ACTIVE, 1
18
+ define :INACTIVE, 2
19
+ end
20
+
21
+ end
22
+
@@ -0,0 +1,39 @@
1
+ ##
2
+ # This file is auto-generated. DO NOT EDIT!
3
+ #
4
+ require 'protobuf/message'
5
+
6
+
7
+ ##
8
+ # Imports
9
+ #
10
+ require 'trax/common.pb'
11
+
12
+ module Trax
13
+ module Core
14
+
15
+ ##
16
+ # Message Classes
17
+ #
18
+ class Channel < ::Protobuf::Message; end
19
+
20
+
21
+ ##
22
+ # Message Fields
23
+ #
24
+ class Channel
25
+ optional ::Protobuf::Field::BytesField, :id, 1
26
+ optional ::Protobuf::Field::StringField, :name, 2
27
+ optional ::Protobuf::Field::StringField, :slug, 3
28
+ optional ::Protobuf::Field::StringField, :details, 4
29
+ optional ::Protobuf::Field::StringField, :description, 5
30
+ optional ::Protobuf::Field::StringField, :short_description, 6
31
+ optional ::Protobuf::Field::BytesField, :parent_id, 7
32
+ optional ::Trax::RoutingStrategy, :routing_strategy, 8
33
+ optional ::Trax::Status, :status, 9
34
+ end
35
+
36
+ end
37
+
38
+ end
39
+
@@ -0,0 +1,29 @@
1
+ ##
2
+ # This file is auto-generated. DO NOT EDIT!
3
+ #
4
+ require 'protobuf/message'
5
+
6
+ module Trax
7
+ module Core
8
+
9
+ ##
10
+ # Message Classes
11
+ #
12
+ class Entry < ::Protobuf::Message; end
13
+
14
+
15
+ ##
16
+ # Message Fields
17
+ #
18
+ class Entry
19
+ optional ::Protobuf::Field::BytesField, :id, 1
20
+ optional ::Protobuf::Field::StringField, :title, 2
21
+ optional ::Protobuf::Field::StringField, :body, 3
22
+ optional ::Protobuf::Field::StringField, :slug, 4
23
+ optional ::Protobuf::Field::BytesField, :user_id, 5
24
+ end
25
+
26
+ end
27
+
28
+ end
29
+
@@ -0,0 +1,38 @@
1
+ ##
2
+ # This file is auto-generated. DO NOT EDIT!
3
+ #
4
+ require 'protobuf/message'
5
+
6
+
7
+ ##
8
+ # Imports
9
+ #
10
+ require 'trax/common.pb'
11
+
12
+ module Trax
13
+ module Core
14
+
15
+ ##
16
+ # Message Classes
17
+ #
18
+ class Site < ::Protobuf::Message; end
19
+
20
+
21
+ ##
22
+ # Message Fields
23
+ #
24
+ class Site
25
+ optional ::Protobuf::Field::BytesField, :id, 1
26
+ optional ::Protobuf::Field::StringField, :details, 2
27
+ optional ::Protobuf::Field::StringField, :description, 3
28
+ optional ::Protobuf::Field::StringField, :host, 4
29
+ optional ::Protobuf::Field::BoolField, :is_default, 5
30
+ optional ::Protobuf::Field::BytesField, :theme_id, 6
31
+ optional ::Trax::RoutingStrategy, :routing_strategy, 7
32
+ optional ::Trax::Status, :status, 8
33
+ end
34
+
35
+ end
36
+
37
+ end
38
+
@@ -0,0 +1,33 @@
1
+ ##
2
+ # This file is auto-generated. DO NOT EDIT!
3
+ #
4
+ require 'protobuf/message'
5
+
6
+
7
+ ##
8
+ # Imports
9
+ #
10
+ require 'trax/common.pb'
11
+
12
+ module Trax
13
+ module Core
14
+
15
+ ##
16
+ # Message Classes
17
+ #
18
+ class Theme < ::Protobuf::Message; end
19
+
20
+
21
+ ##
22
+ # Message Fields
23
+ #
24
+ class Theme
25
+ optional ::Protobuf::Field::BytesField, :id, 1
26
+ optional ::Protobuf::Field::StringField, :name, 2
27
+ optional ::Protobuf::Field::StringField, :version, 3
28
+ end
29
+
30
+ end
31
+
32
+ end
33
+
@@ -0,0 +1,72 @@
1
+  (11.0ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
2
+  (4.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
4
+ Migrating to EnableUuid (20131115192228)
5
+  (0.0ms) SELECT version()
6
+ SQL (2.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20131115192228')
7
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
8
+ ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
9
+ ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
10
+ Migrating to EnableUuid (20131115192228)
11
+  (17.0ms) DROP EXTENSION "uuid-ossp";
12
+ ActiveRecord::JDBCError: org.postgresql.util.PSQLException: ERROR: extension "uuid-ossp" does not exist: DROP EXTENSION "uuid-ossp";
13
+ ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
14
+ ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
15
+ Migrating to EnableUuid (20131115192228)
16
+ SQL (2.0ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20131115192228'
17
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
18
+  (1.0ms) SELECT version()
19
+ ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
20
+ Migrating to EnableUuid (20131115192228)
21
+  (19.0ms) CREATE EXTENSION "uuid-ossp";
22
+  (1.0ms) SELECT version()
23
+ SQL (1.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20131115192228')
24
+ ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
25
+  (1.0ms) SET search_path TO public
26
+  (115.0ms) DROP DATABASE IF EXISTS "traxblog_test"
27
+  (235.0ms) CREATE DATABASE "traxblog_test" ENCODING = 'unicode'
28
+  (0.0ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
29
+  (6.0ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
30
+  (3.0ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
31
+  (3.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
32
+  (1.0ms) SELECT version FROM "schema_migrations"
33
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20131115192228')
34
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
35
+ ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
36
+ Migrating to EnableUuid (20131115192228)
37
+  (9.0ms) DROP EXTENSION "uuid-ossp";
38
+ SQL (2.0ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20131115192228'
39
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
40
+  (1.0ms) SELECT version()
41
+ ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
42
+ Migrating to EnableUuid (20131115192228)
43
+  (13.0ms) CREATE EXTENSION "uuid-ossp";
44
+  (1.0ms) SELECT version()
45
+ SQL (1.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20131115192228')
46
+ Migrating to CreateTraxPosts (20131115193653)
47
+  (8.0ms) CREATE TABLE "trax_posts" ("id" serial primary key, "author_id" uuid, "category_id" uuid, "channel_id" uuid, "last_edited_by" uuid, "title" character varying(255), "permalink" character varying(255), "body" text, "last_edited_at" timestamp, "published_at" timestamp, "status" character varying(255), "created_at" timestamp, "updated_at" timestamp) 
48
+  (3.0ms) CREATE INDEX "index_trax_posts_on_author_id" ON "trax_posts" ("author_id")
49
+  (2.0ms) CREATE INDEX "index_trax_posts_on_category_id" ON "trax_posts" ("category_id")
50
+  (1.0ms) CREATE INDEX "index_trax_posts_on_channel_id" ON "trax_posts" ("channel_id")
51
+  (1.0ms) CREATE INDEX "index_trax_posts_on_last_edited_by" ON "trax_posts" ("last_edited_by")
52
+  (2.0ms) CREATE INDEX "index_trax_posts_on_title" ON "trax_posts" ("title")
53
+  (2.0ms) CREATE INDEX "index_trax_posts_on_permalink" ON "trax_posts" ("permalink")
54
+  (2.0ms) CREATE INDEX "index_trax_posts_on_last_edited_at" ON "trax_posts" ("last_edited_at")
55
+  (1.0ms) CREATE INDEX "index_trax_posts_on_published_at" ON "trax_posts" ("published_at")
56
+  (2.0ms) CREATE INDEX "index_trax_posts_on_status" ON "trax_posts" ("status")
57
+ SQL (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20131115193653')
58
+ ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
59
+ PK and Serial Sequence (4.0ms)  SELECT attr.attname, seq.relname
60
+ FROM pg_class seq,
61
+ pg_attribute attr,
62
+ pg_depend dep,
63
+ pg_constraint cons
64
+ WHERE seq.oid = dep.objid
65
+ AND seq.relkind = 'S'
66
+ AND attr.attrelid = dep.refobjid
67
+ AND attr.attnum = dep.refobjsubid
68
+ AND attr.attrelid = cons.conrelid
69
+ AND attr.attnum = cons.conkey[1]
70
+ AND cons.contype = 'p'
71
+ AND dep.refobjid = '"trax_posts"'::regclass
72
+ 
@@ -0,0 +1,126 @@
1
+ ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
2
+  (1.0ms) SELECT version()
3
+ ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
4
+ Migrating to CreateTraxPosts (20131115193653)
5
+  (16.0ms) CREATE TABLE "trax_posts" ("id" serial primary key, "author_id" uuid, "category_id" uuid, "last_edited_by" uuid, "title" character varying(255), "permalink" character varying(255), "body" text, "last_edited_at" timestamp, "published_at" timestamp, "status" character varying(255), "created_at" timestamp, "updated_at" timestamp)
6
+  (2.0ms) CREATE INDEX "index_trax_posts_on_author_id" ON "trax_posts" ("author_id")
7
+  (2.0ms) CREATE INDEX "index_trax_posts_on_category_id" ON "trax_posts" ("category_id")
8
+  (1.0ms) CREATE INDEX "index_trax_posts_on_last_edited_by" ON "trax_posts" ("last_edited_by")
9
+  (2.0ms) CREATE INDEX "index_trax_posts_on_title" ON "trax_posts" ("title")
10
+  (1.0ms) CREATE INDEX "index_trax_posts_on_permalink" ON "trax_posts" ("permalink")
11
+  (1.0ms) CREATE INDEX "index_trax_posts_on_last_edited_at" ON "trax_posts" ("last_edited_at")
12
+  (1.0ms) CREATE INDEX "index_trax_posts_on_published_at" ON "trax_posts" ("published_at")
13
+  (1.0ms) CREATE INDEX "index_trax_posts_on_status" ON "trax_posts" ("status")
14
+  (1.0ms) SELECT version()
15
+ SQL (1.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20131115193653')
16
+ ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
17
+ PK and Serial Sequence (3.0ms) SELECT attr.attname, seq.relname
18
+ FROM pg_class seq,
19
+ pg_attribute attr,
20
+ pg_depend dep,
21
+ pg_constraint cons
22
+ WHERE seq.oid = dep.objid
23
+ AND seq.relkind = 'S'
24
+ AND attr.attrelid = dep.refobjid
25
+ AND attr.attnum = dep.refobjsubid
26
+ AND attr.attrelid = cons.conrelid
27
+ AND attr.attnum = cons.conkey[1]
28
+ AND cons.contype = 'p'
29
+ AND dep.refobjid = '"trax_posts"'::regclass
30
+
31
+ ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
32
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
33
+ Migrating to CreateTraxPosts (20131115193653)
34
+  (3.0ms) DROP INDEX "index_trax_posts_on_status"
35
+  (0.0ms) DROP INDEX "index_trax_posts_on_published_at"
36
+  (0.0ms) DROP INDEX "index_trax_posts_on_last_edited_at"
37
+  (1.0ms) DROP INDEX "index_trax_posts_on_permalink"
38
+  (0.0ms) DROP INDEX "index_trax_posts_on_title"
39
+  (1.0ms) DROP INDEX "index_trax_posts_on_last_edited_by"
40
+  (0.0ms) SET search_path TO public
41
+  (116.0ms) DROP DATABASE IF EXISTS "traxblog_test"
42
+  (0.0ms) SET search_path TO public
43
+  (238.0ms) CREATE DATABASE "traxblog_test" ENCODING = 'unicode'
44
+  (1.0ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
45
+  (6.0ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
46
+  (8.0ms) CREATE TABLE "trax_posts" ("id" serial primary key, "author_id" uuid, "category_id" uuid, "channel_id" uuid, "last_edited_by" uuid, "title" character varying(255), "permalink" character varying(255), "body" text, "last_edited_at" timestamp, "published_at" timestamp, "status" character varying(255), "created_at" timestamp, "updated_at" timestamp) 
47
+  (2.0ms) CREATE INDEX "index_trax_posts_on_author_id" ON "trax_posts" USING btree ("author_id")
48
+  (2.0ms) CREATE INDEX "index_trax_posts_on_category_id" ON "trax_posts" USING btree ("category_id")
49
+  (1.0ms) CREATE INDEX "index_trax_posts_on_channel_id" ON "trax_posts" USING btree ("channel_id")
50
+  (2.0ms) CREATE INDEX "index_trax_posts_on_last_edited_at" ON "trax_posts" USING btree ("last_edited_at")
51
+  (2.0ms) CREATE INDEX "index_trax_posts_on_last_edited_by" ON "trax_posts" USING btree ("last_edited_by")
52
+  (2.0ms) CREATE INDEX "index_trax_posts_on_permalink" ON "trax_posts" USING btree ("permalink")
53
+  (2.0ms) CREATE INDEX "index_trax_posts_on_published_at" ON "trax_posts" USING btree ("published_at")
54
+  (2.0ms) CREATE INDEX "index_trax_posts_on_status" ON "trax_posts" USING btree ("status")
55
+  (2.0ms) CREATE INDEX "index_trax_posts_on_title" ON "trax_posts" USING btree ("title")
56
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
57
+  (2.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
58
+  (1.0ms) SELECT version FROM "schema_migrations"
59
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20131115193653')
60
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20131115192228')
61
+ ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
62
+  (1.0ms) SET search_path TO public
63
+  (115.0ms) DROP DATABASE IF EXISTS "traxblog_test"
64
+  (0.0ms) SET search_path TO public
65
+  (239.0ms) CREATE DATABASE "traxblog_test" ENCODING = 'unicode'
66
+  (0.0ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
67
+  (5.0ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
68
+  (9.0ms) CREATE TABLE "trax_posts" ("id" serial primary key, "author_id" uuid, "category_id" uuid, "channel_id" uuid, "last_edited_by" uuid, "title" character varying(255), "permalink" character varying(255), "body" text, "last_edited_at" timestamp, "published_at" timestamp, "status" character varying(255), "created_at" timestamp, "updated_at" timestamp) 
69
+  (2.0ms) CREATE INDEX "index_trax_posts_on_author_id" ON "trax_posts" USING btree ("author_id")
70
+  (2.0ms) CREATE INDEX "index_trax_posts_on_category_id" ON "trax_posts" USING btree ("category_id")
71
+  (2.0ms) CREATE INDEX "index_trax_posts_on_channel_id" ON "trax_posts" USING btree ("channel_id")
72
+  (2.0ms) CREATE INDEX "index_trax_posts_on_last_edited_at" ON "trax_posts" USING btree ("last_edited_at")
73
+  (2.0ms) CREATE INDEX "index_trax_posts_on_last_edited_by" ON "trax_posts" USING btree ("last_edited_by")
74
+  (2.0ms) CREATE INDEX "index_trax_posts_on_permalink" ON "trax_posts" USING btree ("permalink")
75
+  (2.0ms) CREATE INDEX "index_trax_posts_on_published_at" ON "trax_posts" USING btree ("published_at")
76
+  (1.0ms) CREATE INDEX "index_trax_posts_on_status" ON "trax_posts" USING btree ("status")
77
+  (2.0ms) CREATE INDEX "index_trax_posts_on_title" ON "trax_posts" USING btree ("title")
78
+  (2.0ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
79
+  (2.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
80
+  (1.0ms) SELECT version FROM "schema_migrations"
81
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20131115193653')
82
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20131115192228')
83
+ ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
84
+  (1.0ms) SET search_path TO public
85
+  (118.0ms) DROP DATABASE IF EXISTS "traxblog_test"
86
+  (1.0ms) SET search_path TO public
87
+  (237.0ms) CREATE DATABASE "traxblog_test" ENCODING = 'unicode'
88
+  (0.0ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
89
+  (6.0ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
90
+  (7.0ms) CREATE TABLE "trax_posts" ("id" serial primary key, "author_id" uuid, "category_id" uuid, "channel_id" uuid, "last_edited_by" uuid, "title" character varying(255), "permalink" character varying(255), "body" text, "last_edited_at" timestamp, "published_at" timestamp, "status" character varying(255), "created_at" timestamp, "updated_at" timestamp) 
91
+  (2.0ms) CREATE INDEX "index_trax_posts_on_author_id" ON "trax_posts" USING btree ("author_id")
92
+  (1.0ms) CREATE INDEX "index_trax_posts_on_category_id" ON "trax_posts" USING btree ("category_id")
93
+  (2.0ms) CREATE INDEX "index_trax_posts_on_channel_id" ON "trax_posts" USING btree ("channel_id")
94
+  (2.0ms) CREATE INDEX "index_trax_posts_on_last_edited_at" ON "trax_posts" USING btree ("last_edited_at")
95
+  (2.0ms) CREATE INDEX "index_trax_posts_on_last_edited_by" ON "trax_posts" USING btree ("last_edited_by")
96
+  (2.0ms) CREATE INDEX "index_trax_posts_on_permalink" ON "trax_posts" USING btree ("permalink")
97
+  (2.0ms) CREATE INDEX "index_trax_posts_on_published_at" ON "trax_posts" USING btree ("published_at")
98
+  (2.0ms) CREATE INDEX "index_trax_posts_on_status" ON "trax_posts" USING btree ("status")
99
+  (2.0ms) CREATE INDEX "index_trax_posts_on_title" ON "trax_posts" USING btree ("title")
100
+  (2.0ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
101
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
102
+  (0.0ms) SELECT version FROM "schema_migrations"
103
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20131115193653')
104
+  (0.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20131115192228')
105
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
106
+  (1.0ms) SET search_path TO public
107
+  (114.0ms) DROP DATABASE IF EXISTS "traxblog_test"
108
+  (0.0ms) SET search_path TO public
109
+  (238.0ms) CREATE DATABASE "traxblog_test" ENCODING = 'unicode'
110
+  (1.0ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
111
+  (6.0ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
112
+  (8.0ms) CREATE TABLE "trax_posts" ("id" serial primary key, "author_id" uuid, "category_id" uuid, "channel_id" uuid, "last_edited_by" uuid, "title" character varying(255), "permalink" character varying(255), "body" text, "last_edited_at" timestamp, "published_at" timestamp, "status" character varying(255), "created_at" timestamp, "updated_at" timestamp) 
113
+  (2.0ms) CREATE INDEX "index_trax_posts_on_author_id" ON "trax_posts" USING btree ("author_id")
114
+  (2.0ms) CREATE INDEX "index_trax_posts_on_category_id" ON "trax_posts" USING btree ("category_id")
115
+  (1.0ms) CREATE INDEX "index_trax_posts_on_channel_id" ON "trax_posts" USING btree ("channel_id")
116
+  (2.0ms) CREATE INDEX "index_trax_posts_on_last_edited_at" ON "trax_posts" USING btree ("last_edited_at")
117
+  (2.0ms) CREATE INDEX "index_trax_posts_on_last_edited_by" ON "trax_posts" USING btree ("last_edited_by")
118
+  (2.0ms) CREATE INDEX "index_trax_posts_on_permalink" ON "trax_posts" USING btree ("permalink")
119
+  (1.0ms) CREATE INDEX "index_trax_posts_on_published_at" ON "trax_posts" USING btree ("published_at")
120
+  (2.0ms) CREATE INDEX "index_trax_posts_on_status" ON "trax_posts" USING btree ("status")
121
+  (1.0ms) CREATE INDEX "index_trax_posts_on_title" ON "trax_posts" USING btree ("title")
122
+  (2.0ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
123
+  (2.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
124
+  (1.0ms) SELECT version FROM "schema_migrations"
125
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20131115193653')
126
+ ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
metadata ADDED
@@ -0,0 +1,88 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: trax
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Jason Ayre
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-11-22 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: trax_core
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '='
18
+ - !ruby/object:Gem::Version
19
+ version: 0.0.1
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '='
25
+ - !ruby/object:Gem::Version
26
+ version: 0.0.1
27
+ - !ruby/object:Gem::Dependency
28
+ name: trax_backend
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '='
32
+ - !ruby/object:Gem::Version
33
+ version: 0.0.1
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '='
39
+ - !ruby/object:Gem::Version
40
+ version: 0.0.1
41
+ description: Rails CMS/Blog
42
+ email:
43
+ - jasonayre@gmail.com
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - lib/trax/backend/channel.pb.rb
49
+ - lib/trax/backend/entry.pb.rb
50
+ - lib/trax/backend/site.pb.rb
51
+ - lib/trax/backend/theme.pb.rb
52
+ - lib/trax/common.pb.rb
53
+ - lib/trax/core/channel.pb.rb
54
+ - lib/trax/core/entry.pb.rb
55
+ - lib/trax/core/site.pb.rb
56
+ - lib/trax/core/theme.pb.rb
57
+ - lib/trax.rb
58
+ - MIT-LICENSE
59
+ - Rakefile
60
+ - README.rdoc
61
+ - spec/traxblog/log/development.log
62
+ - spec/traxblog/log/test.log
63
+ homepage: http://www.github.com/jasonayre/trax
64
+ licenses: []
65
+ metadata: {}
66
+ post_install_message:
67
+ rdoc_options: []
68
+ require_paths:
69
+ - lib
70
+ required_ruby_version: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - '>='
73
+ - !ruby/object:Gem::Version
74
+ version: '0'
75
+ required_rubygems_version: !ruby/object:Gem::Requirement
76
+ requirements:
77
+ - - '>='
78
+ - !ruby/object:Gem::Version
79
+ version: '0'
80
+ requirements: []
81
+ rubyforge_project:
82
+ rubygems_version: 2.0.6
83
+ signing_key:
84
+ specification_version: 4
85
+ summary: Rails CMS/Blog
86
+ test_files:
87
+ - spec/traxblog/log/development.log
88
+ - spec/traxblog/log/test.log