enju_subject 0.0.13 → 0.0.14
Sign up to get free protection for your applications and to get access to all the features.
- data/app/controllers/work_has_subjects_controller.rb +3 -5
- data/app/models/classification.rb +1 -0
- data/app/models/classification_type.rb +1 -0
- data/app/models/subject.rb +3 -0
- data/app/models/subject_has_classification.rb +1 -0
- data/app/models/subject_heading_type.rb +1 -0
- data/app/models/subject_heading_type_has_subject.rb +1 -0
- data/app/models/subject_type.rb +1 -0
- data/app/models/work_has_subject.rb +1 -0
- data/lib/enju_subject/version.rb +1 -1
- data/spec/dummy/config/initializers/devise.rb +0 -4
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/solr/data/test/index/segments_1 +0 -0
- data/spec/dummy/solr/data/test/spellchecker/segments_1 +0 -0
- metadata +2 -38
- data/spec/cassette_library/enju_subject/classification_index.yml +0 -30
- data/spec/cassette_library/enju_subject/create.yml +0 -49
- data/spec/cassette_library/enju_subject/create_subject.yml +0 -82
- data/spec/cassette_library/enju_subject/delete.yml +0 -72
- data/spec/cassette_library/enju_subject/edit.yml +0 -49
- data/spec/cassette_library/enju_subject/index.yml +0 -82
- data/spec/cassette_library/enju_subject/show.yml +0 -72
- data/spec/cassette_library/enju_subject/update.yml +0 -72
- data/spec/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
- data/spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/spec/dummy/tmp/cache/assets/D47/9C0/sprockets%2Fed08c2088e78d59a4fc4ea21b625784b +0 -0
- data/spec/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/spec/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/spec/dummy/tmp/cache/assets/D63/4E0/sprockets%2F0d39549b9e061d4b82c2ba3ac7ec5c31 +0 -0
- data/spec/dummy/tmp/cache/assets/DAD/4B0/sprockets%2Fb5993ad241d17bf516c64e9fcd9f68bb +0 -0
- data/spec/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/spec/dummy/tmp/cache/assets/DFD/1C0/sprockets%2Fbba00f45f706fc39c4fbfc79305c9afb +0 -0
- data/spec/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
@@ -68,11 +68,9 @@ class WorkHasSubjectsController < ApplicationController
|
|
68
68
|
def update
|
69
69
|
get_work
|
70
70
|
if @work and params[:move]
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
return
|
75
|
-
end
|
71
|
+
move_position(@work_has_subject, params[:move], false)
|
72
|
+
redirect_to work_work_has_subjects_url(@work)
|
73
|
+
return
|
76
74
|
end
|
77
75
|
|
78
76
|
respond_to do |format|
|
@@ -1,6 +1,7 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
# -*- encoding: utf-8 -*-
|
3
3
|
class Classification < ActiveRecord::Base
|
4
|
+
attr_accessible :parent_id, :category, :note, :classification_type_id
|
4
5
|
has_many :subject_has_classifications, :dependent => :destroy
|
5
6
|
has_many :subjects, :through => :subject_has_classifications
|
6
7
|
belongs_to :classification_type, :validate => true
|
data/app/models/subject.rb
CHANGED
@@ -1,4 +1,7 @@
|
|
1
1
|
class Subject < ActiveRecord::Base
|
2
|
+
attr_accessible :parent_id, :use_term_id, :term, :term_transcription,
|
3
|
+
:subject_type_id, :note, :required_role_id
|
4
|
+
|
2
5
|
has_many :work_has_subjects, :dependent => :destroy
|
3
6
|
has_many :works, :through => :work_has_subjects, :class_name => 'Manifestation'
|
4
7
|
belongs_to :subject_type
|
data/app/models/subject_type.rb
CHANGED
data/lib/enju_subject/version.rb
CHANGED
@@ -92,10 +92,6 @@ Devise.setup do |config|
|
|
92
92
|
# If true, extends the user's remember period when remembered via cookie.
|
93
93
|
# config.extend_remember_period = false
|
94
94
|
|
95
|
-
# If true, uses the password salt as remember token. This should be turned
|
96
|
-
# to false if you are not using database authenticatable.
|
97
|
-
config.use_salt_as_remember_token = true
|
98
|
-
|
99
95
|
# Options to be passed to the created cookie. For instance, you can set
|
100
96
|
# :secure => true in order to force SSL only cookies.
|
101
97
|
# config.cookie_options = {}
|
Binary file
|
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: enju_subject
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.14
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-05-
|
12
|
+
date: 2012-05-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -385,14 +385,6 @@ files:
|
|
385
385
|
- MIT-LICENSE
|
386
386
|
- Rakefile
|
387
387
|
- README.rdoc
|
388
|
-
- spec/cassette_library/enju_subject/classification_index.yml
|
389
|
-
- spec/cassette_library/enju_subject/create.yml
|
390
|
-
- spec/cassette_library/enju_subject/create_subject.yml
|
391
|
-
- spec/cassette_library/enju_subject/delete.yml
|
392
|
-
- spec/cassette_library/enju_subject/edit.yml
|
393
|
-
- spec/cassette_library/enju_subject/index.yml
|
394
|
-
- spec/cassette_library/enju_subject/show.yml
|
395
|
-
- spec/cassette_library/enju_subject/update.yml
|
396
388
|
- spec/controllers/classification_types_controller_spec.rb
|
397
389
|
- spec/controllers/classifications_controller_spec.rb
|
398
390
|
- spec/controllers/subject_has_classifications_controller_spec.rb
|
@@ -475,16 +467,6 @@ files:
|
|
475
467
|
- spec/dummy/test/unit/user_group_test.rb
|
476
468
|
- spec/dummy/test/unit/user_has_role_test.rb
|
477
469
|
- spec/dummy/test/unit/user_test.rb
|
478
|
-
- spec/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
|
479
|
-
- spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
|
480
|
-
- spec/dummy/tmp/cache/assets/D47/9C0/sprockets%2Fed08c2088e78d59a4fc4ea21b625784b
|
481
|
-
- spec/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
|
482
|
-
- spec/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
|
483
|
-
- spec/dummy/tmp/cache/assets/D63/4E0/sprockets%2F0d39549b9e061d4b82c2ba3ac7ec5c31
|
484
|
-
- spec/dummy/tmp/cache/assets/DAD/4B0/sprockets%2Fb5993ad241d17bf516c64e9fcd9f68bb
|
485
|
-
- spec/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
|
486
|
-
- spec/dummy/tmp/cache/assets/DFD/1C0/sprockets%2Fbba00f45f706fc39c4fbfc79305c9afb
|
487
|
-
- spec/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
|
488
470
|
- spec/factories/classification.rb
|
489
471
|
- spec/factories/classification_type.rb
|
490
472
|
- spec/factories/manifestation.rb
|
@@ -553,14 +535,6 @@ signing_key:
|
|
553
535
|
specification_version: 3
|
554
536
|
summary: enju_subject plugin
|
555
537
|
test_files:
|
556
|
-
- spec/cassette_library/enju_subject/classification_index.yml
|
557
|
-
- spec/cassette_library/enju_subject/create.yml
|
558
|
-
- spec/cassette_library/enju_subject/create_subject.yml
|
559
|
-
- spec/cassette_library/enju_subject/delete.yml
|
560
|
-
- spec/cassette_library/enju_subject/edit.yml
|
561
|
-
- spec/cassette_library/enju_subject/index.yml
|
562
|
-
- spec/cassette_library/enju_subject/show.yml
|
563
|
-
- spec/cassette_library/enju_subject/update.yml
|
564
538
|
- spec/controllers/classification_types_controller_spec.rb
|
565
539
|
- spec/controllers/classifications_controller_spec.rb
|
566
540
|
- spec/controllers/subject_has_classifications_controller_spec.rb
|
@@ -643,16 +617,6 @@ test_files:
|
|
643
617
|
- spec/dummy/test/unit/user_group_test.rb
|
644
618
|
- spec/dummy/test/unit/user_has_role_test.rb
|
645
619
|
- spec/dummy/test/unit/user_test.rb
|
646
|
-
- spec/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
|
647
|
-
- spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
|
648
|
-
- spec/dummy/tmp/cache/assets/D47/9C0/sprockets%2Fed08c2088e78d59a4fc4ea21b625784b
|
649
|
-
- spec/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
|
650
|
-
- spec/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
|
651
|
-
- spec/dummy/tmp/cache/assets/D63/4E0/sprockets%2F0d39549b9e061d4b82c2ba3ac7ec5c31
|
652
|
-
- spec/dummy/tmp/cache/assets/DAD/4B0/sprockets%2Fb5993ad241d17bf516c64e9fcd9f68bb
|
653
|
-
- spec/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
|
654
|
-
- spec/dummy/tmp/cache/assets/DFD/1C0/sprockets%2Fbba00f45f706fc39c4fbfc79305c9afb
|
655
|
-
- spec/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
|
656
620
|
- spec/factories/classification.rb
|
657
621
|
- spec/factories/classification_type.rb
|
658
622
|
- spec/factories/manifestation.rb
|
@@ -1,30 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: http://localhost:8981/solr/select?wt=ruby
|
6
|
-
body: ''
|
7
|
-
headers:
|
8
|
-
content-type:
|
9
|
-
- application/x-www-form-urlencoded
|
10
|
-
connection:
|
11
|
-
- close
|
12
|
-
response:
|
13
|
-
status:
|
14
|
-
code: 200
|
15
|
-
message: OK
|
16
|
-
headers:
|
17
|
-
content-type:
|
18
|
-
- text/plain; charset=utf-8
|
19
|
-
connection:
|
20
|
-
- close
|
21
|
-
server:
|
22
|
-
- Jetty(6.1.3)
|
23
|
-
body: ! '{''responseHeader''=>{''status''=>0,''QTime''=>1,''params''=>{''wt''=>''ruby'',''start''=>''0'',''fq''=>''type:Classification'',''q''=>''*:*'',''rows''=>''10''}},''response''=>{''numFound''=>10,''start''=>0,''docs''=>[{''id''=>''Classification
|
24
|
-
1''},{''id''=>''Classification 2''},{''id''=>''Classification 3''},{''id''=>''Classification
|
25
|
-
4''},{''id''=>''Classification 5''},{''id''=>''Classification 6''},{''id''=>''Classification
|
26
|
-
7''},{''id''=>''Classification 8''},{''id''=>''Classification 9''},{''id''=>''Classification
|
27
|
-
10''}]}}'
|
28
|
-
http_version: '1.1'
|
29
|
-
recorded_at: Thu, 01 Dec 2011 18:13:01 GMT
|
30
|
-
recorded_with: VCR 2.0.0.beta2
|
@@ -1,49 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: http://localhost:8981/solr/update?wt=ruby
|
6
|
-
body: ''
|
7
|
-
headers:
|
8
|
-
content-type:
|
9
|
-
- text/xml
|
10
|
-
connection:
|
11
|
-
- close
|
12
|
-
response:
|
13
|
-
status:
|
14
|
-
code: 200
|
15
|
-
message: OK
|
16
|
-
headers:
|
17
|
-
content-type:
|
18
|
-
- text/plain; charset=utf-8
|
19
|
-
connection:
|
20
|
-
- close
|
21
|
-
server:
|
22
|
-
- Jetty(6.1.3)
|
23
|
-
body: ! '{''responseHeader''=>{''status''=>0,''QTime''=>3}}'
|
24
|
-
http_version: '1.1'
|
25
|
-
recorded_at: Thu, 01 Dec 2011 17:47:56 GMT
|
26
|
-
- request:
|
27
|
-
method: post
|
28
|
-
uri: http://localhost:8981/solr/update?wt=ruby
|
29
|
-
body: ''
|
30
|
-
headers:
|
31
|
-
content-type:
|
32
|
-
- text/xml
|
33
|
-
connection:
|
34
|
-
- close
|
35
|
-
response:
|
36
|
-
status:
|
37
|
-
code: 200
|
38
|
-
message: OK
|
39
|
-
headers:
|
40
|
-
content-type:
|
41
|
-
- text/plain; charset=utf-8
|
42
|
-
connection:
|
43
|
-
- close
|
44
|
-
server:
|
45
|
-
- Jetty(6.1.3)
|
46
|
-
body: ! '{''responseHeader''=>{''status''=>0,''QTime''=>3}}'
|
47
|
-
http_version: '1.1'
|
48
|
-
recorded_at: Thu, 01 Dec 2011 17:55:03 GMT
|
49
|
-
recorded_with: VCR 2.0.0.beta2
|
@@ -1,82 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: http://localhost:8981/solr/select?wt=ruby
|
6
|
-
body: ''
|
7
|
-
headers:
|
8
|
-
content-type:
|
9
|
-
- application/x-www-form-urlencoded
|
10
|
-
connection:
|
11
|
-
- close
|
12
|
-
response:
|
13
|
-
status:
|
14
|
-
code: 200
|
15
|
-
message: OK
|
16
|
-
headers:
|
17
|
-
content-type:
|
18
|
-
- text/plain; charset=utf-8
|
19
|
-
connection:
|
20
|
-
- close
|
21
|
-
server:
|
22
|
-
- Jetty(6.1.3)
|
23
|
-
body: ! '{''responseHeader''=>{''status''=>0,''QTime''=>1,''params''=>{''wt''=>''ruby'',''start''=>''0'',''fq''=>''type:Subject'',''q''=>''*:*'',''rows''=>''30''}},''response''=>{''numFound''=>17,''start''=>0,''docs''=>[{''id''=>''Subject
|
24
|
-
1''},{''id''=>''Subject 2''},{''id''=>''Subject 3''},{''id''=>''Subject 4''},{''id''=>''Subject
|
25
|
-
5''},{''id''=>''Subject 68''},{''id''=>''Subject 69''},{''id''=>''Subject 70''},{''id''=>''Subject
|
26
|
-
71''},{''id''=>''Subject 130''},{''id''=>''Subject 131''},{''id''=>''Subject
|
27
|
-
132''},{''id''=>''Subject 133''},{''id''=>''Subject 6''},{''id''=>''Subject
|
28
|
-
7''},{''id''=>''Subject 8''},{''id''=>''Subject 9''}]}}'
|
29
|
-
http_version: '1.1'
|
30
|
-
recorded_at: Thu, 01 Dec 2011 16:16:15 GMT
|
31
|
-
- request:
|
32
|
-
method: post
|
33
|
-
uri: http://localhost:8981/solr/select?wt=ruby
|
34
|
-
body: ''
|
35
|
-
headers:
|
36
|
-
content-type:
|
37
|
-
- application/x-www-form-urlencoded
|
38
|
-
connection:
|
39
|
-
- close
|
40
|
-
response:
|
41
|
-
status:
|
42
|
-
code: 200
|
43
|
-
message: OK
|
44
|
-
headers:
|
45
|
-
content-type:
|
46
|
-
- text/plain; charset=utf-8
|
47
|
-
connection:
|
48
|
-
- close
|
49
|
-
server:
|
50
|
-
- Jetty(6.1.3)
|
51
|
-
body: ! '{''responseHeader''=>{''status''=>0,''QTime''=>0,''params''=>{''sort''=>''created_at_d
|
52
|
-
desc'',''start''=>''0'',''q''=>''*:*'',''wt''=>''ruby'',''fq''=>[''type:Subject'',''required_role_id_i:[*
|
53
|
-
TO 1]''],''rows''=>''10''}},''response''=>{''numFound''=>17,''start''=>0,''docs''=>[{''id''=>''Subject
|
54
|
-
8''},{''id''=>''Subject 9''},{''id''=>''Subject 7''},{''id''=>''Subject 6''},{''id''=>''Subject
|
55
|
-
133''},{''id''=>''Subject 132''},{''id''=>''Subject 131''},{''id''=>''Subject
|
56
|
-
130''},{''id''=>''Subject 70''},{''id''=>''Subject 71''}]}}'
|
57
|
-
http_version: '1.1'
|
58
|
-
recorded_at: Thu, 01 Dec 2011 16:53:06 GMT
|
59
|
-
- request:
|
60
|
-
method: post
|
61
|
-
uri: http://localhost:8981/solr/update?wt=ruby
|
62
|
-
body: ''
|
63
|
-
headers:
|
64
|
-
content-type:
|
65
|
-
- text/xml
|
66
|
-
connection:
|
67
|
-
- close
|
68
|
-
response:
|
69
|
-
status:
|
70
|
-
code: 200
|
71
|
-
message: OK
|
72
|
-
headers:
|
73
|
-
content-type:
|
74
|
-
- text/plain; charset=utf-8
|
75
|
-
connection:
|
76
|
-
- close
|
77
|
-
server:
|
78
|
-
- Jetty(6.1.3)
|
79
|
-
body: ! '{''responseHeader''=>{''status''=>0,''QTime''=>20}}'
|
80
|
-
http_version: '1.1'
|
81
|
-
recorded_at: Thu, 01 Dec 2011 17:39:28 GMT
|
82
|
-
recorded_with: VCR 2.0.0.beta2
|
@@ -1,72 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: http://localhost:8981/solr/update?wt=ruby
|
6
|
-
body: ''
|
7
|
-
headers:
|
8
|
-
content-type:
|
9
|
-
- text/xml
|
10
|
-
connection:
|
11
|
-
- close
|
12
|
-
response:
|
13
|
-
status:
|
14
|
-
code: 200
|
15
|
-
message: OK
|
16
|
-
headers:
|
17
|
-
content-type:
|
18
|
-
- text/plain; charset=utf-8
|
19
|
-
connection:
|
20
|
-
- close
|
21
|
-
server:
|
22
|
-
- Jetty(6.1.3)
|
23
|
-
body: ! '{''responseHeader''=>{''status''=>0,''QTime''=>1}}'
|
24
|
-
http_version: '1.1'
|
25
|
-
recorded_at: Thu, 01 Dec 2011 17:47:57 GMT
|
26
|
-
- request:
|
27
|
-
method: post
|
28
|
-
uri: http://localhost:8981/solr/update?wt=ruby
|
29
|
-
body: ''
|
30
|
-
headers:
|
31
|
-
content-type:
|
32
|
-
- text/xml
|
33
|
-
connection:
|
34
|
-
- close
|
35
|
-
response:
|
36
|
-
status:
|
37
|
-
code: 200
|
38
|
-
message: OK
|
39
|
-
headers:
|
40
|
-
content-type:
|
41
|
-
- text/plain; charset=utf-8
|
42
|
-
connection:
|
43
|
-
- close
|
44
|
-
server:
|
45
|
-
- Jetty(6.1.3)
|
46
|
-
body: ! '{''responseHeader''=>{''status''=>0,''QTime''=>1}}'
|
47
|
-
http_version: '1.1'
|
48
|
-
recorded_at: Thu, 01 Dec 2011 17:47:57 GMT
|
49
|
-
- request:
|
50
|
-
method: post
|
51
|
-
uri: http://localhost:8981/solr/update?wt=ruby
|
52
|
-
body: ''
|
53
|
-
headers:
|
54
|
-
content-type:
|
55
|
-
- text/xml
|
56
|
-
connection:
|
57
|
-
- close
|
58
|
-
response:
|
59
|
-
status:
|
60
|
-
code: 200
|
61
|
-
message: OK
|
62
|
-
headers:
|
63
|
-
content-type:
|
64
|
-
- text/plain; charset=utf-8
|
65
|
-
connection:
|
66
|
-
- close
|
67
|
-
server:
|
68
|
-
- Jetty(6.1.3)
|
69
|
-
body: ! '{''responseHeader''=>{''status''=>0,''QTime''=>3}}'
|
70
|
-
http_version: '1.1'
|
71
|
-
recorded_at: Thu, 01 Dec 2011 17:55:04 GMT
|
72
|
-
recorded_with: VCR 2.0.0.beta2
|
@@ -1,49 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: http://localhost:8981/solr/update?wt=ruby
|
6
|
-
body: ''
|
7
|
-
headers:
|
8
|
-
content-type:
|
9
|
-
- text/xml
|
10
|
-
connection:
|
11
|
-
- close
|
12
|
-
response:
|
13
|
-
status:
|
14
|
-
code: 200
|
15
|
-
message: OK
|
16
|
-
headers:
|
17
|
-
content-type:
|
18
|
-
- text/plain; charset=utf-8
|
19
|
-
connection:
|
20
|
-
- close
|
21
|
-
server:
|
22
|
-
- Jetty(6.1.3)
|
23
|
-
body: ! '{''responseHeader''=>{''status''=>0,''QTime''=>0}}'
|
24
|
-
http_version: '1.1'
|
25
|
-
recorded_at: Thu, 01 Dec 2011 17:55:03 GMT
|
26
|
-
- request:
|
27
|
-
method: post
|
28
|
-
uri: http://localhost:8981/solr/update?wt=ruby
|
29
|
-
body: ''
|
30
|
-
headers:
|
31
|
-
content-type:
|
32
|
-
- text/xml
|
33
|
-
connection:
|
34
|
-
- close
|
35
|
-
response:
|
36
|
-
status:
|
37
|
-
code: 200
|
38
|
-
message: OK
|
39
|
-
headers:
|
40
|
-
content-type:
|
41
|
-
- text/plain; charset=utf-8
|
42
|
-
connection:
|
43
|
-
- close
|
44
|
-
server:
|
45
|
-
- Jetty(6.1.3)
|
46
|
-
body: ! '{''responseHeader''=>{''status''=>0,''QTime''=>101}}'
|
47
|
-
http_version: '1.1'
|
48
|
-
recorded_at: Thu, 01 Dec 2011 17:55:03 GMT
|
49
|
-
recorded_with: VCR 2.0.0.beta2
|
@@ -1,82 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: http://localhost:8981/solr/select?wt=ruby
|
6
|
-
body: ''
|
7
|
-
headers:
|
8
|
-
content-type:
|
9
|
-
- application/x-www-form-urlencoded
|
10
|
-
connection:
|
11
|
-
- close
|
12
|
-
response:
|
13
|
-
status:
|
14
|
-
code: 200
|
15
|
-
message: OK
|
16
|
-
headers:
|
17
|
-
content-type:
|
18
|
-
- text/plain; charset=utf-8
|
19
|
-
connection:
|
20
|
-
- close
|
21
|
-
server:
|
22
|
-
- Jetty(6.1.3)
|
23
|
-
body: ! '{''responseHeader''=>{''status''=>0,''QTime''=>0,''params''=>{''wt''=>''ruby'',''start''=>''0'',''fq''=>''type:Subject'',''q''=>''*:*'',''rows''=>''30''}},''response''=>{''numFound''=>17,''start''=>0,''docs''=>[{''id''=>''Subject
|
24
|
-
1''},{''id''=>''Subject 2''},{''id''=>''Subject 3''},{''id''=>''Subject 4''},{''id''=>''Subject
|
25
|
-
5''},{''id''=>''Subject 68''},{''id''=>''Subject 69''},{''id''=>''Subject 70''},{''id''=>''Subject
|
26
|
-
71''},{''id''=>''Subject 130''},{''id''=>''Subject 131''},{''id''=>''Subject
|
27
|
-
132''},{''id''=>''Subject 133''},{''id''=>''Subject 6''},{''id''=>''Subject
|
28
|
-
7''},{''id''=>''Subject 8''},{''id''=>''Subject 9''}]}}'
|
29
|
-
http_version: '1.1'
|
30
|
-
recorded_at: Thu, 01 Dec 2011 17:06:38 GMT
|
31
|
-
- request:
|
32
|
-
method: post
|
33
|
-
uri: http://localhost:8981/solr/select?wt=ruby
|
34
|
-
body: ''
|
35
|
-
headers:
|
36
|
-
content-type:
|
37
|
-
- application/x-www-form-urlencoded
|
38
|
-
connection:
|
39
|
-
- close
|
40
|
-
response:
|
41
|
-
status:
|
42
|
-
code: 200
|
43
|
-
message: OK
|
44
|
-
headers:
|
45
|
-
content-type:
|
46
|
-
- text/plain; charset=utf-8
|
47
|
-
connection:
|
48
|
-
- close
|
49
|
-
server:
|
50
|
-
- Jetty(6.1.3)
|
51
|
-
body: ! '{''responseHeader''=>{''status''=>0,''QTime''=>1,''params''=>{''sort''=>''created_at_d
|
52
|
-
desc'',''start''=>''0'',''q''=>''*:*'',''wt''=>''ruby'',''fq''=>[''type:Subject'',''required_role_id_i:[*
|
53
|
-
TO 4]''],''rows''=>''10''}},''response''=>{''numFound''=>17,''start''=>0,''docs''=>[{''id''=>''Subject
|
54
|
-
8''},{''id''=>''Subject 9''},{''id''=>''Subject 7''},{''id''=>''Subject 6''},{''id''=>''Subject
|
55
|
-
133''},{''id''=>''Subject 132''},{''id''=>''Subject 131''},{''id''=>''Subject
|
56
|
-
130''},{''id''=>''Subject 70''},{''id''=>''Subject 71''}]}}'
|
57
|
-
http_version: '1.1'
|
58
|
-
recorded_at: Thu, 01 Dec 2011 17:06:38 GMT
|
59
|
-
- request:
|
60
|
-
method: post
|
61
|
-
uri: http://localhost:8981/solr/update?wt=ruby
|
62
|
-
body: ''
|
63
|
-
headers:
|
64
|
-
content-type:
|
65
|
-
- text/xml
|
66
|
-
connection:
|
67
|
-
- close
|
68
|
-
response:
|
69
|
-
status:
|
70
|
-
code: 200
|
71
|
-
message: OK
|
72
|
-
headers:
|
73
|
-
content-type:
|
74
|
-
- text/plain; charset=utf-8
|
75
|
-
connection:
|
76
|
-
- close
|
77
|
-
server:
|
78
|
-
- Jetty(6.1.3)
|
79
|
-
body: ! '{''responseHeader''=>{''status''=>0,''QTime''=>2}}'
|
80
|
-
http_version: '1.1'
|
81
|
-
recorded_at: Thu, 01 Dec 2011 18:09:50 GMT
|
82
|
-
recorded_with: VCR 2.0.0.beta2
|
@@ -1,72 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: http://localhost:8981/solr/update?wt=ruby
|
6
|
-
body: ''
|
7
|
-
headers:
|
8
|
-
content-type:
|
9
|
-
- text/xml
|
10
|
-
connection:
|
11
|
-
- close
|
12
|
-
response:
|
13
|
-
status:
|
14
|
-
code: 200
|
15
|
-
message: OK
|
16
|
-
headers:
|
17
|
-
content-type:
|
18
|
-
- text/plain; charset=utf-8
|
19
|
-
connection:
|
20
|
-
- close
|
21
|
-
server:
|
22
|
-
- Jetty(6.1.3)
|
23
|
-
body: ! '{''responseHeader''=>{''status''=>0,''QTime''=>1}}'
|
24
|
-
http_version: '1.1'
|
25
|
-
recorded_at: Thu, 01 Dec 2011 17:55:03 GMT
|
26
|
-
- request:
|
27
|
-
method: post
|
28
|
-
uri: http://localhost:8981/solr/select?wt=ruby
|
29
|
-
body: ''
|
30
|
-
headers:
|
31
|
-
content-type:
|
32
|
-
- application/x-www-form-urlencoded
|
33
|
-
connection:
|
34
|
-
- close
|
35
|
-
response:
|
36
|
-
status:
|
37
|
-
code: 200
|
38
|
-
message: OK
|
39
|
-
headers:
|
40
|
-
content-type:
|
41
|
-
- text/plain; charset=utf-8
|
42
|
-
connection:
|
43
|
-
- close
|
44
|
-
server:
|
45
|
-
- Jetty(6.1.3)
|
46
|
-
body: ! '{''responseHeader''=>{''status''=>0,''QTime''=>1,''params''=>{''wt''=>''ruby'',''start''=>''0'',''fq''=>[''type:Manifestation'',''subject_ids_im:6''],''q''=>''*:*'',''rows''=>''30''}},''response''=>{''numFound''=>0,''start''=>0,''docs''=>[]}}'
|
47
|
-
http_version: '1.1'
|
48
|
-
recorded_at: Thu, 01 Dec 2011 17:56:57 GMT
|
49
|
-
- request:
|
50
|
-
method: post
|
51
|
-
uri: http://localhost:8981/solr/update?wt=ruby
|
52
|
-
body: ''
|
53
|
-
headers:
|
54
|
-
content-type:
|
55
|
-
- text/xml
|
56
|
-
connection:
|
57
|
-
- close
|
58
|
-
response:
|
59
|
-
status:
|
60
|
-
code: 200
|
61
|
-
message: OK
|
62
|
-
headers:
|
63
|
-
content-type:
|
64
|
-
- text/plain; charset=utf-8
|
65
|
-
connection:
|
66
|
-
- close
|
67
|
-
server:
|
68
|
-
- Jetty(6.1.3)
|
69
|
-
body: ! '{''responseHeader''=>{''status''=>0,''QTime''=>4}}'
|
70
|
-
http_version: '1.1'
|
71
|
-
recorded_at: Thu, 01 Dec 2011 17:56:57 GMT
|
72
|
-
recorded_with: VCR 2.0.0.beta2
|
@@ -1,72 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: http://localhost:8981/solr/update?wt=ruby
|
6
|
-
body: ''
|
7
|
-
headers:
|
8
|
-
content-type:
|
9
|
-
- text/xml
|
10
|
-
connection:
|
11
|
-
- close
|
12
|
-
response:
|
13
|
-
status:
|
14
|
-
code: 200
|
15
|
-
message: OK
|
16
|
-
headers:
|
17
|
-
content-type:
|
18
|
-
- text/plain; charset=utf-8
|
19
|
-
connection:
|
20
|
-
- close
|
21
|
-
server:
|
22
|
-
- Jetty(6.1.3)
|
23
|
-
body: ! '{''responseHeader''=>{''status''=>0,''QTime''=>0}}'
|
24
|
-
http_version: '1.1'
|
25
|
-
recorded_at: Thu, 01 Dec 2011 17:47:57 GMT
|
26
|
-
- request:
|
27
|
-
method: post
|
28
|
-
uri: http://localhost:8981/solr/update?wt=ruby
|
29
|
-
body: ''
|
30
|
-
headers:
|
31
|
-
content-type:
|
32
|
-
- text/xml
|
33
|
-
connection:
|
34
|
-
- close
|
35
|
-
response:
|
36
|
-
status:
|
37
|
-
code: 200
|
38
|
-
message: OK
|
39
|
-
headers:
|
40
|
-
content-type:
|
41
|
-
- text/plain; charset=utf-8
|
42
|
-
connection:
|
43
|
-
- close
|
44
|
-
server:
|
45
|
-
- Jetty(6.1.3)
|
46
|
-
body: ! '{''responseHeader''=>{''status''=>0,''QTime''=>0}}'
|
47
|
-
http_version: '1.1'
|
48
|
-
recorded_at: Thu, 01 Dec 2011 17:47:57 GMT
|
49
|
-
- request:
|
50
|
-
method: post
|
51
|
-
uri: http://localhost:8981/solr/update?wt=ruby
|
52
|
-
body: ''
|
53
|
-
headers:
|
54
|
-
content-type:
|
55
|
-
- text/xml
|
56
|
-
connection:
|
57
|
-
- close
|
58
|
-
response:
|
59
|
-
status:
|
60
|
-
code: 200
|
61
|
-
message: OK
|
62
|
-
headers:
|
63
|
-
content-type:
|
64
|
-
- text/plain; charset=utf-8
|
65
|
-
connection:
|
66
|
-
- close
|
67
|
-
server:
|
68
|
-
- Jetty(6.1.3)
|
69
|
-
body: ! '{''responseHeader''=>{''status''=>0,''QTime''=>3}}'
|
70
|
-
http_version: '1.1'
|
71
|
-
recorded_at: Thu, 01 Dec 2011 17:55:04 GMT
|
72
|
-
recorded_with: VCR 2.0.0.beta2
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|