enju_oai 0.1.0.pre8 → 0.1.0.pre9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/enju_oai/version.rb +1 -1
- data/spec/dummy/app/controllers/application_controller.rb +0 -4
- data/spec/dummy/app/models/ability.rb +1 -12
- data/spec/dummy/db/migrate/006_create_items.rb +0 -4
- data/spec/dummy/db/schema.rb +7 -11
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/solr/data/test/index/segments.gen +0 -0
- data/spec/dummy/solr/data/test/index/segments_29 +0 -0
- data/spec/fixtures/items.yml +0 -48
- metadata +56 -57
- data/lib/generators/enju_oai/views_generator.rb +0 -17
- data/spec/dummy/solr/data/test/index/segments_l +0 -0
- /data/spec/dummy/solr/data/test/index/{_c.fdt → _1l.fdt} +0 -0
- /data/spec/dummy/solr/data/test/index/{_c.fdx → _1l.fdx} +0 -0
- /data/spec/dummy/solr/data/test/index/{_c.fnm → _1l.fnm} +0 -0
- /data/spec/dummy/solr/data/test/index/{_c.frq → _1l.frq} +0 -0
- /data/spec/dummy/solr/data/test/index/{_c.nrm → _1l.nrm} +0 -0
- /data/spec/dummy/solr/data/test/index/{_c.prx → _1l.prx} +0 -0
- /data/spec/dummy/solr/data/test/index/{_c.tii → _1l.tii} +0 -0
- /data/spec/dummy/solr/data/test/index/{_c.tis → _1l.tis} +0 -0
- /data/spec/dummy/solr/data/test/index/{_d.fdt → _1m.fdt} +0 -0
- /data/spec/dummy/solr/data/test/index/{_d.fdx → _1m.fdx} +0 -0
- /data/spec/dummy/solr/data/test/index/{_d.fnm → _1m.fnm} +0 -0
- /data/spec/dummy/solr/data/test/index/{_d.frq → _1m.frq} +0 -0
- /data/spec/dummy/solr/data/test/index/{_d.nrm → _1m.nrm} +0 -0
- /data/spec/dummy/solr/data/test/index/{_d.prx → _1m.prx} +0 -0
- /data/spec/dummy/solr/data/test/index/{_d.tii → _1m.tii} +0 -0
- /data/spec/dummy/solr/data/test/index/{_d.tis → _1m.tis} +0 -0
- /data/spec/dummy/solr/data/test/index/{_e.fdt → _1n.fdt} +0 -0
- /data/spec/dummy/solr/data/test/index/{_e.fdx → _1n.fdx} +0 -0
- /data/spec/dummy/solr/data/test/index/{_e.fnm → _1n.fnm} +0 -0
- /data/spec/dummy/solr/data/test/index/{_e.frq → _1n.frq} +0 -0
- /data/spec/dummy/solr/data/test/index/{_e.nrm → _1n.nrm} +0 -0
- /data/spec/dummy/solr/data/test/index/{_e.prx → _1n.prx} +0 -0
- /data/spec/dummy/solr/data/test/index/{_e.tii → _1n.tii} +0 -0
- /data/spec/dummy/solr/data/test/index/{_e.tis → _1n.tis} +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6634247a9df786a70091087dd8d357308faa1708
|
4
|
+
data.tar.gz: bfb3fc46f6174da033c00b13611e5eb4387d61c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a4641159e15d91be7efeaa2557ddb889a3c189a65b031cf71a13e9327a12d49433ba9d4cb58453d72dc97b0091f965963f31a7b749bd4b1d131ef6103c6ac23c
|
7
|
+
data.tar.gz: 71afd46825bbbe5a3f30108560edfa39111c33a072102292141c7db62576b4ea3afda58fd99e7de4d1f035d4168544a6a063379c48fbb8585a1383ad87750ff0
|
data/lib/enju_oai/version.rb
CHANGED
@@ -224,10 +224,6 @@ class ApplicationController < ActionController::Base
|
|
224
224
|
true unless params[:format].nil? or params[:format] == 'html'
|
225
225
|
end
|
226
226
|
|
227
|
-
def current_ability
|
228
|
-
@current_ability ||= Ability.new(current_user, request.remote_ip.split('%')[0])
|
229
|
-
end
|
230
|
-
|
231
227
|
def get_top_page_content
|
232
228
|
if defined?(EnjuNews)
|
233
229
|
@news_feeds = Rails.cache.fetch('news_feed_all'){NewsFeed.all}
|
@@ -1,27 +1,16 @@
|
|
1
1
|
class Ability
|
2
2
|
include CanCan::Ability
|
3
3
|
|
4
|
-
def initialize(user
|
4
|
+
def initialize(user)
|
5
5
|
case user.try(:role).try(:name)
|
6
6
|
when 'Administrator'
|
7
7
|
can [:read, :create, :update], Manifestation
|
8
|
-
can :destroy, Manifestation do |manifestation|
|
9
|
-
if defined?(EnjuCirculation)
|
10
|
-
manifestation.items.empty? and !manifestation.periodical_master? and !manifestation.is_reserved?
|
11
|
-
else
|
12
|
-
manifestation.items.empty? and !manifestation.periodical_master?
|
13
|
-
end
|
14
|
-
end
|
15
8
|
when 'Librarian'
|
16
9
|
can [:read, :create, :update], Manifestation
|
17
|
-
can :destroy, Manifestation do |manifestation|
|
18
|
-
false
|
19
|
-
end
|
20
10
|
when 'User'
|
21
11
|
can :read, Manifestation do |manifestation|
|
22
12
|
manifestation.required_role_id <= 2
|
23
13
|
end
|
24
|
-
can :edit, Manifestation
|
25
14
|
else
|
26
15
|
can :read, Manifestation
|
27
16
|
end
|
@@ -4,8 +4,6 @@ class CreateItems < ActiveRecord::Migration
|
|
4
4
|
#t.integer :manifestation_id
|
5
5
|
t.string :call_number
|
6
6
|
t.string :item_identifier
|
7
|
-
t.integer :circulation_status_id, :default => 5, :null => false
|
8
|
-
t.integer :checkout_type_id, :default => 1, :null => false
|
9
7
|
t.timestamps
|
10
8
|
t.datetime :deleted_at
|
11
9
|
t.integer :shelf_id, :default => 1, :null => false
|
@@ -19,8 +17,6 @@ class CreateItems < ActiveRecord::Migration
|
|
19
17
|
t.integer :required_score, :default => 0, :null => false
|
20
18
|
end
|
21
19
|
#add_index :items, :manifestation_id
|
22
|
-
add_index :items, :circulation_status_id
|
23
|
-
add_index :items, :checkout_type_id
|
24
20
|
add_index :items, :shelf_id
|
25
21
|
add_index :items, :item_identifier
|
26
22
|
add_index :items, :required_role_id
|
data/spec/dummy/db/schema.rb
CHANGED
@@ -154,20 +154,18 @@ ActiveRecord::Schema.define(:version => 20121116033446) do
|
|
154
154
|
create_table "items", :force => true do |t|
|
155
155
|
t.string "call_number"
|
156
156
|
t.string "item_identifier"
|
157
|
-
t.
|
158
|
-
t.
|
159
|
-
t.datetime "created_at", :null => false
|
160
|
-
t.datetime "updated_at", :null => false
|
157
|
+
t.datetime "created_at", :null => false
|
158
|
+
t.datetime "updated_at", :null => false
|
161
159
|
t.datetime "deleted_at"
|
162
|
-
t.integer "shelf_id",
|
163
|
-
t.boolean "include_supplements",
|
160
|
+
t.integer "shelf_id", :default => 1, :null => false
|
161
|
+
t.boolean "include_supplements", :default => false, :null => false
|
164
162
|
t.text "note"
|
165
163
|
t.string "url"
|
166
164
|
t.integer "price"
|
167
|
-
t.integer "lock_version",
|
168
|
-
t.integer "required_role_id",
|
165
|
+
t.integer "lock_version", :default => 0, :null => false
|
166
|
+
t.integer "required_role_id", :default => 1, :null => false
|
169
167
|
t.string "state"
|
170
|
-
t.integer "required_score",
|
168
|
+
t.integer "required_score", :default => 0, :null => false
|
171
169
|
t.datetime "acquired_at"
|
172
170
|
t.integer "bookstore_id"
|
173
171
|
t.datetime "missing_since"
|
@@ -175,8 +173,6 @@ ActiveRecord::Schema.define(:version => 20121116033446) do
|
|
175
173
|
end
|
176
174
|
|
177
175
|
add_index "items", ["bookstore_id"], :name => "index_items_on_bookstore_id"
|
178
|
-
add_index "items", ["checkout_type_id"], :name => "index_items_on_checkout_type_id"
|
179
|
-
add_index "items", ["circulation_status_id"], :name => "index_items_on_circulation_status_id"
|
180
176
|
add_index "items", ["item_identifier"], :name => "index_items_on_item_identifier", :unique => true
|
181
177
|
add_index "items", ["required_role_id"], :name => "index_items_on_required_role_id"
|
182
178
|
add_index "items", ["shelf_id"], :name => "index_items_on_shelf_id"
|
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
Binary file
|
Binary file
|
data/spec/fixtures/items.yml
CHANGED
@@ -2,8 +2,6 @@
|
|
2
2
|
item_00001:
|
3
3
|
updated_at: 2007-08-24 23:46:00.484813 +09:00
|
4
4
|
item_identifier: '00001'
|
5
|
-
circulation_status_id: 2
|
6
|
-
checkout_type_id: 1
|
7
5
|
shelf_id: 1
|
8
6
|
call_number:
|
9
7
|
id: 1
|
@@ -12,8 +10,6 @@ item_00001:
|
|
12
10
|
item_00002:
|
13
11
|
updated_at: 2007-08-24 23:46:01.641413 +09:00
|
14
12
|
item_identifier: '00002'
|
15
|
-
circulation_status_id: 2
|
16
|
-
checkout_type_id: 1
|
17
13
|
shelf_id: 1
|
18
14
|
call_number:
|
19
15
|
id: 2
|
@@ -22,8 +18,6 @@ item_00002:
|
|
22
18
|
item_00003:
|
23
19
|
updated_at: 2007-08-24 23:46:02.502569 +09:00
|
24
20
|
item_identifier: '00003'
|
25
|
-
circulation_status_id: 2
|
26
|
-
checkout_type_id: 2
|
27
21
|
shelf_id: 1
|
28
22
|
call_number:
|
29
23
|
id: 3
|
@@ -32,8 +26,6 @@ item_00003:
|
|
32
26
|
item_00004:
|
33
27
|
updated_at: 2007-08-24 23:46:03.520781 +09:00
|
34
28
|
item_identifier: '00004'
|
35
|
-
circulation_status_id: 2
|
36
|
-
checkout_type_id: 1
|
37
29
|
shelf_id: 1
|
38
30
|
call_number:
|
39
31
|
id: 4
|
@@ -42,8 +34,6 @@ item_00004:
|
|
42
34
|
item_00005:
|
43
35
|
updated_at: 2007-08-24 23:46:04.538073 +09:00
|
44
36
|
item_identifier: '00005'
|
45
|
-
circulation_status_id: 2
|
46
|
-
checkout_type_id: 2
|
47
37
|
shelf_id: 1
|
48
38
|
call_number:
|
49
39
|
id: 5
|
@@ -52,8 +42,6 @@ item_00005:
|
|
52
42
|
item_00006:
|
53
43
|
updated_at: 2007-08-24 23:46:05.555353 +09:00
|
54
44
|
item_identifier: '00006'
|
55
|
-
circulation_status_id: 2
|
56
|
-
checkout_type_id: 2
|
57
45
|
shelf_id: 1
|
58
46
|
call_number:
|
59
47
|
id: 6
|
@@ -62,8 +50,6 @@ item_00006:
|
|
62
50
|
item_00007:
|
63
51
|
updated_at: 2007-08-24 23:46:06.572631 +09:00
|
64
52
|
item_identifier: '00007'
|
65
|
-
circulation_status_id: 2
|
66
|
-
checkout_type_id: 1
|
67
53
|
shelf_id: 1
|
68
54
|
call_number:
|
69
55
|
id: 7
|
@@ -72,8 +58,6 @@ item_00007:
|
|
72
58
|
item_00008:
|
73
59
|
updated_at: 2007-08-24 23:46:07.589909 +09:00
|
74
60
|
item_identifier: '00008'
|
75
|
-
circulation_status_id: 2
|
76
|
-
checkout_type_id: 2
|
77
61
|
shelf_id: 1
|
78
62
|
call_number:
|
79
63
|
id: 8
|
@@ -82,8 +66,6 @@ item_00008:
|
|
82
66
|
item_00009:
|
83
67
|
updated_at: 2007-08-24 23:46:08.607081 +09:00
|
84
68
|
item_identifier: '00009'
|
85
|
-
circulation_status_id: 2
|
86
|
-
checkout_type_id: 1
|
87
69
|
shelf_id: 4
|
88
70
|
call_number:
|
89
71
|
id: 9
|
@@ -92,8 +74,6 @@ item_00009:
|
|
92
74
|
item_00010:
|
93
75
|
updated_at: 2007-08-24 23:46:09.624281 +09:00
|
94
76
|
item_identifier: '00010'
|
95
|
-
circulation_status_id: 2
|
96
|
-
checkout_type_id: 2
|
97
77
|
shelf_id: 1
|
98
78
|
call_number:
|
99
79
|
id: 10
|
@@ -102,8 +82,6 @@ item_00010:
|
|
102
82
|
item_00011:
|
103
83
|
updated_at: 2007-08-24 23:46:10.484813 +09:00
|
104
84
|
item_identifier: '00011'
|
105
|
-
circulation_status_id: 2
|
106
|
-
checkout_type_id: 1
|
107
85
|
shelf_id: 1
|
108
86
|
call_number:
|
109
87
|
id: 11
|
@@ -112,8 +90,6 @@ item_00011:
|
|
112
90
|
item_00012:
|
113
91
|
updated_at: 2007-08-24 23:46:11.484813 +09:00
|
114
92
|
item_identifier: '00012'
|
115
|
-
circulation_status_id: 3
|
116
|
-
checkout_type_id: 2
|
117
93
|
shelf_id: 1
|
118
94
|
call_number:
|
119
95
|
id: 12
|
@@ -122,8 +98,6 @@ item_00012:
|
|
122
98
|
item_00013:
|
123
99
|
updated_at: 2007-08-24 23:46:12.484813 +09:00
|
124
100
|
item_identifier: '00013'
|
125
|
-
circulation_status_id: 10
|
126
|
-
checkout_type_id: 1
|
127
101
|
shelf_id: 1
|
128
102
|
call_number:
|
129
103
|
id: 13
|
@@ -132,8 +106,6 @@ item_00013:
|
|
132
106
|
item_00014:
|
133
107
|
updated_at: 2007-08-24 23:46:13.484813 +09:00
|
134
108
|
item_identifier: '00014'
|
135
|
-
circulation_status_id: 10
|
136
|
-
checkout_type_id: 2
|
137
109
|
shelf_id: 1
|
138
110
|
call_number:
|
139
111
|
id: 14
|
@@ -142,8 +114,6 @@ item_00014:
|
|
142
114
|
item_00015:
|
143
115
|
updated_at: 2007-08-24 23:46:14.484813 +09:00
|
144
116
|
item_identifier: '00015'
|
145
|
-
circulation_status_id: 10
|
146
|
-
checkout_type_id: 3
|
147
117
|
shelf_id: 1
|
148
118
|
call_number:
|
149
119
|
id: 15
|
@@ -152,8 +122,6 @@ item_00015:
|
|
152
122
|
item_00016:
|
153
123
|
updated_at: 2007-08-24 23:46:15.484813 +09:00
|
154
124
|
item_identifier: '00016'
|
155
|
-
circulation_status_id: 10
|
156
|
-
checkout_type_id: 2
|
157
125
|
shelf_id: 1
|
158
126
|
call_number:
|
159
127
|
id: 16
|
@@ -162,8 +130,6 @@ item_00016:
|
|
162
130
|
item_00017:
|
163
131
|
updated_at: 2007-08-24 23:46:16.484813 +09:00
|
164
132
|
item_identifier: '00017'
|
165
|
-
circulation_status_id: 10
|
166
|
-
checkout_type_id: 3
|
167
133
|
shelf_id: 1
|
168
134
|
call_number:
|
169
135
|
id: 17
|
@@ -172,8 +138,6 @@ item_00017:
|
|
172
138
|
item_00018:
|
173
139
|
updated_at: 2007-08-24 23:46:17.484813 +09:00
|
174
140
|
item_identifier: '00018'
|
175
|
-
circulation_status_id: 10
|
176
|
-
checkout_type_id: 3
|
177
141
|
shelf_id: 1
|
178
142
|
call_number:
|
179
143
|
id: 18
|
@@ -182,8 +146,6 @@ item_00018:
|
|
182
146
|
item_00019:
|
183
147
|
updated_at: 2007-08-24 23:46:18.484813 +09:00
|
184
148
|
item_identifier: '00019'
|
185
|
-
circulation_status_id: 2
|
186
|
-
checkout_type_id: 3
|
187
149
|
shelf_id: 1
|
188
150
|
call_number:
|
189
151
|
id: 19
|
@@ -192,8 +154,6 @@ item_00019:
|
|
192
154
|
item_00020:
|
193
155
|
updated_at: 2007-08-24 23:46:19.484813 +09:00
|
194
156
|
item_identifier: '00020'
|
195
|
-
circulation_status_id: 13
|
196
|
-
checkout_type_id: 3
|
197
157
|
shelf_id: 1
|
198
158
|
call_number:
|
199
159
|
id: 20
|
@@ -202,8 +162,6 @@ item_00020:
|
|
202
162
|
item_00021:
|
203
163
|
updated_at: 2007-08-24 23:46:20.484813 +09:00
|
204
164
|
item_identifier: '00021'
|
205
|
-
circulation_status_id: 2
|
206
|
-
checkout_type_id: 3
|
207
165
|
shelf_id: 1
|
208
166
|
call_number:
|
209
167
|
id: 21
|
@@ -212,8 +170,6 @@ item_00021:
|
|
212
170
|
item_00022:
|
213
171
|
updated_at: 2007-08-24 23:46:20.484813 +09:00
|
214
172
|
item_identifier: '00022'
|
215
|
-
circulation_status_id: 2
|
216
|
-
checkout_type_id: 3
|
217
173
|
shelf_id: 1
|
218
174
|
call_number:
|
219
175
|
id: 22
|
@@ -222,8 +178,6 @@ item_00022:
|
|
222
178
|
item_00023:
|
223
179
|
updated_at: 2007-08-24 23:46:20.484813 +09:00
|
224
180
|
item_identifier: '00023'
|
225
|
-
circulation_status_id: 15
|
226
|
-
checkout_type_id: 3
|
227
181
|
shelf_id: 2
|
228
182
|
call_number:
|
229
183
|
id: 23
|
@@ -236,8 +190,6 @@ item_00023:
|
|
236
190
|
# id :integer not null, primary key
|
237
191
|
# call_number :string(255)
|
238
192
|
# item_identifier :string(255)
|
239
|
-
# circulation_status_id :integer default(5), not null
|
240
|
-
# checkout_type_id :integer default(1), not null
|
241
193
|
# created_at :datetime not null
|
242
194
|
# updated_at :datetime not null
|
243
195
|
# deleted_at :datetime
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: enju_oai
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0.
|
4
|
+
version: 0.1.0.pre9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kosuke Tanabe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-04-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -72,28 +72,28 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - ~>
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.1.0.
|
75
|
+
version: 0.1.0.pre31
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - ~>
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 0.1.0.
|
82
|
+
version: 0.1.0.pre31
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: enju_library
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - ~>
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 0.1.0.
|
89
|
+
version: 0.1.0.pre21
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - ~>
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 0.1.0.
|
96
|
+
version: 0.1.0.pre21
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: sunspot_solr
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -142,7 +142,6 @@ files:
|
|
142
142
|
- lib/enju_oai/oai_model.rb
|
143
143
|
- lib/enju_oai/version.rb
|
144
144
|
- lib/enju_oai.rb
|
145
|
-
- lib/generators/enju_oai/views_generator.rb
|
146
145
|
- lib/tasks/enju_oai_tasks.rake
|
147
146
|
- MIT-LICENSE
|
148
147
|
- Rakefile
|
@@ -304,32 +303,32 @@ files:
|
|
304
303
|
- spec/dummy/solr/conf/spellings.txt
|
305
304
|
- spec/dummy/solr/conf/stopwords.txt
|
306
305
|
- spec/dummy/solr/conf/synonyms.txt
|
307
|
-
- spec/dummy/solr/data/test/index/
|
308
|
-
- spec/dummy/solr/data/test/index/
|
309
|
-
- spec/dummy/solr/data/test/index/
|
310
|
-
- spec/dummy/solr/data/test/index/
|
311
|
-
- spec/dummy/solr/data/test/index/
|
312
|
-
- spec/dummy/solr/data/test/index/
|
313
|
-
- spec/dummy/solr/data/test/index/
|
314
|
-
- spec/dummy/solr/data/test/index/
|
315
|
-
- spec/dummy/solr/data/test/index/
|
316
|
-
- spec/dummy/solr/data/test/index/
|
317
|
-
- spec/dummy/solr/data/test/index/
|
318
|
-
- spec/dummy/solr/data/test/index/
|
319
|
-
- spec/dummy/solr/data/test/index/
|
320
|
-
- spec/dummy/solr/data/test/index/
|
321
|
-
- spec/dummy/solr/data/test/index/
|
322
|
-
- spec/dummy/solr/data/test/index/
|
323
|
-
- spec/dummy/solr/data/test/index/
|
324
|
-
- spec/dummy/solr/data/test/index/
|
325
|
-
- spec/dummy/solr/data/test/index/
|
326
|
-
- spec/dummy/solr/data/test/index/
|
327
|
-
- spec/dummy/solr/data/test/index/
|
328
|
-
- spec/dummy/solr/data/test/index/
|
329
|
-
- spec/dummy/solr/data/test/index/
|
330
|
-
- spec/dummy/solr/data/test/index/
|
306
|
+
- spec/dummy/solr/data/test/index/_1l.fdt
|
307
|
+
- spec/dummy/solr/data/test/index/_1l.fdx
|
308
|
+
- spec/dummy/solr/data/test/index/_1l.fnm
|
309
|
+
- spec/dummy/solr/data/test/index/_1l.frq
|
310
|
+
- spec/dummy/solr/data/test/index/_1l.nrm
|
311
|
+
- spec/dummy/solr/data/test/index/_1l.prx
|
312
|
+
- spec/dummy/solr/data/test/index/_1l.tii
|
313
|
+
- spec/dummy/solr/data/test/index/_1l.tis
|
314
|
+
- spec/dummy/solr/data/test/index/_1m.fdt
|
315
|
+
- spec/dummy/solr/data/test/index/_1m.fdx
|
316
|
+
- spec/dummy/solr/data/test/index/_1m.fnm
|
317
|
+
- spec/dummy/solr/data/test/index/_1m.frq
|
318
|
+
- spec/dummy/solr/data/test/index/_1m.nrm
|
319
|
+
- spec/dummy/solr/data/test/index/_1m.prx
|
320
|
+
- spec/dummy/solr/data/test/index/_1m.tii
|
321
|
+
- spec/dummy/solr/data/test/index/_1m.tis
|
322
|
+
- spec/dummy/solr/data/test/index/_1n.fdt
|
323
|
+
- spec/dummy/solr/data/test/index/_1n.fdx
|
324
|
+
- spec/dummy/solr/data/test/index/_1n.fnm
|
325
|
+
- spec/dummy/solr/data/test/index/_1n.frq
|
326
|
+
- spec/dummy/solr/data/test/index/_1n.nrm
|
327
|
+
- spec/dummy/solr/data/test/index/_1n.prx
|
328
|
+
- spec/dummy/solr/data/test/index/_1n.tii
|
329
|
+
- spec/dummy/solr/data/test/index/_1n.tis
|
331
330
|
- spec/dummy/solr/data/test/index/segments.gen
|
332
|
-
- spec/dummy/solr/data/test/index/
|
331
|
+
- spec/dummy/solr/data/test/index/segments_29
|
333
332
|
- spec/dummy/solr/data/test/spellchecker/segments.gen
|
334
333
|
- spec/dummy/solr/data/test/spellchecker/segments_1
|
335
334
|
- spec/dummy/tmp/cache/4F7/F90/default_role
|
@@ -565,32 +564,32 @@ test_files:
|
|
565
564
|
- spec/dummy/solr/conf/spellings.txt
|
566
565
|
- spec/dummy/solr/conf/stopwords.txt
|
567
566
|
- spec/dummy/solr/conf/synonyms.txt
|
568
|
-
- spec/dummy/solr/data/test/index/
|
569
|
-
- spec/dummy/solr/data/test/index/
|
570
|
-
- spec/dummy/solr/data/test/index/
|
571
|
-
- spec/dummy/solr/data/test/index/
|
572
|
-
- spec/dummy/solr/data/test/index/
|
573
|
-
- spec/dummy/solr/data/test/index/
|
574
|
-
- spec/dummy/solr/data/test/index/
|
575
|
-
- spec/dummy/solr/data/test/index/
|
576
|
-
- spec/dummy/solr/data/test/index/
|
577
|
-
- spec/dummy/solr/data/test/index/
|
578
|
-
- spec/dummy/solr/data/test/index/
|
579
|
-
- spec/dummy/solr/data/test/index/
|
580
|
-
- spec/dummy/solr/data/test/index/
|
581
|
-
- spec/dummy/solr/data/test/index/
|
582
|
-
- spec/dummy/solr/data/test/index/
|
583
|
-
- spec/dummy/solr/data/test/index/
|
584
|
-
- spec/dummy/solr/data/test/index/
|
585
|
-
- spec/dummy/solr/data/test/index/
|
586
|
-
- spec/dummy/solr/data/test/index/
|
587
|
-
- spec/dummy/solr/data/test/index/
|
588
|
-
- spec/dummy/solr/data/test/index/
|
589
|
-
- spec/dummy/solr/data/test/index/
|
590
|
-
- spec/dummy/solr/data/test/index/
|
591
|
-
- spec/dummy/solr/data/test/index/
|
567
|
+
- spec/dummy/solr/data/test/index/_1l.fdt
|
568
|
+
- spec/dummy/solr/data/test/index/_1l.fdx
|
569
|
+
- spec/dummy/solr/data/test/index/_1l.fnm
|
570
|
+
- spec/dummy/solr/data/test/index/_1l.frq
|
571
|
+
- spec/dummy/solr/data/test/index/_1l.nrm
|
572
|
+
- spec/dummy/solr/data/test/index/_1l.prx
|
573
|
+
- spec/dummy/solr/data/test/index/_1l.tii
|
574
|
+
- spec/dummy/solr/data/test/index/_1l.tis
|
575
|
+
- spec/dummy/solr/data/test/index/_1m.fdt
|
576
|
+
- spec/dummy/solr/data/test/index/_1m.fdx
|
577
|
+
- spec/dummy/solr/data/test/index/_1m.fnm
|
578
|
+
- spec/dummy/solr/data/test/index/_1m.frq
|
579
|
+
- spec/dummy/solr/data/test/index/_1m.nrm
|
580
|
+
- spec/dummy/solr/data/test/index/_1m.prx
|
581
|
+
- spec/dummy/solr/data/test/index/_1m.tii
|
582
|
+
- spec/dummy/solr/data/test/index/_1m.tis
|
583
|
+
- spec/dummy/solr/data/test/index/_1n.fdt
|
584
|
+
- spec/dummy/solr/data/test/index/_1n.fdx
|
585
|
+
- spec/dummy/solr/data/test/index/_1n.fnm
|
586
|
+
- spec/dummy/solr/data/test/index/_1n.frq
|
587
|
+
- spec/dummy/solr/data/test/index/_1n.nrm
|
588
|
+
- spec/dummy/solr/data/test/index/_1n.prx
|
589
|
+
- spec/dummy/solr/data/test/index/_1n.tii
|
590
|
+
- spec/dummy/solr/data/test/index/_1n.tis
|
592
591
|
- spec/dummy/solr/data/test/index/segments.gen
|
593
|
-
- spec/dummy/solr/data/test/index/
|
592
|
+
- spec/dummy/solr/data/test/index/segments_29
|
594
593
|
- spec/dummy/solr/data/test/spellchecker/segments.gen
|
595
594
|
- spec/dummy/solr/data/test/spellchecker/segments_1
|
596
595
|
- spec/dummy/tmp/cache/4F7/F90/default_role
|
@@ -1,17 +0,0 @@
|
|
1
|
-
module EnjuOai
|
2
|
-
module Generators
|
3
|
-
class ViewsGenerator < Rails::Generators::Base
|
4
|
-
source_root File.expand_path('../../../../app/views', __FILE__)
|
5
|
-
|
6
|
-
def copy_files
|
7
|
-
directories = %w(
|
8
|
-
manifestations
|
9
|
-
)
|
10
|
-
|
11
|
-
directories.each do |dir|
|
12
|
-
directory dir, "app/views/#{dir}"
|
13
|
-
end
|
14
|
-
end
|
15
|
-
end
|
16
|
-
end
|
17
|
-
end
|
Binary file
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|