enju_subject 0.0.14 → 0.0.15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (27) hide show
  1. data/MIT-LICENSE +1 -1
  2. data/app/views/manifestations/_subject_facet.html.erb +18 -0
  3. data/lib/enju_subject/version.rb +1 -1
  4. data/lib/enju_subject.rb +27 -0
  5. data/spec/cassette_library/enju_subject/classification_index.yml +30 -0
  6. data/spec/cassette_library/enju_subject/create.yml +49 -0
  7. data/spec/cassette_library/enju_subject/create_subject.yml +82 -0
  8. data/spec/cassette_library/enju_subject/delete.yml +72 -0
  9. data/spec/cassette_library/enju_subject/edit.yml +49 -0
  10. data/spec/cassette_library/enju_subject/index.yml +82 -0
  11. data/spec/cassette_library/enju_subject/show.yml +72 -0
  12. data/spec/cassette_library/enju_subject/update.yml +72 -0
  13. data/spec/dummy/db/development.sqlite3 +0 -0
  14. data/spec/dummy/db/test.sqlite3 +0 -0
  15. data/spec/dummy/solr/data/test/index/segments_1 +0 -0
  16. data/spec/dummy/solr/data/test/spellchecker/segments_1 +0 -0
  17. data/spec/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
  18. data/spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
  19. data/spec/dummy/tmp/cache/assets/D47/9C0/sprockets%2Fed08c2088e78d59a4fc4ea21b625784b +0 -0
  20. data/spec/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
  21. data/spec/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
  22. data/spec/dummy/tmp/cache/assets/D63/4E0/sprockets%2F0d39549b9e061d4b82c2ba3ac7ec5c31 +0 -0
  23. data/spec/dummy/tmp/cache/assets/DAD/4B0/sprockets%2Fb5993ad241d17bf516c64e9fcd9f68bb +0 -0
  24. data/spec/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
  25. data/spec/dummy/tmp/cache/assets/DFD/1C0/sprockets%2Fbba00f45f706fc39c4fbfc79305c9afb +0 -0
  26. data/spec/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
  27. metadata +39 -2
data/MIT-LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright 2011 Kosuke Tanabe
1
+ Copyright 2012 Kosuke Tanabe
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
@@ -0,0 +1,18 @@
1
+ <h4><%= t('activerecord.models.subject') -%></h4>
2
+ <%- unless @subject_facet.blank? -%>
3
+ <ul>
4
+ <%- @subject_facet[0..19].each do |facet| -%>
5
+ <%- subject = Subject.where(:id => facet.value).first -%>
6
+ <%- if subject -%>
7
+ <li>
8
+ <%= link_to "#{subject.term} (#{facet.count})", url_for(params.merge(:page => nil, :subject => subject.term, :view => nil, :only_path => true)) -%>
9
+ </li>
10
+ <%- end -%>
11
+ <%- end -%>
12
+ <%- if @subject_by_term -%>
13
+ <li><%= link_to t('page.remove_this_facet'), url_for(params.merge(:subject => nil, :page => nil, :view => nil, :only_path => true)) -%></li>
14
+ <%- end -%>
15
+ </ul>
16
+ <%- else -%>
17
+ <p><%= t('page.no_subject') -%></p>
18
+ <%- end -%>
@@ -1,3 +1,3 @@
1
1
  module EnjuSubject
2
- VERSION = "0.0.14"
2
+ VERSION = "0.0.15"
3
3
  end
data/lib/enju_subject.rb CHANGED
@@ -3,4 +3,31 @@ require "enju_subject/master_model"
3
3
  require "enju_subject/expire_editable_fragment"
4
4
 
5
5
  module EnjuSubject
6
+ def self.included(base)
7
+ base.extend(ClassMethods)
8
+ end
9
+
10
+ module ClassMethods
11
+ def enju_subject
12
+ include EnjuSubject::InstanceMethods
13
+ end
14
+ end
15
+
16
+ module InstanceMethods
17
+ private
18
+
19
+ def get_subject_heading_type
20
+ @subject_heading_type = SubjectHeadingType.find(params[:subject_heading_type_id]) if params[:subject_heading_type_id]
21
+ end
22
+
23
+ def get_subject
24
+ @subject = Subject.find(params[:subject_id]) if params[:subject_id]
25
+ end
26
+
27
+ def get_classification
28
+ @classification = Classification.find(params[:classification_id]) if params[:classification_id]
29
+ end
30
+ end
6
31
  end
32
+
33
+ ActionController::Base.send(:include, EnjuSubject)
@@ -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.14
4
+ version: 0.0.15
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-26 00:00:00.000000000 Z
12
+ date: 2012-05-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -324,6 +324,7 @@ files:
324
324
  - app/views/classifications/index.html.erb
325
325
  - app/views/classifications/new.html.erb
326
326
  - app/views/classifications/show.html.erb
327
+ - app/views/manifestations/_subject_facet.html.erb
327
328
  - app/views/subject_has_classifications/edit.html.erb
328
329
  - app/views/subject_has_classifications/index.html.erb
329
330
  - app/views/subject_has_classifications/new.html.erb
@@ -385,6 +386,14 @@ files:
385
386
  - MIT-LICENSE
386
387
  - Rakefile
387
388
  - README.rdoc
389
+ - spec/cassette_library/enju_subject/classification_index.yml
390
+ - spec/cassette_library/enju_subject/create.yml
391
+ - spec/cassette_library/enju_subject/create_subject.yml
392
+ - spec/cassette_library/enju_subject/delete.yml
393
+ - spec/cassette_library/enju_subject/edit.yml
394
+ - spec/cassette_library/enju_subject/index.yml
395
+ - spec/cassette_library/enju_subject/show.yml
396
+ - spec/cassette_library/enju_subject/update.yml
388
397
  - spec/controllers/classification_types_controller_spec.rb
389
398
  - spec/controllers/classifications_controller_spec.rb
390
399
  - spec/controllers/subject_has_classifications_controller_spec.rb
@@ -467,6 +476,16 @@ files:
467
476
  - spec/dummy/test/unit/user_group_test.rb
468
477
  - spec/dummy/test/unit/user_has_role_test.rb
469
478
  - spec/dummy/test/unit/user_test.rb
479
+ - spec/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
480
+ - spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
481
+ - spec/dummy/tmp/cache/assets/D47/9C0/sprockets%2Fed08c2088e78d59a4fc4ea21b625784b
482
+ - spec/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
483
+ - spec/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
484
+ - spec/dummy/tmp/cache/assets/D63/4E0/sprockets%2F0d39549b9e061d4b82c2ba3ac7ec5c31
485
+ - spec/dummy/tmp/cache/assets/DAD/4B0/sprockets%2Fb5993ad241d17bf516c64e9fcd9f68bb
486
+ - spec/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
487
+ - spec/dummy/tmp/cache/assets/DFD/1C0/sprockets%2Fbba00f45f706fc39c4fbfc79305c9afb
488
+ - spec/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
470
489
  - spec/factories/classification.rb
471
490
  - spec/factories/classification_type.rb
472
491
  - spec/factories/manifestation.rb
@@ -535,6 +554,14 @@ signing_key:
535
554
  specification_version: 3
536
555
  summary: enju_subject plugin
537
556
  test_files:
557
+ - spec/cassette_library/enju_subject/classification_index.yml
558
+ - spec/cassette_library/enju_subject/create.yml
559
+ - spec/cassette_library/enju_subject/create_subject.yml
560
+ - spec/cassette_library/enju_subject/delete.yml
561
+ - spec/cassette_library/enju_subject/edit.yml
562
+ - spec/cassette_library/enju_subject/index.yml
563
+ - spec/cassette_library/enju_subject/show.yml
564
+ - spec/cassette_library/enju_subject/update.yml
538
565
  - spec/controllers/classification_types_controller_spec.rb
539
566
  - spec/controllers/classifications_controller_spec.rb
540
567
  - spec/controllers/subject_has_classifications_controller_spec.rb
@@ -617,6 +644,16 @@ test_files:
617
644
  - spec/dummy/test/unit/user_group_test.rb
618
645
  - spec/dummy/test/unit/user_has_role_test.rb
619
646
  - spec/dummy/test/unit/user_test.rb
647
+ - spec/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
648
+ - spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
649
+ - spec/dummy/tmp/cache/assets/D47/9C0/sprockets%2Fed08c2088e78d59a4fc4ea21b625784b
650
+ - spec/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
651
+ - spec/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
652
+ - spec/dummy/tmp/cache/assets/D63/4E0/sprockets%2F0d39549b9e061d4b82c2ba3ac7ec5c31
653
+ - spec/dummy/tmp/cache/assets/DAD/4B0/sprockets%2Fb5993ad241d17bf516c64e9fcd9f68bb
654
+ - spec/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
655
+ - spec/dummy/tmp/cache/assets/DFD/1C0/sprockets%2Fbba00f45f706fc39c4fbfc79305c9afb
656
+ - spec/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
620
657
  - spec/factories/classification.rb
621
658
  - spec/factories/classification_type.rb
622
659
  - spec/factories/manifestation.rb