enju_biblio 0.1.0.pre2 → 0.1.0.pre3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. data/app/controllers/carrier_types_controller.rb +1 -0
  2. data/app/controllers/content_types_controller.rb +1 -4
  3. data/app/controllers/countries_controller.rb +1 -4
  4. data/app/controllers/create_types_controller.rb +1 -0
  5. data/app/controllers/extents_controller.rb +1 -4
  6. data/app/controllers/form_of_works_controller.rb +1 -0
  7. data/app/controllers/frequencies_controller.rb +1 -0
  8. data/app/controllers/languages_controller.rb +1 -4
  9. data/app/controllers/licenses_controller.rb +1 -4
  10. data/app/controllers/manifestation_relationship_types_controller.rb +1 -0
  11. data/app/controllers/manifestation_relationships_controller.rb +7 -4
  12. data/app/controllers/manifestations_controller.rb +1 -1
  13. data/app/controllers/medium_of_performances_controller.rb +1 -4
  14. data/app/controllers/patron_relationship_types_controller.rb +1 -0
  15. data/app/controllers/patron_relationships_controller.rb +7 -4
  16. data/app/controllers/patron_types_controller.rb +1 -4
  17. data/app/controllers/produce_types_controller.rb +1 -0
  18. data/app/controllers/realize_types_controller.rb +1 -0
  19. data/app/controllers/series_has_manifestations_controller.rb +2 -0
  20. data/app/controllers/series_statement_relationships_controller.rb +20 -0
  21. data/app/controllers/series_statements_controller.rb +24 -1
  22. data/app/models/picture_file.rb +2 -0
  23. data/app/models/series_statement.rb +20 -4
  24. data/app/models/series_statement_relationship.rb +17 -0
  25. data/app/views/items/show.html.erb +1 -1
  26. data/app/views/manifestation_relationships/index.html.erb +1 -1
  27. data/app/views/manifestations/_submenu_series_statement.html.erb +1 -0
  28. data/app/views/patron_relationships/index.html.erb +1 -1
  29. data/app/views/patrons/_work_list.html.erb +1 -1
  30. data/app/views/patrons/show.html.erb +2 -2
  31. data/app/views/series_statement_relationships/_form.html.erb +27 -0
  32. data/app/views/series_statement_relationships/edit.html.erb +15 -0
  33. data/app/views/series_statement_relationships/index.html.erb +34 -0
  34. data/app/views/series_statement_relationships/new.html.erb +14 -0
  35. data/app/views/series_statement_relationships/show.html.erb +24 -0
  36. data/app/views/series_statements/_index_parent.html.erb +55 -0
  37. data/app/views/series_statements/index.html.erb +2 -0
  38. data/config/locales/translation_en.yml +6 -0
  39. data/config/locales/translation_ja.yml +6 -0
  40. data/config/routes.rb +3 -0
  41. data/db/migrate/20120728204337_create_series_statement_relationships.rb +11 -0
  42. data/lib/enju_biblio/version.rb +1 -1
  43. data/lib/generators/enju_biblio/views_generator.rb +1 -0
  44. data/spec/cassette_library/enju_ndl/manifestation.yml +10 -10
  45. data/spec/cassette_library/enju_ndl/ndl_search.yml +18 -18
  46. data/spec/controllers/series_statement_relationships_controller_spec.rb +179 -0
  47. data/spec/dummy/app/models/ability.rb +2 -0
  48. data/spec/dummy/db/schema.rb +9 -1
  49. data/spec/dummy/db/test.sqlite3 +0 -0
  50. data/spec/dummy/solr/conf/schema.xml +1 -7
  51. data/spec/dummy/solr/data/test/index/segments.gen +0 -0
  52. data/spec/dummy/solr/data/test/index/segments_5hq +0 -0
  53. data/spec/dummy/solr/data/test/spellchecker/segments_1 +0 -0
  54. data/spec/dummy/tmp/cache/4F7/F90/default_role +0 -0
  55. data/spec/dummy/tmp/cache/6E4/420/search_engine_all +0 -0
  56. data/spec/factories/series_statement_relationship.rb +8 -0
  57. data/spec/models/series_statement_relationship_spec.rb +4 -0
  58. data/spec/requests/series_statement_relationships_spec.rb +11 -0
  59. data/spec/routing/series_statement_relationships_routing_spec.rb +35 -0
  60. data/spec/views/series_statement_relationships/edit.html.erb_spec.rb +20 -0
  61. data/spec/views/series_statement_relationships/index.html.erb_spec.rb +23 -0
  62. data/spec/views/series_statement_relationships/new.html.erb_spec.rb +20 -0
  63. data/spec/views/series_statement_relationships/show.html.erb_spec.rb +17 -0
  64. metadata +31 -6
  65. data/spec/dummy/db/development.sqlite3 +0 -0
  66. data/spec/dummy/solr/data/test/index/segments_q1 +0 -0
@@ -0,0 +1,179 @@
1
+ require 'spec_helper'
2
+
3
+ # This spec was generated by rspec-rails when you ran the scaffold generator.
4
+ # It demonstrates how one might use RSpec to specify the controller code that
5
+ # was generated by Rails when you ran the scaffold generator.
6
+ #
7
+ # It assumes that the implementation code is generated by the rails scaffold
8
+ # generator. If you are using any extension libraries to generate different
9
+ # controller code, this generated spec may or may not pass.
10
+ #
11
+ # It only uses APIs available in rails and/or rspec-rails. There are a number
12
+ # of tools you can use to make these specs even more expressive, but we're
13
+ # sticking to rails and rspec-rails APIs to keep things simple and stable.
14
+ #
15
+ # Compared to earlier versions of this generator, there is very limited use of
16
+ # stubs and message expectations in this spec. Stubs are only used when there
17
+ # is no simpler way to get a handle on the object needed for the example.
18
+ # Message expectations are only used when there is no simpler way to specify
19
+ # that an instance is receiving a specific message.
20
+
21
+ describe SeriesStatementRelationshipsController do
22
+ fixtures :all
23
+
24
+ # This should return the minimal set of attributes required to create a valid
25
+ # SeriesStatementRelationship. As you add validations to SeriesStatementRelationship, be sure to
26
+ # update the return value of this method accordingly.
27
+ def valid_attributes
28
+ FactoryGirl.attributes_for(:series_statement_relationship)
29
+ end
30
+
31
+ # This should return the minimal set of values that should be in the session
32
+ # in order to pass any filters (e.g. authentication) defined in
33
+ # SeriesStatementRelationshipsController. Be sure to keep this updated too.
34
+ def valid_session
35
+ {}
36
+ end
37
+
38
+ describe "GET index" do
39
+ login_fixture_librarian
40
+
41
+ it "assigns all series_statement_relationships as @series_statement_relationships" do
42
+ series_statement_relationship = FactoryGirl.create(:series_statement_relationship)
43
+ get :index
44
+ assigns(:series_statement_relationships).should eq([series_statement_relationship])
45
+ end
46
+ end
47
+
48
+ describe "GET show" do
49
+ login_fixture_librarian
50
+
51
+ it "assigns the requested series_statement_relationship as @series_statement_relationship" do
52
+ series_statement_relationship = FactoryGirl.create(:series_statement_relationship)
53
+ get :show, {:id => series_statement_relationship.to_param}, valid_session
54
+ assigns(:series_statement_relationship).should eq(series_statement_relationship)
55
+ end
56
+ end
57
+
58
+ describe "GET new" do
59
+ login_fixture_librarian
60
+
61
+ it "assigns a new series_statement_relationship as @series_statement_relationship" do
62
+ get :new
63
+ assigns(:series_statement_relationship).should be_a_new(SeriesStatementRelationship)
64
+ end
65
+ end
66
+
67
+ describe "GET edit" do
68
+ login_fixture_librarian
69
+
70
+ it "assigns the requested series_statement_relationship as @series_statement_relationship" do
71
+ series_statement_relationship = FactoryGirl.create(:series_statement_relationship)
72
+ get :edit, {:id => series_statement_relationship.to_param}
73
+ assigns(:series_statement_relationship).should eq(series_statement_relationship)
74
+ end
75
+ end
76
+
77
+ describe "POST create" do
78
+ login_fixture_librarian
79
+
80
+ describe "with valid params" do
81
+ it "creates a new SeriesStatementRelationship" do
82
+ expect {
83
+ post :create, {:series_statement_relationship => valid_attributes}
84
+ }.to change(SeriesStatementRelationship, :count).by(1)
85
+ end
86
+
87
+ it "assigns a newly created series_statement_relationship as @series_statement_relationship" do
88
+ post :create, {:series_statement_relationship => valid_attributes}
89
+ assigns(:series_statement_relationship).should be_a(SeriesStatementRelationship)
90
+ assigns(:series_statement_relationship).should be_persisted
91
+ end
92
+
93
+ it "redirects to the created series_statement_relationship" do
94
+ post :create, {:series_statement_relationship => valid_attributes}
95
+ response.should redirect_to(SeriesStatementRelationship.last)
96
+ end
97
+ end
98
+
99
+ describe "with invalid params" do
100
+ it "assigns a newly created but unsaved series_statement_relationship as @series_statement_relationship" do
101
+ # Trigger the behavior that occurs when invalid params are submitted
102
+ SeriesStatementRelationship.any_instance.stub(:save).and_return(false)
103
+ post :create, {:series_statement_relationship => {}}
104
+ assigns(:series_statement_relationship).should be_a_new(SeriesStatementRelationship)
105
+ end
106
+
107
+ it "re-renders the 'new' template" do
108
+ # Trigger the behavior that occurs when invalid params are submitted
109
+ #SeriesStatementRelationship.any_instance.stub(:save).and_return(false)
110
+ post :create, {:series_statement_relationship => {}}
111
+ response.should render_template("new")
112
+ end
113
+ end
114
+ end
115
+
116
+ describe "PUT update" do
117
+ login_fixture_librarian
118
+
119
+ describe "with valid params" do
120
+ it "updates the requested series_statement_relationship" do
121
+ series_statement_relationship = FactoryGirl.create(:series_statement_relationship)
122
+ # Assuming there are no other series_statement_relationships in the database, this
123
+ # specifies that the SeriesStatementRelationship created on the previous line
124
+ # receives the :update_attributes message with whatever params are
125
+ # submitted in the request.
126
+ SeriesStatementRelationship.any_instance.should_receive(:update_attributes).with({'these' => 'params'})
127
+ put :update, {:id => series_statement_relationship.to_param, :series_statement_relationship => {'these' => 'params'}}
128
+ end
129
+
130
+ it "assigns the requested series_statement_relationship as @series_statement_relationship" do
131
+ series_statement_relationship = FactoryGirl.create(:series_statement_relationship)
132
+ put :update, {:id => series_statement_relationship.to_param, :series_statement_relationship => valid_attributes}
133
+ assigns(:series_statement_relationship).should eq(series_statement_relationship)
134
+ end
135
+
136
+ it "redirects to the series_statement_relationship" do
137
+ series_statement_relationship = FactoryGirl.create(:series_statement_relationship)
138
+ put :update, {:id => series_statement_relationship.to_param, :series_statement_relationship => valid_attributes}
139
+ response.should redirect_to(series_statement_relationship)
140
+ end
141
+ end
142
+
143
+ describe "with invalid params" do
144
+ it "assigns the series_statement_relationship as @series_statement_relationship" do
145
+ series_statement_relationship = FactoryGirl.create(:series_statement_relationship)
146
+ # Trigger the behavior that occurs when invalid params are submitted
147
+ SeriesStatementRelationship.any_instance.stub(:save).and_return(false)
148
+ put :update, {:id => series_statement_relationship.to_param, :series_statement_relationship => {}}
149
+ assigns(:series_statement_relationship).should eq(series_statement_relationship)
150
+ end
151
+
152
+ it "re-renders the 'edit' template" do
153
+ series_statement_relationship = FactoryGirl.create(:series_statement_relationship)
154
+ # Trigger the behavior that occurs when invalid params are submitted
155
+ #SeriesStatementRelationship.any_instance.stub(:save).and_return(false)
156
+ put :update, {:id => series_statement_relationship.to_param, :series_statement_relationship => {:parent_id => nil}}
157
+ response.should render_template("edit")
158
+ end
159
+ end
160
+ end
161
+
162
+ describe "DELETE destroy" do
163
+ login_fixture_librarian
164
+
165
+ it "destroys the requested series_statement_relationship" do
166
+ series_statement_relationship = FactoryGirl.create(:series_statement_relationship)
167
+ expect {
168
+ delete :destroy, {:id => series_statement_relationship.to_param}
169
+ }.to change(SeriesStatementRelationship, :count).by(-1)
170
+ end
171
+
172
+ it "redirects to the series_statement_relationships list" do
173
+ series_statement_relationship = FactoryGirl.create(:series_statement_relationship)
174
+ delete :destroy, {:id => series_statement_relationship.to_param}
175
+ response.should redirect_to(series_statement_relationships_url)
176
+ end
177
+ end
178
+
179
+ end
@@ -52,6 +52,7 @@ class Ability
52
52
  can :read, ResourceImportResult
53
53
  can :manage, SeriesHasManifestation
54
54
  can :manage, SeriesStatement
55
+ can :manage, SeriesStatementRelationship
55
56
  when 'Librarian'
56
57
  can :manage, Accept
57
58
  can [:read, :update], CarrierType
@@ -102,6 +103,7 @@ class Ability
102
103
  can :read, ResourceImportResult
103
104
  can :manage, SeriesHasManifestation
104
105
  can :manage, SeriesStatement
106
+ can :manage, SeriesStatementRelationship
105
107
  when 'User'
106
108
  can :read, CarrierType
107
109
  can :read, ContentType
@@ -11,7 +11,7 @@
11
11
  #
12
12
  # It's strongly recommended to check this file into your version control system.
13
13
 
14
- ActiveRecord::Schema.define(:version => 20120602141129) do
14
+ ActiveRecord::Schema.define(:version => 20120728204337) do
15
15
 
16
16
  create_table "accepts", :force => true do |t|
17
17
  t.integer "basket_id"
@@ -1064,6 +1064,14 @@ ActiveRecord::Schema.define(:version => 20120602141129) do
1064
1064
  add_index "series_statement_merges", ["series_statement_id"], :name => "index_series_statement_merges_on_series_statement_id"
1065
1065
  add_index "series_statement_merges", ["series_statement_merge_list_id"], :name => "index_series_statement_merges_on_series_statement_merge_list_id"
1066
1066
 
1067
+ create_table "series_statement_relationships", :force => true do |t|
1068
+ t.integer "parent_id"
1069
+ t.integer "child_id"
1070
+ t.integer "position"
1071
+ t.datetime "created_at", :null => false
1072
+ t.datetime "updated_at", :null => false
1073
+ end
1074
+
1067
1075
  create_table "series_statements", :force => true do |t|
1068
1076
  t.text "original_title"
1069
1077
  t.text "numbering"
Binary file
@@ -60,12 +60,7 @@
60
60
  <fieldType name="rand" class="solr.RandomSortField" omitNorms="true"/>
61
61
  <!-- *** This fieldType is used by Sunspot! *** -->
62
62
  <fieldType name="text" class="solr.TextField" omitNorms="false">
63
- <analyzer type="index" class="org.apache.lucene.analysis.cjk.CJKAnalyzer">
64
- <tokenizer class="solr.StandardTokenizerFactory"/>
65
- <filter class="solr.StandardFilterFactory"/>
66
- <filter class="solr.LowerCaseFilterFactory"/>
67
- </analyzer>
68
- <analyzer type="query" class="org.apache.lucene.analysis.cjk.CJKAnalyzer">
63
+ <analyzer>
69
64
  <tokenizer class="solr.StandardTokenizerFactory"/>
70
65
  <filter class="solr.StandardFilterFactory"/>
71
66
  <filter class="solr.LowerCaseFilterFactory"/>
@@ -240,5 +235,4 @@
240
235
  <!-- copyField commands copy one field to another at the time a document
241
236
  is added to the index. It's used either to index the same field differently,
242
237
  or to add multiple fields to the same field for easier/faster searching. -->
243
- <copyField source="*_text" dest="text" />
244
238
  </schema>
@@ -0,0 +1,8 @@
1
+ # Read about factories at https://github.com/thoughtbot/factory_girl
2
+
3
+ FactoryGirl.define do
4
+ factory :series_statement_relationship do |f|
5
+ f.parent_id{FactoryGirl.create(:series_statement).id}
6
+ f.child_id{FactoryGirl.create(:series_statement).id}
7
+ end
8
+ end
@@ -0,0 +1,4 @@
1
+ require 'spec_helper'
2
+
3
+ describe SeriesStatementRelationship do
4
+ end
@@ -0,0 +1,11 @@
1
+ require 'spec_helper'
2
+
3
+ describe "SeriesStatementRelationships" do
4
+ describe "GET /series_statement_relationships" do
5
+ it "works! (now write some real specs)" do
6
+ # Run the generator again with the --webrat flag if you want to use webrat methods/matchers
7
+ get series_statement_relationships_path
8
+ response.status.should be(302)
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,35 @@
1
+ require "spec_helper"
2
+
3
+ describe SeriesStatementRelationshipsController do
4
+ describe "routing" do
5
+
6
+ it "routes to #index" do
7
+ get("/series_statement_relationships").should route_to("series_statement_relationships#index")
8
+ end
9
+
10
+ it "routes to #new" do
11
+ get("/series_statement_relationships/new").should route_to("series_statement_relationships#new")
12
+ end
13
+
14
+ it "routes to #show" do
15
+ get("/series_statement_relationships/1").should route_to("series_statement_relationships#show", :id => "1")
16
+ end
17
+
18
+ it "routes to #edit" do
19
+ get("/series_statement_relationships/1/edit").should route_to("series_statement_relationships#edit", :id => "1")
20
+ end
21
+
22
+ it "routes to #create" do
23
+ post("/series_statement_relationships").should route_to("series_statement_relationships#create")
24
+ end
25
+
26
+ it "routes to #update" do
27
+ put("/series_statement_relationships/1").should route_to("series_statement_relationships#update", :id => "1")
28
+ end
29
+
30
+ it "routes to #destroy" do
31
+ delete("/series_statement_relationships/1").should route_to("series_statement_relationships#destroy", :id => "1")
32
+ end
33
+
34
+ end
35
+ end
@@ -0,0 +1,20 @@
1
+ require 'spec_helper'
2
+
3
+ describe "series_statement_relationships/edit" do
4
+ before(:each) do
5
+ @series_statement_relationship = assign(:series_statement_relationship, stub_model(SeriesStatementRelationship,
6
+ :parent_id => 1,
7
+ :child_id => 1
8
+ ))
9
+ end
10
+
11
+ it "renders the edit series_statement_relationship form" do
12
+ render
13
+
14
+ # Run the generator again with the --webrat flag if you want to use webrat matchers
15
+ assert_select "form", :action => series_statement_relationships_path(@series_statement_relationship), :method => "post" do
16
+ assert_select "input#series_statement_relationship_parent_id", :name => "series_statement_relationship[parent_id]"
17
+ assert_select "input#series_statement_relationship_child_id", :name => "series_statement_relationship[child_id]"
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,23 @@
1
+ require 'spec_helper'
2
+
3
+ describe "series_statement_relationships/index" do
4
+ before(:each) do
5
+ assign(:series_statement_relationships, Kaminari::paginate_array([
6
+ stub_model(SeriesStatementRelationship,
7
+ :parent_id => 1,
8
+ :child_id => 2
9
+ ),
10
+ stub_model(SeriesStatementRelationship,
11
+ :parent_id => 1,
12
+ :child_id => 2
13
+ )
14
+ ]).page(1))
15
+ end
16
+
17
+ it "renders a list of series_statement_relationships" do
18
+ render
19
+ # Run the generator again with the --webrat flag if you want to use webrat matchers
20
+ assert_select "tr>td", :text => "title1", :count => 2
21
+ assert_select "tr>td", :text => "title2", :count => 2
22
+ end
23
+ end
@@ -0,0 +1,20 @@
1
+ require 'spec_helper'
2
+
3
+ describe "series_statement_relationships/new" do
4
+ before(:each) do
5
+ assign(:series_statement_relationship, stub_model(SeriesStatementRelationship,
6
+ :parent_id => 1,
7
+ :child_id => 1
8
+ ).as_new_record)
9
+ end
10
+
11
+ it "renders new series_statement_relationship form" do
12
+ render
13
+
14
+ # Run the generator again with the --webrat flag if you want to use webrat matchers
15
+ assert_select "form", :action => series_statement_relationships_path, :method => "post" do
16
+ assert_select "input#series_statement_relationship_parent_id", :name => "series_statement_relationship[parent_id]"
17
+ assert_select "input#series_statement_relationship_child_id", :name => "series_statement_relationship[child_id]"
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,17 @@
1
+ require 'spec_helper'
2
+
3
+ describe "series_statement_relationships/show" do
4
+ before(:each) do
5
+ @series_statement_relationship = assign(:series_statement_relationship, stub_model(SeriesStatementRelationship,
6
+ :parent_id => 1,
7
+ :child_id => 2
8
+ ))
9
+ end
10
+
11
+ it "renders attributes in <p>" do
12
+ render
13
+ # Run the generator again with the --webrat flag if you want to use webrat matchers
14
+ rendered.should match(/1/)
15
+ rendered.should match(/2/)
16
+ end
17
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enju_biblio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre2
4
+ version: 0.1.0.pre3
5
5
  prerelease: 6
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-28 00:00:00.000000000 Z
12
+ date: 2012-07-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -532,6 +532,7 @@ files:
532
532
  - app/controllers/resource_import_files_controller.rb
533
533
  - app/controllers/resource_import_results_controller.rb
534
534
  - app/controllers/series_has_manifestations_controller.rb
535
+ - app/controllers/series_statement_relationships_controller.rb
535
536
  - app/controllers/series_statements_controller.rb
536
537
  - app/helpers/manifestations_helper.rb
537
538
  - app/helpers/owns_helper.rb
@@ -577,6 +578,7 @@ files:
577
578
  - app/models/resource_import_result.rb
578
579
  - app/models/series_has_manifestation.rb
579
580
  - app/models/series_statement.rb
581
+ - app/models/series_statement_relationship.rb
580
582
  - app/views/accepts/_form.html.erb
581
583
  - app/views/accepts/_list.html.erb
582
584
  - app/views/accepts/edit.html.erb
@@ -845,9 +847,15 @@ files:
845
847
  - app/views/series_has_manifestations/index.html.erb
846
848
  - app/views/series_has_manifestations/new.html.erb
847
849
  - app/views/series_has_manifestations/show.html.erb
850
+ - app/views/series_statement_relationships/_form.html.erb
851
+ - app/views/series_statement_relationships/edit.html.erb
852
+ - app/views/series_statement_relationships/index.html.erb
853
+ - app/views/series_statement_relationships/new.html.erb
854
+ - app/views/series_statement_relationships/show.html.erb
848
855
  - app/views/series_statements/_form.html.erb
849
856
  - app/views/series_statements/_index.html.erb
850
857
  - app/views/series_statements/_index_manifestation.html.erb
858
+ - app/views/series_statements/_index_parent.html.erb
851
859
  - app/views/series_statements/_index_series_statement_merge_list.html.erb
852
860
  - app/views/series_statements/_manifestation_list.html.erb
853
861
  - app/views/series_statements/_merge.html.erb
@@ -936,6 +944,7 @@ files:
936
944
  - db/migrate/20120418081407_add_month_of_publication_to_manifestation.rb
937
945
  - db/migrate/20120511072422_add_patron_identifier_to_patron.rb
938
946
  - db/migrate/20120602141129_add_edit_mode_to_patron_import_file.rb
947
+ - db/migrate/20120728204337_create_series_statement_relationships.rb
939
948
  - lib/enju_biblio/biblio_helper.rb
940
949
  - lib/enju_biblio/engine.rb
941
950
  - lib/enju_biblio/openurl.rb
@@ -981,6 +990,7 @@ files:
981
990
  - spec/controllers/resource_import_files_controller_spec.rb
982
991
  - spec/controllers/resource_import_results_controller_spec.rb
983
992
  - spec/controllers/series_has_manifestations_controller_spec.rb
993
+ - spec/controllers/series_statement_relationships_controller_spec.rb
984
994
  - spec/controllers/series_statements_controller_spec.rb
985
995
  - spec/dummy/app/assets/javascripts/application.js
986
996
  - spec/dummy/app/assets/stylesheets/application.css
@@ -1026,7 +1036,6 @@ files:
1026
1036
  - spec/dummy/config/locales/ja.yml
1027
1037
  - spec/dummy/config/routes.rb
1028
1038
  - spec/dummy/config.ru
1029
- - spec/dummy/db/development.sqlite3
1030
1039
  - spec/dummy/db/migrate/032_create_checkins.rb
1031
1040
  - spec/dummy/db/migrate/033_create_checkouts.rb
1032
1041
  - spec/dummy/db/migrate/035_create_reserves.rb
@@ -1146,7 +1155,7 @@ files:
1146
1155
  - spec/dummy/solr/conf/stopwords.txt
1147
1156
  - spec/dummy/solr/conf/synonyms.txt
1148
1157
  - spec/dummy/solr/data/test/index/segments.gen
1149
- - spec/dummy/solr/data/test/index/segments_q1
1158
+ - spec/dummy/solr/data/test/index/segments_5hq
1150
1159
  - spec/dummy/solr/data/test/spellchecker/segments.gen
1151
1160
  - spec/dummy/solr/data/test/spellchecker/segments_1
1152
1161
  - spec/dummy/tmp/cache/4F7/F90/default_role
@@ -1182,6 +1191,7 @@ files:
1182
1191
  - spec/factories/realize_types.rb
1183
1192
  - spec/factories/series_has_manifestation.rb
1184
1193
  - spec/factories/series_statement.rb
1194
+ - spec/factories/series_statement_relationship.rb
1185
1195
  - spec/factories/user.rb
1186
1196
  - spec/fixtures/baskets.yml
1187
1197
  - spec/fixtures/bookstores.yml
@@ -1288,6 +1298,7 @@ files:
1288
1298
  - spec/models/resource_import_file_spec.rb
1289
1299
  - spec/models/resource_import_result_spec.rb
1290
1300
  - spec/models/series_has_manifestation_spec.rb
1301
+ - spec/models/series_statement_relationship_spec.rb
1291
1302
  - spec/models/series_statement_spec.rb
1292
1303
  - spec/requests/accepts_spec.rb
1293
1304
  - spec/requests/create_types_spec.rb
@@ -1296,6 +1307,7 @@ files:
1296
1307
  - spec/requests/patrons_spec.rb
1297
1308
  - spec/requests/produce_types_spec.rb
1298
1309
  - spec/requests/realize_types_spec.rb
1310
+ - spec/requests/series_statement_relationships_spec.rb
1299
1311
  - spec/routing/accepts_routing_spec.rb
1300
1312
  - spec/routing/content_types_routing_spec.rb
1301
1313
  - spec/routing/create_types_routing_spec.rb
@@ -1312,6 +1324,7 @@ files:
1312
1324
  - spec/routing/realize_types_routing_spec.rb
1313
1325
  - spec/routing/realizes_routing_spec.rb
1314
1326
  - spec/routing/series_has_manifestations_routing_spec.rb
1327
+ - spec/routing/series_statement_relationships_routing_spec.rb
1315
1328
  - spec/spec_helper.rb
1316
1329
  - spec/support/controller_macros.rb
1317
1330
  - spec/support/devise.rb
@@ -1357,6 +1370,10 @@ files:
1357
1370
  - spec/views/series_has_manifestations/index.html.erb_spec.rb
1358
1371
  - spec/views/series_has_manifestations/new.html.erb_spec.rb
1359
1372
  - spec/views/series_has_manifestations/show.html.erb_spec.rb
1373
+ - spec/views/series_statement_relationships/edit.html.erb_spec.rb
1374
+ - spec/views/series_statement_relationships/index.html.erb_spec.rb
1375
+ - spec/views/series_statement_relationships/new.html.erb_spec.rb
1376
+ - spec/views/series_statement_relationships/show.html.erb_spec.rb
1360
1377
  homepage: https://github.com/nabeta/enju_biblio
1361
1378
  licenses: []
1362
1379
  post_install_message:
@@ -1415,6 +1432,7 @@ test_files:
1415
1432
  - spec/controllers/resource_import_files_controller_spec.rb
1416
1433
  - spec/controllers/resource_import_results_controller_spec.rb
1417
1434
  - spec/controllers/series_has_manifestations_controller_spec.rb
1435
+ - spec/controllers/series_statement_relationships_controller_spec.rb
1418
1436
  - spec/controllers/series_statements_controller_spec.rb
1419
1437
  - spec/dummy/app/assets/javascripts/application.js
1420
1438
  - spec/dummy/app/assets/stylesheets/application.css
@@ -1460,7 +1478,6 @@ test_files:
1460
1478
  - spec/dummy/config/locales/ja.yml
1461
1479
  - spec/dummy/config/routes.rb
1462
1480
  - spec/dummy/config.ru
1463
- - spec/dummy/db/development.sqlite3
1464
1481
  - spec/dummy/db/migrate/032_create_checkins.rb
1465
1482
  - spec/dummy/db/migrate/033_create_checkouts.rb
1466
1483
  - spec/dummy/db/migrate/035_create_reserves.rb
@@ -1580,7 +1597,7 @@ test_files:
1580
1597
  - spec/dummy/solr/conf/stopwords.txt
1581
1598
  - spec/dummy/solr/conf/synonyms.txt
1582
1599
  - spec/dummy/solr/data/test/index/segments.gen
1583
- - spec/dummy/solr/data/test/index/segments_q1
1600
+ - spec/dummy/solr/data/test/index/segments_5hq
1584
1601
  - spec/dummy/solr/data/test/spellchecker/segments.gen
1585
1602
  - spec/dummy/solr/data/test/spellchecker/segments_1
1586
1603
  - spec/dummy/tmp/cache/4F7/F90/default_role
@@ -1616,6 +1633,7 @@ test_files:
1616
1633
  - spec/factories/realize_types.rb
1617
1634
  - spec/factories/series_has_manifestation.rb
1618
1635
  - spec/factories/series_statement.rb
1636
+ - spec/factories/series_statement_relationship.rb
1619
1637
  - spec/factories/user.rb
1620
1638
  - spec/fixtures/baskets.yml
1621
1639
  - spec/fixtures/bookstores.yml
@@ -1722,6 +1740,7 @@ test_files:
1722
1740
  - spec/models/resource_import_file_spec.rb
1723
1741
  - spec/models/resource_import_result_spec.rb
1724
1742
  - spec/models/series_has_manifestation_spec.rb
1743
+ - spec/models/series_statement_relationship_spec.rb
1725
1744
  - spec/models/series_statement_spec.rb
1726
1745
  - spec/requests/accepts_spec.rb
1727
1746
  - spec/requests/create_types_spec.rb
@@ -1730,6 +1749,7 @@ test_files:
1730
1749
  - spec/requests/patrons_spec.rb
1731
1750
  - spec/requests/produce_types_spec.rb
1732
1751
  - spec/requests/realize_types_spec.rb
1752
+ - spec/requests/series_statement_relationships_spec.rb
1733
1753
  - spec/routing/accepts_routing_spec.rb
1734
1754
  - spec/routing/content_types_routing_spec.rb
1735
1755
  - spec/routing/create_types_routing_spec.rb
@@ -1746,6 +1766,7 @@ test_files:
1746
1766
  - spec/routing/realize_types_routing_spec.rb
1747
1767
  - spec/routing/realizes_routing_spec.rb
1748
1768
  - spec/routing/series_has_manifestations_routing_spec.rb
1769
+ - spec/routing/series_statement_relationships_routing_spec.rb
1749
1770
  - spec/spec_helper.rb
1750
1771
  - spec/support/controller_macros.rb
1751
1772
  - spec/support/devise.rb
@@ -1791,3 +1812,7 @@ test_files:
1791
1812
  - spec/views/series_has_manifestations/index.html.erb_spec.rb
1792
1813
  - spec/views/series_has_manifestations/new.html.erb_spec.rb
1793
1814
  - spec/views/series_has_manifestations/show.html.erb_spec.rb
1815
+ - spec/views/series_statement_relationships/edit.html.erb_spec.rb
1816
+ - spec/views/series_statement_relationships/index.html.erb_spec.rb
1817
+ - spec/views/series_statement_relationships/new.html.erb_spec.rb
1818
+ - spec/views/series_statement_relationships/show.html.erb_spec.rb