jobs 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +3 -0
- data/README.md +3 -1
- data/jobs.gemspec +8 -1
- data/lib/jobs/version.rb +1 -1
- metadata +2 -14
- data/spec/jobs_spec.rb +0 -25
- data/spec/spec_helper.rb +0 -5
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/production.sqlite3 +0 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +0 -284
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d97028c5a1294dc67b59baafb70beace43de66cc
|
4
|
+
data.tar.gz: c732aa43ecc87231c539edeb3ceef0c8ca15791b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 90343d01c73fea0e71885598761dd999437b10e2d55a61fcfa40210a01404034092af9ecaf4d6e65b94480c0e274317af19e424cfcd221abe40f68a00586ff27
|
7
|
+
data.tar.gz: f737a704e778d431b187bede0ad4e17f196c97e1bcd09390f442a2419121183ee0b316d4a79335ccb76f1bc00d088d158ba11c91a1e9c6750abcd1a1b5c6831a
|
data/.gitignore
CHANGED
data/README.md
CHANGED
@@ -11,7 +11,7 @@ the jobber(s) assigned to the job.
|
|
11
11
|
|
12
12
|
[![Build Status](https://travis-ci.org/wdiechmann/jobs.svg?branch=master)](https://travis-ci.org/wdiechmann/jobs)
|
13
13
|
|
14
|
-
[![Gem Version](https://badge.fury.io/rb/jobs.png)](http://badge.fury.io/rb/
|
14
|
+
[![Gem Version](https://badge.fury.io/rb/jobs.png)](http://badge.fury.io/rb/jobs)
|
15
15
|
|
16
16
|
[![Coverage Status](https://coveralls.io/repos/wdiechmann/jobs/badge.png)](https://coveralls.io/r/wdiechmann/jobs)
|
17
17
|
|
@@ -68,3 +68,5 @@ complete any of these tasks to use the gem!
|
|
68
68
|
- rake install
|
69
69
|
- rake release
|
70
70
|
17. make the gem a mountable Rails Engine - following the [Rails Engine Guide](http://edgeguides.rubyonrails.org/engines.html) transposing the blorgh to jobs
|
71
|
+
- watch out for engine test\_helper.rb not set up correct - see https://github.com/rails/rails/issues/4971 and the b72ecc0 and 2317655 commits
|
72
|
+
18. cleaning up test/dummy/db and .gitignore and bump version to .5
|
data/jobs.gemspec
CHANGED
@@ -29,7 +29,14 @@ Gem::Specification.new do |spec|
|
|
29
29
|
|
30
30
|
spec.add_development_dependency "bundler", "~> 1.7"
|
31
31
|
spec.add_development_dependency "rake", "~> 10.0"
|
32
|
-
|
32
|
+
case Gem::Platform.local.os
|
33
|
+
when "java"
|
34
|
+
spec.add_development_dependency "activerecord-jdbcsqlite3-adapter"
|
35
|
+
else
|
36
|
+
# spec.add_development_dependency "mysql2"
|
37
|
+
spec.add_development_dependency "sqlite3"
|
38
|
+
end
|
39
|
+
|
33
40
|
spec.add_development_dependency "rspec"
|
34
41
|
spec.add_development_dependency "rspec-nc"
|
35
42
|
spec.add_development_dependency "guard"
|
data/lib/jobs/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jobs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Walther H Diechmann
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-11-
|
11
|
+
date: 2014-11-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -221,8 +221,6 @@ files:
|
|
221
221
|
- lib/jobs/engine.rb
|
222
222
|
- lib/jobs/version.rb
|
223
223
|
- lib/tasks/jobs_tasks.rake
|
224
|
-
- spec/jobs_spec.rb
|
225
|
-
- spec/spec_helper.rb
|
226
224
|
- test/controllers/jobs/jobs_controller_test.rb
|
227
225
|
- test/dummy/README.rdoc
|
228
226
|
- test/dummy/Rakefile
|
@@ -258,13 +256,9 @@ files:
|
|
258
256
|
- test/dummy/config/locales/en.yml
|
259
257
|
- test/dummy/config/routes.rb
|
260
258
|
- test/dummy/config/secrets.yml
|
261
|
-
- test/dummy/db/development.sqlite3
|
262
|
-
- test/dummy/db/production.sqlite3
|
263
259
|
- test/dummy/db/schema.rb
|
264
|
-
- test/dummy/db/test.sqlite3
|
265
260
|
- test/dummy/lib/assets/.keep
|
266
261
|
- test/dummy/log/.keep
|
267
|
-
- test/dummy/log/test.log
|
268
262
|
- test/dummy/public/404.html
|
269
263
|
- test/dummy/public/422.html
|
270
264
|
- test/dummy/public/500.html
|
@@ -310,8 +304,6 @@ signing_key:
|
|
310
304
|
specification_version: 4
|
311
305
|
summary: Keep a tab on vacant and assigned jobs on SL2017
|
312
306
|
test_files:
|
313
|
-
- spec/jobs_spec.rb
|
314
|
-
- spec/spec_helper.rb
|
315
307
|
- test/controllers/jobs/jobs_controller_test.rb
|
316
308
|
- test/dummy/README.rdoc
|
317
309
|
- test/dummy/Rakefile
|
@@ -347,13 +339,9 @@ test_files:
|
|
347
339
|
- test/dummy/config/locales/en.yml
|
348
340
|
- test/dummy/config/routes.rb
|
349
341
|
- test/dummy/config/secrets.yml
|
350
|
-
- test/dummy/db/development.sqlite3
|
351
|
-
- test/dummy/db/production.sqlite3
|
352
342
|
- test/dummy/db/schema.rb
|
353
|
-
- test/dummy/db/test.sqlite3
|
354
343
|
- test/dummy/lib/assets/.keep
|
355
344
|
- test/dummy/log/.keep
|
356
|
-
- test/dummy/log/test.log
|
357
345
|
- test/dummy/public/404.html
|
358
346
|
- test/dummy/public/422.html
|
359
347
|
- test/dummy/public/500.html
|
data/spec/jobs_spec.rb
DELETED
@@ -1,25 +0,0 @@
|
|
1
|
-
require 'spec_helper'
|
2
|
-
|
3
|
-
# the Job API goes here
|
4
|
-
describe Jobs do
|
5
|
-
subject { Job.new }
|
6
|
-
|
7
|
-
describe '#process' do
|
8
|
-
let(:input) { 'My grandmom gave me a sweater for Christmas.' }
|
9
|
-
let(:output) { subject.process(input) }
|
10
|
-
|
11
|
-
it 'converts to lowercase' do
|
12
|
-
expect(output.downcase).to eq output
|
13
|
-
end
|
14
|
-
|
15
|
-
it 'combines nouns with doge adjectives' do
|
16
|
-
expect(output).to match /so grandmom\./i
|
17
|
-
expect(output).to match /such sweater\./i
|
18
|
-
expect(output).to match /very christmas\./i
|
19
|
-
end
|
20
|
-
|
21
|
-
it 'always appends "wow."' do
|
22
|
-
expect(output).to end_with 'wow.'
|
23
|
-
end
|
24
|
-
end
|
25
|
-
end
|
data/spec/spec_helper.rb
DELETED
File without changes
|
File without changes
|
data/test/dummy/db/test.sqlite3
DELETED
Binary file
|
data/test/dummy/log/test.log
DELETED
@@ -1,284 +0,0 @@
|
|
1
|
-
[1m[36m (0.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
2
|
-
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
3
|
-
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
4
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
5
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
6
|
-
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
7
|
-
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
8
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
9
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
10
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
11
|
-
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
12
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
13
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
14
|
-
Migrating to CreateJobsJobs (20141102175536)
|
15
|
-
[1m[35m (0.1ms)[0m begin transaction
|
16
|
-
[1m[36m (0.4ms)[0m [1mCREATE TABLE "jobs_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "where_to" varchar(255), "when_to" varchar(255), "how_to" varchar(255), "who_to" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime) [0m
|
17
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141102175536"]]
|
18
|
-
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
19
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
20
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
21
|
-
[1m[35m (0.1ms)[0m begin transaction
|
22
|
-
--------------------------------------------
|
23
|
-
JobsTest: test_make_sure_it_is_a_Jobs_module
|
24
|
-
--------------------------------------------
|
25
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
26
|
-
[1m[35m (0.0ms)[0m begin transaction
|
27
|
-
------------------------------------------------
|
28
|
-
Jobs::JobsControllerTest: test_should_create_job
|
29
|
-
------------------------------------------------
|
30
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
31
|
-
[1m[35m (0.1ms)[0m begin transaction
|
32
|
-
-------------------------------------------------
|
33
|
-
Jobs::JobsControllerTest: test_should_destroy_job
|
34
|
-
-------------------------------------------------
|
35
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
36
|
-
[1m[35m (0.0ms)[0m begin transaction
|
37
|
-
----------------------------------------------
|
38
|
-
Jobs::JobsControllerTest: test_should_get_edit
|
39
|
-
----------------------------------------------
|
40
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
41
|
-
[1m[35m (0.0ms)[0m begin transaction
|
42
|
-
-----------------------------------------------
|
43
|
-
Jobs::JobsControllerTest: test_should_get_index
|
44
|
-
-----------------------------------------------
|
45
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46
|
-
[1m[35m (0.0ms)[0m begin transaction
|
47
|
-
---------------------------------------------
|
48
|
-
Jobs::JobsControllerTest: test_should_get_new
|
49
|
-
---------------------------------------------
|
50
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
51
|
-
[1m[35m (0.0ms)[0m begin transaction
|
52
|
-
----------------------------------------------
|
53
|
-
Jobs::JobsControllerTest: test_should_show_job
|
54
|
-
----------------------------------------------
|
55
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
56
|
-
[1m[35m (0.0ms)[0m begin transaction
|
57
|
-
------------------------------------------------
|
58
|
-
Jobs::JobsControllerTest: test_should_update_job
|
59
|
-
------------------------------------------------
|
60
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
61
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
62
|
-
[1m[35m (0.1ms)[0m begin transaction
|
63
|
-
--------------------------------------------
|
64
|
-
JobsTest: test_make_sure_it_is_a_Jobs_module
|
65
|
-
--------------------------------------------
|
66
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
67
|
-
[1m[35m (0.0ms)[0m begin transaction
|
68
|
-
------------------------------------------------
|
69
|
-
Jobs::JobsControllerTest: test_should_create_job
|
70
|
-
------------------------------------------------
|
71
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
72
|
-
[1m[35m (0.0ms)[0m begin transaction
|
73
|
-
-------------------------------------------------
|
74
|
-
Jobs::JobsControllerTest: test_should_destroy_job
|
75
|
-
-------------------------------------------------
|
76
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
77
|
-
[1m[35m (0.1ms)[0m begin transaction
|
78
|
-
----------------------------------------------
|
79
|
-
Jobs::JobsControllerTest: test_should_get_edit
|
80
|
-
----------------------------------------------
|
81
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
82
|
-
[1m[35m (0.0ms)[0m begin transaction
|
83
|
-
-----------------------------------------------
|
84
|
-
Jobs::JobsControllerTest: test_should_get_index
|
85
|
-
-----------------------------------------------
|
86
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
87
|
-
[1m[35m (0.0ms)[0m begin transaction
|
88
|
-
---------------------------------------------
|
89
|
-
Jobs::JobsControllerTest: test_should_get_new
|
90
|
-
---------------------------------------------
|
91
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
92
|
-
[1m[35m (0.0ms)[0m begin transaction
|
93
|
-
----------------------------------------------
|
94
|
-
Jobs::JobsControllerTest: test_should_show_job
|
95
|
-
----------------------------------------------
|
96
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
97
|
-
[1m[35m (0.0ms)[0m begin transaction
|
98
|
-
------------------------------------------------
|
99
|
-
Jobs::JobsControllerTest: test_should_update_job
|
100
|
-
------------------------------------------------
|
101
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
102
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
103
|
-
[1m[35m (0.1ms)[0m begin transaction
|
104
|
-
[1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "jobs_jobs"[0m
|
105
|
-
[1m[35mFixture Insert (0.3ms)[0m INSERT INTO "jobs_jobs" ("where_to", "when_to", "how_to", "who_to", "description", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', '2014-11-02 20:32:29', '2014-11-02 20:32:29', 980190962)
|
106
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "jobs_jobs" ("where_to", "when_to", "how_to", "who_to", "description", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', '2014-11-02 20:32:29', '2014-11-02 20:32:29', 298486374)[0m
|
107
|
-
[1m[35m (0.5ms)[0m commit transaction
|
108
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
109
|
-
--------------------------------------------
|
110
|
-
JobsTest: test_make_sure_it_is_a_Jobs_module
|
111
|
-
--------------------------------------------
|
112
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
113
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
114
|
-
------------------------------------------------
|
115
|
-
Jobs::JobsControllerTest: test_should_create_job
|
116
|
-
------------------------------------------------
|
117
|
-
[1m[35mJobs::Job Load (0.2ms)[0m SELECT "jobs_jobs".* FROM "jobs_jobs" WHERE "jobs_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
|
118
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "jobs_jobs"[0m
|
119
|
-
Processing by Jobs::JobsController#create as HTML
|
120
|
-
Parameters: {"job"=>{"description"=>"MyText", "how_to"=>"MyString", "when_to"=>"MyString", "where_to"=>"MyString", "who_to"=>"MyString"}}
|
121
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
122
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "jobs_jobs" ("created_at", "description", "how_to", "updated_at", "when_to", "where_to", "who_to") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-11-02 20:32:29.817324"], ["description", "MyText"], ["how_to", "MyString"], ["updated_at", "2014-11-02 20:32:29.817324"], ["when_to", "MyString"], ["where_to", "MyString"], ["who_to", "MyString"]]
|
123
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
124
|
-
Redirected to http://test.host/jobs/jobs/980190963
|
125
|
-
Completed 302 Found in 6ms (ActiveRecord: 0.4ms)
|
126
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "jobs_jobs"[0m
|
127
|
-
[1m[35m (0.5ms)[0m rollback transaction
|
128
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
129
|
-
-------------------------------------------------
|
130
|
-
Jobs::JobsControllerTest: test_should_destroy_job
|
131
|
-
-------------------------------------------------
|
132
|
-
[1m[35mJobs::Job Load (0.1ms)[0m SELECT "jobs_jobs".* FROM "jobs_jobs" WHERE "jobs_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
|
133
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "jobs_jobs"[0m
|
134
|
-
Processing by Jobs::JobsController#destroy as HTML
|
135
|
-
Parameters: {"id"=>"980190962"}
|
136
|
-
[1m[35mJobs::Job Load (0.0ms)[0m SELECT "jobs_jobs".* FROM "jobs_jobs" WHERE "jobs_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
|
137
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
138
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "jobs_jobs" WHERE "jobs_jobs"."id" = ? [["id", 980190962]]
|
139
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
140
|
-
Redirected to http://test.host/jobs/jobs
|
141
|
-
Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
|
142
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "jobs_jobs"
|
143
|
-
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
144
|
-
[1m[35m (0.1ms)[0m begin transaction
|
145
|
-
----------------------------------------------
|
146
|
-
Jobs::JobsControllerTest: test_should_get_edit
|
147
|
-
----------------------------------------------
|
148
|
-
[1m[36mJobs::Job Load (0.1ms)[0m [1mSELECT "jobs_jobs".* FROM "jobs_jobs" WHERE "jobs_jobs"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
149
|
-
Processing by Jobs::JobsController#edit as HTML
|
150
|
-
Parameters: {"id"=>"980190962"}
|
151
|
-
[1m[35mJobs::Job Load (0.0ms)[0m SELECT "jobs_jobs".* FROM "jobs_jobs" WHERE "jobs_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
|
152
|
-
Rendered /Users/Walther/Documents/RailsProjects/jobs/app/views/jobs/jobs/_form.html.erb (14.0ms)
|
153
|
-
Completed 200 OK in 43ms (Views: 42.8ms | ActiveRecord: 0.0ms)
|
154
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
155
|
-
[1m[35m (0.0ms)[0m begin transaction
|
156
|
-
-----------------------------------------------
|
157
|
-
Jobs::JobsControllerTest: test_should_get_index
|
158
|
-
-----------------------------------------------
|
159
|
-
[1m[36mJobs::Job Load (0.1ms)[0m [1mSELECT "jobs_jobs".* FROM "jobs_jobs" WHERE "jobs_jobs"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
160
|
-
Processing by Jobs::JobsController#index as HTML
|
161
|
-
[1m[35mJobs::Job Load (0.1ms)[0m SELECT "jobs_jobs".* FROM "jobs_jobs"
|
162
|
-
Completed 200 OK in 6ms (Views: 5.9ms | ActiveRecord: 0.1ms)
|
163
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
164
|
-
[1m[35m (0.0ms)[0m begin transaction
|
165
|
-
---------------------------------------------
|
166
|
-
Jobs::JobsControllerTest: test_should_get_new
|
167
|
-
---------------------------------------------
|
168
|
-
[1m[36mJobs::Job Load (0.1ms)[0m [1mSELECT "jobs_jobs".* FROM "jobs_jobs" WHERE "jobs_jobs"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
169
|
-
Processing by Jobs::JobsController#new as HTML
|
170
|
-
Rendered /Users/Walther/Documents/RailsProjects/jobs/app/views/jobs/jobs/_form.html.erb (2.0ms)
|
171
|
-
Completed 200 OK in 4ms (Views: 4.2ms | ActiveRecord: 0.0ms)
|
172
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
173
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
174
|
-
----------------------------------------------
|
175
|
-
Jobs::JobsControllerTest: test_should_show_job
|
176
|
-
----------------------------------------------
|
177
|
-
[1m[35mJobs::Job Load (0.1ms)[0m SELECT "jobs_jobs".* FROM "jobs_jobs" WHERE "jobs_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
|
178
|
-
Processing by Jobs::JobsController#show as HTML
|
179
|
-
Parameters: {"id"=>"980190962"}
|
180
|
-
[1m[36mJobs::Job Load (0.0ms)[0m [1mSELECT "jobs_jobs".* FROM "jobs_jobs" WHERE "jobs_jobs"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
181
|
-
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)
|
182
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
183
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
184
|
-
------------------------------------------------
|
185
|
-
Jobs::JobsControllerTest: test_should_update_job
|
186
|
-
------------------------------------------------
|
187
|
-
[1m[35mJobs::Job Load (0.1ms)[0m SELECT "jobs_jobs".* FROM "jobs_jobs" WHERE "jobs_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
|
188
|
-
Processing by Jobs::JobsController#update as HTML
|
189
|
-
Parameters: {"job"=>{"description"=>"MyText", "how_to"=>"MyString", "when_to"=>"MyString", "where_to"=>"MyString", "who_to"=>"MyString"}, "id"=>"980190962"}
|
190
|
-
[1m[36mJobs::Job Load (0.0ms)[0m [1mSELECT "jobs_jobs".* FROM "jobs_jobs" WHERE "jobs_jobs"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
191
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
192
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
193
|
-
Redirected to http://test.host/jobs/jobs/980190962
|
194
|
-
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
|
195
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
196
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
197
|
-
[1m[35m (0.1ms)[0m begin transaction
|
198
|
-
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "jobs_jobs"[0m
|
199
|
-
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "jobs_jobs" ("where_to", "when_to", "how_to", "who_to", "description", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', '2014-11-02 20:34:05', '2014-11-02 20:34:05', 980190962)
|
200
|
-
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "jobs_jobs" ("where_to", "when_to", "how_to", "who_to", "description", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', '2014-11-02 20:34:05', '2014-11-02 20:34:05', 298486374)[0m
|
201
|
-
[1m[35m (0.6ms)[0m commit transaction
|
202
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
203
|
-
------------------------------------------------
|
204
|
-
Jobs::JobsControllerTest: test_should_create_job
|
205
|
-
------------------------------------------------
|
206
|
-
[1m[35mJobs::Job Load (0.2ms)[0m SELECT "jobs_jobs".* FROM "jobs_jobs" WHERE "jobs_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
|
207
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "jobs_jobs"[0m
|
208
|
-
Processing by Jobs::JobsController#create as HTML
|
209
|
-
Parameters: {"job"=>{"description"=>"MyText", "how_to"=>"MyString", "when_to"=>"MyString", "where_to"=>"MyString", "who_to"=>"MyString"}}
|
210
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
211
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "jobs_jobs" ("created_at", "description", "how_to", "updated_at", "when_to", "where_to", "who_to") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-11-02 20:34:05.651362"], ["description", "MyText"], ["how_to", "MyString"], ["updated_at", "2014-11-02 20:34:05.651362"], ["when_to", "MyString"], ["where_to", "MyString"], ["who_to", "MyString"]]
|
212
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
213
|
-
Redirected to http://test.host/jobs/jobs/980190963
|
214
|
-
Completed 302 Found in 6ms (ActiveRecord: 0.4ms)
|
215
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "jobs_jobs"[0m
|
216
|
-
[1m[35m (0.3ms)[0m rollback transaction
|
217
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
218
|
-
-------------------------------------------------
|
219
|
-
Jobs::JobsControllerTest: test_should_destroy_job
|
220
|
-
-------------------------------------------------
|
221
|
-
[1m[35mJobs::Job Load (0.1ms)[0m SELECT "jobs_jobs".* FROM "jobs_jobs" WHERE "jobs_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
|
222
|
-
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "jobs_jobs"[0m
|
223
|
-
Processing by Jobs::JobsController#destroy as HTML
|
224
|
-
Parameters: {"id"=>"980190962"}
|
225
|
-
[1m[35mJobs::Job Load (0.1ms)[0m SELECT "jobs_jobs".* FROM "jobs_jobs" WHERE "jobs_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
|
226
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
227
|
-
[1m[35mSQL (0.3ms)[0m DELETE FROM "jobs_jobs" WHERE "jobs_jobs"."id" = ? [["id", 980190962]]
|
228
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
229
|
-
Redirected to http://test.host/jobs/jobs
|
230
|
-
Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
|
231
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "jobs_jobs"
|
232
|
-
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
233
|
-
[1m[35m (0.0ms)[0m begin transaction
|
234
|
-
----------------------------------------------
|
235
|
-
Jobs::JobsControllerTest: test_should_get_edit
|
236
|
-
----------------------------------------------
|
237
|
-
[1m[36mJobs::Job Load (0.1ms)[0m [1mSELECT "jobs_jobs".* FROM "jobs_jobs" WHERE "jobs_jobs"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
238
|
-
Processing by Jobs::JobsController#edit as HTML
|
239
|
-
Parameters: {"id"=>"980190962"}
|
240
|
-
[1m[35mJobs::Job Load (0.0ms)[0m SELECT "jobs_jobs".* FROM "jobs_jobs" WHERE "jobs_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
|
241
|
-
Rendered /Users/Walther/Documents/RailsProjects/jobs/app/views/jobs/jobs/_form.html.erb (17.8ms)
|
242
|
-
Completed 200 OK in 40ms (Views: 39.9ms | ActiveRecord: 0.0ms)
|
243
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
244
|
-
[1m[35m (0.1ms)[0m begin transaction
|
245
|
-
-----------------------------------------------
|
246
|
-
Jobs::JobsControllerTest: test_should_get_index
|
247
|
-
-----------------------------------------------
|
248
|
-
[1m[36mJobs::Job Load (0.1ms)[0m [1mSELECT "jobs_jobs".* FROM "jobs_jobs" WHERE "jobs_jobs"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
249
|
-
Processing by Jobs::JobsController#index as HTML
|
250
|
-
[1m[35mJobs::Job Load (0.1ms)[0m SELECT "jobs_jobs".* FROM "jobs_jobs"
|
251
|
-
Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.1ms)
|
252
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
253
|
-
[1m[35m (0.0ms)[0m begin transaction
|
254
|
-
---------------------------------------------
|
255
|
-
Jobs::JobsControllerTest: test_should_get_new
|
256
|
-
---------------------------------------------
|
257
|
-
[1m[36mJobs::Job Load (0.1ms)[0m [1mSELECT "jobs_jobs".* FROM "jobs_jobs" WHERE "jobs_jobs"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
258
|
-
Processing by Jobs::JobsController#new as HTML
|
259
|
-
Rendered /Users/Walther/Documents/RailsProjects/jobs/app/views/jobs/jobs/_form.html.erb (2.7ms)
|
260
|
-
Completed 200 OK in 5ms (Views: 5.3ms | ActiveRecord: 0.0ms)
|
261
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
262
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
263
|
-
----------------------------------------------
|
264
|
-
Jobs::JobsControllerTest: test_should_show_job
|
265
|
-
----------------------------------------------
|
266
|
-
[1m[35mJobs::Job Load (0.1ms)[0m SELECT "jobs_jobs".* FROM "jobs_jobs" WHERE "jobs_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
|
267
|
-
Processing by Jobs::JobsController#show as HTML
|
268
|
-
Parameters: {"id"=>"980190962"}
|
269
|
-
[1m[36mJobs::Job Load (0.0ms)[0m [1mSELECT "jobs_jobs".* FROM "jobs_jobs" WHERE "jobs_jobs"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
270
|
-
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.0ms)
|
271
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
272
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
273
|
-
------------------------------------------------
|
274
|
-
Jobs::JobsControllerTest: test_should_update_job
|
275
|
-
------------------------------------------------
|
276
|
-
[1m[35mJobs::Job Load (0.1ms)[0m SELECT "jobs_jobs".* FROM "jobs_jobs" WHERE "jobs_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
|
277
|
-
Processing by Jobs::JobsController#update as HTML
|
278
|
-
Parameters: {"job"=>{"description"=>"MyText", "how_to"=>"MyString", "when_to"=>"MyString", "where_to"=>"MyString", "who_to"=>"MyString"}, "id"=>"980190962"}
|
279
|
-
[1m[36mJobs::Job Load (0.0ms)[0m [1mSELECT "jobs_jobs".* FROM "jobs_jobs" WHERE "jobs_jobs"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
280
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
281
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
282
|
-
Redirected to http://test.host/jobs/jobs/980190962
|
283
|
-
Completed 302 Found in 2ms (ActiveRecord: 0.1ms)
|
284
|
-
[1m[35m (0.0ms)[0m rollback transaction
|