enju_subject 0.0.17 → 0.0.18
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +2 -2
- data/app/controllers/subjects_controller.rb +1 -1
- data/app/models/classification.rb +1 -1
- data/lib/enju_subject/version.rb +1 -1
- data/spec/controllers/classifications_controller_spec.rb +4 -0
- data/spec/controllers/subjects_controller_spec.rb +4 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/solr/data/test/index/segments.gen +0 -0
- data/spec/dummy/solr/data/test/index/segments_2k +0 -0
- data/spec/dummy/solr/data/test/spellchecker/segments_1 +0 -0
- data/spec/dummy/tmp/cache/4F7/F90/default_role +0 -0
- data/spec/spec_helper.rb +13 -0
- metadata +4 -40
- 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/solr/data/test/index/segments_1 +0 -0
- 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
data/README.rdoc
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
= EnjuSubject
|
1
|
+
= EnjuSubject {<img src="https://secure.travis-ci.org/nabeta/enju_subject.png?branch=master" alt="Build Status" />}[http://travis-ci.org/nabeta/enju_subject]
|
2
2
|
|
3
|
-
This project rocks and uses MIT-LICENSE.
|
3
|
+
This project rocks and uses MIT-LICENSE.
|
@@ -44,7 +44,7 @@ class SubjectsController < ApplicationController
|
|
44
44
|
|
45
45
|
role = current_user.try(:role) || Role.default_role
|
46
46
|
search.build do
|
47
|
-
with(:required_role_id).
|
47
|
+
with(:required_role_id).less_than_or_equal_to role.id
|
48
48
|
end
|
49
49
|
|
50
50
|
page = params[:page] || 1
|
data/lib/enju_subject/version.rb
CHANGED
Binary file
|
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/spec/spec_helper.rb
CHANGED
@@ -3,6 +3,7 @@ ENV["RAILS_ENV"] ||= 'test'
|
|
3
3
|
require File.expand_path("../dummy/config/environment", __FILE__)
|
4
4
|
require 'rspec/rails'
|
5
5
|
require 'factory_girl'
|
6
|
+
require 'sunspot-rails-tester'
|
6
7
|
|
7
8
|
# Requires supporting ruby files with custom matchers and macros, etc,
|
8
9
|
# in spec/support/ and its subdirectories.
|
@@ -27,6 +28,18 @@ RSpec.configure do |config|
|
|
27
28
|
config.use_transactional_fixtures = true
|
28
29
|
|
29
30
|
config.extend ControllerMacros, :type => :controller
|
31
|
+
|
32
|
+
$original_sunspot_session = Sunspot.session
|
33
|
+
|
34
|
+
config.before do
|
35
|
+
Sunspot.session = Sunspot::Rails::StubSessionProxy.new($original_sunspot_session)
|
36
|
+
end
|
37
|
+
|
38
|
+
config.before :each, :solr => true do
|
39
|
+
Sunspot::Rails::Tester.start_original_sunspot_session
|
40
|
+
Sunspot.session = $original_sunspot_session
|
41
|
+
Sunspot.remove_all!
|
42
|
+
end
|
30
43
|
end
|
31
44
|
|
32
45
|
FactoryGirl.definition_file_paths << "#{::Rails.root}/../../spec/factories"
|
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.18
|
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-07-
|
12
|
+
date: 2012-07-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -413,14 +413,6 @@ files:
|
|
413
413
|
- MIT-LICENSE
|
414
414
|
- Rakefile
|
415
415
|
- README.rdoc
|
416
|
-
- spec/cassette_library/enju_subject/classification_index.yml
|
417
|
-
- spec/cassette_library/enju_subject/create.yml
|
418
|
-
- spec/cassette_library/enju_subject/create_subject.yml
|
419
|
-
- spec/cassette_library/enju_subject/delete.yml
|
420
|
-
- spec/cassette_library/enju_subject/edit.yml
|
421
|
-
- spec/cassette_library/enju_subject/index.yml
|
422
|
-
- spec/cassette_library/enju_subject/show.yml
|
423
|
-
- spec/cassette_library/enju_subject/update.yml
|
424
416
|
- spec/controllers/classification_types_controller_spec.rb
|
425
417
|
- spec/controllers/classifications_controller_spec.rb
|
426
418
|
- spec/controllers/subject_has_classifications_controller_spec.rb
|
@@ -558,7 +550,7 @@ files:
|
|
558
550
|
- spec/dummy/solr/conf/stopwords.txt
|
559
551
|
- spec/dummy/solr/conf/synonyms.txt
|
560
552
|
- spec/dummy/solr/data/test/index/segments.gen
|
561
|
-
- spec/dummy/solr/data/test/index/
|
553
|
+
- spec/dummy/solr/data/test/index/segments_2k
|
562
554
|
- spec/dummy/solr/data/test/spellchecker/segments.gen
|
563
555
|
- spec/dummy/solr/data/test/spellchecker/segments_1
|
564
556
|
- spec/dummy/spec/fixtures/subjects.yml
|
@@ -569,16 +561,6 @@ files:
|
|
569
561
|
- spec/dummy/test/unit/user_has_role_test.rb
|
570
562
|
- spec/dummy/test/unit/user_test.rb
|
571
563
|
- spec/dummy/tmp/cache/4F7/F90/default_role
|
572
|
-
- spec/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
|
573
|
-
- spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
|
574
|
-
- spec/dummy/tmp/cache/assets/D47/9C0/sprockets%2Fed08c2088e78d59a4fc4ea21b625784b
|
575
|
-
- spec/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
|
576
|
-
- spec/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
|
577
|
-
- spec/dummy/tmp/cache/assets/D63/4E0/sprockets%2F0d39549b9e061d4b82c2ba3ac7ec5c31
|
578
|
-
- spec/dummy/tmp/cache/assets/DAD/4B0/sprockets%2Fb5993ad241d17bf516c64e9fcd9f68bb
|
579
|
-
- spec/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
|
580
|
-
- spec/dummy/tmp/cache/assets/DFD/1C0/sprockets%2Fbba00f45f706fc39c4fbfc79305c9afb
|
581
|
-
- spec/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
|
582
564
|
- spec/factories/classification.rb
|
583
565
|
- spec/factories/classification_type.rb
|
584
566
|
- spec/factories/manifestation.rb
|
@@ -647,14 +629,6 @@ signing_key:
|
|
647
629
|
specification_version: 3
|
648
630
|
summary: enju_subject plugin
|
649
631
|
test_files:
|
650
|
-
- spec/cassette_library/enju_subject/classification_index.yml
|
651
|
-
- spec/cassette_library/enju_subject/create.yml
|
652
|
-
- spec/cassette_library/enju_subject/create_subject.yml
|
653
|
-
- spec/cassette_library/enju_subject/delete.yml
|
654
|
-
- spec/cassette_library/enju_subject/edit.yml
|
655
|
-
- spec/cassette_library/enju_subject/index.yml
|
656
|
-
- spec/cassette_library/enju_subject/show.yml
|
657
|
-
- spec/cassette_library/enju_subject/update.yml
|
658
632
|
- spec/controllers/classification_types_controller_spec.rb
|
659
633
|
- spec/controllers/classifications_controller_spec.rb
|
660
634
|
- spec/controllers/subject_has_classifications_controller_spec.rb
|
@@ -792,7 +766,7 @@ test_files:
|
|
792
766
|
- spec/dummy/solr/conf/stopwords.txt
|
793
767
|
- spec/dummy/solr/conf/synonyms.txt
|
794
768
|
- spec/dummy/solr/data/test/index/segments.gen
|
795
|
-
- spec/dummy/solr/data/test/index/
|
769
|
+
- spec/dummy/solr/data/test/index/segments_2k
|
796
770
|
- spec/dummy/solr/data/test/spellchecker/segments.gen
|
797
771
|
- spec/dummy/solr/data/test/spellchecker/segments_1
|
798
772
|
- spec/dummy/spec/fixtures/subjects.yml
|
@@ -803,16 +777,6 @@ test_files:
|
|
803
777
|
- spec/dummy/test/unit/user_has_role_test.rb
|
804
778
|
- spec/dummy/test/unit/user_test.rb
|
805
779
|
- spec/dummy/tmp/cache/4F7/F90/default_role
|
806
|
-
- spec/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
|
807
|
-
- spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
|
808
|
-
- spec/dummy/tmp/cache/assets/D47/9C0/sprockets%2Fed08c2088e78d59a4fc4ea21b625784b
|
809
|
-
- spec/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
|
810
|
-
- spec/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
|
811
|
-
- spec/dummy/tmp/cache/assets/D63/4E0/sprockets%2F0d39549b9e061d4b82c2ba3ac7ec5c31
|
812
|
-
- spec/dummy/tmp/cache/assets/DAD/4B0/sprockets%2Fb5993ad241d17bf516c64e9fcd9f68bb
|
813
|
-
- spec/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
|
814
|
-
- spec/dummy/tmp/cache/assets/DFD/1C0/sprockets%2Fbba00f45f706fc39c4fbfc79305c9afb
|
815
|
-
- spec/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
|
816
780
|
- spec/factories/classification.rb
|
817
781
|
- spec/factories/classification_type.rb
|
818
782
|
- 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
|
Binary file
|