resource_inclusion 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -1
- data/Gemfile.lock +89 -73
- data/lib/resource_inclusion/version.rb +1 -1
- data/resource_inclusion.gemspec +11 -27
- data/test/app/Gemfile +1 -1
- data/test/app/Gemfile.lock +86 -70
- data/test/app/db/development.sqlite3 +0 -0
- data/test/app/db/test.sqlite3 +0 -0
- data/test/app/log/development.log +35 -288
- data/test/app/log/test.log +35 -89
- metadata +52 -97
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,95 +1,111 @@
|
|
1
1
|
GEM
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
rack (~> 1.2
|
15
|
-
rack-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
arel (
|
32
|
-
builder (
|
33
|
-
diff-lcs (1.1.
|
34
|
-
erubis (2.
|
35
|
-
abstract (>= 1.0.0)
|
4
|
+
actionmailer (3.2.3)
|
5
|
+
actionpack (= 3.2.3)
|
6
|
+
mail (~> 2.4.4)
|
7
|
+
actionpack (3.2.3)
|
8
|
+
activemodel (= 3.2.3)
|
9
|
+
activesupport (= 3.2.3)
|
10
|
+
builder (~> 3.0.0)
|
11
|
+
erubis (~> 2.7.0)
|
12
|
+
journey (~> 1.0.1)
|
13
|
+
rack (~> 1.4.0)
|
14
|
+
rack-cache (~> 1.2)
|
15
|
+
rack-test (~> 0.6.1)
|
16
|
+
sprockets (~> 2.1.2)
|
17
|
+
activemodel (3.2.3)
|
18
|
+
activesupport (= 3.2.3)
|
19
|
+
builder (~> 3.0.0)
|
20
|
+
activerecord (3.2.3)
|
21
|
+
activemodel (= 3.2.3)
|
22
|
+
activesupport (= 3.2.3)
|
23
|
+
arel (~> 3.0.2)
|
24
|
+
tzinfo (~> 0.3.29)
|
25
|
+
activeresource (3.2.3)
|
26
|
+
activemodel (= 3.2.3)
|
27
|
+
activesupport (= 3.2.3)
|
28
|
+
activesupport (3.2.3)
|
29
|
+
i18n (~> 0.6)
|
30
|
+
multi_json (~> 1.0)
|
31
|
+
arel (3.0.2)
|
32
|
+
builder (3.0.0)
|
33
|
+
diff-lcs (1.1.3)
|
34
|
+
erubis (2.7.0)
|
36
35
|
git (1.2.5)
|
37
|
-
|
38
|
-
|
39
|
-
|
36
|
+
hike (1.2.1)
|
37
|
+
i18n (0.6.0)
|
38
|
+
jeweler (1.8.3)
|
39
|
+
bundler (~> 1.0)
|
40
40
|
git (>= 1.2.5)
|
41
41
|
rake
|
42
|
-
|
43
|
-
|
42
|
+
rdoc
|
43
|
+
journey (1.0.3)
|
44
|
+
json (1.7.0)
|
45
|
+
mail (2.4.4)
|
44
46
|
i18n (>= 0.4.0)
|
45
47
|
mime-types (~> 1.16)
|
46
48
|
treetop (~> 1.4.8)
|
47
|
-
mime-types (1.
|
48
|
-
|
49
|
-
|
50
|
-
rack
|
51
|
-
|
52
|
-
|
49
|
+
mime-types (1.18)
|
50
|
+
multi_json (1.3.4)
|
51
|
+
polyglot (0.3.3)
|
52
|
+
rack (1.4.1)
|
53
|
+
rack-cache (1.2)
|
54
|
+
rack (>= 0.4)
|
55
|
+
rack-ssl (1.3.2)
|
56
|
+
rack
|
57
|
+
rack-test (0.6.1)
|
53
58
|
rack (>= 1.0)
|
54
|
-
rails (3.
|
55
|
-
actionmailer (= 3.
|
56
|
-
actionpack (= 3.
|
57
|
-
activerecord (= 3.
|
58
|
-
activeresource (= 3.
|
59
|
-
activesupport (= 3.
|
59
|
+
rails (3.2.3)
|
60
|
+
actionmailer (= 3.2.3)
|
61
|
+
actionpack (= 3.2.3)
|
62
|
+
activerecord (= 3.2.3)
|
63
|
+
activeresource (= 3.2.3)
|
64
|
+
activesupport (= 3.2.3)
|
60
65
|
bundler (~> 1.0)
|
61
|
-
railties (= 3.
|
62
|
-
railties (3.
|
63
|
-
actionpack (= 3.
|
64
|
-
activesupport (= 3.
|
66
|
+
railties (= 3.2.3)
|
67
|
+
railties (3.2.3)
|
68
|
+
actionpack (= 3.2.3)
|
69
|
+
activesupport (= 3.2.3)
|
70
|
+
rack-ssl (~> 1.3.2)
|
65
71
|
rake (>= 0.8.7)
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
rspec-
|
76
|
-
rspec-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
72
|
+
rdoc (~> 3.4)
|
73
|
+
thor (~> 0.14.6)
|
74
|
+
rake (0.9.2.2)
|
75
|
+
rdoc (3.12)
|
76
|
+
json (~> 1.4)
|
77
|
+
rspec (2.9.0)
|
78
|
+
rspec-core (~> 2.9.0)
|
79
|
+
rspec-expectations (~> 2.9.0)
|
80
|
+
rspec-mocks (~> 2.9.0)
|
81
|
+
rspec-core (2.9.0)
|
82
|
+
rspec-expectations (2.9.1)
|
83
|
+
diff-lcs (~> 1.1.3)
|
84
|
+
rspec-mocks (2.9.0)
|
85
|
+
rspec-rails (2.9.0)
|
86
|
+
actionpack (>= 3.0)
|
87
|
+
activesupport (>= 3.0)
|
88
|
+
railties (>= 3.0)
|
89
|
+
rspec (~> 2.9.0)
|
90
|
+
sprockets (2.1.3)
|
91
|
+
hike (~> 1.2)
|
92
|
+
rack (~> 1.0)
|
93
|
+
tilt (~> 1.1, != 1.3.0)
|
94
|
+
sqlite3 (1.3.6)
|
95
|
+
sqlite3-ruby (1.3.3)
|
96
|
+
sqlite3 (>= 1.3.3)
|
82
97
|
thor (0.14.6)
|
83
|
-
|
98
|
+
tilt (1.3.3)
|
99
|
+
treetop (1.4.10)
|
100
|
+
polyglot
|
84
101
|
polyglot (>= 0.3.1)
|
85
|
-
tzinfo (0.3.
|
102
|
+
tzinfo (0.3.33)
|
86
103
|
|
87
104
|
PLATFORMS
|
88
|
-
java
|
89
105
|
ruby
|
90
106
|
|
91
107
|
DEPENDENCIES
|
92
108
|
jeweler
|
93
|
-
rails (
|
109
|
+
rails (>= 3.0.1)
|
94
110
|
rspec-rails
|
95
111
|
sqlite3-ruby
|
data/resource_inclusion.gemspec
CHANGED
@@ -4,14 +4,14 @@
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
|
-
s.name =
|
8
|
-
s.version = "0.0.
|
7
|
+
s.name = "resource_inclusion"
|
8
|
+
s.version = "0.0.2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["John-Mason P. Shackelford"]
|
12
|
-
s.date =
|
13
|
-
s.description =
|
14
|
-
s.email =
|
12
|
+
s.date = "2012-05-03"
|
13
|
+
s.description = "Resource Inclusion allows one to specify once per controller associated resources to be included when a resource is serialized."
|
14
|
+
s.email = "jpshack@gmail.com"
|
15
15
|
s.extra_rdoc_files = [
|
16
16
|
"README.rdoc"
|
17
17
|
]
|
@@ -52,43 +52,27 @@ Gem::Specification.new do |s|
|
|
52
52
|
"test/app/spec/spec_helper.rb",
|
53
53
|
"test/app/spec/support/xpath_matcher.rb"
|
54
54
|
]
|
55
|
-
s.homepage =
|
55
|
+
s.homepage = "http://github.com/jpshackelford/resource_inclusion"
|
56
56
|
s.require_paths = ["lib"]
|
57
|
-
s.rubygems_version =
|
58
|
-
s.summary =
|
59
|
-
s.test_files = [
|
60
|
-
"test/app/app/controllers/application_controller.rb",
|
61
|
-
"test/app/app/controllers/comments_controller.rb",
|
62
|
-
"test/app/app/models/comment.rb",
|
63
|
-
"test/app/app/models/user.rb",
|
64
|
-
"test/app/config/application.rb",
|
65
|
-
"test/app/config/boot.rb",
|
66
|
-
"test/app/config/environment.rb",
|
67
|
-
"test/app/config/environments/test.rb",
|
68
|
-
"test/app/config/routes.rb",
|
69
|
-
"test/app/db/migrate/20110111090943_initial_test.rb",
|
70
|
-
"test/app/spec/controllers/comments_controller_spec.rb",
|
71
|
-
"test/app/spec/spec_helper.rb",
|
72
|
-
"test/app/spec/support/xpath_matcher.rb"
|
73
|
-
]
|
57
|
+
s.rubygems_version = "1.8.10"
|
58
|
+
s.summary = "A handy macro for including associated models in your REST APIs."
|
74
59
|
|
75
60
|
if s.respond_to? :specification_version then
|
76
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
77
61
|
s.specification_version = 3
|
78
62
|
|
79
63
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
80
|
-
s.add_runtime_dependency(%q<rails>, ["
|
64
|
+
s.add_runtime_dependency(%q<rails>, [">= 3.0.1"])
|
81
65
|
s.add_development_dependency(%q<sqlite3-ruby>, [">= 0"])
|
82
66
|
s.add_development_dependency(%q<rspec-rails>, [">= 0"])
|
83
67
|
s.add_development_dependency(%q<jeweler>, [">= 0"])
|
84
68
|
else
|
85
|
-
s.add_dependency(%q<rails>, ["
|
69
|
+
s.add_dependency(%q<rails>, [">= 3.0.1"])
|
86
70
|
s.add_dependency(%q<sqlite3-ruby>, [">= 0"])
|
87
71
|
s.add_dependency(%q<rspec-rails>, [">= 0"])
|
88
72
|
s.add_dependency(%q<jeweler>, [">= 0"])
|
89
73
|
end
|
90
74
|
else
|
91
|
-
s.add_dependency(%q<rails>, ["
|
75
|
+
s.add_dependency(%q<rails>, [">= 3.0.1"])
|
92
76
|
s.add_dependency(%q<sqlite3-ruby>, [">= 0"])
|
93
77
|
s.add_dependency(%q<rspec-rails>, [">= 0"])
|
94
78
|
s.add_dependency(%q<jeweler>, [">= 0"])
|
data/test/app/Gemfile
CHANGED
data/test/app/Gemfile.lock
CHANGED
@@ -1,88 +1,104 @@
|
|
1
1
|
GEM
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
rack (~> 1.2
|
15
|
-
rack-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
arel (
|
32
|
-
builder (
|
33
|
-
diff-lcs (1.1.
|
34
|
-
erubis (2.
|
35
|
-
|
36
|
-
i18n (0.
|
37
|
-
|
38
|
-
|
4
|
+
actionmailer (3.2.3)
|
5
|
+
actionpack (= 3.2.3)
|
6
|
+
mail (~> 2.4.4)
|
7
|
+
actionpack (3.2.3)
|
8
|
+
activemodel (= 3.2.3)
|
9
|
+
activesupport (= 3.2.3)
|
10
|
+
builder (~> 3.0.0)
|
11
|
+
erubis (~> 2.7.0)
|
12
|
+
journey (~> 1.0.1)
|
13
|
+
rack (~> 1.4.0)
|
14
|
+
rack-cache (~> 1.2)
|
15
|
+
rack-test (~> 0.6.1)
|
16
|
+
sprockets (~> 2.1.2)
|
17
|
+
activemodel (3.2.3)
|
18
|
+
activesupport (= 3.2.3)
|
19
|
+
builder (~> 3.0.0)
|
20
|
+
activerecord (3.2.3)
|
21
|
+
activemodel (= 3.2.3)
|
22
|
+
activesupport (= 3.2.3)
|
23
|
+
arel (~> 3.0.2)
|
24
|
+
tzinfo (~> 0.3.29)
|
25
|
+
activeresource (3.2.3)
|
26
|
+
activemodel (= 3.2.3)
|
27
|
+
activesupport (= 3.2.3)
|
28
|
+
activesupport (3.2.3)
|
29
|
+
i18n (~> 0.6)
|
30
|
+
multi_json (~> 1.0)
|
31
|
+
arel (3.0.2)
|
32
|
+
builder (3.0.0)
|
33
|
+
diff-lcs (1.1.3)
|
34
|
+
erubis (2.7.0)
|
35
|
+
hike (1.2.1)
|
36
|
+
i18n (0.6.0)
|
37
|
+
journey (1.0.3)
|
38
|
+
json (1.7.0)
|
39
|
+
mail (2.4.4)
|
39
40
|
i18n (>= 0.4.0)
|
40
41
|
mime-types (~> 1.16)
|
41
42
|
treetop (~> 1.4.8)
|
42
|
-
mime-types (1.
|
43
|
-
|
44
|
-
|
45
|
-
rack
|
46
|
-
|
47
|
-
|
43
|
+
mime-types (1.18)
|
44
|
+
multi_json (1.3.4)
|
45
|
+
polyglot (0.3.3)
|
46
|
+
rack (1.4.1)
|
47
|
+
rack-cache (1.2)
|
48
|
+
rack (>= 0.4)
|
49
|
+
rack-ssl (1.3.2)
|
50
|
+
rack
|
51
|
+
rack-test (0.6.1)
|
48
52
|
rack (>= 1.0)
|
49
|
-
rails (3.
|
50
|
-
actionmailer (= 3.
|
51
|
-
actionpack (= 3.
|
52
|
-
activerecord (= 3.
|
53
|
-
activeresource (= 3.
|
54
|
-
activesupport (= 3.
|
53
|
+
rails (3.2.3)
|
54
|
+
actionmailer (= 3.2.3)
|
55
|
+
actionpack (= 3.2.3)
|
56
|
+
activerecord (= 3.2.3)
|
57
|
+
activeresource (= 3.2.3)
|
58
|
+
activesupport (= 3.2.3)
|
55
59
|
bundler (~> 1.0)
|
56
|
-
railties (= 3.
|
57
|
-
railties (3.
|
58
|
-
actionpack (= 3.
|
59
|
-
activesupport (= 3.
|
60
|
+
railties (= 3.2.3)
|
61
|
+
railties (3.2.3)
|
62
|
+
actionpack (= 3.2.3)
|
63
|
+
activesupport (= 3.2.3)
|
64
|
+
rack-ssl (~> 1.3.2)
|
60
65
|
rake (>= 0.8.7)
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
rspec-
|
71
|
-
rspec-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
66
|
+
rdoc (~> 3.4)
|
67
|
+
thor (~> 0.14.6)
|
68
|
+
rake (0.9.2.2)
|
69
|
+
rdoc (3.12)
|
70
|
+
json (~> 1.4)
|
71
|
+
rspec (2.9.0)
|
72
|
+
rspec-core (~> 2.9.0)
|
73
|
+
rspec-expectations (~> 2.9.0)
|
74
|
+
rspec-mocks (~> 2.9.0)
|
75
|
+
rspec-core (2.9.0)
|
76
|
+
rspec-expectations (2.9.1)
|
77
|
+
diff-lcs (~> 1.1.3)
|
78
|
+
rspec-mocks (2.9.0)
|
79
|
+
rspec-rails (2.9.0)
|
80
|
+
actionpack (>= 3.0)
|
81
|
+
activesupport (>= 3.0)
|
82
|
+
railties (>= 3.0)
|
83
|
+
rspec (~> 2.9.0)
|
84
|
+
sprockets (2.1.3)
|
85
|
+
hike (~> 1.2)
|
86
|
+
rack (~> 1.0)
|
87
|
+
tilt (~> 1.1, != 1.3.0)
|
88
|
+
sqlite3 (1.3.6)
|
89
|
+
sqlite3-ruby (1.3.3)
|
90
|
+
sqlite3 (>= 1.3.3)
|
77
91
|
thor (0.14.6)
|
78
|
-
|
92
|
+
tilt (1.3.3)
|
93
|
+
treetop (1.4.10)
|
94
|
+
polyglot
|
79
95
|
polyglot (>= 0.3.1)
|
80
|
-
tzinfo (0.3.
|
96
|
+
tzinfo (0.3.33)
|
81
97
|
|
82
98
|
PLATFORMS
|
83
99
|
ruby
|
84
100
|
|
85
101
|
DEPENDENCIES
|
86
|
-
rails (
|
102
|
+
rails (>= 3.0.1)
|
87
103
|
rspec-rails
|
88
104
|
sqlite3-ruby
|
Binary file
|
data/test/app/db/test.sqlite3
CHANGED
Binary file
|
@@ -1,288 +1,35 @@
|
|
1
|
-
[1m[
|
2
|
-
|
3
|
-
|
4
|
-
[0m
|
5
|
-
[1m[
|
6
|
-
FROM
|
7
|
-
|
8
|
-
[1m[
|
9
|
-
[1m[
|
10
|
-
[1m[
|
11
|
-
|
12
|
-
|
13
|
-
[0m
|
14
|
-
[1m[
|
15
|
-
[1m[
|
16
|
-
|
17
|
-
|
18
|
-
[0m
|
19
|
-
[1m[
|
20
|
-
[1m[
|
21
|
-
|
22
|
-
|
23
|
-
[0m
|
24
|
-
[1m[
|
25
|
-
[1m[
|
26
|
-
[1m[
|
27
|
-
[1m[
|
28
|
-
|
29
|
-
|
30
|
-
[0m
|
31
|
-
[1m[
|
32
|
-
[1m[
|
33
|
-
[1m[
|
34
|
-
FROM
|
35
|
-
|
36
|
-
[0m
|
37
|
-
[1m[35mSQL (0.1ms)[0m SELECT name
|
38
|
-
FROM sqlite_master
|
39
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
40
|
-
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
41
|
-
[1m[35mSQL (0.1ms)[0m select sqlite_version(*)
|
42
|
-
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
43
|
-
FROM sqlite_master
|
44
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
45
|
-
[0m
|
46
|
-
[1m[35mSQL (3.0ms)[0m CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" text, "user_id" integer)
|
47
|
-
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
48
|
-
FROM sqlite_master
|
49
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
50
|
-
[0m
|
51
|
-
[1m[35mSQL (1.8ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login_id" varchar(255), "display_name" varchar(255), "email" varchar(255))
|
52
|
-
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
53
|
-
FROM sqlite_master
|
54
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
55
|
-
[0m
|
56
|
-
[1m[35mSQL (2.3ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
57
|
-
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
58
|
-
[1m[35mSQL (2.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
59
|
-
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
60
|
-
FROM sqlite_master
|
61
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
62
|
-
[0m
|
63
|
-
[1m[35mSQL (0.1ms)[0m SELECT version FROM "schema_migrations"
|
64
|
-
[1m[36mSQL (4.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20110111090943')[0m
|
65
|
-
[1m[36mSQL (0.4ms)[0m [1m SELECT name
|
66
|
-
FROM sqlite_master
|
67
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
68
|
-
[0m
|
69
|
-
[1m[35mSQL (0.1ms)[0m SELECT name
|
70
|
-
FROM sqlite_master
|
71
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
72
|
-
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
73
|
-
[1m[35mSQL (0.1ms)[0m select sqlite_version(*)
|
74
|
-
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
75
|
-
FROM sqlite_master
|
76
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
77
|
-
[0m
|
78
|
-
[1m[35mSQL (3.0ms)[0m CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" text, "user_id" integer)
|
79
|
-
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
80
|
-
FROM sqlite_master
|
81
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
82
|
-
[0m
|
83
|
-
[1m[35mSQL (1.8ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login_id" varchar(255), "display_name" varchar(255), "email" varchar(255))
|
84
|
-
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
85
|
-
FROM sqlite_master
|
86
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
87
|
-
[0m
|
88
|
-
[1m[35mSQL (2.3ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
89
|
-
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
90
|
-
[1m[35mSQL (2.6ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
91
|
-
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
92
|
-
FROM sqlite_master
|
93
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
94
|
-
[0m
|
95
|
-
[1m[35mSQL (0.1ms)[0m SELECT version FROM "schema_migrations"
|
96
|
-
[1m[36mSQL (2.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20110111090943')[0m
|
97
|
-
[1m[36mSQL (0.4ms)[0m [1m SELECT name
|
98
|
-
FROM sqlite_master
|
99
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
100
|
-
[0m
|
101
|
-
[1m[35mSQL (0.1ms)[0m SELECT name
|
102
|
-
FROM sqlite_master
|
103
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
104
|
-
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
105
|
-
[1m[35mSQL (0.1ms)[0m select sqlite_version(*)
|
106
|
-
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
107
|
-
FROM sqlite_master
|
108
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
109
|
-
[0m
|
110
|
-
[1m[35mSQL (4.0ms)[0m CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" text, "user_id" integer)
|
111
|
-
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
112
|
-
FROM sqlite_master
|
113
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
114
|
-
[0m
|
115
|
-
[1m[35mSQL (2.0ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login_id" varchar(255), "display_name" varchar(255), "email" varchar(255))
|
116
|
-
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
117
|
-
FROM sqlite_master
|
118
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
119
|
-
[0m
|
120
|
-
[1m[35mSQL (2.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
121
|
-
[1m[36mSQL (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
122
|
-
[1m[35mSQL (1.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
123
|
-
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
124
|
-
FROM sqlite_master
|
125
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
126
|
-
[0m
|
127
|
-
[1m[35mSQL (0.1ms)[0m SELECT version FROM "schema_migrations"
|
128
|
-
[1m[36mSQL (2.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20110111090943')[0m
|
129
|
-
[1m[36mSQL (0.5ms)[0m [1m SELECT name
|
130
|
-
FROM sqlite_master
|
131
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
132
|
-
[0m
|
133
|
-
[1m[35mSQL (0.1ms)[0m SELECT name
|
134
|
-
FROM sqlite_master
|
135
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
136
|
-
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
137
|
-
[1m[35mSQL (0.1ms)[0m select sqlite_version(*)
|
138
|
-
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
139
|
-
FROM sqlite_master
|
140
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
141
|
-
[0m
|
142
|
-
[1m[35mSQL (3.3ms)[0m CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" text, "user_id" integer)
|
143
|
-
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
144
|
-
FROM sqlite_master
|
145
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
146
|
-
[0m
|
147
|
-
[1m[35mSQL (1.8ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login_id" varchar(255), "display_name" varchar(255), "email" varchar(255))
|
148
|
-
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
149
|
-
FROM sqlite_master
|
150
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
151
|
-
[0m
|
152
|
-
[1m[35mSQL (2.5ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
153
|
-
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
154
|
-
[1m[35mSQL (2.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
155
|
-
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
156
|
-
FROM sqlite_master
|
157
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
158
|
-
[0m
|
159
|
-
[1m[35mSQL (0.1ms)[0m SELECT version FROM "schema_migrations"
|
160
|
-
[1m[36mSQL (2.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20110111090943')[0m
|
161
|
-
[1m[36mSQL (0.5ms)[0m [1m SELECT name
|
162
|
-
FROM sqlite_master
|
163
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
164
|
-
[0m
|
165
|
-
[1m[35mSQL (0.1ms)[0m SELECT name
|
166
|
-
FROM sqlite_master
|
167
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
168
|
-
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
169
|
-
[1m[35mSQL (0.1ms)[0m select sqlite_version(*)
|
170
|
-
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
171
|
-
FROM sqlite_master
|
172
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
173
|
-
[0m
|
174
|
-
[1m[35mSQL (3.1ms)[0m CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" text, "user_id" integer)
|
175
|
-
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
176
|
-
FROM sqlite_master
|
177
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
178
|
-
[0m
|
179
|
-
[1m[35mSQL (1.9ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login_id" varchar(255), "display_name" varchar(255), "email" varchar(255))
|
180
|
-
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
181
|
-
FROM sqlite_master
|
182
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
183
|
-
[0m
|
184
|
-
[1m[35mSQL (2.4ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
185
|
-
[1m[36mSQL (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
186
|
-
[1m[35mSQL (1.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
187
|
-
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
188
|
-
FROM sqlite_master
|
189
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
190
|
-
[0m
|
191
|
-
[1m[35mSQL (0.1ms)[0m SELECT version FROM "schema_migrations"
|
192
|
-
[1m[36mSQL (2.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20110111090943')[0m
|
193
|
-
[1m[36mSQL (0.4ms)[0m [1m SELECT name
|
194
|
-
FROM sqlite_master
|
195
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
196
|
-
[0m
|
197
|
-
[1m[35mSQL (0.1ms)[0m SELECT name
|
198
|
-
FROM sqlite_master
|
199
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
200
|
-
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
201
|
-
[1m[35mSQL (0.1ms)[0m select sqlite_version(*)
|
202
|
-
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
203
|
-
FROM sqlite_master
|
204
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
205
|
-
[0m
|
206
|
-
[1m[35mSQL (3.1ms)[0m CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" text, "user_id" integer)
|
207
|
-
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
208
|
-
FROM sqlite_master
|
209
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
210
|
-
[0m
|
211
|
-
[1m[35mSQL (1.8ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login_id" varchar(255), "display_name" varchar(255), "email" varchar(255))
|
212
|
-
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
213
|
-
FROM sqlite_master
|
214
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
215
|
-
[0m
|
216
|
-
[1m[35mSQL (2.4ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
217
|
-
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
218
|
-
[1m[35mSQL (2.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
219
|
-
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
220
|
-
FROM sqlite_master
|
221
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
222
|
-
[0m
|
223
|
-
[1m[35mSQL (0.1ms)[0m SELECT version FROM "schema_migrations"
|
224
|
-
[1m[36mSQL (2.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20110111090943')[0m
|
225
|
-
[1m[36mSQL (0.4ms)[0m [1m SELECT name
|
226
|
-
FROM sqlite_master
|
227
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
228
|
-
[0m
|
229
|
-
[1m[35mSQL (0.1ms)[0m SELECT name
|
230
|
-
FROM sqlite_master
|
231
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
232
|
-
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
233
|
-
[1m[35mSQL (0.1ms)[0m select sqlite_version(*)
|
234
|
-
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
235
|
-
FROM sqlite_master
|
236
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
237
|
-
[0m
|
238
|
-
[1m[35mSQL (3.2ms)[0m CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" text, "user_id" integer)
|
239
|
-
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
240
|
-
FROM sqlite_master
|
241
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
242
|
-
[0m
|
243
|
-
[1m[35mSQL (1.9ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login_id" varchar(255), "display_name" varchar(255), "email" varchar(255))
|
244
|
-
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
245
|
-
FROM sqlite_master
|
246
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
247
|
-
[0m
|
248
|
-
[1m[35mSQL (2.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
249
|
-
[1m[36mSQL (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
250
|
-
[1m[35mSQL (1.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
251
|
-
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
252
|
-
FROM sqlite_master
|
253
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
254
|
-
[0m
|
255
|
-
[1m[35mSQL (0.1ms)[0m SELECT version FROM "schema_migrations"
|
256
|
-
[1m[36mSQL (2.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20110111090943')[0m
|
257
|
-
[1m[36mSQL (0.4ms)[0m [1m SELECT name
|
258
|
-
FROM sqlite_master
|
259
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
260
|
-
[0m
|
261
|
-
[1m[35mSQL (0.1ms)[0m SELECT name
|
262
|
-
FROM sqlite_master
|
263
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
264
|
-
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
265
|
-
[1m[35mSQL (0.1ms)[0m select sqlite_version(*)
|
266
|
-
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
267
|
-
FROM sqlite_master
|
268
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
269
|
-
[0m
|
270
|
-
[1m[35mSQL (4.0ms)[0m CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" text, "user_id" integer)
|
271
|
-
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
272
|
-
FROM sqlite_master
|
273
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
274
|
-
[0m
|
275
|
-
[1m[35mSQL (1.8ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login_id" varchar(255), "display_name" varchar(255), "email" varchar(255))
|
276
|
-
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
277
|
-
FROM sqlite_master
|
278
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
279
|
-
[0m
|
280
|
-
[1m[35mSQL (2.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
281
|
-
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
282
|
-
[1m[35mSQL (3.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
283
|
-
[1m[36mSQL (0.4ms)[0m [1m SELECT name
|
284
|
-
FROM sqlite_master
|
285
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
286
|
-
[0m
|
287
|
-
[1m[35mSQL (0.2ms)[0m SELECT version FROM "schema_migrations"
|
288
|
-
[1m[36mSQL (3.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20110111090943')[0m
|
1
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
2
|
+
[1m[35m (21.3ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
3
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
4
|
+
[1m[35m (12.5ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
5
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
6
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
7
|
+
Migrating to InitialTest (20110111090943)
|
8
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
9
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login_id" varchar(255), "display_name" varchar(255), "email" varchar(255))
|
11
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" text, "user_id" integer) [0m
|
12
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110111090943')
|
13
|
+
[1m[36m (15.1ms)[0m [1mcommit transaction[0m
|
14
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
15
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
16
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("comments")
|
17
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
18
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
19
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
20
|
+
[1m[36m (16.6ms)[0m [1mCREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" text, "user_id" integer) [0m
|
21
|
+
[1m[35m (10.8ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login_id" varchar(255), "display_name" varchar(255), "email" varchar(255))
|
22
|
+
[1m[36m (10.7ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
23
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
24
|
+
[1m[36m (11.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
25
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
26
|
+
[1m[36m (10.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20110111090943')[0m
|
27
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
28
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
29
|
+
[1m[36m (15.2ms)[0m [1mCREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" text, "user_id" integer) [0m
|
30
|
+
[1m[35m (9.5ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login_id" varchar(255), "display_name" varchar(255), "email" varchar(255))
|
31
|
+
[1m[36m (10.7ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
32
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
33
|
+
[1m[36m (9.4ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
34
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
35
|
+
[1m[36m (9.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20110111090943')[0m
|
data/test/app/log/test.log
CHANGED
@@ -1,90 +1,36 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.0ms)
|
8
|
-
Processing by CommentsController#show as JSON
|
9
|
-
Parameters: {"id"=>"1"}
|
10
|
-
Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)
|
11
|
-
Processing by CommentsController#index as XML
|
12
|
-
Completed 200 OK in 22ms (Views: 17.4ms | ActiveRecord: 0.0ms)
|
13
|
-
Processing by CommentsController#index as JSON
|
14
|
-
Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.0ms)
|
15
|
-
Processing by CommentsController#show as XML
|
16
|
-
Parameters: {"id"=>"1"}
|
17
|
-
Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.0ms)
|
18
|
-
Processing by CommentsController#show as JSON
|
19
|
-
Parameters: {"id"=>"1"}
|
20
|
-
Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)
|
21
|
-
Processing by CommentsController#index as XML
|
22
|
-
Completed 200 OK in 22ms (Views: 17.4ms | ActiveRecord: 0.0ms)
|
23
|
-
Processing by CommentsController#index as JSON
|
24
|
-
Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.0ms)
|
25
|
-
Processing by CommentsController#show as XML
|
26
|
-
Parameters: {"id"=>"1"}
|
27
|
-
Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.0ms)
|
28
|
-
Processing by CommentsController#show as JSON
|
29
|
-
Parameters: {"id"=>"1"}
|
30
|
-
Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.0ms)
|
31
|
-
Processing by CommentsController#index as XML
|
32
|
-
Completed 200 OK in 22ms (Views: 17.5ms | ActiveRecord: 0.0ms)
|
33
|
-
Processing by CommentsController#index as JSON
|
34
|
-
Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.0ms)
|
35
|
-
Processing by CommentsController#show as XML
|
36
|
-
Parameters: {"id"=>"1"}
|
37
|
-
Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.0ms)
|
38
|
-
Processing by CommentsController#show as JSON
|
39
|
-
Parameters: {"id"=>"1"}
|
40
|
-
Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
41
|
-
Processing by CommentsController#index as XML
|
42
|
-
Completed 200 OK in 22ms (Views: 17.2ms | ActiveRecord: 0.0ms)
|
43
|
-
Processing by CommentsController#index as JSON
|
44
|
-
Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.0ms)
|
45
|
-
Processing by CommentsController#show as XML
|
46
|
-
Parameters: {"id"=>"1"}
|
47
|
-
Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.0ms)
|
48
|
-
Processing by CommentsController#show as JSON
|
49
|
-
Parameters: {"id"=>"1"}
|
1
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
2
|
+
Processing by CommentsController#index as XML
|
3
|
+
Completed 200 OK in 95ms (Views: 16.4ms | ActiveRecord: 0.0ms)
|
4
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
5
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6
|
+
Processing by CommentsController#index as JSON
|
50
7
|
Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
Parameters: {"id"=>"1"}
|
60
|
-
Completed 200 OK in
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
Completed 200 OK in
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
81
|
-
Processing by CommentsController#index as XML
|
82
|
-
Completed 200 OK in 21ms (Views: 15.9ms | ActiveRecord: 0.0ms)
|
83
|
-
Processing by CommentsController#index as JSON
|
84
|
-
Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.0ms)
|
85
|
-
Processing by CommentsController#show as XML
|
86
|
-
Parameters: {"id"=>"1"}
|
87
|
-
Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.0ms)
|
88
|
-
Processing by CommentsController#show as JSON
|
89
|
-
Parameters: {"id"=>"1"}
|
90
|
-
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
8
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
9
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10
|
+
Processing by CommentsController#show as XML
|
11
|
+
Parameters: {"id"=>"1"}
|
12
|
+
Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)
|
13
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
14
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15
|
+
Processing by CommentsController#show as JSON
|
16
|
+
Parameters: {"id"=>"1"}
|
17
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
18
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
19
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
20
|
+
Processing by CommentsController#index as XML
|
21
|
+
Completed 200 OK in 96ms (Views: 19.1ms | ActiveRecord: 0.0ms)
|
22
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
23
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24
|
+
Processing by CommentsController#index as JSON
|
25
|
+
Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)
|
26
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
27
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
28
|
+
Processing by CommentsController#show as XML
|
29
|
+
Parameters: {"id"=>"1"}
|
30
|
+
Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)
|
31
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
32
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33
|
+
Processing by CommentsController#show as JSON
|
34
|
+
Parameters: {"id"=>"1"}
|
35
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
36
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
metadata
CHANGED
@@ -1,90 +1,68 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: resource_inclusion
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 0
|
9
|
-
- 1
|
10
|
-
version: 0.0.1
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.2
|
5
|
+
prerelease:
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- John-Mason P. Shackelford
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
dependencies:
|
21
|
-
- !ruby/object:Gem::Dependency
|
22
|
-
prerelease: false
|
12
|
+
date: 2012-05-03 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
23
15
|
name: rails
|
24
|
-
|
16
|
+
requirement: &17494480 !ruby/object:Gem::Requirement
|
25
17
|
none: false
|
26
|
-
requirements:
|
27
|
-
- -
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
hash: 5
|
30
|
-
segments:
|
31
|
-
- 3
|
32
|
-
- 0
|
33
|
-
- 1
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
34
21
|
version: 3.0.1
|
35
|
-
requirement: *id001
|
36
22
|
type: :runtime
|
37
|
-
- !ruby/object:Gem::Dependency
|
38
23
|
prerelease: false
|
24
|
+
version_requirements: *17494480
|
25
|
+
- !ruby/object:Gem::Dependency
|
39
26
|
name: sqlite3-ruby
|
40
|
-
|
27
|
+
requirement: &17493080 !ruby/object:Gem::Requirement
|
41
28
|
none: false
|
42
|
-
requirements:
|
43
|
-
- -
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
|
46
|
-
segments:
|
47
|
-
- 0
|
48
|
-
version: "0"
|
49
|
-
requirement: *id002
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0'
|
50
33
|
type: :development
|
51
|
-
- !ruby/object:Gem::Dependency
|
52
34
|
prerelease: false
|
35
|
+
version_requirements: *17493080
|
36
|
+
- !ruby/object:Gem::Dependency
|
53
37
|
name: rspec-rails
|
54
|
-
|
38
|
+
requirement: &17492400 !ruby/object:Gem::Requirement
|
55
39
|
none: false
|
56
|
-
requirements:
|
57
|
-
- -
|
58
|
-
- !ruby/object:Gem::Version
|
59
|
-
|
60
|
-
segments:
|
61
|
-
- 0
|
62
|
-
version: "0"
|
63
|
-
requirement: *id003
|
40
|
+
requirements:
|
41
|
+
- - ! '>='
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '0'
|
64
44
|
type: :development
|
65
|
-
- !ruby/object:Gem::Dependency
|
66
45
|
prerelease: false
|
46
|
+
version_requirements: *17492400
|
47
|
+
- !ruby/object:Gem::Dependency
|
67
48
|
name: jeweler
|
68
|
-
|
49
|
+
requirement: &17491140 !ruby/object:Gem::Requirement
|
69
50
|
none: false
|
70
|
-
requirements:
|
71
|
-
- -
|
72
|
-
- !ruby/object:Gem::Version
|
73
|
-
|
74
|
-
segments:
|
75
|
-
- 0
|
76
|
-
version: "0"
|
77
|
-
requirement: *id004
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
78
55
|
type: :development
|
79
|
-
|
56
|
+
prerelease: false
|
57
|
+
version_requirements: *17491140
|
58
|
+
description: Resource Inclusion allows one to specify once per controller associated
|
59
|
+
resources to be included when a resource is serialized.
|
80
60
|
email: jpshack@gmail.com
|
81
61
|
executables: []
|
82
|
-
|
83
62
|
extensions: []
|
84
|
-
|
85
|
-
extra_rdoc_files:
|
63
|
+
extra_rdoc_files:
|
86
64
|
- README.rdoc
|
87
|
-
files:
|
65
|
+
files:
|
88
66
|
- CHANGELOG
|
89
67
|
- Gemfile
|
90
68
|
- Gemfile.lock
|
@@ -120,51 +98,28 @@ files:
|
|
120
98
|
- test/app/spec/controllers/comments_controller_spec.rb
|
121
99
|
- test/app/spec/spec_helper.rb
|
122
100
|
- test/app/spec/support/xpath_matcher.rb
|
123
|
-
has_rdoc: true
|
124
101
|
homepage: http://github.com/jpshackelford/resource_inclusion
|
125
102
|
licenses: []
|
126
|
-
|
127
103
|
post_install_message:
|
128
104
|
rdoc_options: []
|
129
|
-
|
130
|
-
require_paths:
|
105
|
+
require_paths:
|
131
106
|
- lib
|
132
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
107
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
133
108
|
none: false
|
134
|
-
requirements:
|
135
|
-
- -
|
136
|
-
- !ruby/object:Gem::Version
|
137
|
-
|
138
|
-
|
139
|
-
- 0
|
140
|
-
version: "0"
|
141
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
109
|
+
requirements:
|
110
|
+
- - ! '>='
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: '0'
|
113
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
142
114
|
none: false
|
143
|
-
requirements:
|
144
|
-
- -
|
145
|
-
- !ruby/object:Gem::Version
|
146
|
-
|
147
|
-
segments:
|
148
|
-
- 0
|
149
|
-
version: "0"
|
115
|
+
requirements:
|
116
|
+
- - ! '>='
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
version: '0'
|
150
119
|
requirements: []
|
151
|
-
|
152
120
|
rubyforge_project:
|
153
|
-
rubygems_version: 1.
|
121
|
+
rubygems_version: 1.8.10
|
154
122
|
signing_key:
|
155
123
|
specification_version: 3
|
156
124
|
summary: A handy macro for including associated models in your REST APIs.
|
157
|
-
test_files:
|
158
|
-
- test/app/app/controllers/application_controller.rb
|
159
|
-
- test/app/app/controllers/comments_controller.rb
|
160
|
-
- test/app/app/models/comment.rb
|
161
|
-
- test/app/app/models/user.rb
|
162
|
-
- test/app/config/application.rb
|
163
|
-
- test/app/config/boot.rb
|
164
|
-
- test/app/config/environment.rb
|
165
|
-
- test/app/config/environments/test.rb
|
166
|
-
- test/app/config/routes.rb
|
167
|
-
- test/app/db/migrate/20110111090943_initial_test.rb
|
168
|
-
- test/app/spec/controllers/comments_controller_spec.rb
|
169
|
-
- test/app/spec/spec_helper.rb
|
170
|
-
- test/app/spec/support/xpath_matcher.rb
|
125
|
+
test_files: []
|