enju_subject 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- data/app/controllers/classifications_controller.rb +5 -12
- data/app/controllers/subject_has_classifications_controller.rb +13 -13
- data/app/controllers/subject_heading_type_has_subjects_controller.rb +5 -7
- data/app/controllers/subjects_controller.rb +9 -11
- data/app/controllers/work_has_subjects_controller.rb +14 -16
- data/lib/enju_subject/engine.rb +1 -0
- data/lib/enju_subject/version.rb +1 -1
- data/spec/dummy/app/controllers/application_controller.rb +2 -2
- data/spec/dummy/app/models/ability.rb +6 -2
- data/spec/dummy/db/test.sqlite3 +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/{E31/450/sprockets%2F1dd81425dd80ff4bdf569eadd2e1a8ed → 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/{CDA/820/sprockets%2F44191072efee7bea4011292f2f3f8534 → D63/4E0/sprockets%2F0d39549b9e061d4b82c2ba3ac7ec5c31} +0 -0
- data/spec/dummy/tmp/cache/assets/{CCF/E80/sprockets%2F43cd60a461caf54702cd11b375829b44 → DAD/4B0/sprockets%2Fb5993ad241d17bf516c64e9fcd9f68bb} +0 -0
- data/spec/dummy/tmp/cache/assets/{D84/210/sprockets%2Fabd0103ccec2b428ac62c94e4c40b384 → DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994} +0 -0
- data/spec/dummy/tmp/cache/assets/{D30/680/sprockets%2F814ab0b411639d1c77bcee7c1729d0a3 → DFD/1C0/sprockets%2Fbba00f45f706fc39c4fbfc79305c9afb} +0 -0
- data/spec/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/spec/spec_helper.rb +0 -12
- metadata +53 -48
- data/spec/dummy/tmp/cache/assets/D54/ED0/sprockets%2F71c9fa01091d432b131da3bb73faf3d4 +0 -10
@@ -41,8 +41,6 @@ class ClassificationsController < ApplicationController
|
|
41
41
|
# GET /classifications/1
|
42
42
|
# GET /classifications/1.json
|
43
43
|
def show
|
44
|
-
@classification = Classification.find(params[:id])
|
45
|
-
|
46
44
|
respond_to do |format|
|
47
45
|
format.html # show.html.erb
|
48
46
|
format.json { render :json => @classification }
|
@@ -64,7 +62,6 @@ class ClassificationsController < ApplicationController
|
|
64
62
|
|
65
63
|
# GET /classifications/1/edit
|
66
64
|
def edit
|
67
|
-
@classification = Classification.find(params[:id])
|
68
65
|
@classification_types = ClassificationType.all
|
69
66
|
end
|
70
67
|
|
@@ -75,8 +72,7 @@ class ClassificationsController < ApplicationController
|
|
75
72
|
|
76
73
|
respond_to do |format|
|
77
74
|
if @classification.save
|
78
|
-
|
79
|
-
format.html { redirect_to(@classification) }
|
75
|
+
format.html { redirect_to @classification, :notice => t('controller.successfully_created', :model => t('activerecord.models.classification')) }
|
80
76
|
format.json { render :json => @classification, :status => :created, :location => @classification }
|
81
77
|
else
|
82
78
|
@classification_types = ClassificationType.all
|
@@ -89,13 +85,10 @@ class ClassificationsController < ApplicationController
|
|
89
85
|
# PUT /classifications/1
|
90
86
|
# PUT /classifications/1.json
|
91
87
|
def update
|
92
|
-
@classification = Classification.find(params[:id])
|
93
|
-
|
94
88
|
respond_to do |format|
|
95
89
|
if @classification.update_attributes(params[:classification])
|
96
|
-
|
97
|
-
format.
|
98
|
-
format.json { head :ok }
|
90
|
+
format.html { redirect_to @classification, :notice => t('controller.successfully_updated', :model => t('activerecord.models.classification')) }
|
91
|
+
format.json { head :no_content }
|
99
92
|
else
|
100
93
|
@classification_types = ClassificationType.all
|
101
94
|
format.html { render :action => "edit" }
|
@@ -111,8 +104,8 @@ class ClassificationsController < ApplicationController
|
|
111
104
|
@classification.destroy
|
112
105
|
|
113
106
|
respond_to do |format|
|
114
|
-
format.html { redirect_to
|
115
|
-
format.json { head :
|
107
|
+
format.html { redirect_to classifications_url }
|
108
|
+
format.json { head :no_content }
|
116
109
|
end
|
117
110
|
end
|
118
111
|
|
@@ -53,8 +53,7 @@ class SubjectHasClassificationsController < ApplicationController
|
|
53
53
|
|
54
54
|
respond_to do |format|
|
55
55
|
if @subject_has_classification.save
|
56
|
-
|
57
|
-
format.html { redirect_to(@subject_has_classification) }
|
56
|
+
format.html { redirect_to @subject_has_classification, :notice => t('controller.successfully_created', :model => t('activerecord.models.subject_has_classification')) }
|
58
57
|
format.json { render :json => @subject_has_classification, :status => :created, :location => @subject_has_classification }
|
59
58
|
else
|
60
59
|
format.html { render :action => "new" }
|
@@ -68,9 +67,8 @@ class SubjectHasClassificationsController < ApplicationController
|
|
68
67
|
def update
|
69
68
|
respond_to do |format|
|
70
69
|
if @subject_has_classification.update_attributes(params[:subject_has_classification])
|
71
|
-
|
72
|
-
format.
|
73
|
-
format.json { head :ok }
|
70
|
+
format.html { redirect_to @subject_has_classification, :notice => t('controller.successfully_updated', :model => t('activerecord.models.subject_has_classification')) }
|
71
|
+
format.json { head :no_content }
|
74
72
|
else
|
75
73
|
format.html { render :action => "edit" }
|
76
74
|
format.json { render :json => @subject_has_classification.errors, :status => :unprocessable_entity }
|
@@ -84,14 +82,16 @@ class SubjectHasClassificationsController < ApplicationController
|
|
84
82
|
@subject_has_classification.destroy
|
85
83
|
|
86
84
|
respond_to do |format|
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
85
|
+
format.html {
|
86
|
+
if @subject
|
87
|
+
redirect_to subject_subject_has_classifications_url(@subject)
|
88
|
+
elsif @classification
|
89
|
+
redirect_to classification_subject_has_classifications_url(@classification)
|
90
|
+
else
|
91
|
+
redirect_to subject_has_classifications_url
|
92
|
+
end
|
93
|
+
}
|
94
|
+
format.json { head :no_content }
|
95
95
|
end
|
96
96
|
end
|
97
97
|
end
|
@@ -44,8 +44,7 @@ class SubjectHeadingTypeHasSubjectsController < ApplicationController
|
|
44
44
|
|
45
45
|
respond_to do |format|
|
46
46
|
if @subject_heading_type_has_subject.save
|
47
|
-
|
48
|
-
format.html { redirect_to(@subject_heading_type_has_subject) }
|
47
|
+
format.html { redirect_to @subject_heading_type_has_subject, :notice => 'SubjectHeadingTypeHasSubject was successfully created.' }
|
49
48
|
format.json { render :json => @subject_heading_type_has_subject, :status => :created, :location => @subject_heading_type_has_subject }
|
50
49
|
else
|
51
50
|
format.html { render :action => "new" }
|
@@ -59,9 +58,8 @@ class SubjectHeadingTypeHasSubjectsController < ApplicationController
|
|
59
58
|
def update
|
60
59
|
respond_to do |format|
|
61
60
|
if @subject_heading_type_has_subject.update_attributes(params[:subject_heading_type_has_subject])
|
62
|
-
|
63
|
-
format.
|
64
|
-
format.json { head :ok }
|
61
|
+
format.html { redirect_to @subject_heading_type_has_subject, :notice => 'SubjectHeadingTypeHasSubject was successfully updated.' }
|
62
|
+
format.json { head :no_content }
|
65
63
|
else
|
66
64
|
format.html { render :action => "edit" }
|
67
65
|
format.json { render :json => @subject_heading_type_has_subject.errors, :status => :unprocessable_entity }
|
@@ -75,8 +73,8 @@ class SubjectHeadingTypeHasSubjectsController < ApplicationController
|
|
75
73
|
@subject_heading_type_has_subject.destroy
|
76
74
|
|
77
75
|
respond_to do |format|
|
78
|
-
format.html { redirect_to
|
79
|
-
format.json { head :
|
76
|
+
format.html { redirect_to subject_heading_type_has_subjects_url }
|
77
|
+
format.json { head :no_content }
|
80
78
|
end
|
81
79
|
end
|
82
80
|
end
|
@@ -57,7 +57,7 @@ class SubjectsController < ApplicationController
|
|
57
57
|
|
58
58
|
respond_to do |format|
|
59
59
|
format.html # index.rhtml
|
60
|
-
format.json { render :json => @subjects
|
60
|
+
format.json { render :json => @subjects }
|
61
61
|
format.rss
|
62
62
|
format.atom
|
63
63
|
end
|
@@ -88,7 +88,7 @@ class SubjectsController < ApplicationController
|
|
88
88
|
|
89
89
|
respond_to do |format|
|
90
90
|
format.html # show.rhtml
|
91
|
-
format.json { render :json => @subject
|
91
|
+
format.json { render :json => @subject }
|
92
92
|
format.js
|
93
93
|
end
|
94
94
|
end
|
@@ -105,7 +105,7 @@ class SubjectsController < ApplicationController
|
|
105
105
|
end
|
106
106
|
end
|
107
107
|
|
108
|
-
# GET /subjects/1
|
108
|
+
# GET /subjects/1/edit
|
109
109
|
def edit
|
110
110
|
if @work
|
111
111
|
@subject = @work.subjects.find(params[:id])
|
@@ -130,15 +130,14 @@ class SubjectsController < ApplicationController
|
|
130
130
|
if @subject.save
|
131
131
|
@subject.classifications << classification if classification
|
132
132
|
@subject.subject_heading_types << subject_heading_type if subject_heading_type
|
133
|
-
|
134
|
-
format.html { redirect_to subject_url(@subject) }
|
133
|
+
format.html { redirect_to @subject, :notice => t('controller.successfully_created', :model => t('activerecord.models.subject')) }
|
135
134
|
format.json { render :json => @subject, :status => :created, :location => @subject }
|
136
135
|
else
|
137
136
|
@classification = classification
|
138
137
|
@subject_heading_type = subject_heading_type
|
139
138
|
prepare_options
|
140
139
|
format.html { render :action => "new" }
|
141
|
-
format.json { render :json => @subject.errors
|
140
|
+
format.json { render :json => @subject.errors, status: :unprocessable_entity }
|
142
141
|
end
|
143
142
|
end
|
144
143
|
end
|
@@ -154,13 +153,12 @@ class SubjectsController < ApplicationController
|
|
154
153
|
|
155
154
|
respond_to do |format|
|
156
155
|
if @subject.update_attributes(params[:subject])
|
157
|
-
|
158
|
-
format.
|
159
|
-
format.json { head :ok }
|
156
|
+
format.html { redirect_to @subject, :notice => t('controller.successfully_updated', :model => t('activerecord.models.subject')) }
|
157
|
+
format.json { head :no_content }
|
160
158
|
else
|
161
159
|
prepare_options
|
162
160
|
format.html { render :action => "edit" }
|
163
|
-
format.json { render :json => @subject.errors
|
161
|
+
format.json { render :json => @subject.errors, status: :unprocessable_entity }
|
164
162
|
end
|
165
163
|
end
|
166
164
|
end
|
@@ -177,7 +175,7 @@ class SubjectsController < ApplicationController
|
|
177
175
|
|
178
176
|
respond_to do |format|
|
179
177
|
format.html { redirect_to subjects_url }
|
180
|
-
format.json { head :
|
178
|
+
format.json { head :no_content }
|
181
179
|
end
|
182
180
|
end
|
183
181
|
|
@@ -54,8 +54,7 @@ class WorkHasSubjectsController < ApplicationController
|
|
54
54
|
|
55
55
|
respond_to do |format|
|
56
56
|
if @work_has_subject.save
|
57
|
-
|
58
|
-
format.html { redirect_to(@work_has_subject) }
|
57
|
+
format.html { redirect_to @work_has_subject, :notice => t('controller.successfully_created', :model => t('activerecord.models.work_has_subject')) }
|
59
58
|
format.json { render :json => @work_has_subject, :status => :created, :location => @work_has_subject }
|
60
59
|
else
|
61
60
|
format.html { render :action => "new" }
|
@@ -78,9 +77,8 @@ class WorkHasSubjectsController < ApplicationController
|
|
78
77
|
|
79
78
|
respond_to do |format|
|
80
79
|
if @work_has_subject.update_attributes(params[:work_has_subject])
|
81
|
-
|
82
|
-
format.
|
83
|
-
format.json { head :ok }
|
80
|
+
format.html { redirect_to @work_has_subject, :notice => t('controller.successfully_updated', :model => t('activerecord.models.work_has_subject')) }
|
81
|
+
format.json { head :no_content }
|
84
82
|
else
|
85
83
|
format.html { render :action => "edit" }
|
86
84
|
format.json { render :json => @work_has_subject.errors, :status => :unprocessable_entity }
|
@@ -95,17 +93,17 @@ class WorkHasSubjectsController < ApplicationController
|
|
95
93
|
@work_has_subject.destroy
|
96
94
|
|
97
95
|
respond_to do |format|
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
96
|
+
format.html {
|
97
|
+
case
|
98
|
+
when @work
|
99
|
+
redirect_to work_work_has_subjects_url(@work)
|
100
|
+
when @subject
|
101
|
+
redirect_to subject_work_has_subjects_url(@subject)
|
102
|
+
else
|
103
|
+
redirect_to work_has_subjects_url
|
104
|
+
end
|
105
|
+
}
|
106
|
+
format.json { head :no_content }
|
109
107
|
end
|
110
108
|
end
|
111
109
|
end
|
data/lib/enju_subject/engine.rb
CHANGED
data/lib/enju_subject/version.rb
CHANGED
@@ -8,7 +8,7 @@ class ApplicationController < ActionController::Base
|
|
8
8
|
return if performed?
|
9
9
|
if user_signed_in?
|
10
10
|
respond_to do |format|
|
11
|
-
format.html {render :file => "#{Rails.root}/public/404
|
11
|
+
format.html {render :file => "#{Rails.root}/public/404", :status => 403}
|
12
12
|
format.xml
|
13
13
|
format.json
|
14
14
|
end
|
@@ -24,7 +24,7 @@ class ApplicationController < ActionController::Base
|
|
24
24
|
def render_404
|
25
25
|
return if performed?
|
26
26
|
respond_to do |format|
|
27
|
-
format.html {render :file => "#{Rails.root}/public/404
|
27
|
+
format.html {render :file => "#{Rails.root}/public/404", :status => 404}
|
28
28
|
format.xml
|
29
29
|
format.json
|
30
30
|
end
|
@@ -7,24 +7,27 @@ class Ability
|
|
7
7
|
can :manage, Classification
|
8
8
|
can :manage, ClassificationType
|
9
9
|
can :manage, Subject
|
10
|
-
can :manage,
|
10
|
+
can :manage, SubjectHasClassification
|
11
11
|
can :manage, SubjectHeadingType
|
12
12
|
can :manage, SubjectHeadingTypeHasSubject
|
13
|
+
can :manage, SubjectType
|
13
14
|
can :manage, WorkHasSubject
|
14
15
|
can :manage, Manifestation
|
15
16
|
when 'Librarian'
|
16
17
|
can :read, Classification
|
17
18
|
can :read, ClassificationType
|
18
19
|
can :read, Subject
|
19
|
-
can :
|
20
|
+
can :manage, SubjectHasClassification
|
20
21
|
can :read, SubjectHeadingType
|
21
22
|
can :read, SubjectHeadingTypeHasSubject
|
23
|
+
can :read, SubjectType
|
22
24
|
can :manage, WorkHasSubject
|
23
25
|
can :read, Manifestation
|
24
26
|
when 'User'
|
25
27
|
can :read, Classification
|
26
28
|
can :read, ClassificationType
|
27
29
|
can :read, Subject
|
30
|
+
can :read, SubjectHasClassification
|
28
31
|
can :read, SubjectHeadingType
|
29
32
|
can :read, WorkHasSubject
|
30
33
|
can :read, Manifestation
|
@@ -32,6 +35,7 @@ class Ability
|
|
32
35
|
can :read, Classification
|
33
36
|
can :read, ClassificationType
|
34
37
|
can :read, Subject
|
38
|
+
can :read, SubjectHasClassification
|
35
39
|
can :read, SubjectHeadingType
|
36
40
|
can :read, WorkHasSubject
|
37
41
|
can :read, Manifestation
|
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/spec/spec_helper.rb
CHANGED
@@ -27,18 +27,6 @@ RSpec.configure do |config|
|
|
27
27
|
config.use_transactional_fixtures = true
|
28
28
|
|
29
29
|
config.extend ControllerMacros, :type => :controller
|
30
|
-
|
31
|
-
$original_sunspot_session = Sunspot.session
|
32
|
-
|
33
|
-
config.before do
|
34
|
-
Sunspot.session = Sunspot::Rails::StubSessionProxy.new($original_sunspot_session)
|
35
|
-
end
|
36
|
-
|
37
|
-
config.before :each, :solr => true do
|
38
|
-
Sunspot::Rails::Tester.start_original_sunspot_session
|
39
|
-
Sunspot.session = $original_sunspot_session
|
40
|
-
#Sunspot.remove_all!
|
41
|
-
end
|
42
30
|
end
|
43
31
|
|
44
32
|
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.9
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-03-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
|
-
requirement: &
|
16
|
+
requirement: &70263976858680 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '3.1'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70263976858680
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: friendly_id
|
27
|
-
requirement: &
|
27
|
+
requirement: &70263976857980 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '4.0'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70263976857980
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: will_paginate
|
38
|
-
requirement: &
|
38
|
+
requirement: &70263976857520 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '3.0'
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70263976857520
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: devise
|
49
|
-
requirement: &
|
49
|
+
requirement: &70263976857120 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ! '>='
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: '0'
|
55
55
|
type: :runtime
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *70263976857120
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: cancan
|
60
|
-
requirement: &
|
60
|
+
requirement: &70263976856400 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ! '>='
|
@@ -65,10 +65,10 @@ dependencies:
|
|
65
65
|
version: '0'
|
66
66
|
type: :runtime
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *70263976856400
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: inherited_resources
|
71
|
-
requirement: &
|
71
|
+
requirement: &70263976855960 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - ! '>='
|
@@ -76,10 +76,10 @@ dependencies:
|
|
76
76
|
version: '0'
|
77
77
|
type: :runtime
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *70263976855960
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: attribute_normalizer
|
82
|
-
requirement: &
|
82
|
+
requirement: &70263976855380 !ruby/object:Gem::Requirement
|
83
83
|
none: false
|
84
84
|
requirements:
|
85
85
|
- - ~>
|
@@ -87,10 +87,10 @@ dependencies:
|
|
87
87
|
version: '1.1'
|
88
88
|
type: :runtime
|
89
89
|
prerelease: false
|
90
|
-
version_requirements: *
|
90
|
+
version_requirements: *70263976855380
|
91
91
|
- !ruby/object:Gem::Dependency
|
92
92
|
name: sunspot_rails
|
93
|
-
requirement: &
|
93
|
+
requirement: &70263976854840 !ruby/object:Gem::Requirement
|
94
94
|
none: false
|
95
95
|
requirements:
|
96
96
|
- - ! '>='
|
@@ -98,10 +98,10 @@ dependencies:
|
|
98
98
|
version: '0'
|
99
99
|
type: :runtime
|
100
100
|
prerelease: false
|
101
|
-
version_requirements: *
|
101
|
+
version_requirements: *70263976854840
|
102
102
|
- !ruby/object:Gem::Dependency
|
103
103
|
name: sunspot_solr
|
104
|
-
requirement: &
|
104
|
+
requirement: &70263976854020 !ruby/object:Gem::Requirement
|
105
105
|
none: false
|
106
106
|
requirements:
|
107
107
|
- - ! '>='
|
@@ -109,10 +109,10 @@ dependencies:
|
|
109
109
|
version: '0'
|
110
110
|
type: :runtime
|
111
111
|
prerelease: false
|
112
|
-
version_requirements: *
|
112
|
+
version_requirements: *70263976854020
|
113
113
|
- !ruby/object:Gem::Dependency
|
114
114
|
name: dynamic_form
|
115
|
-
requirement: &
|
115
|
+
requirement: &70263976902220 !ruby/object:Gem::Requirement
|
116
116
|
none: false
|
117
117
|
requirements:
|
118
118
|
- - ! '>='
|
@@ -120,10 +120,10 @@ dependencies:
|
|
120
120
|
version: '0'
|
121
121
|
type: :runtime
|
122
122
|
prerelease: false
|
123
|
-
version_requirements: *
|
123
|
+
version_requirements: *70263976902220
|
124
124
|
- !ruby/object:Gem::Dependency
|
125
125
|
name: acts_as_list
|
126
|
-
requirement: &
|
126
|
+
requirement: &70263976901380 !ruby/object:Gem::Requirement
|
127
127
|
none: false
|
128
128
|
requirements:
|
129
129
|
- - ~>
|
@@ -131,10 +131,10 @@ dependencies:
|
|
131
131
|
version: 0.1.5
|
132
132
|
type: :runtime
|
133
133
|
prerelease: false
|
134
|
-
version_requirements: *
|
134
|
+
version_requirements: *70263976901380
|
135
135
|
- !ruby/object:Gem::Dependency
|
136
136
|
name: sqlite3
|
137
|
-
requirement: &
|
137
|
+
requirement: &70263976900920 !ruby/object:Gem::Requirement
|
138
138
|
none: false
|
139
139
|
requirements:
|
140
140
|
- - ! '>='
|
@@ -142,10 +142,10 @@ dependencies:
|
|
142
142
|
version: '0'
|
143
143
|
type: :development
|
144
144
|
prerelease: false
|
145
|
-
version_requirements: *
|
145
|
+
version_requirements: *70263976900920
|
146
146
|
- !ruby/object:Gem::Dependency
|
147
147
|
name: rspec-rails
|
148
|
-
requirement: &
|
148
|
+
requirement: &70263976900060 !ruby/object:Gem::Requirement
|
149
149
|
none: false
|
150
150
|
requirements:
|
151
151
|
- - ! '>='
|
@@ -153,10 +153,10 @@ dependencies:
|
|
153
153
|
version: '0'
|
154
154
|
type: :development
|
155
155
|
prerelease: false
|
156
|
-
version_requirements: *
|
156
|
+
version_requirements: *70263976900060
|
157
157
|
- !ruby/object:Gem::Dependency
|
158
158
|
name: factory_girl_rails
|
159
|
-
requirement: &
|
159
|
+
requirement: &70263976898920 !ruby/object:Gem::Requirement
|
160
160
|
none: false
|
161
161
|
requirements:
|
162
162
|
- - ~>
|
@@ -164,10 +164,10 @@ dependencies:
|
|
164
164
|
version: '1.7'
|
165
165
|
type: :development
|
166
166
|
prerelease: false
|
167
|
-
version_requirements: *
|
167
|
+
version_requirements: *70263976898920
|
168
168
|
- !ruby/object:Gem::Dependency
|
169
169
|
name: sunspot-rails-tester
|
170
|
-
requirement: &
|
170
|
+
requirement: &70263976897880 !ruby/object:Gem::Requirement
|
171
171
|
none: false
|
172
172
|
requirements:
|
173
173
|
- - ! '>='
|
@@ -175,10 +175,10 @@ dependencies:
|
|
175
175
|
version: '0'
|
176
176
|
type: :development
|
177
177
|
prerelease: false
|
178
|
-
version_requirements: *
|
178
|
+
version_requirements: *70263976897880
|
179
179
|
- !ruby/object:Gem::Dependency
|
180
180
|
name: vcr
|
181
|
-
requirement: &
|
181
|
+
requirement: &70263976896780 !ruby/object:Gem::Requirement
|
182
182
|
none: false
|
183
183
|
requirements:
|
184
184
|
- - ~>
|
@@ -186,10 +186,10 @@ dependencies:
|
|
186
186
|
version: 2.0.0.rc2
|
187
187
|
type: :development
|
188
188
|
prerelease: false
|
189
|
-
version_requirements: *
|
189
|
+
version_requirements: *70263976896780
|
190
190
|
- !ruby/object:Gem::Dependency
|
191
191
|
name: fakeweb
|
192
|
-
requirement: &
|
192
|
+
requirement: &70263976895920 !ruby/object:Gem::Requirement
|
193
193
|
none: false
|
194
194
|
requirements:
|
195
195
|
- - ! '>='
|
@@ -197,7 +197,7 @@ dependencies:
|
|
197
197
|
version: '0'
|
198
198
|
type: :development
|
199
199
|
prerelease: false
|
200
|
-
version_requirements: *
|
200
|
+
version_requirements: *70263976895920
|
201
201
|
description: Subject and classification management for Next-L Enju
|
202
202
|
email:
|
203
203
|
- tanabe@mwr.mediacom.keio.ac.jp
|
@@ -389,14 +389,16 @@ files:
|
|
389
389
|
- spec/dummy/test/unit/user_group_test.rb
|
390
390
|
- spec/dummy/test/unit/user_has_role_test.rb
|
391
391
|
- spec/dummy/test/unit/user_test.rb
|
392
|
-
- spec/dummy/tmp/cache/assets/
|
393
|
-
- spec/dummy/tmp/cache/assets/CDA/820/sprockets%2F44191072efee7bea4011292f2f3f8534
|
394
|
-
- spec/dummy/tmp/cache/assets/D30/680/sprockets%2F814ab0b411639d1c77bcee7c1729d0a3
|
392
|
+
- spec/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
|
395
393
|
- spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
|
396
|
-
- spec/dummy/tmp/cache/assets/
|
397
|
-
- spec/dummy/tmp/cache/assets/
|
394
|
+
- spec/dummy/tmp/cache/assets/D47/9C0/sprockets%2Fed08c2088e78d59a4fc4ea21b625784b
|
395
|
+
- spec/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
|
396
|
+
- spec/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
|
397
|
+
- spec/dummy/tmp/cache/assets/D63/4E0/sprockets%2F0d39549b9e061d4b82c2ba3ac7ec5c31
|
398
|
+
- spec/dummy/tmp/cache/assets/DAD/4B0/sprockets%2Fb5993ad241d17bf516c64e9fcd9f68bb
|
399
|
+
- spec/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
|
400
|
+
- spec/dummy/tmp/cache/assets/DFD/1C0/sprockets%2Fbba00f45f706fc39c4fbfc79305c9afb
|
398
401
|
- spec/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
|
399
|
-
- spec/dummy/tmp/cache/assets/E31/450/sprockets%2F1dd81425dd80ff4bdf569eadd2e1a8ed
|
400
402
|
- spec/factories/classification.rb
|
401
403
|
- spec/factories/classification_type.rb
|
402
404
|
- spec/factories/manifestation.rb
|
@@ -554,14 +556,16 @@ test_files:
|
|
554
556
|
- spec/dummy/test/unit/user_group_test.rb
|
555
557
|
- spec/dummy/test/unit/user_has_role_test.rb
|
556
558
|
- spec/dummy/test/unit/user_test.rb
|
557
|
-
- spec/dummy/tmp/cache/assets/
|
558
|
-
- spec/dummy/tmp/cache/assets/CDA/820/sprockets%2F44191072efee7bea4011292f2f3f8534
|
559
|
-
- spec/dummy/tmp/cache/assets/D30/680/sprockets%2F814ab0b411639d1c77bcee7c1729d0a3
|
559
|
+
- spec/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
|
560
560
|
- spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
|
561
|
-
- spec/dummy/tmp/cache/assets/
|
562
|
-
- spec/dummy/tmp/cache/assets/
|
561
|
+
- spec/dummy/tmp/cache/assets/D47/9C0/sprockets%2Fed08c2088e78d59a4fc4ea21b625784b
|
562
|
+
- spec/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
|
563
|
+
- spec/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
|
564
|
+
- spec/dummy/tmp/cache/assets/D63/4E0/sprockets%2F0d39549b9e061d4b82c2ba3ac7ec5c31
|
565
|
+
- spec/dummy/tmp/cache/assets/DAD/4B0/sprockets%2Fb5993ad241d17bf516c64e9fcd9f68bb
|
566
|
+
- spec/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
|
567
|
+
- spec/dummy/tmp/cache/assets/DFD/1C0/sprockets%2Fbba00f45f706fc39c4fbfc79305c9afb
|
563
568
|
- spec/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
|
564
|
-
- spec/dummy/tmp/cache/assets/E31/450/sprockets%2F1dd81425dd80ff4bdf569eadd2e1a8ed
|
565
569
|
- spec/factories/classification.rb
|
566
570
|
- spec/factories/classification_type.rb
|
567
571
|
- spec/factories/manifestation.rb
|
@@ -604,3 +608,4 @@ test_files:
|
|
604
608
|
- spec/support/controller_macros.rb
|
605
609
|
- spec/support/devise.rb
|
606
610
|
- spec/support/vcr.rb
|
611
|
+
has_rdoc:
|
@@ -1,10 +0,0 @@
|
|
1
|
-
o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1326028685.016043:@value{ I"length:EFi:I"digest;
|
2
|
-
F"%db9e40ab62db6ecfb06e1320fce0cb3cI"source;
|
3
|
-
FI":/*
|
4
|
-
* This is a manifest file that'll automatically include all the stylesheets available in this directory
|
5
|
-
* and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
|
6
|
-
* the top of the compiled file, but it's generally better to create a new file per style scope.
|
7
|
-
*/
|
8
|
-
;
|
9
|
-
FI"
|
10
|
-
F"%75a2de3c09b8d8eba4fd1f8a775da7d8
|