This commit is contained in:
bry4n 2015-01-25 00:07:20 -06:00
Родитель 49eb03971d
Коммит 4d308ca10e
3 изменённых файлов: 122 добавлений и 78 удалений

Просмотреть файл

@ -1,7 +1,7 @@
source 'https://rubygems.org'
#ruby "2.1.2"
gem 'rails', '4.1.5'
gem 'rails', '4.2'
gem 'rails_12factor', group: :production
gem 'asciidoctor'

Просмотреть файл

@ -1,35 +1,44 @@
GEM
remote: https://rubygems.org/
specs:
actionmailer (4.1.5)
actionpack (= 4.1.5)
actionview (= 4.1.5)
mail (~> 2.5.4)
actionpack (4.1.5)
actionview (= 4.1.5)
activesupport (= 4.1.5)
rack (~> 1.5.2)
actionmailer (4.2.0)
actionpack (= 4.2.0)
actionview (= 4.2.0)
activejob (= 4.2.0)
mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 1.0, >= 1.0.5)
actionpack (4.2.0)
actionview (= 4.2.0)
activesupport (= 4.2.0)
rack (~> 1.6.0)
rack-test (~> 0.6.2)
actionview (4.1.5)
activesupport (= 4.1.5)
rails-dom-testing (~> 1.0, >= 1.0.5)
rails-html-sanitizer (~> 1.0, >= 1.0.1)
actionview (4.2.0)
activesupport (= 4.2.0)
builder (~> 3.1)
erubis (~> 2.7.0)
activemodel (4.1.5)
activesupport (= 4.1.5)
rails-dom-testing (~> 1.0, >= 1.0.5)
rails-html-sanitizer (~> 1.0, >= 1.0.1)
activejob (4.2.0)
activesupport (= 4.2.0)
globalid (>= 0.3.0)
activemodel (4.2.0)
activesupport (= 4.2.0)
builder (~> 3.1)
activerecord (4.1.5)
activemodel (= 4.1.5)
activesupport (= 4.1.5)
arel (~> 5.0.0)
activesupport (4.1.5)
i18n (~> 0.6, >= 0.6.9)
activerecord (4.2.0)
activemodel (= 4.2.0)
activesupport (= 4.2.0)
arel (~> 6.0)
activesupport (4.2.0)
i18n (~> 0.7)
json (~> 1.7, >= 1.7.7)
minitest (~> 5.1)
thread_safe (~> 0.1)
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
addressable (2.3.6)
ansi (1.4.3)
arel (5.0.1.20140414130214)
arel (6.0.0)
asciidoctor (0.1.4)
awesome_print (1.2.0)
better_errors (1.1.0)
@ -83,15 +92,17 @@ GEM
dotenv (~> 0.11.1)
thor (~> 0.19.1)
fssm (0.2.10)
globalid (0.3.0)
activesupport (>= 4.1.0)
haml (4.0.5)
tilt
hashr (0.0.22)
hike (1.2.3)
i18n (0.6.11)
i18n (0.7.0)
jquery-rails (3.1.1)
railties (>= 3.0, < 5.0)
thor (>= 0.14, < 2.0)
json (1.8.1)
json (1.8.2)
kgio (2.9.2)
launchy (2.4.2)
addressable (~> 2.3)
@ -103,13 +114,14 @@ GEM
less-rails-bootstrap (3.2.0)
less-rails (~> 2.5.0)
libv8 (3.16.14.3)
mail (2.5.4)
mime-types (~> 1.16)
treetop (~> 1.4.8)
loofah (2.0.1)
nokogiri (>= 1.5.9)
mail (2.6.3)
mime-types (>= 1.16, < 3)
memcachier (0.0.2)
mime-types (1.25.1)
mini_portile (0.6.0)
minitest (5.4.0)
minitest (5.5.1)
multi_json (1.10.1)
multipart-post (2.0.0)
netrc (0.7.7)
@ -119,34 +131,42 @@ GEM
octokit (3.2.0)
sawyer (~> 0.5.3)
pg (0.17.1)
polyglot (0.3.5)
rack (1.5.2)
rack-test (0.6.2)
rack (1.6.0)
rack-test (0.6.3)
rack (>= 1.0)
rack-timeout (0.0.4)
rails (4.1.5)
actionmailer (= 4.1.5)
actionpack (= 4.1.5)
actionview (= 4.1.5)
activemodel (= 4.1.5)
activerecord (= 4.1.5)
activesupport (= 4.1.5)
rails (4.2.0)
actionmailer (= 4.2.0)
actionpack (= 4.2.0)
actionview (= 4.2.0)
activejob (= 4.2.0)
activemodel (= 4.2.0)
activerecord (= 4.2.0)
activesupport (= 4.2.0)
bundler (>= 1.3.0, < 2.0)
railties (= 4.1.5)
sprockets-rails (~> 2.0)
railties (= 4.2.0)
sprockets-rails
rails-deprecated_sanitizer (1.0.3)
activesupport (>= 4.2.0.alpha)
rails-dom-testing (1.0.5)
activesupport (>= 4.2.0.beta, < 5.0)
nokogiri (~> 1.6.0)
rails-deprecated_sanitizer (>= 1.0.1)
rails-html-sanitizer (1.0.1)
loofah (~> 2.0)
rails-perftest (0.0.4)
rails_12factor (0.0.2)
rails_serve_static_assets
rails_stdout_logging
rails_serve_static_assets (0.0.2)
rails_stdout_logging (0.0.3)
railties (4.1.5)
actionpack (= 4.1.5)
activesupport (= 4.1.5)
railties (4.2.0)
actionpack (= 4.2.0)
activesupport (= 4.2.0)
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
raindrops (0.13.0)
rake (10.3.2)
rake (10.4.2)
rdoc (4.1.1)
json (~> 1.4)
redcarpet (3.1.2)
@ -192,10 +212,10 @@ GEM
multi_json (~> 1.0)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
sprockets-rails (2.1.3)
sprockets-rails (2.2.4)
actionpack (>= 3.0)
activesupport (>= 3.0)
sprockets (~> 2.8)
sprockets (>= 2.8, < 4.0)
sqlite3 (1.3.9)
taps (0.3.24)
rack (>= 1.0.1)
@ -216,9 +236,6 @@ GEM
multi_json (~> 1.3)
rake
rest-client (~> 1.6)
treetop (1.4.15)
polyglot
polyglot (>= 0.3.1)
tzinfo (1.2.2)
thread_safe (~> 0.1)
uglifier (2.5.3)
@ -265,7 +282,7 @@ DEPENDENCIES
octokit
pg
rack-timeout
rails (= 4.1.5)
rails (= 4.2)
rails-perftest
rails_12factor
redcarpet

Просмотреть файл

@ -11,39 +11,49 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20121211011752) do
ActiveRecord::Schema.define(version: 20141027114732) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
create_table "books", force: true do |t|
t.string "code"
create_table "books", force: :cascade do |t|
t.string "code", limit: 255
t.datetime "created_at"
t.datetime "updated_at"
t.integer "edition", default: 1
t.string "ebook_pdf"
t.string "ebook_epub"
t.string "ebook_mobi"
t.string "ebook_html"
t.boolean "processed"
t.integer "percent_complete"
t.string "language"
end
add_index "books", ["code"], name: "index_books_on_code", using: :btree
create_table "chapters", force: true do |t|
t.string "title"
create_table "chapters", force: :cascade do |t|
t.string "title", limit: 255
t.integer "book_id"
t.datetime "created_at"
t.datetime "updated_at"
t.integer "number"
t.string "sha"
t.string "sha", limit: 255
t.string "chapter_type", default: "chapter"
t.string "chapter_number"
end
add_index "chapters", ["book_id"], name: "index_chapters_on_book_id", using: :btree
create_table "doc_files", force: true do |t|
t.string "name"
create_table "doc_files", force: :cascade do |t|
t.string "name", limit: 255
t.datetime "created_at"
t.datetime "updated_at"
end
add_index "doc_files", ["name"], name: "index_doc_files_on_name", using: :btree
create_table "doc_versions", force: true do |t|
create_table "doc_versions", force: :cascade do |t|
t.integer "version_id"
t.integer "doc_id"
t.integer "doc_file_id"
@ -51,8 +61,8 @@ ActiveRecord::Schema.define(version: 20121211011752) do
t.datetime "updated_at"
end
create_table "docs", force: true do |t|
t.string "blob_sha"
create_table "docs", force: :cascade do |t|
t.string "blob_sha", limit: 255
t.text "plain"
t.text "html"
t.datetime "created_at"
@ -61,46 +71,57 @@ ActiveRecord::Schema.define(version: 20121211011752) do
add_index "docs", ["blob_sha"], name: "index_docs_on_blob_sha", using: :btree
create_table "downloads", force: true do |t|
t.string "url"
t.string "filename"
t.string "platform"
create_table "downloads", force: :cascade do |t|
t.string "url", limit: 255
t.string "filename", limit: 255
t.string "platform", limit: 255
t.integer "version_id"
t.datetime "created_at"
t.datetime "updated_at"
t.datetime "release_date"
end
create_table "related_items", force: true do |t|
t.string "name"
t.string "content_type"
t.string "content_url"
t.string "related_type"
t.string "related_id"
create_table "related_items", force: :cascade do |t|
t.string "name", limit: 255
t.string "content_type", limit: 255
t.string "content_url", limit: 255
t.string "related_type", limit: 255
t.string "related_id", limit: 255
t.integer "score"
t.datetime "created_at"
t.datetime "updated_at"
end
create_table "sections", force: true do |t|
t.string "title"
t.string "slug"
create_table "sections", force: :cascade do |t|
t.string "title", limit: 255
t.string "slug", limit: 255
t.text "plain"
t.text "html"
t.integer "chapter_id"
t.datetime "created_at"
t.datetime "updated_at"
t.string "source_url"
t.string "source_url", limit: 255
t.integer "number"
end
add_index "sections", ["chapter_id"], name: "index_sections_on_chapter_id", using: :btree
add_index "sections", ["slug"], name: "index_sections_on_slug", using: :btree
create_table "versions", force: true do |t|
t.string "name"
t.string "commit_sha"
t.string "tree_sha"
create_table "users", force: :cascade do |t|
t.string "screen_name", limit: 255
t.string "github_id", limit: 255
t.string "remember_token", limit: 255
t.datetime "created_at"
t.datetime "updated_at"
end
add_index "users", ["github_id"], name: "index_users_on_github_id", using: :btree
add_index "users", ["remember_token"], name: "index_users_on_remember_token", using: :btree
create_table "versions", force: :cascade do |t|
t.string "name", limit: 255
t.string "commit_sha", limit: 255
t.string "tree_sha", limit: 255
t.datetime "committed"
t.datetime "created_at"
t.datetime "updated_at"
@ -109,4 +130,10 @@ ActiveRecord::Schema.define(version: 20121211011752) do
add_index "versions", ["name"], name: "index_versions_on_name", using: :btree
create_table "xrefs", force: :cascade do |t|
t.integer "section_id"
t.integer "book_id"
t.string "name"
end
end