sequential 0.0.3 → 0.1
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.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d7d306cbad25aff8b148854c126af4fa6fabe01b
|
4
|
+
data.tar.gz: 08da892745f5a4d80da168e2a3d30d20947453dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d150a9b5e838754af69f8212a22ec0b1692480e026bc898228fee1e6fbd0786ce479df336537316bf092946fb2ab7493a187b2fc2508aafe608a123159a234eb
|
7
|
+
data.tar.gz: cfb079dde942dc39aab187690057f7ff2469787268a781c22126e8b9bd4129f797541bf64a1112342cd83f5459be085d9f358c90e08062b67fd32f464340f6da
|
data/lib/sequential/version.rb
CHANGED
@@ -0,0 +1,62 @@
|
|
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 that you check this file into your version control system.
|
13
|
+
|
14
|
+
ActiveRecord::Schema.define(version: 20131126174222) do
|
15
|
+
|
16
|
+
create_table "comments", force: true do |t|
|
17
|
+
t.string "title"
|
18
|
+
t.integer "absolute_number"
|
19
|
+
t.integer "sequential_id"
|
20
|
+
t.integer "post_id"
|
21
|
+
t.datetime "created_at"
|
22
|
+
t.datetime "updated_at"
|
23
|
+
end
|
24
|
+
|
25
|
+
create_table "invoices", force: true do |t|
|
26
|
+
t.integer "client_id"
|
27
|
+
t.integer "sequential_id"
|
28
|
+
end
|
29
|
+
|
30
|
+
create_table "posts", force: true do |t|
|
31
|
+
t.integer "author_id"
|
32
|
+
t.integer "sequential_id"
|
33
|
+
end
|
34
|
+
|
35
|
+
create_table "products", force: true do |t|
|
36
|
+
t.integer "price"
|
37
|
+
t.integer "sequential_id"
|
38
|
+
t.integer "category_id"
|
39
|
+
t.datetime "created_at"
|
40
|
+
t.datetime "updated_at"
|
41
|
+
end
|
42
|
+
|
43
|
+
create_table "sequential", force: true do |t|
|
44
|
+
t.string "model"
|
45
|
+
t.string "column"
|
46
|
+
t.string "scope"
|
47
|
+
t.string "scope_value"
|
48
|
+
t.integer "value"
|
49
|
+
t.datetime "created_at"
|
50
|
+
t.datetime "updated_at"
|
51
|
+
end
|
52
|
+
|
53
|
+
add_index "sequential", ["model", "column", "scope", "scope_value"], name: "index_sequential_on_model_and_column_and_scope_and_scope_value", unique: true
|
54
|
+
|
55
|
+
create_table "stories", force: true do |t|
|
56
|
+
t.string "title"
|
57
|
+
t.integer "story_number"
|
58
|
+
t.datetime "created_at"
|
59
|
+
t.datetime "updated_at"
|
60
|
+
end
|
61
|
+
|
62
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sequential
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: '0.1'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Austin Lin
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-11-
|
12
|
+
date: 2013-11-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -120,10 +120,11 @@ files:
|
|
120
120
|
- test/dummy/config/routes.rb
|
121
121
|
- test/dummy/db/migrate/20131104000033_create_posts.rb
|
122
122
|
- test/dummy/db/migrate/20131104000212_create_invoices.rb
|
123
|
-
- test/dummy/db/migrate/20131104003146_create_sequential.rb
|
124
123
|
- test/dummy/db/migrate/20131104003505_create_products.rb
|
125
124
|
- test/dummy/db/migrate/20131104015719_create_stories.rb
|
126
125
|
- test/dummy/db/migrate/20131104020142_create_comments.rb
|
126
|
+
- test/dummy/db/migrate/20131126174222_create_sequential.rb
|
127
|
+
- test/dummy/db/schema.rb
|
127
128
|
- test/dummy/db/seeds.rb
|
128
129
|
- test/dummy/lib/assets/.keep
|
129
130
|
- test/dummy/lib/tasks/.keep
|
@@ -190,10 +191,11 @@ test_files:
|
|
190
191
|
- test/dummy/config/routes.rb
|
191
192
|
- test/dummy/db/migrate/20131104000033_create_posts.rb
|
192
193
|
- test/dummy/db/migrate/20131104000212_create_invoices.rb
|
193
|
-
- test/dummy/db/migrate/20131104003146_create_sequential.rb
|
194
194
|
- test/dummy/db/migrate/20131104003505_create_products.rb
|
195
195
|
- test/dummy/db/migrate/20131104015719_create_stories.rb
|
196
196
|
- test/dummy/db/migrate/20131104020142_create_comments.rb
|
197
|
+
- test/dummy/db/migrate/20131126174222_create_sequential.rb
|
198
|
+
- test/dummy/db/schema.rb
|
197
199
|
- test/dummy/db/seeds.rb
|
198
200
|
- test/dummy/lib/assets/.keep
|
199
201
|
- test/dummy/lib/tasks/.keep
|