enju_biblio 0.1.2 → 0.1.3

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: ace895d7e5b14e0e728ce1d9d4a8f29c36371bed
4
- data.tar.gz: ea20239fe978ec5dde3fea94a2d3ca3f3fda5a26
3
+ metadata.gz: bc416c013dbcc8ee65781251ed8bfb3541092d85
4
+ data.tar.gz: 7eede39a9b3a96d603a1e6c8a5b18b64a6920c47
5
5
  SHA512:
6
- metadata.gz: 18a33b8a691b5da9847041b968437c7a3ddae772386fbe5131b22b6bc994d812ab126b781220f5c26acd5b5fd649c12ab9e99f7ab24c8eec9149e5549690db60
7
- data.tar.gz: 8ec3f4441684a5f345c00b1b42ec018512ad44323ef83ea5d8c78d587798fc8cea2f19c61f003e3a082dec53b4c0d7b4d84c8920cd6434ceccf58eb2dde67bd7
6
+ metadata.gz: c29115e07c4e83f35a4d9e6c3a7212ff3e4d845b999635fc300ad56545eefcde5e9aed2ddf142d9afcc19bd442349567d09fdac4607618c6b51cafe72257bf2e
7
+ data.tar.gz: 79d7a9bdcc74ad9d52a0c2443c7072b550797e0f4189596190a1b234833d08afc707041d797a6240a36de5b02db5aa76406f7889eb5fd0ba9afcb3ebbe834ddf
@@ -42,7 +42,8 @@ class ImportRequest < ActiveRecord::Base
42
42
  if manifestation
43
43
  self.manifestation = manifestation
44
44
  transition_to!(:completed)
45
- manifestation.index!
45
+ manifestation.index
46
+ Sunspot.commit
46
47
  else
47
48
  transition_to!(:failed)
48
49
  end
data/app/models/item.rb CHANGED
@@ -52,10 +52,12 @@ class Item < ActiveRecord::Base
52
52
  end
53
53
 
54
54
  after_save do
55
- manifestation.index!
55
+ manifestation.index
56
+ Sunspot.commit
56
57
  end
57
58
  after_destroy do
58
- manifestation.index!
59
+ manifestation.index
60
+ Sunspot.commit
59
61
  end
60
62
 
61
63
  attr_accessor :library_id
@@ -396,7 +396,8 @@ class Manifestation < ActiveRecord::Base
396
396
 
397
397
  def extract_text!
398
398
  extract_text
399
- index!
399
+ index
400
+ Sunspot.commit
400
401
  end
401
402
 
402
403
  def created(agent)
@@ -1,3 +1,3 @@
1
1
  module EnjuBiblio
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
File without changes
@@ -0,0 +1,25 @@
1
+ [5228] 25 Oct 22:37:26.294 * Increased maximum number of open files to 10032 (it was originally set to 2560).
2
+ _._
3
+ _.-``__ ''-._
4
+ _.-`` `. `_. ''-._ Redis 2.8.17 (00000000/0) 64 bit
5
+ .-`` .-```. ```\/ _.,_ ''-._
6
+ ( ' , .-` | `, ) Running in stand alone mode
7
+ |`-._`-...-` __...-.``-._|'` _.-'| Port: 9736
8
+ | `-._ `._ / _.-' | PID: 5228
9
+ `-._ `-._ `-./ _.-' _.-'
10
+ |`-._`-._ `-.__.-' _.-'_.-'|
11
+ | `-._`-._ _.-'_.-' | http://redis.io
12
+ `-._ `-._`-.__.-'_.-' _.-'
13
+ |`-._`-._ `-.__.-' _.-'_.-'|
14
+ | `-._`-._ _.-'_.-' |
15
+ `-._ `-._`-.__.-'_.-' _.-'
16
+ `-._ `-.__.-' _.-'
17
+ `-._ _.-'
18
+ `-.__.-'
19
+
20
+ [5228] 25 Oct 22:37:26.296 # Server started, Redis version 2.8.17
21
+ [5228] 25 Oct 22:37:26.296 * The server is now ready to accept connections on port 9736
22
+ [5228] 25 Oct 22:37:26.296 - 0 clients connected (0 slaves), 952976 bytes in use
23
+ [5228] 25 Oct 22:37:31.333 - 0 clients connected (0 slaves), 952976 bytes in use
24
+ [5228] 25 Oct 22:37:36.373 - 0 clients connected (0 slaves), 952976 bytes in use
25
+ [5228] 25 Oct 22:37:41.412 - 0 clients connected (0 slaves), 952976 bytes in use
@@ -0,0 +1 @@
1
+ 5228
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enju_biblio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kosuke Tanabe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-26 00:00:00.000000000 Z
11
+ date: 2016-06-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: paperclip
@@ -28,16 +28,16 @@ dependencies:
28
28
  name: paperclip-meta
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: '2.0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: '2.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: aws-sdk
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -72,28 +72,28 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '4.0'
75
+ version: '4.2'
76
76
  type: :runtime
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: '4.0'
82
+ version: '4.2'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: jc-validates_timeliness
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ">="
87
+ - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '0'
89
+ version: '3.1'
90
90
  type: :runtime
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'
96
+ version: '3.1'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: simple_form
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -296,14 +296,14 @@ dependencies:
296
296
  requirements:
297
297
  - - "~>"
298
298
  - !ruby/object:Gem::Version
299
- version: 1.1.2
299
+ version: 1.1.3
300
300
  type: :development
301
301
  prerelease: false
302
302
  version_requirements: !ruby/object:Gem::Requirement
303
303
  requirements:
304
304
  - - "~>"
305
305
  - !ruby/object:Gem::Version
306
- version: 1.1.2
306
+ version: 1.1.3
307
307
  - !ruby/object:Gem::Dependency
308
308
  name: enju_subject
309
309
  requirement: !ruby/object:Gem::Requirement
@@ -324,70 +324,70 @@ dependencies:
324
324
  requirements:
325
325
  - - "~>"
326
326
  - !ruby/object:Gem::Version
327
- version: 0.1.11
327
+ version: 0.1.12
328
328
  type: :development
329
329
  prerelease: false
330
330
  version_requirements: !ruby/object:Gem::Requirement
331
331
  requirements:
332
332
  - - "~>"
333
333
  - !ruby/object:Gem::Version
334
- version: 0.1.11
334
+ version: 0.1.12
335
335
  - !ruby/object:Gem::Dependency
336
336
  name: enju_bookmark
337
337
  requirement: !ruby/object:Gem::Requirement
338
338
  requirements:
339
339
  - - "~>"
340
340
  - !ruby/object:Gem::Version
341
- version: 0.1.2
341
+ version: 0.1.3
342
342
  type: :development
343
343
  prerelease: false
344
344
  version_requirements: !ruby/object:Gem::Requirement
345
345
  requirements:
346
346
  - - "~>"
347
347
  - !ruby/object:Gem::Version
348
- version: 0.1.2
348
+ version: 0.1.3
349
349
  - !ruby/object:Gem::Dependency
350
350
  name: enju_event
351
351
  requirement: !ruby/object:Gem::Requirement
352
352
  requirements:
353
353
  - - "~>"
354
354
  - !ruby/object:Gem::Version
355
- version: 0.1.18
355
+ version: 0.1.19
356
356
  type: :development
357
357
  prerelease: false
358
358
  version_requirements: !ruby/object:Gem::Requirement
359
359
  requirements:
360
360
  - - "~>"
361
361
  - !ruby/object:Gem::Version
362
- version: 0.1.18
362
+ version: 0.1.19
363
363
  - !ruby/object:Gem::Dependency
364
364
  name: enju_manifestation_viewer
365
365
  requirement: !ruby/object:Gem::Requirement
366
366
  requirements:
367
367
  - - "~>"
368
368
  - !ruby/object:Gem::Version
369
- version: 0.1.0
369
+ version: 0.1.1
370
370
  type: :development
371
371
  prerelease: false
372
372
  version_requirements: !ruby/object:Gem::Requirement
373
373
  requirements:
374
374
  - - "~>"
375
375
  - !ruby/object:Gem::Version
376
- version: 0.1.0
376
+ version: 0.1.1
377
377
  - !ruby/object:Gem::Dependency
378
378
  name: enju_circulation
379
379
  requirement: !ruby/object:Gem::Requirement
380
380
  requirements:
381
381
  - - "~>"
382
382
  - !ruby/object:Gem::Version
383
- version: 0.1.1
383
+ version: 0.1.2
384
384
  type: :development
385
385
  prerelease: false
386
386
  version_requirements: !ruby/object:Gem::Requirement
387
387
  requirements:
388
388
  - - "~>"
389
389
  - !ruby/object:Gem::Version
390
- version: 0.1.1
390
+ version: 0.1.2
391
391
  - !ruby/object:Gem::Dependency
392
392
  name: enju_ndl
393
393
  requirement: !ruby/object:Gem::Requirement
@@ -408,14 +408,14 @@ dependencies:
408
408
  requirements:
409
409
  - - "~>"
410
410
  - !ruby/object:Gem::Version
411
- version: 0.1.0
411
+ version: 0.1.1
412
412
  type: :development
413
413
  prerelease: false
414
414
  version_requirements: !ruby/object:Gem::Requirement
415
415
  requirements:
416
416
  - - "~>"
417
417
  - !ruby/object:Gem::Version
418
- version: 0.1.0
418
+ version: 0.1.1
419
419
  - !ruby/object:Gem::Dependency
420
420
  name: simplecov
421
421
  requirement: !ruby/object:Gem::Requirement
@@ -458,20 +458,6 @@ dependencies:
458
458
  - - ">="
459
459
  - !ruby/object:Gem::Version
460
460
  version: '0'
461
- - !ruby/object:Gem::Dependency
462
- name: annotate
463
- requirement: !ruby/object:Gem::Requirement
464
- requirements:
465
- - - ">="
466
- - !ruby/object:Gem::Version
467
- version: '0'
468
- type: :development
469
- prerelease: false
470
- version_requirements: !ruby/object:Gem::Requirement
471
- requirements:
472
- - - ">="
473
- - !ruby/object:Gem::Version
474
- version: '0'
475
461
  - !ruby/object:Gem::Dependency
476
462
  name: rspec-activemodel-mocks
477
463
  requirement: !ruby/object:Gem::Requirement
@@ -1244,10 +1230,13 @@ files:
1244
1230
  - spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
1245
1231
  - spec/dummy/db/migrate/20150221063719_add_settings_to_library_group.rb
1246
1232
  - spec/dummy/db/schema.rb
1233
+ - spec/dummy/db/test.sqlite3
1247
1234
  - spec/dummy/public/404.html
1248
1235
  - spec/dummy/public/422.html
1249
1236
  - spec/dummy/public/500.html
1250
1237
  - spec/dummy/public/favicon.ico
1238
+ - spec/dummy/tmp/cache/stdout
1239
+ - spec/dummy/tmp/pids/redis-test.pid
1251
1240
  - spec/factories/agent.rb
1252
1241
  - spec/factories/agent_merge.rb
1253
1242
  - spec/factories/agent_merge_list.rb
@@ -1498,7 +1487,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
1498
1487
  requirements:
1499
1488
  - - ">="
1500
1489
  - !ruby/object:Gem::Version
1501
- version: '0'
1490
+ version: 1.9.3
1502
1491
  required_rubygems_version: !ruby/object:Gem::Requirement
1503
1492
  requirements:
1504
1493
  - - ">="
@@ -1506,7 +1495,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1506
1495
  version: '0'
1507
1496
  requirements: []
1508
1497
  rubyforge_project:
1509
- rubygems_version: 2.5.0
1498
+ rubygems_version: 2.5.1
1510
1499
  signing_key:
1511
1500
  specification_version: 4
1512
1501
  summary: enju_biblio plugin
@@ -1721,12 +1710,15 @@ test_files:
1721
1710
  - spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
1722
1711
  - spec/dummy/db/migrate/20150221063719_add_settings_to_library_group.rb
1723
1712
  - spec/dummy/db/schema.rb
1713
+ - spec/dummy/db/test.sqlite3
1724
1714
  - spec/dummy/public/404.html
1725
1715
  - spec/dummy/public/422.html
1726
1716
  - spec/dummy/public/500.html
1727
1717
  - spec/dummy/public/favicon.ico
1728
1718
  - spec/dummy/Rakefile
1729
1719
  - spec/dummy/README.rdoc
1720
+ - spec/dummy/tmp/cache/stdout
1721
+ - spec/dummy/tmp/pids/redis-test.pid
1730
1722
  - spec/factories/agent.rb
1731
1723
  - spec/factories/agent_merge.rb
1732
1724
  - spec/factories/agent_merge_list.rb