enju_subject 0.1.0.pre16 → 0.1.0.pre17

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a699a5e01c611640f4897a28287dcbcdf3cca867
4
- data.tar.gz: 561f14c32249cb4eec21fdce7db91d75179e1987
3
+ metadata.gz: d40d1989c33026c6b9301e760ebca9586f421257
4
+ data.tar.gz: b45e74fb195ae132c37fe788a65ce3f54108377b
5
5
  SHA512:
6
- metadata.gz: 00eadbe7f9b14e9501d39851bdf3a1749516200b606727d031a377fe7e8f4b0757298ae033abd65cdd3ba3fda39c947e13e66e3dfb3e03f176ae61ee6e7d469c
7
- data.tar.gz: 216ff796dfa5896538d6496f9efd5b0faa73f35a101225fe67d4e4807d6110dcf281687e71f75b0c1ee188526a4d6a0a0289f8baf8e6fdd5f56e78558788fb3c
6
+ metadata.gz: 033374cd9f1e9db1d6a287c0772d7c272c82109353e0c20de7300d29ce97cb15168e88d61ffc4a10dfd204752581369f9cc36fd90af1cb85851edb42de57aa83
7
+ data.tar.gz: d9c5960a7aa4f191d6e880afc9b4ce0da6e16f2c015c73a2eccc42ab87252c5357b125f056172d28154dc64067ec63c7f2f413a74ed83430767ea2284e70a3a1
@@ -3,6 +3,7 @@ class ClassificationType < ActiveRecord::Base
3
3
  include MasterModel
4
4
  default_scope :order => 'position'
5
5
  has_many :classifications
6
+ validates :name, :format => {:with => /\A[0-9a-z][0-9a-z_\-]*[0-9a-z]\Z/}
6
7
  end
7
8
 
8
9
  # == Schema Information
@@ -2,6 +2,7 @@ class SubjectHeadingType < ActiveRecord::Base
2
2
  attr_accessible :name, :display_name, :note
3
3
  include MasterModel
4
4
  has_many :subjects
5
+ validates :name, :format => {:with => /\A[0-9a-z][0-9a-z_\-]*[0-9a-z]\Z/}
5
6
  end
6
7
 
7
8
  # == Schema Information
@@ -3,6 +3,7 @@ class SubjectType < ActiveRecord::Base
3
3
  include MasterModel
4
4
  default_scope :order => "position"
5
5
  has_many :subjects
6
+ validates :name, :format => {:with => /\A[0-9a-z][0-9a-z_\-]*[0-9a-z]\Z/}
6
7
  end
7
8
 
8
9
  # == Schema Information
@@ -1,3 +1,3 @@
1
1
  module EnjuSubject
2
- VERSION = "0.1.0.pre16"
2
+ VERSION = "0.1.0.pre17"
3
3
  end
@@ -1,20 +1,28 @@
1
1
  ---
2
2
  subject_heading_type_00001:
3
- name: NDLSH
4
- display_name: NDLSH
3
+ name: unknown
4
+ display_name: unknown
5
5
  updated_at: 2008-03-03 00:44:49.850140 +09:00
6
6
  id: 1
7
7
  note: ""
8
8
  created_at: 2008-03-03 00:44:34.260739 +09:00
9
9
  position: 1
10
10
  subject_heading_type_00002:
11
- name: BSH
11
+ name: ndlsh
12
+ display_name: NDLSH
13
+ updated_at: 2008-03-03 00:44:49.850140 +09:00
14
+ id: 2
15
+ note: ""
16
+ created_at: 2008-03-03 00:44:34.260739 +09:00
17
+ position: 2
18
+ subject_heading_type_00003:
19
+ name: bsh
12
20
  display_name: BSH
13
21
  updated_at: 2008-03-03 00:44:58.685360 +09:00
14
- id: 2
22
+ id: 3
15
23
  note: ""
16
24
  created_at: 2008-03-03 00:44:58.685360 +09:00
17
- position: 2
25
+ position: 3
18
26
 
19
27
  # == Schema Information
20
28
  #
@@ -1,28 +1,28 @@
1
1
  ---
2
2
  subject_type_00001:
3
3
  id: 1
4
- name: Concept
4
+ name: concept
5
5
  display_name: Concept
6
6
  note:
7
7
  position: 1
8
8
 
9
9
  subject_type_00002:
10
10
  id: 2
11
- name: Event
11
+ name: event
12
12
  display_name: Event
13
13
  note:
14
14
  position: 2
15
15
 
16
16
  subject_type_00003:
17
17
  id: 3
18
- name: Object
18
+ name: object
19
19
  display_name: Object
20
20
  note:
21
21
  position: 3
22
22
 
23
23
  subject_type_00004:
24
24
  id: 4
25
- name: Place
25
+ name: place
26
26
  display_name: Place
27
27
  note:
28
28
  position: 4
Binary file
Binary file
@@ -0,0 +1,4 @@
1
+ ����
2
+ idtype
3
+ class_name library_id_i created_at_d updated_at_d
4
+ start_at_dend_at_d name_text note_text
@@ -0,0 +1 @@
1
+ NRM�xxvx|u||ut�u��||
@@ -1,6 +1,22 @@
1
1
  ---
2
+ classification_type_00001:
3
+ name: ndc
4
+ display_name: NDC
5
+ updated_at: 2008-03-02 22:53:40.696331 +09:00
6
+ id: 1
7
+ note: ""
8
+ created_at: 2008-03-02 22:53:40.696331 +09:00
9
+ position: 1
10
+ classification_type_00002:
11
+ name: ndlc
12
+ display_name: NDLC
13
+ updated_at: 2008-03-02 22:53:51.394954 +09:00
14
+ id: 2
15
+ note: ""
16
+ created_at: 2008-03-02 22:53:51.394954 +09:00
17
+ position: 2
2
18
  classification_type_00003:
3
- name: DDC
19
+ name: ddc
4
20
  display_name: DDC
5
21
  updated_at: 2008-03-02 22:53:58.937354 +09:00
6
22
  id: 3
@@ -8,7 +24,7 @@ classification_type_00003:
8
24
  created_at: 2008-03-02 22:53:58.937354 +09:00
9
25
  position: 3
10
26
  classification_type_00004:
11
- name: UDC
27
+ name: udc
12
28
  display_name: UDC
13
29
  updated_at: 2008-03-02 22:54:20.265696 +09:00
14
30
  id: 4
@@ -16,7 +32,7 @@ classification_type_00004:
16
32
  created_at: 2008-03-02 22:54:20.265696 +09:00
17
33
  position: 4
18
34
  classification_type_00005:
19
- name: LCC
35
+ name: lcc
20
36
  display_name: LCC
21
37
  updated_at: 2008-03-02 22:54:41.169172 +09:00
22
38
  id: 5
@@ -24,29 +40,13 @@ classification_type_00005:
24
40
  created_at: 2008-03-02 22:54:41.169172 +09:00
25
41
  position: 5
26
42
  classification_type_00006:
27
- name: NLMC
43
+ name: nlmc
28
44
  display_name: NLMC
29
45
  updated_at: 2008-03-02 22:54:56.181793 +09:00
30
46
  id: 6
31
47
  note: ""
32
48
  created_at: 2008-03-02 22:54:56.181793 +09:00
33
49
  position: 6
34
- classification_type_00001:
35
- name: NDC
36
- display_name: NDC
37
- updated_at: 2008-03-02 22:53:40.696331 +09:00
38
- id: 1
39
- note: ""
40
- created_at: 2008-03-02 22:53:40.696331 +09:00
41
- position: 1
42
- classification_type_00002:
43
- name: NDLC
44
- display_name: NDLC
45
- updated_at: 2008-03-02 22:53:51.394954 +09:00
46
- id: 2
47
- note: ""
48
- created_at: 2008-03-02 22:53:51.394954 +09:00
49
- position: 2
50
50
 
51
51
  # == Schema Information
52
52
  #
@@ -7,14 +7,12 @@ manifestation_00001:
7
7
  created_at: 2007-11-19 16:59:00.293393 +09:00
8
8
  manifestation_00002:
9
9
  language_id: 1
10
- isbn: "4915724824"
11
10
  updated_at: 2007-11-19 16:59:01.991512 +09:00
12
11
  original_title: "\xE6\x83\x85\xE5\xA0\xB1\xE9\x80\x9A\xE4\xBF\xA1\xE3\x83\x8F\xE3\x83\xB3\xE3\x83\x89\xE3\x83\x96\xE3\x83\x83\xE3\x82\xAF2005"
13
12
  id: 2
14
13
  created_at: 2007-11-19 16:59:01.991512 +09:00
15
14
  manifestation_00003:
16
15
  language_id: 1
17
- isbn: "4897063590"
18
16
  updated_at: 2007-11-19 16:59:02.618359 +09:00
19
17
  original_title: !binary |
20
18
  44GT44KM44GL44KJ44Gu55Sf5ZG956eR5a2m56CU56m26ICF44Gu44Gf44KB
@@ -1,20 +1,28 @@
1
1
  ---
2
2
  subject_heading_type_00001:
3
- name: NDLSH
4
- display_name: NDLSH
3
+ name: unknown
4
+ display_name: unknown
5
5
  updated_at: 2008-03-03 00:44:49.850140 +09:00
6
6
  id: 1
7
7
  note: ""
8
8
  created_at: 2008-03-03 00:44:34.260739 +09:00
9
9
  position: 1
10
10
  subject_heading_type_00002:
11
- name: BSH
11
+ name: ndlsh
12
+ display_name: NDLSH
13
+ updated_at: 2008-03-03 00:44:49.850140 +09:00
14
+ id: 2
15
+ note: ""
16
+ created_at: 2008-03-03 00:44:34.260739 +09:00
17
+ position: 2
18
+ subject_heading_type_00003:
19
+ name: bsh
12
20
  display_name: BSH
13
21
  updated_at: 2008-03-03 00:44:58.685360 +09:00
14
- id: 2
22
+ id: 3
15
23
  note: ""
16
24
  created_at: 2008-03-03 00:44:58.685360 +09:00
17
- position: 2
25
+ position: 3
18
26
 
19
27
  # == Schema Information
20
28
  #
@@ -1,28 +1,28 @@
1
1
  ---
2
2
  subject_type_00001:
3
3
  id: 1
4
- name: Concept
4
+ name: concept
5
5
  display_name: Concept
6
6
  note:
7
7
  position: 1
8
8
 
9
9
  subject_type_00002:
10
10
  id: 2
11
- name: Event
11
+ name: event
12
12
  display_name: Event
13
13
  note:
14
14
  position: 2
15
15
 
16
16
  subject_type_00003:
17
17
  id: 3
18
- name: Object
18
+ name: object
19
19
  display_name: Object
20
20
  note:
21
21
  position: 3
22
22
 
23
23
  subject_type_00004:
24
24
  id: 4
25
- name: Place
25
+ name: place
26
26
  display_name: Place
27
27
  note:
28
28
  position: 4
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enju_subject
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre16
4
+ version: 0.1.0.pre17
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-05-06 00:00:00.000000000 Z
11
+ date: 2013-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: enju_core
@@ -114,14 +114,14 @@ dependencies:
114
114
  requirements:
115
115
  - - ~>
116
116
  - !ruby/object:Gem::Version
117
- version: 0.1.0.pre37
117
+ version: 0.1.0.pre38
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - ~>
123
123
  - !ruby/object:Gem::Version
124
- version: 0.1.0.pre37
124
+ version: 0.1.0.pre38
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: enju_library
127
127
  requirement: !ruby/object:Gem::Requirement
@@ -399,8 +399,16 @@ files:
399
399
  - spec/dummy/solr/conf/spellings.txt
400
400
  - spec/dummy/solr/conf/stopwords.txt
401
401
  - spec/dummy/solr/conf/synonyms.txt
402
+ - spec/dummy/solr/data/test/index/_wh.fdt
403
+ - spec/dummy/solr/data/test/index/_wh.fdx
404
+ - spec/dummy/solr/data/test/index/_wh.fnm
405
+ - spec/dummy/solr/data/test/index/_wh.frq
406
+ - spec/dummy/solr/data/test/index/_wh.nrm
407
+ - spec/dummy/solr/data/test/index/_wh.prx
408
+ - spec/dummy/solr/data/test/index/_wh.tii
409
+ - spec/dummy/solr/data/test/index/_wh.tis
402
410
  - spec/dummy/solr/data/test/index/segments.gen
403
- - spec/dummy/solr/data/test/index/segments_1ux
411
+ - spec/dummy/solr/data/test/index/segments_1vw
404
412
  - spec/dummy/solr/data/test/spellchecker/segments.gen
405
413
  - spec/dummy/solr/data/test/spellchecker/segments_1
406
414
  - spec/dummy/spec/fixtures/subjects.yml
@@ -624,8 +632,16 @@ test_files:
624
632
  - spec/dummy/solr/conf/spellings.txt
625
633
  - spec/dummy/solr/conf/stopwords.txt
626
634
  - spec/dummy/solr/conf/synonyms.txt
635
+ - spec/dummy/solr/data/test/index/_wh.fdt
636
+ - spec/dummy/solr/data/test/index/_wh.fdx
637
+ - spec/dummy/solr/data/test/index/_wh.fnm
638
+ - spec/dummy/solr/data/test/index/_wh.frq
639
+ - spec/dummy/solr/data/test/index/_wh.nrm
640
+ - spec/dummy/solr/data/test/index/_wh.prx
641
+ - spec/dummy/solr/data/test/index/_wh.tii
642
+ - spec/dummy/solr/data/test/index/_wh.tis
627
643
  - spec/dummy/solr/data/test/index/segments.gen
628
- - spec/dummy/solr/data/test/index/segments_1ux
644
+ - spec/dummy/solr/data/test/index/segments_1vw
629
645
  - spec/dummy/solr/data/test/spellchecker/segments.gen
630
646
  - spec/dummy/solr/data/test/spellchecker/segments_1
631
647
  - spec/dummy/spec/fixtures/subjects.yml