enju_subject 0.0.16 → 0.0.17

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. data/app/views/classification_types/index.html.erb +1 -1
  2. data/app/views/classifications/_index.html.erb +1 -1
  3. data/app/views/classifications/_index_subject.html.erb +1 -1
  4. data/app/views/subject_has_classifications/index.html.erb +1 -1
  5. data/app/views/subject_heading_type_has_subjects/index.html.erb +1 -1
  6. data/app/views/subject_heading_types/index.html.erb +1 -1
  7. data/app/views/subject_types/index.html.erb +1 -1
  8. data/app/views/subjects/_index.html.erb +1 -1
  9. data/app/views/subjects/_index_classification.html.erb +1 -1
  10. data/app/views/subjects/_index_work.html.erb +1 -1
  11. data/app/views/subjects/show.html.erb +1 -1
  12. data/app/views/work_has_subjects/index.html.erb +1 -1
  13. data/config/routes.rb +1 -1
  14. data/lib/enju_subject/version.rb +1 -1
  15. data/spec/cassette_library/enju_subject/classification_index.yml +30 -0
  16. data/spec/cassette_library/enju_subject/create.yml +49 -0
  17. data/spec/cassette_library/enju_subject/create_subject.yml +82 -0
  18. data/spec/cassette_library/enju_subject/delete.yml +72 -0
  19. data/spec/cassette_library/enju_subject/edit.yml +49 -0
  20. data/spec/cassette_library/enju_subject/index.yml +82 -0
  21. data/spec/cassette_library/enju_subject/show.yml +72 -0
  22. data/spec/cassette_library/enju_subject/update.yml +72 -0
  23. data/spec/dummy/db/development.sqlite3 +0 -0
  24. data/spec/dummy/db/test.sqlite3 +0 -0
  25. data/spec/dummy/solr/data/test/index/segments_1 +0 -0
  26. data/spec/dummy/solr/data/test/spellchecker/segments_1 +0 -0
  27. data/spec/dummy/tmp/cache/4F7/F90/default_role +0 -0
  28. data/spec/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
  29. data/spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
  30. data/spec/dummy/tmp/cache/assets/D47/9C0/sprockets%2Fed08c2088e78d59a4fc4ea21b625784b +0 -0
  31. data/spec/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
  32. data/spec/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
  33. data/spec/dummy/tmp/cache/assets/D63/4E0/sprockets%2F0d39549b9e061d4b82c2ba3ac7ec5c31 +0 -0
  34. data/spec/dummy/tmp/cache/assets/DAD/4B0/sprockets%2Fb5993ad241d17bf516c64e9fcd9f68bb +0 -0
  35. data/spec/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
  36. data/spec/dummy/tmp/cache/assets/DFD/1C0/sprockets%2Fbba00f45f706fc39c4fbfc79305c9afb +0 -0
  37. data/spec/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
  38. metadata +38 -2
@@ -2,7 +2,7 @@
2
2
  <h1 class="title"><%= t('page.listing', :model => t('activerecord.models.classification_type')) -%></h1>
3
3
  <div id="content_list">
4
4
 
5
- <table class="index">
5
+ <table class="table table-striped index">
6
6
  <tr>
7
7
  <th id="position"></th>
8
8
  <th><%= t('activerecord.attributes.classification_type.name') -%></th>
@@ -11,7 +11,7 @@
11
11
  <%- end -%>
12
12
  </div>
13
13
 
14
- <table class="index">
14
+ <table class="table table-striped index">
15
15
  <tr>
16
16
  <th><%= t('activerecord.attributes.classification.category') -%></th>
17
17
  <th><%= t('activerecord.attributes.classification.note') -%></th>
@@ -16,7 +16,7 @@
16
16
  <%- end -%>
17
17
  </div>
18
18
 
19
- <table class="index">
19
+ <table class="table table-striped index">
20
20
  <tr>
21
21
  <th><%= t('activerecord.models.classification') -%></th>
22
22
  <th><%= t('activerecord.attributes.classification.note') -%></th>
@@ -2,7 +2,7 @@
2
2
  <h1 class="title"><%= t('page.listing', :model => t('activerecord.models.subject_has_classification')) -%></h1>
3
3
  <div id="content_list">
4
4
 
5
- <table class="index">
5
+ <table class="table table-striped index">
6
6
  <tr>
7
7
  <th><%= t('activerecord.models.subject') -%></th>
8
8
  <th><%= t('activerecord.models.classification') -%></th>
@@ -2,7 +2,7 @@
2
2
  <h1 class="title"><%= t('page.listing', :model => t('activerecord.models.subject_heading_type_has_subject')) -%></h1>
3
3
  <div id="content_list">
4
4
 
5
- <table class="index">
5
+ <table class="table table-striped index">
6
6
  <tr>
7
7
  <th><%= t('activerecord.models.subject') -%></th>
8
8
  <th><%= t('activerecord.models.subject_heading_type') -%></th>
@@ -2,7 +2,7 @@
2
2
  <h1 class="title"><%= t('page.listing', :model => t('activerecord.models.subject_heading_type')) -%></h1>
3
3
  <div id="content_list">
4
4
 
5
- <table class="index">
5
+ <table class="table table-striped index">
6
6
  <tr>
7
7
  <th id="position"></th>
8
8
  <th><%= t('activerecord.attributes.subject_heading_type.name') -%></th>
@@ -2,7 +2,7 @@
2
2
  <h1 class="title"><%= t('page.listing', :model => t('activerecord.models.subject_type')) -%></h1>
3
3
  <div id="content_list">
4
4
 
5
- <table class="index">
5
+ <table class="table table-striped index">
6
6
  <tr>
7
7
  <th id="position"></th>
8
8
  <th><%= t('activerecord.attributes.subject_type.name') -%></th>
@@ -11,7 +11,7 @@
11
11
  <%- end -%>
12
12
  </div>
13
13
 
14
- <table class="index">
14
+ <table class="table table-striped index">
15
15
  <tr>
16
16
  <th><%= t('activerecord.attributes.subject.term') -%></th>
17
17
  <th></th>
@@ -15,7 +15,7 @@
15
15
  <%- end -%>
16
16
  </div>
17
17
 
18
- <table class="index">
18
+ <table class="table table-striped index">
19
19
  <tr>
20
20
  <th><%= t('activerecord.attributes.subject.term') -%></th>
21
21
  <th></th>
@@ -16,7 +16,7 @@
16
16
  </p>
17
17
  <%- end -%>
18
18
 
19
- <table class="index">
19
+ <table class="table table-striped index">
20
20
  <tr>
21
21
  <th><%= t('activerecord.attributes.subject.term') -%></th>
22
22
  <th></th>
@@ -30,7 +30,7 @@
30
30
  <%= render 'subjects/show_work_list' -%>
31
31
  <%- cache(:controller => :subjects, :action => :show, :id => @subject.id, :page => 'detail', :role => current_user_role_name, :locale => @locale, :subject_id => nil) do -%>
32
32
  <div id="classification">
33
- <table class="index">
33
+ <table class="table table-striped index">
34
34
  <tr>
35
35
  <th><%= t('activerecord.attributes.classification.category') -%></th>
36
36
  <th><%= t('activerecord.models.classification_type') -%></th>
@@ -2,7 +2,7 @@
2
2
  <h1 class="title"><%= t('page.listing', :model => t('activerecord.models.work_has_subject')) -%></h1>
3
3
  <div id="content_list">
4
4
 
5
- <table class="index">
5
+ <table class="table table-striped index">
6
6
  <tr>
7
7
  <th><%= t('activerecord.models.subject') -%></th>
8
8
  <th><%= t('activerecord.attributes.work_has_subject.work') -%></th>
data/config/routes.rb CHANGED
@@ -22,7 +22,7 @@ Rails.application.routes.draw do
22
22
  resources :classifications
23
23
  end
24
24
 
25
- resources :works, :controller => 'manifestations' do
25
+ resources :works, :controller => 'manifestations', :except => [:index, :new, :create] do
26
26
  resources :subjects
27
27
  resources :work_has_subjects
28
28
  end
@@ -1,3 +1,3 @@
1
1
  module EnjuSubject
2
- VERSION = "0.0.16"
2
+ VERSION = "0.0.17"
3
3
  end
@@ -0,0 +1,30 @@
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
@@ -0,0 +1,49 @@
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
@@ -0,0 +1,82 @@
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
@@ -0,0 +1,72 @@
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
@@ -0,0 +1,49 @@
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
@@ -0,0 +1,82 @@
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
@@ -0,0 +1,72 @@
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
@@ -0,0 +1,72 @@
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
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.16
4
+ version: 0.0.17
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-06-19 00:00:00.000000000 Z
12
+ date: 2012-07-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -413,6 +413,14 @@ 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
416
424
  - spec/controllers/classification_types_controller_spec.rb
417
425
  - spec/controllers/classifications_controller_spec.rb
418
426
  - spec/controllers/subject_has_classifications_controller_spec.rb
@@ -561,6 +569,16 @@ files:
561
569
  - spec/dummy/test/unit/user_has_role_test.rb
562
570
  - spec/dummy/test/unit/user_test.rb
563
571
  - 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
564
582
  - spec/factories/classification.rb
565
583
  - spec/factories/classification_type.rb
566
584
  - spec/factories/manifestation.rb
@@ -629,6 +647,14 @@ signing_key:
629
647
  specification_version: 3
630
648
  summary: enju_subject plugin
631
649
  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
632
658
  - spec/controllers/classification_types_controller_spec.rb
633
659
  - spec/controllers/classifications_controller_spec.rb
634
660
  - spec/controllers/subject_has_classifications_controller_spec.rb
@@ -777,6 +803,16 @@ test_files:
777
803
  - spec/dummy/test/unit/user_has_role_test.rb
778
804
  - spec/dummy/test/unit/user_test.rb
779
805
  - 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
780
816
  - spec/factories/classification.rb
781
817
  - spec/factories/classification_type.rb
782
818
  - spec/factories/manifestation.rb