enju_ndl 0.0.31 → 0.0.32
Sign up to get free protection for your applications and to get access to all the features.
data/lib/enju_ndl/ndl_search.rb
CHANGED
@@ -146,7 +146,7 @@ module EnjuNdl
|
|
146
146
|
end
|
147
147
|
if subject.valid?
|
148
148
|
manifestation.subjects << subject
|
149
|
-
subject.subject_heading_types << subject_heading_type
|
149
|
+
subject.subject_heading_types << subject_heading_type if subject.subject_heading_types.where(:id => subject_heading_type.id).empty?
|
150
150
|
end
|
151
151
|
end
|
152
152
|
end
|
data/lib/enju_ndl/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: enju_ndl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.32
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-06-
|
12
|
+
date: 2012-06-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -282,7 +282,6 @@ files:
|
|
282
282
|
- config/locales/en.yml
|
283
283
|
- config/locales/ja.yml
|
284
284
|
- config/routes.rb
|
285
|
-
- db/migrate/20100129142347_create_import_requests.rb
|
286
285
|
- lib/enju_ndl/crd.rb
|
287
286
|
- lib/enju_ndl/engine.rb
|
288
287
|
- lib/enju_ndl/ndl_search.rb
|
@@ -1,15 +0,0 @@
|
|
1
|
-
class CreateImportRequests < ActiveRecord::Migration
|
2
|
-
def change
|
3
|
-
create_table :import_requests do |t|
|
4
|
-
t.string :isbn
|
5
|
-
t.string :state
|
6
|
-
t.integer :manifestation_id
|
7
|
-
t.integer :user_id
|
8
|
-
|
9
|
-
t.timestamps
|
10
|
-
end
|
11
|
-
add_index :import_requests, :isbn
|
12
|
-
add_index :import_requests, :manifestation_id
|
13
|
-
add_index :import_requests, :user_id
|
14
|
-
end
|
15
|
-
end
|