edgarj 4.06.03 → 4.06.04
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/edgarj/version.rb +1 -1
- data/test/dummy/db/schema.rb +37 -37
- data/test/test_helper.rb +8 -7
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8d79e6eb0f0fb2f27b5f2789a2a200d979f1ce9d50240f8d721e25c5f7d34c0
|
4
|
+
data.tar.gz: 45817202c7aae26e26c84c9ae6b811bd6ea676562e9911213a1214035e19ebae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed8b0169f78b7eb25fe0b09a0cb09dc0619a0b27e737af5894f5410e6c4c6b4cc3de94aa7f3dd26f3f44df2f0dccc924225d65eba680d23315c6bcd011feb086
|
7
|
+
data.tar.gz: c8fb72b2ce702e6ff87d37eda5788c2b0ffc62278c7989f7466053884a9aa565a0d9ecbb940e2003d99a4ee2c3feb86a109b6d4595e60a46a10c1d7fa8d5cdee
|
data/lib/edgarj/version.rb
CHANGED
data/test/dummy/db/schema.rb
CHANGED
@@ -13,47 +13,47 @@
|
|
13
13
|
|
14
14
|
ActiveRecord::Schema.define(version: 20160119053447) do
|
15
15
|
|
16
|
-
create_table "authors", force:
|
17
|
-
t.string "name"
|
16
|
+
create_table "authors", force: :cascade do |t|
|
17
|
+
t.string "name", limit: 255
|
18
18
|
t.datetime "created_at"
|
19
19
|
t.datetime "updated_at"
|
20
|
-
t.integer "user_group_id"
|
20
|
+
t.integer "user_group_id", limit: 4
|
21
21
|
end
|
22
22
|
|
23
|
-
create_table "books", force:
|
24
|
-
t.integer "author_id"
|
25
|
-
t.string "name"
|
23
|
+
create_table "books", force: :cascade do |t|
|
24
|
+
t.integer "author_id", limit: 4
|
25
|
+
t.string "name", limit: 255
|
26
26
|
t.datetime "created_at"
|
27
27
|
t.datetime "updated_at"
|
28
28
|
end
|
29
29
|
|
30
|
-
create_table "edgarj_model_permissions", force:
|
31
|
-
t.integer "user_group_id"
|
32
|
-
t.string "name"
|
33
|
-
t.integer "flags"
|
34
|
-
t.datetime "created_at",
|
35
|
-
t.datetime "updated_at",
|
36
|
-
t.string "model"
|
30
|
+
create_table "edgarj_model_permissions", force: :cascade do |t|
|
31
|
+
t.integer "user_group_id", limit: 4
|
32
|
+
t.string "name", limit: 255
|
33
|
+
t.integer "flags", limit: 4
|
34
|
+
t.datetime "created_at", null: false
|
35
|
+
t.datetime "updated_at", null: false
|
36
|
+
t.string "model", limit: 255
|
37
37
|
end
|
38
38
|
|
39
39
|
add_index "edgarj_model_permissions", ["model"], name: "index_edgarj_model_permissions_on_model", using: :btree
|
40
40
|
|
41
|
-
create_table "edgarj_page_infos", force:
|
42
|
-
t.integer "sssn_id"
|
43
|
-
t.string "view"
|
44
|
-
t.string "order_by"
|
45
|
-
t.string "dir"
|
46
|
-
t.integer "page"
|
47
|
-
t.integer "lines"
|
48
|
-
t.text "record_data"
|
41
|
+
create_table "edgarj_page_infos", force: :cascade do |t|
|
42
|
+
t.integer "sssn_id", limit: 4
|
43
|
+
t.string "view", limit: 255
|
44
|
+
t.string "order_by", limit: 255
|
45
|
+
t.string "dir", limit: 255
|
46
|
+
t.integer "page", limit: 4
|
47
|
+
t.integer "lines", limit: 4
|
48
|
+
t.text "record_data", limit: 65535
|
49
49
|
t.datetime "created_at"
|
50
50
|
t.datetime "updated_at"
|
51
51
|
end
|
52
52
|
|
53
|
-
create_table "edgarj_sssns", force:
|
54
|
-
t.string "session_id", null: false
|
55
|
-
t.text "data"
|
56
|
-
t.integer "user_id"
|
53
|
+
create_table "edgarj_sssns", force: :cascade do |t|
|
54
|
+
t.string "session_id", limit: 255, null: false
|
55
|
+
t.text "data", limit: 65535
|
56
|
+
t.integer "user_id", limit: 4
|
57
57
|
t.datetime "created_at"
|
58
58
|
t.datetime "updated_at"
|
59
59
|
end
|
@@ -61,19 +61,19 @@ ActiveRecord::Schema.define(version: 20160119053447) do
|
|
61
61
|
add_index "edgarj_sssns", ["session_id"], name: "index_edgarj_sssns_on_session_id", using: :btree
|
62
62
|
add_index "edgarj_sssns", ["updated_at"], name: "index_edgarj_sssns_on_updated_at", using: :btree
|
63
63
|
|
64
|
-
create_table "edgarj_user_group_users", force:
|
65
|
-
t.integer "user_group_id"
|
66
|
-
t.integer "user_id"
|
64
|
+
create_table "edgarj_user_group_users", force: :cascade do |t|
|
65
|
+
t.integer "user_group_id", limit: 4
|
66
|
+
t.integer "user_id", limit: 4
|
67
67
|
t.datetime "created_at"
|
68
68
|
t.datetime "updated_at"
|
69
69
|
end
|
70
70
|
|
71
|
-
create_table "edgarj_user_groups", force:
|
72
|
-
t.integer "kind"
|
73
|
-
t.string "name"
|
74
|
-
t.integer "parent_id"
|
75
|
-
t.integer "lft"
|
76
|
-
t.integer "rgt"
|
71
|
+
create_table "edgarj_user_groups", force: :cascade do |t|
|
72
|
+
t.integer "kind", limit: 4
|
73
|
+
t.string "name", limit: 255
|
74
|
+
t.integer "parent_id", limit: 4
|
75
|
+
t.integer "lft", limit: 4
|
76
|
+
t.integer "rgt", limit: 4
|
77
77
|
t.datetime "created_at"
|
78
78
|
t.datetime "updated_at"
|
79
79
|
end
|
@@ -83,9 +83,9 @@ ActiveRecord::Schema.define(version: 20160119053447) do
|
|
83
83
|
add_index "edgarj_user_groups", ["parent_id"], name: "index_edgarj_user_groups_on_parent_id", using: :btree
|
84
84
|
add_index "edgarj_user_groups", ["rgt"], name: "index_edgarj_user_groups_on_rgt", using: :btree
|
85
85
|
|
86
|
-
create_table "users", force:
|
87
|
-
t.string "code"
|
88
|
-
t.string "name"
|
86
|
+
create_table "users", force: :cascade do |t|
|
87
|
+
t.string "code", limit: 255
|
88
|
+
t.string "name", limit: 255
|
89
89
|
t.datetime "created_at"
|
90
90
|
t.datetime "updated_at"
|
91
91
|
end
|
data/test/test_helper.rb
CHANGED
@@ -1,21 +1,22 @@
|
|
1
1
|
# Configure Rails Environment
|
2
2
|
ENV["RAILS_ENV"] = "test"
|
3
3
|
|
4
|
-
require File.expand_path("
|
4
|
+
require File.expand_path("../../test/dummy/config/environment.rb", __FILE__)
|
5
|
+
ActiveRecord::Migrator.migrations_paths = [File.expand_path("../../test/dummy/db/migrate", __FILE__)]
|
5
6
|
require "rails/test_help"
|
6
7
|
|
7
|
-
|
8
|
+
# Filter out Minitest backtrace while allowing backtrace from other libraries
|
9
|
+
# to be shown.
|
10
|
+
Minitest.backtrace_filter = Minitest::BacktraceFilter.new
|
8
11
|
|
9
12
|
# Load support files
|
10
13
|
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
11
14
|
|
12
15
|
# Load fixtures from the engine
|
13
|
-
|
16
|
+
if ActiveSupport::TestCase.respond_to?(:fixture_path=)
|
14
17
|
ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
|
15
|
-
|
16
|
-
|
17
|
-
class ActiveSupport::TestCase
|
18
|
-
fixtures :all
|
18
|
+
ActionDispatch::IntegrationTest.fixture_path = ActiveSupport::TestCase.fixture_path
|
19
|
+
ActiveSupport::TestCase.fixtures :all
|
19
20
|
end
|
20
21
|
|
21
22
|
class ActionController::TestCase
|