enju_flower 0.1.0.pre15 → 0.1.0.pre16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (87) hide show
  1. checksums.yaml +4 -4
  2. data/app/views/manifestations/_manifestation.html.erb +8 -4
  3. data/app/views/manifestations/_pickup.html.erb +1 -1
  4. data/app/views/manifestations/_show_detail_librarian.html.erb +1 -1
  5. data/app/views/manifestations/_show_detail_user.html.erb +2 -2
  6. data/app/views/manifestations/_show_holding.html.erb +6 -1
  7. data/app/views/manifestations/_show_reservation.html.erb +0 -2
  8. data/app/views/manifestations/_title.html.erb +1 -1
  9. data/app/views/manifestations/_title.mobile.erb +1 -1
  10. data/app/views/manifestations/index.html.erb +2 -2
  11. data/app/views/manifestations/index.sru.builder +1 -1
  12. data/app/views/manifestations/show.html.erb +3 -3
  13. data/lib/enju_flower/version.rb +1 -1
  14. data/spec/controllers/manifestations_controller_spec.rb +4 -4
  15. data/spec/dummy/app/models/user.rb +1 -0
  16. data/spec/dummy/config/application.rb +1 -0
  17. data/spec/dummy/config/initializers/inflections.rb +8 -0
  18. data/spec/dummy/db/migrate/035_create_reserves.rb +1 -1
  19. data/spec/dummy/db/migrate/20130303104849_add_state_index_to_reserve.rb +5 -0
  20. data/spec/dummy/db/migrate/20130303124821_add_retained_at_to_reserve.rb +5 -0
  21. data/spec/dummy/db/migrate/20130304015019_add_postponed_at_to_reserve.rb +5 -0
  22. data/spec/dummy/db/migrate/20130519065638_add_lock_version_to_reserve.rb +5 -0
  23. data/spec/dummy/db/migrate/20130519065837_add_lock_version_to_checkin.rb +5 -0
  24. data/spec/dummy/db/migrate/20140518050147_create_reserve_transitions.rb +14 -0
  25. data/spec/dummy/db/migrate/20140528045518_create_user_checkout_stat_transitions.rb +14 -0
  26. data/spec/dummy/db/migrate/20140528045539_create_user_reserve_stat_transitions.rb +14 -0
  27. data/spec/dummy/db/migrate/20140528045600_create_manifestation_checkout_stat_transitions.rb +14 -0
  28. data/spec/dummy/db/migrate/20140528045617_create_manifestation_reserve_stat_transitions.rb +14 -0
  29. data/spec/dummy/db/migrate/20140529014410_create_item_transitions.rb +14 -0
  30. data/spec/dummy/db/schema.rb +82 -5
  31. data/spec/dummy/db/test.sqlite3 +0 -0
  32. data/spec/dummy/solr/default/data/index/_cx.fdt +0 -0
  33. data/spec/dummy/solr/default/data/index/{_96.fnm → _cx.fnm} +0 -0
  34. data/spec/dummy/solr/default/data/index/{_96.si → _cx.si} +0 -0
  35. data/spec/dummy/solr/default/data/index/{_96_Lucene41_0.doc → _cx_Lucene41_0.doc} +0 -0
  36. data/spec/dummy/solr/default/data/index/{_96_Lucene41_0.pos → _cx_Lucene41_0.pos} +0 -0
  37. data/spec/dummy/solr/default/data/index/{_96_Lucene41_0.tim → _cx_Lucene41_0.tim} +0 -0
  38. data/spec/dummy/solr/default/data/index/_cx_Lucene41_0.tip +0 -0
  39. data/spec/dummy/solr/default/data/index/_cy.fdt +0 -0
  40. data/spec/dummy/solr/default/data/index/{_97.fnm → _cy.fnm} +0 -0
  41. data/spec/dummy/solr/default/data/index/{_97.si → _cy.si} +0 -0
  42. data/spec/dummy/solr/default/data/index/{_97_Lucene41_0.doc → _cy_Lucene41_0.doc} +0 -0
  43. data/spec/dummy/solr/default/data/index/{_97_Lucene41_0.pos → _cy_Lucene41_0.pos} +0 -0
  44. data/spec/dummy/solr/default/data/index/{_97_Lucene41_0.tim → _cy_Lucene41_0.tim} +0 -0
  45. data/spec/dummy/solr/default/data/index/_cy_Lucene41_0.tip +0 -0
  46. data/spec/dummy/solr/default/data/index/_cz.fdt +0 -0
  47. data/spec/dummy/solr/default/data/index/{_98.fnm → _cz.fnm} +0 -0
  48. data/spec/dummy/solr/default/data/index/_cz.nvd +0 -0
  49. data/spec/dummy/solr/default/data/index/{_98.si → _cz.si} +0 -0
  50. data/spec/dummy/solr/default/data/index/_cz_Lucene41_0.doc +0 -0
  51. data/spec/dummy/solr/default/data/index/_cz_Lucene41_0.pos +0 -0
  52. data/spec/dummy/solr/default/data/index/_cz_Lucene41_0.tim +0 -0
  53. data/spec/dummy/solr/default/data/index/_cz_Lucene41_0.tip +0 -0
  54. data/spec/dummy/solr/default/data/index/segments.gen +0 -0
  55. data/spec/dummy/solr/default/data/index/segments_gj +0 -0
  56. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000591 +0 -0
  57. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000592 +0 -0
  58. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000593 +0 -0
  59. data/spec/dummy/tmp/cache/4F7/F90/default_role +0 -0
  60. data/spec/dummy/tmp/cache/6E4/420/search_engine_all +0 -0
  61. data/spec/spec_helper.rb +3 -0
  62. metadata +126 -80
  63. data/spec/dummy/app/models/local_agent.rb +0 -27
  64. data/spec/dummy/solr/default/data/index/_96.fdt +0 -0
  65. data/spec/dummy/solr/default/data/index/_96_Lucene41_0.tip +0 -0
  66. data/spec/dummy/solr/default/data/index/_97.fdt +0 -0
  67. data/spec/dummy/solr/default/data/index/_97_Lucene41_0.tip +0 -0
  68. data/spec/dummy/solr/default/data/index/_98.fdt +0 -0
  69. data/spec/dummy/solr/default/data/index/_98.nvd +0 -0
  70. data/spec/dummy/solr/default/data/index/_98_Lucene41_0.doc +0 -0
  71. data/spec/dummy/solr/default/data/index/_98_Lucene41_0.pos +0 -0
  72. data/spec/dummy/solr/default/data/index/_98_Lucene41_0.tim +0 -0
  73. data/spec/dummy/solr/default/data/index/_98_Lucene41_0.tip +0 -0
  74. data/spec/dummy/solr/default/data/index/segments_bn +0 -0
  75. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000415 +0 -0
  76. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000416 +0 -0
  77. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000417 +0 -0
  78. data/vendor/assets/javascripts/jquery.mobile-1.3.1.js +0 -11191
  79. data/vendor/assets/stylesheets/jquery.mobile-1.3.1.css +0 -3366
  80. /data/spec/dummy/solr/default/data/index/{_96.fdx → _cx.fdx} +0 -0
  81. /data/spec/dummy/solr/default/data/index/{_96.nvd → _cx.nvd} +0 -0
  82. /data/spec/dummy/solr/default/data/index/{_96.nvm → _cx.nvm} +0 -0
  83. /data/spec/dummy/solr/default/data/index/{_97.fdx → _cy.fdx} +0 -0
  84. /data/spec/dummy/solr/default/data/index/{_97.nvd → _cy.nvd} +0 -0
  85. /data/spec/dummy/solr/default/data/index/{_97.nvm → _cy.nvm} +0 -0
  86. /data/spec/dummy/solr/default/data/index/{_98.fdx → _cz.fdx} +0 -0
  87. /data/spec/dummy/solr/default/data/index/{_98.nvm → _cz.nvm} +0 -0
data/spec/spec_helper.rb CHANGED
@@ -8,6 +8,7 @@ require 'rspec/rails'
8
8
  require 'vcr'
9
9
  require 'factory_girl'
10
10
  require 'sunspot-rails-tester'
11
+ require 'rspec/active_model/mocks'
11
12
 
12
13
  # Requires supporting ruby files with custom matchers and macros, etc,
13
14
  # in spec/support/ and its subdirectories.
@@ -43,6 +44,8 @@ RSpec.configure do |config|
43
44
  Sunspot.session = $original_sunspot_session
44
45
  Sunspot.remove_all!
45
46
  end
47
+
48
+ config.infer_spec_type_from_file_location!
46
49
  end
47
50
 
48
51
  FactoryGirl.definition_file_paths << "#{::Rails.root}/../../spec/factories"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enju_flower
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre15
4
+ version: 0.1.0.pre16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kosuke Tanabe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-07 00:00:00.000000000 Z
11
+ date: 2014-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -42,16 +42,16 @@ dependencies:
42
42
  name: rspec-rails
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '='
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '2.99'
47
+ version: '3.0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '='
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '2.99'
54
+ version: '3.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: vcr
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -114,14 +114,28 @@ dependencies:
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: 1.1.0.rc9
117
+ version: 1.1.0.rc11
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: 1.1.0.rc11
125
+ - !ruby/object:Gem::Dependency
126
+ name: enju_circulation
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: 0.1.0.pre36
118
132
  type: :development
119
133
  prerelease: false
120
134
  version_requirements: !ruby/object:Gem::Requirement
121
135
  requirements:
122
136
  - - "~>"
123
137
  - !ruby/object:Gem::Version
124
- version: 1.1.0.rc9
138
+ version: 0.1.0.pre36
125
139
  - !ruby/object:Gem::Dependency
126
140
  name: enju_bookmark
127
141
  requirement: !ruby/object:Gem::Requirement
@@ -164,6 +178,20 @@ dependencies:
164
178
  - - ">="
165
179
  - !ruby/object:Gem::Version
166
180
  version: '0'
181
+ - !ruby/object:Gem::Dependency
182
+ name: rspec-activemodel-mocks
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - ">="
186
+ - !ruby/object:Gem::Version
187
+ version: '0'
188
+ type: :development
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - ">="
193
+ - !ruby/object:Gem::Version
194
+ version: '0'
167
195
  description: User interface for Next-L Enju
168
196
  email:
169
197
  - nabeta@fastmail.fm
@@ -252,7 +280,6 @@ files:
252
280
  - spec/dummy/app/controllers/application_controller.rb
253
281
  - spec/dummy/app/helpers/application_helper.rb
254
282
  - spec/dummy/app/models/ability.rb
255
- - spec/dummy/app/models/local_agent.rb
256
283
  - spec/dummy/app/models/setting.rb
257
284
  - spec/dummy/app/models/user.rb
258
285
  - spec/dummy/app/views/layouts/application.html.erb
@@ -430,6 +457,9 @@ files:
430
457
  - spec/dummy/db/migrate/20121116031206_add_fulltext_content_to_manifestation.rb
431
458
  - spec/dummy/db/migrate/20121116033446_add_doi_to_manifestation.rb
432
459
  - spec/dummy/db/migrate/20130221154434_add_additional_attributes_to_user.rb
460
+ - spec/dummy/db/migrate/20130303104849_add_state_index_to_reserve.rb
461
+ - spec/dummy/db/migrate/20130303124821_add_retained_at_to_reserve.rb
462
+ - spec/dummy/db/migrate/20130304015019_add_postponed_at_to_reserve.rb
433
463
  - spec/dummy/db/migrate/20130416054135_add_circulation_status_id_to_item.rb
434
464
  - spec/dummy/db/migrate/20130421093852_add_periodical_to_manifestation.rb
435
465
  - spec/dummy/db/migrate/20130421155019_add_creator_string_to_series_statement.rb
@@ -438,6 +468,14 @@ files:
438
468
  - spec/dummy/db/migrate/20130506175303_create_identifier_types.rb
439
469
  - spec/dummy/db/migrate/20130506175834_create_identifiers.rb
440
470
  - spec/dummy/db/migrate/20130509185724_add_statement_of_responsibility_to_manifestation.rb
471
+ - spec/dummy/db/migrate/20130519065638_add_lock_version_to_reserve.rb
472
+ - spec/dummy/db/migrate/20130519065837_add_lock_version_to_checkin.rb
473
+ - spec/dummy/db/migrate/20140518050147_create_reserve_transitions.rb
474
+ - spec/dummy/db/migrate/20140528045518_create_user_checkout_stat_transitions.rb
475
+ - spec/dummy/db/migrate/20140528045539_create_user_reserve_stat_transitions.rb
476
+ - spec/dummy/db/migrate/20140528045600_create_manifestation_checkout_stat_transitions.rb
477
+ - spec/dummy/db/migrate/20140528045617_create_manifestation_reserve_stat_transitions.rb
478
+ - spec/dummy/db/migrate/20140529014410_create_item_transitions.rb
441
479
  - spec/dummy/db/schema.rb
442
480
  - spec/dummy/db/test.sqlite3
443
481
  - spec/dummy/public/404.html
@@ -455,41 +493,41 @@ files:
455
493
  - spec/dummy/solr/conf/spellings.txt
456
494
  - spec/dummy/solr/conf/stopwords.txt
457
495
  - spec/dummy/solr/conf/synonyms.txt
458
- - spec/dummy/solr/default/data/index/_96.fdt
459
- - spec/dummy/solr/default/data/index/_96.fdx
460
- - spec/dummy/solr/default/data/index/_96.fnm
461
- - spec/dummy/solr/default/data/index/_96.nvd
462
- - spec/dummy/solr/default/data/index/_96.nvm
463
- - spec/dummy/solr/default/data/index/_96.si
464
- - spec/dummy/solr/default/data/index/_96_Lucene41_0.doc
465
- - spec/dummy/solr/default/data/index/_96_Lucene41_0.pos
466
- - spec/dummy/solr/default/data/index/_96_Lucene41_0.tim
467
- - spec/dummy/solr/default/data/index/_96_Lucene41_0.tip
468
- - spec/dummy/solr/default/data/index/_97.fdt
469
- - spec/dummy/solr/default/data/index/_97.fdx
470
- - spec/dummy/solr/default/data/index/_97.fnm
471
- - spec/dummy/solr/default/data/index/_97.nvd
472
- - spec/dummy/solr/default/data/index/_97.nvm
473
- - spec/dummy/solr/default/data/index/_97.si
474
- - spec/dummy/solr/default/data/index/_97_Lucene41_0.doc
475
- - spec/dummy/solr/default/data/index/_97_Lucene41_0.pos
476
- - spec/dummy/solr/default/data/index/_97_Lucene41_0.tim
477
- - spec/dummy/solr/default/data/index/_97_Lucene41_0.tip
478
- - spec/dummy/solr/default/data/index/_98.fdt
479
- - spec/dummy/solr/default/data/index/_98.fdx
480
- - spec/dummy/solr/default/data/index/_98.fnm
481
- - spec/dummy/solr/default/data/index/_98.nvd
482
- - spec/dummy/solr/default/data/index/_98.nvm
483
- - spec/dummy/solr/default/data/index/_98.si
484
- - spec/dummy/solr/default/data/index/_98_Lucene41_0.doc
485
- - spec/dummy/solr/default/data/index/_98_Lucene41_0.pos
486
- - spec/dummy/solr/default/data/index/_98_Lucene41_0.tim
487
- - spec/dummy/solr/default/data/index/_98_Lucene41_0.tip
496
+ - spec/dummy/solr/default/data/index/_cx.fdt
497
+ - spec/dummy/solr/default/data/index/_cx.fdx
498
+ - spec/dummy/solr/default/data/index/_cx.fnm
499
+ - spec/dummy/solr/default/data/index/_cx.nvd
500
+ - spec/dummy/solr/default/data/index/_cx.nvm
501
+ - spec/dummy/solr/default/data/index/_cx.si
502
+ - spec/dummy/solr/default/data/index/_cx_Lucene41_0.doc
503
+ - spec/dummy/solr/default/data/index/_cx_Lucene41_0.pos
504
+ - spec/dummy/solr/default/data/index/_cx_Lucene41_0.tim
505
+ - spec/dummy/solr/default/data/index/_cx_Lucene41_0.tip
506
+ - spec/dummy/solr/default/data/index/_cy.fdt
507
+ - spec/dummy/solr/default/data/index/_cy.fdx
508
+ - spec/dummy/solr/default/data/index/_cy.fnm
509
+ - spec/dummy/solr/default/data/index/_cy.nvd
510
+ - spec/dummy/solr/default/data/index/_cy.nvm
511
+ - spec/dummy/solr/default/data/index/_cy.si
512
+ - spec/dummy/solr/default/data/index/_cy_Lucene41_0.doc
513
+ - spec/dummy/solr/default/data/index/_cy_Lucene41_0.pos
514
+ - spec/dummy/solr/default/data/index/_cy_Lucene41_0.tim
515
+ - spec/dummy/solr/default/data/index/_cy_Lucene41_0.tip
516
+ - spec/dummy/solr/default/data/index/_cz.fdt
517
+ - spec/dummy/solr/default/data/index/_cz.fdx
518
+ - spec/dummy/solr/default/data/index/_cz.fnm
519
+ - spec/dummy/solr/default/data/index/_cz.nvd
520
+ - spec/dummy/solr/default/data/index/_cz.nvm
521
+ - spec/dummy/solr/default/data/index/_cz.si
522
+ - spec/dummy/solr/default/data/index/_cz_Lucene41_0.doc
523
+ - spec/dummy/solr/default/data/index/_cz_Lucene41_0.pos
524
+ - spec/dummy/solr/default/data/index/_cz_Lucene41_0.tim
525
+ - spec/dummy/solr/default/data/index/_cz_Lucene41_0.tip
488
526
  - spec/dummy/solr/default/data/index/segments.gen
489
- - spec/dummy/solr/default/data/index/segments_bn
490
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000000415
491
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000000416
492
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000000417
527
+ - spec/dummy/solr/default/data/index/segments_gj
528
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000000591
529
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000000592
530
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000000593
493
531
  - spec/dummy/solr/development/data/index/segments.gen
494
532
  - spec/dummy/solr/development/data/index/segments_1
495
533
  - spec/dummy/solr/solr.xml
@@ -578,13 +616,11 @@ files:
578
616
  - spec/spec_helper.rb
579
617
  - spec/support/controller_macros.rb
580
618
  - spec/support/devise.rb
581
- - vendor/assets/javascripts/jquery.mobile-1.3.1.js
582
619
  - vendor/assets/stylesheets/images/ajax-loader.gif
583
620
  - vendor/assets/stylesheets/images/icons-18-black.png
584
621
  - vendor/assets/stylesheets/images/icons-18-white.png
585
622
  - vendor/assets/stylesheets/images/icons-36-black.png
586
623
  - vendor/assets/stylesheets/images/icons-36-white.png
587
- - vendor/assets/stylesheets/jquery.mobile-1.3.1.css
588
624
  homepage: https://github.com/next-l/enju_flower
589
625
  licenses: []
590
626
  metadata: {}
@@ -615,7 +651,6 @@ test_files:
615
651
  - spec/dummy/app/controllers/application_controller.rb
616
652
  - spec/dummy/app/helpers/application_helper.rb
617
653
  - spec/dummy/app/models/ability.rb
618
- - spec/dummy/app/models/local_agent.rb
619
654
  - spec/dummy/app/models/setting.rb
620
655
  - spec/dummy/app/models/user.rb
621
656
  - spec/dummy/app/views/layouts/application.html.erb
@@ -793,6 +828,9 @@ test_files:
793
828
  - spec/dummy/db/migrate/20121116031206_add_fulltext_content_to_manifestation.rb
794
829
  - spec/dummy/db/migrate/20121116033446_add_doi_to_manifestation.rb
795
830
  - spec/dummy/db/migrate/20130221154434_add_additional_attributes_to_user.rb
831
+ - spec/dummy/db/migrate/20130303104849_add_state_index_to_reserve.rb
832
+ - spec/dummy/db/migrate/20130303124821_add_retained_at_to_reserve.rb
833
+ - spec/dummy/db/migrate/20130304015019_add_postponed_at_to_reserve.rb
796
834
  - spec/dummy/db/migrate/20130416054135_add_circulation_status_id_to_item.rb
797
835
  - spec/dummy/db/migrate/20130421093852_add_periodical_to_manifestation.rb
798
836
  - spec/dummy/db/migrate/20130421155019_add_creator_string_to_series_statement.rb
@@ -801,6 +839,14 @@ test_files:
801
839
  - spec/dummy/db/migrate/20130506175303_create_identifier_types.rb
802
840
  - spec/dummy/db/migrate/20130506175834_create_identifiers.rb
803
841
  - spec/dummy/db/migrate/20130509185724_add_statement_of_responsibility_to_manifestation.rb
842
+ - spec/dummy/db/migrate/20130519065638_add_lock_version_to_reserve.rb
843
+ - spec/dummy/db/migrate/20130519065837_add_lock_version_to_checkin.rb
844
+ - spec/dummy/db/migrate/20140518050147_create_reserve_transitions.rb
845
+ - spec/dummy/db/migrate/20140528045518_create_user_checkout_stat_transitions.rb
846
+ - spec/dummy/db/migrate/20140528045539_create_user_reserve_stat_transitions.rb
847
+ - spec/dummy/db/migrate/20140528045600_create_manifestation_checkout_stat_transitions.rb
848
+ - spec/dummy/db/migrate/20140528045617_create_manifestation_reserve_stat_transitions.rb
849
+ - spec/dummy/db/migrate/20140529014410_create_item_transitions.rb
804
850
  - spec/dummy/db/schema.rb
805
851
  - spec/dummy/db/test.sqlite3
806
852
  - spec/dummy/public/404.html
@@ -820,41 +866,41 @@ test_files:
820
866
  - spec/dummy/solr/conf/spellings.txt
821
867
  - spec/dummy/solr/conf/stopwords.txt
822
868
  - spec/dummy/solr/conf/synonyms.txt
823
- - spec/dummy/solr/default/data/index/_96.fdt
824
- - spec/dummy/solr/default/data/index/_96.fdx
825
- - spec/dummy/solr/default/data/index/_96.fnm
826
- - spec/dummy/solr/default/data/index/_96.nvd
827
- - spec/dummy/solr/default/data/index/_96.nvm
828
- - spec/dummy/solr/default/data/index/_96.si
829
- - spec/dummy/solr/default/data/index/_96_Lucene41_0.doc
830
- - spec/dummy/solr/default/data/index/_96_Lucene41_0.pos
831
- - spec/dummy/solr/default/data/index/_96_Lucene41_0.tim
832
- - spec/dummy/solr/default/data/index/_96_Lucene41_0.tip
833
- - spec/dummy/solr/default/data/index/_97.fdt
834
- - spec/dummy/solr/default/data/index/_97.fdx
835
- - spec/dummy/solr/default/data/index/_97.fnm
836
- - spec/dummy/solr/default/data/index/_97.nvd
837
- - spec/dummy/solr/default/data/index/_97.nvm
838
- - spec/dummy/solr/default/data/index/_97.si
839
- - spec/dummy/solr/default/data/index/_97_Lucene41_0.doc
840
- - spec/dummy/solr/default/data/index/_97_Lucene41_0.pos
841
- - spec/dummy/solr/default/data/index/_97_Lucene41_0.tim
842
- - spec/dummy/solr/default/data/index/_97_Lucene41_0.tip
843
- - spec/dummy/solr/default/data/index/_98.fdt
844
- - spec/dummy/solr/default/data/index/_98.fdx
845
- - spec/dummy/solr/default/data/index/_98.fnm
846
- - spec/dummy/solr/default/data/index/_98.nvd
847
- - spec/dummy/solr/default/data/index/_98.nvm
848
- - spec/dummy/solr/default/data/index/_98.si
849
- - spec/dummy/solr/default/data/index/_98_Lucene41_0.doc
850
- - spec/dummy/solr/default/data/index/_98_Lucene41_0.pos
851
- - spec/dummy/solr/default/data/index/_98_Lucene41_0.tim
852
- - spec/dummy/solr/default/data/index/_98_Lucene41_0.tip
869
+ - spec/dummy/solr/default/data/index/_cx.fdt
870
+ - spec/dummy/solr/default/data/index/_cx.fdx
871
+ - spec/dummy/solr/default/data/index/_cx.fnm
872
+ - spec/dummy/solr/default/data/index/_cx.nvd
873
+ - spec/dummy/solr/default/data/index/_cx.nvm
874
+ - spec/dummy/solr/default/data/index/_cx.si
875
+ - spec/dummy/solr/default/data/index/_cx_Lucene41_0.doc
876
+ - spec/dummy/solr/default/data/index/_cx_Lucene41_0.pos
877
+ - spec/dummy/solr/default/data/index/_cx_Lucene41_0.tim
878
+ - spec/dummy/solr/default/data/index/_cx_Lucene41_0.tip
879
+ - spec/dummy/solr/default/data/index/_cy.fdt
880
+ - spec/dummy/solr/default/data/index/_cy.fdx
881
+ - spec/dummy/solr/default/data/index/_cy.fnm
882
+ - spec/dummy/solr/default/data/index/_cy.nvd
883
+ - spec/dummy/solr/default/data/index/_cy.nvm
884
+ - spec/dummy/solr/default/data/index/_cy.si
885
+ - spec/dummy/solr/default/data/index/_cy_Lucene41_0.doc
886
+ - spec/dummy/solr/default/data/index/_cy_Lucene41_0.pos
887
+ - spec/dummy/solr/default/data/index/_cy_Lucene41_0.tim
888
+ - spec/dummy/solr/default/data/index/_cy_Lucene41_0.tip
889
+ - spec/dummy/solr/default/data/index/_cz.fdt
890
+ - spec/dummy/solr/default/data/index/_cz.fdx
891
+ - spec/dummy/solr/default/data/index/_cz.fnm
892
+ - spec/dummy/solr/default/data/index/_cz.nvd
893
+ - spec/dummy/solr/default/data/index/_cz.nvm
894
+ - spec/dummy/solr/default/data/index/_cz.si
895
+ - spec/dummy/solr/default/data/index/_cz_Lucene41_0.doc
896
+ - spec/dummy/solr/default/data/index/_cz_Lucene41_0.pos
897
+ - spec/dummy/solr/default/data/index/_cz_Lucene41_0.tim
898
+ - spec/dummy/solr/default/data/index/_cz_Lucene41_0.tip
853
899
  - spec/dummy/solr/default/data/index/segments.gen
854
- - spec/dummy/solr/default/data/index/segments_bn
855
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000000415
856
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000000416
857
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000000417
900
+ - spec/dummy/solr/default/data/index/segments_gj
901
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000000591
902
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000000592
903
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000000593
858
904
  - spec/dummy/solr/development/data/index/segments.gen
859
905
  - spec/dummy/solr/development/data/index/segments_1
860
906
  - spec/dummy/solr/solr.xml
@@ -1,27 +0,0 @@
1
- class LocalAgent
2
- include ActiveModel::Validations
3
- include ActiveModel::Conversion
4
- extend ActiveModel::Naming
5
-
6
- attr_accessor :username, :full_name, :address, :email
7
-
8
- def initialize(attributes = {})
9
- if attributes[:username]
10
- user = User.where(:username => attributes[:username]).first
11
- if user
12
- send('email=', user.email)
13
- end
14
- else
15
- attributes.each do |name, value|
16
- send("#{name}=", value)
17
- end
18
- end
19
- end
20
-
21
- def persisted?
22
- false
23
- end
24
-
25
- def id
26
- end
27
- end