enju_bookmark 0.1.2.pre14 → 0.1.2.pre15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (126) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/bookmark_stat_has_manifestations_controller.rb +12 -12
  3. data/app/controllers/bookmark_stats_controller.rb +13 -13
  4. data/app/controllers/bookmarks_controller.rb +18 -19
  5. data/app/controllers/tags_controller.rb +6 -7
  6. data/app/models/bookmark.rb +12 -12
  7. data/app/models/bookmark_stat.rb +20 -12
  8. data/app/models/bookmark_stat_has_manifestation.rb +2 -2
  9. data/app/models/bookmark_stat_state_machine.rb +13 -0
  10. data/app/models/bookmark_stat_transition.rb +20 -0
  11. data/app/models/tag.rb +5 -5
  12. data/app/views/bookmark_stat_has_manifestations/edit.html.erb +3 -3
  13. data/app/views/bookmark_stat_has_manifestations/index.html.erb +5 -5
  14. data/app/views/bookmark_stat_has_manifestations/new.html.erb +3 -3
  15. data/app/views/bookmark_stat_has_manifestations/show.html.erb +3 -3
  16. data/app/views/bookmark_stats/edit.html.erb +3 -3
  17. data/app/views/bookmark_stats/index.html.erb +6 -6
  18. data/app/views/bookmark_stats/new.html.erb +3 -3
  19. data/app/views/bookmark_stats/show.html.erb +6 -6
  20. data/app/views/bookmarks/_index.html.erb +8 -8
  21. data/app/views/bookmarks/_index_user.html.erb +9 -9
  22. data/app/views/bookmarks/_tag_cloud.html.erb +1 -1
  23. data/app/views/bookmarks/edit.html.erb +8 -8
  24. data/app/views/bookmarks/new.html.erb +7 -7
  25. data/app/views/bookmarks/show.html.erb +7 -7
  26. data/app/views/manifestations/_bookmarks_for_this_manifestation.html.erb +3 -3
  27. data/app/views/manifestations/_show_tag.html.erb +1 -1
  28. data/app/views/manifestations/_tag_edit.html.erb +8 -8
  29. data/app/views/manifestations/_tag_list.html.erb +2 -2
  30. data/app/views/tags/edit.html.erb +5 -5
  31. data/app/views/tags/index.atom.builder +2 -2
  32. data/app/views/tags/index.html.erb +8 -8
  33. data/app/views/tags/index.rss.builder +5 -5
  34. data/app/views/tags/show.html.erb +6 -6
  35. data/config/routes.rb +0 -3
  36. data/db/migrate/20081212151614_create_bookmark_stats.rb +0 -3
  37. data/db/migrate/20140812093836_add_share_bookmarks_to_profile.rb +5 -0
  38. data/lib/enju_bookmark.rb +2 -0
  39. data/lib/enju_bookmark/engine.rb +1 -1
  40. data/lib/enju_bookmark/profile.rb +13 -0
  41. data/lib/enju_bookmark/user.rb +2 -0
  42. data/lib/enju_bookmark/version.rb +1 -1
  43. data/spec/controllers/bookmark_stat_has_manifestations_controller_spec.rb +21 -21
  44. data/spec/controllers/bookmark_stats_controller_spec.rb +21 -21
  45. data/spec/controllers/bookmarks_controller_spec.rb +5 -11
  46. data/spec/controllers/tags_controller_spec.rb +15 -15
  47. data/spec/dummy/config/initializers/statesman.rb +3 -0
  48. data/spec/dummy/db/development.sqlite3 +0 -0
  49. data/spec/dummy/db/migrate/001_create_agents.rb +0 -3
  50. data/spec/dummy/db/migrate/005_create_manifestations.rb +7 -19
  51. data/spec/dummy/db/migrate/006_create_items.rb +0 -3
  52. data/spec/dummy/db/migrate/041_create_roles.rb +13 -0
  53. data/spec/dummy/db/migrate/20081028083142_create_agent_import_files.rb +0 -2
  54. data/spec/dummy/db/migrate/20081028083208_create_resource_import_files.rb +1 -3
  55. data/spec/dummy/db/migrate/20100129142347_create_import_requests.rb +0 -1
  56. data/spec/dummy/db/migrate/{20111201163718_create_user_has_roles.rb → 20100606065209_create_user_has_roles.rb} +2 -0
  57. data/spec/dummy/db/migrate/20110318183304_add_valid_period_for_new_user_to_user_group.rb +0 -2
  58. data/spec/dummy/db/migrate/20121116031206_add_fulltext_content_to_manifestation.rb +5 -0
  59. data/spec/dummy/db/migrate/20121116033446_add_doi_to_manifestation.rb +6 -0
  60. data/spec/dummy/db/migrate/20130221154434_add_additional_attributes_to_user.rb +1 -11
  61. data/spec/dummy/db/migrate/20130421093852_add_periodical_to_manifestation.rb +5 -0
  62. data/spec/dummy/db/migrate/20130421155019_add_creator_string_to_series_statement.rb +7 -0
  63. data/spec/dummy/db/migrate/20130421164124_add_series_master_to_series_statement.rb +5 -0
  64. data/spec/dummy/db/migrate/20130429020822_add_root_manifestation_id_to_series_statement.rb +6 -0
  65. data/spec/dummy/db/migrate/{20111201121844_create_roles.rb → 20130506175303_create_identifier_types.rb} +2 -2
  66. data/spec/dummy/db/migrate/20130506175834_create_identifiers.rb +15 -0
  67. data/spec/dummy/db/migrate/20130509185724_add_statement_of_responsibility_to_manifestation.rb +5 -0
  68. data/spec/dummy/db/migrate/20140110122216_create_user_import_files.rb +18 -0
  69. data/spec/dummy/db/migrate/20140110131010_create_user_import_results.rb +11 -0
  70. data/spec/dummy/db/migrate/20140122054321_create_profiles.rb +20 -0
  71. data/spec/dummy/db/migrate/20140519170214_create_resource_import_file_transitions.rb +14 -0
  72. data/spec/dummy/db/migrate/20140519171220_create_import_request_transitions.rb +14 -0
  73. data/spec/dummy/db/migrate/20140524020735_create_agent_import_file_transitions.rb +14 -0
  74. data/spec/dummy/db/migrate/20140524074813_create_user_import_file_transitions.rb +14 -0
  75. data/spec/dummy/db/migrate/20140610123439_drop_email_unique_constraint_enju_leaf_rc10.rb +11 -0
  76. data/spec/dummy/db/migrate/20140614065404_create_resource_export_files.rb +11 -0
  77. data/spec/dummy/db/migrate/20140614141500_create_resource_export_file_transitions.rb +14 -0
  78. data/spec/dummy/db/migrate/20140628072217_add_user_encoding_to_user_import_file.rb +5 -0
  79. data/spec/dummy/db/migrate/20140628073524_add_user_encoding_to_agent_import_file.rb +5 -0
  80. data/spec/dummy/db/migrate/20140628073535_add_user_encoding_to_resource_import_file.rb +5 -0
  81. data/spec/dummy/db/migrate/20140709113413_create_user_export_files.rb +11 -0
  82. data/spec/dummy/db/migrate/20140709113905_create_user_export_file_transitions.rb +14 -0
  83. data/spec/dummy/db/migrate/20140720140916_add_binding_item_identifier_to_item.rb +8 -0
  84. data/spec/dummy/db/migrate/20140720170714_add_default_library_id_to_user_import_file.rb +5 -0
  85. data/spec/dummy/db/migrate/20140720170735_add_default_user_group_id_to_user_import_file.rb +5 -0
  86. data/spec/dummy/db/migrate/20140721151416_add_default_shelf_id_to_resource_import_file.rb +5 -0
  87. data/spec/dummy/db/migrate/{20121119153944_add_manifestation_id_to_item.rb → 20140802082007_add_manifestation_id_to_item.rb} +1 -0
  88. data/spec/dummy/db/schema.rb +215 -55
  89. data/spec/dummy/db/test.sqlite3 +0 -0
  90. data/spec/dummy/solr/default/data/index/segments.gen +0 -0
  91. data/spec/dummy/solr/default/data/index/segments_1bi +0 -0
  92. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001699 +0 -0
  93. data/spec/dummy/solr/default/data/tlog/{tlog.0000000000000000905 → tlog.0000000000000001700} +0 -0
  94. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001701 +0 -0
  95. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001702 +0 -0
  96. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001703 +0 -0
  97. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001704 +0 -0
  98. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001705 +0 -0
  99. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001706 +0 -0
  100. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001707 +0 -0
  101. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001708 +0 -0
  102. data/spec/factories/profile.rb +10 -0
  103. data/spec/factories/user.rb +0 -13
  104. data/spec/fixtures/agents.yml +0 -12
  105. data/spec/fixtures/bookmark_stats.yml +0 -4
  106. data/spec/fixtures/items.yml +60 -21
  107. data/spec/fixtures/manifestations.yml +42 -178
  108. data/spec/fixtures/profiles.yml +99 -0
  109. data/spec/fixtures/users.yml +3 -29
  110. data/spec/models/bookmark_spec.rb +1 -1
  111. data/spec/models/bookmark_stat_spec.rb +1 -3
  112. data/spec/spec_helper.rb +2 -0
  113. metadata +117 -42
  114. data/app/models/bookmark_sweeper.rb +0 -21
  115. data/spec/dummy/db/migrate/20110916053430_rename_manifestation_number_list_to_number_string.rb +0 -13
  116. data/spec/dummy/db/migrate/20120415060308_rename_resource_import_file_imported_at_to_executed_at.rb +0 -9
  117. data/spec/dummy/solr/default/data/index/segments_pf +0 -0
  118. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000904 +0 -0
  119. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000906 +0 -0
  120. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000907 +0 -0
  121. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000908 +0 -0
  122. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000909 +0 -0
  123. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000910 +0 -0
  124. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000911 +0 -0
  125. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000912 +0 -0
  126. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000913 +0 -0
@@ -0,0 +1,99 @@
1
+ ---
2
+ admin:
3
+ updated_at: 2008-05-31 13:16:30.163731 +09:00
4
+ user_group_id: 2
5
+ id: 1
6
+ user_id: 1
7
+ note:
8
+ library_id: 2
9
+ created_at: 2007-11-19 16:58:32.111941 +09:00
10
+ required_role_id: 4
11
+ user_number: "00001"
12
+ locale: "ja"
13
+ share_bookmarks: true
14
+ librarian1:
15
+ updated_at: 2008-05-31 12:41:16.337474 +09:00
16
+ user_group_id: 1
17
+ id: 2
18
+ user_id: 2
19
+ note:
20
+ library_id: 1
21
+ created_at: 2007-11-19 16:58:33.172441 +09:00
22
+ required_role_id: 1
23
+ user_number: "00002"
24
+ locale: "ja"
25
+ user1:
26
+ updated_at: 2008-05-31 13:02:25.101261 +09:00
27
+ user_group_id: 1
28
+ id: 3
29
+ user_id: 3
30
+ note:
31
+ library_id: 2
32
+ created_at: 2007-11-19 16:58:34.637413 +09:00
33
+ required_role_id: 3
34
+ user_number: "00003"
35
+ locale: "ja"
36
+ librarian2:
37
+ updated_at: 2008-05-31 12:42:23.340575 +09:00
38
+ user_group_id: 1
39
+ id: 4
40
+ user_id: 4
41
+ note:
42
+ library_id: 2
43
+ created_at: 2008-01-18 12:24:04.222344 +09:00
44
+ required_role_id: 1
45
+ user_number: "00004"
46
+ locale: "ja"
47
+ user2:
48
+ updated_at: 2008-05-31 12:42:44.711117 +09:00
49
+ user_group_id: 1
50
+ id: 5
51
+ user_id: 5
52
+ note:
53
+ library_id: 1
54
+ created_at: 2008-01-18 13:29:06.922728 +09:00
55
+ required_role_id: 2
56
+ # user_number: '00005'
57
+ locale: "ja"
58
+ user3:
59
+ updated_at: 2008-05-31 13:02:25.101261 +09:00
60
+ user_group_id: 1
61
+ id: 6
62
+ user_id: 6
63
+ note:
64
+ library_id: 2
65
+ created_at: 2007-11-19 16:58:34.637413 +09:00
66
+ required_role_id: 3
67
+ user_number: "00006"
68
+ locale: "ja"
69
+ user4:
70
+ updated_at: 2008-05-31 13:02:25.101261 +09:00
71
+ user_group_id: 1
72
+ id: 7
73
+ user_id: 7
74
+ note:
75
+ library_id: 2
76
+ created_at: 2007-11-19 16:58:34.637413 +09:00
77
+ required_role_id: 3
78
+ user_number: "00007"
79
+ locale: "ja"
80
+
81
+ # == Schema Information
82
+ #
83
+ # Table name: profiles
84
+ #
85
+ # id :integer not null, primary key
86
+ # user_id :integer
87
+ # user_group_id :integer
88
+ # library_id :integer
89
+ # locale :string(255)
90
+ # user_number :string(255)
91
+ # full_name :text
92
+ # note :text
93
+ # keyword_list :text
94
+ # required_role_id :integer
95
+ # created_at :datetime not null
96
+ # updated_at :datetime not null
97
+ # checkout_icalendar_token :string(255)
98
+ # save_checkout_history :boolean default(FALSE), not null
99
+ #
@@ -2,76 +2,50 @@
2
2
  admin:
3
3
  updated_at: 2008-05-31 13:16:30.163731 +09:00
4
4
  encrypted_password: $2a$10$vHohD1WflnTIqAa8zMkF9evwAgIZRw3XuR4d3bi29M.jph/MB/AJi
5
- user_group_id: 2
6
5
  id: 1
7
- note:
8
6
  username: admin
9
7
  email: tanabe@kamata.lib.teu.ac.jp
10
8
  created_at: 2007-11-19 16:58:32.111941 +09:00
11
- required_role_id: 4
12
- share_bookmarks: true
13
- locale: ja
14
9
  librarian1:
15
10
  updated_at: 2008-05-31 12:41:16.337474 +09:00
16
11
  encrypted_password: $2a$10$9O2VuTccN4gHq36ARg0QReSrb1D7WrBBhZZ759RM9moHbB0W5zCzS
17
- user_group_id: 1
18
12
  id: 2
19
- note:
20
13
  username: librarian1
21
14
  email: librarian1@kamata.lib.teu.ac.jp
22
15
  created_at: 2007-11-19 16:58:33.172441 +09:00
23
- required_role_id: 1
24
- locale: ja
25
16
  user1:
26
17
  updated_at: 2008-05-31 13:02:25.101261 +09:00
27
18
  encrypted_password: $2a$10$JthS59A0BNkDOoFpCXM0V.GhhffKaoWKbzpPahYp/vTFrOyM7h/uW
28
- user_group_id: 1
29
19
  id: 3
30
- note:
31
20
  username: user1
32
21
  email: user1@kamata.lib.teu.ac.jp
33
22
  created_at: 2007-11-19 16:58:34.637413 +09:00
34
- required_role_id: 3
35
- locale: ja
36
23
  librarian2:
37
24
  updated_at: 2008-05-31 12:42:23.340575 +09:00
38
25
  encrypted_password: $2a$10$YmmTGrYQ1Ir6oc7wXnp.GuNeO1eYLoP3sv8wMSIrTdaGw2BPwRrpS
39
- user_group_id: 1
40
26
  id: 4
41
- note:
42
27
  username: librarian2
28
+ email: librarian2@library.example.jp
43
29
  created_at: 2008-01-18 12:24:04.222344 +09:00
44
- required_role_id: 1
45
- locale: ja
46
30
  user2:
47
31
  updated_at: 2008-05-31 12:42:44.711117 +09:00
48
32
  encrypted_password: $2a$10$i7UjJhLVrJM/J7qaTwW39OXw1NiwowUEbtNHVDV0sqMLjX9.UO9ca
49
- user_group_id: 1
50
33
  id: 5
51
- note:
52
34
  username: user2
35
+ email: user2@library.example.jp
53
36
  created_at: 2008-01-18 13:29:06.922728 +09:00
54
- required_role_id: 2
55
- locale: ja
56
37
  user3:
57
38
  updated_at: 2008-05-31 13:02:25.101261 +09:00
58
39
  encrypted_password: cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417
59
- user_group_id: 1
60
40
  id: 6
61
- note:
62
41
  username: user3
63
42
  email: user3@kamata.lib.teu.ac.jp
64
43
  created_at: 2007-11-19 16:58:34.637413 +09:00
65
- required_role_id: 3
66
- locale: ja
67
44
  user4:
68
45
  updated_at: 2008-05-31 13:02:25.101261 +09:00
69
46
  encrypted_password: cc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417
70
- user_group_id: 1
71
47
  id: 7
72
- note:
73
48
  username: user4
74
49
  email: user4@kamata.lib.teu.ac.jp
75
50
  created_at: 2007-11-19 16:58:34.637413 +09:00
76
- required_role_id: 3
77
- locale: ja
51
+ locked_at: <%= 1.day.ago %>
@@ -6,7 +6,7 @@ describe Bookmark do
6
6
  fixtures :all
7
7
 
8
8
  it "should be shelved" do
9
- bookmarks(:bookmark_00001).shelved?.should be_true
9
+ bookmarks(:bookmark_00001).shelved?.should be_truthy
10
10
  end
11
11
 
12
12
  it "should create bookmark with url" do
@@ -5,7 +5,7 @@ describe BookmarkStat do
5
5
  fixtures :bookmark_stats
6
6
 
7
7
  it "calculates manifestation count" do
8
- bookmark_stats(:bookmark_stat_00001).calculate_count.should be_true
8
+ bookmark_stats(:bookmark_stat_00001).transition_to!(:started).should be_truthy
9
9
  end
10
10
  end
11
11
 
@@ -19,8 +19,6 @@ end
19
19
  # started_at :datetime
20
20
  # completed_at :datetime
21
21
  # note :text
22
- # state :string(255)
23
22
  # created_at :datetime not null
24
23
  # updated_at :datetime not null
25
24
  #
26
-
@@ -40,6 +40,8 @@ RSpec.configure do |config|
40
40
  Sunspot.session = $original_sunspot_session
41
41
  Sunspot.remove_all!
42
42
  end
43
+
44
+ config.infer_spec_type_from_file_location!
43
45
  end
44
46
 
45
47
  FactoryGirl.definition_file_paths << "#{::Rails.root}/../../spec/factories"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enju_bookmark
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2.pre14
4
+ version: 0.1.2.pre15
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-08-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -39,7 +39,7 @@ dependencies:
39
39
  - !ruby/object:Gem::Version
40
40
  version: '3.2'
41
41
  - !ruby/object:Gem::Dependency
42
- name: state_machine
42
+ name: statesman
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - ">="
@@ -70,16 +70,16 @@ dependencies:
70
70
  name: rspec-rails
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '='
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '2.99'
75
+ version: '3.0'
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: '2.99'
82
+ version: '3.0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: factory_girl_rails
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -100,14 +100,14 @@ dependencies:
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 1.1.0.rc9
103
+ version: 1.1.0.rc13
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: 1.1.0.rc9
110
+ version: 1.1.0.rc13
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: sunspot_solr
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -136,6 +136,20 @@ dependencies:
136
136
  - - ">="
137
137
  - !ruby/object:Gem::Version
138
138
  version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: annotate
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
139
153
  - !ruby/object:Gem::Dependency
140
154
  name: sunspot-rails-tester
141
155
  requirement: !ruby/object:Gem::Requirement
@@ -167,7 +181,8 @@ files:
167
181
  - app/models/bookmark.rb
168
182
  - app/models/bookmark_stat.rb
169
183
  - app/models/bookmark_stat_has_manifestation.rb
170
- - app/models/bookmark_sweeper.rb
184
+ - app/models/bookmark_stat_state_machine.rb
185
+ - app/models/bookmark_stat_transition.rb
171
186
  - app/models/enju_bookmark/ability.rb
172
187
  - app/models/tag.rb
173
188
  - app/views/bookmark_stat_has_manifestations/_form.html.erb
@@ -209,6 +224,7 @@ files:
209
224
  - db/migrate/20111231145823_add_share_bookmarks_to_user.rb
210
225
  - db/migrate/20140524135607_create_bookmark_stat_transitions.rb
211
226
  - db/migrate/20140524142813_add_taggings_count_to_tag.rb
227
+ - db/migrate/20140812093836_add_share_bookmarks_to_profile.rb
212
228
  - lib/enju_bookmark.rb
213
229
  - lib/enju_bookmark/bookmark_helper.rb
214
230
  - lib/enju_bookmark/bookmark_url.rb
@@ -216,6 +232,7 @@ files:
216
232
  - lib/enju_bookmark/engine.rb
217
233
  - lib/enju_bookmark/expire_tag_cloud.rb
218
234
  - lib/enju_bookmark/manifestation.rb
235
+ - lib/enju_bookmark/profile.rb
219
236
  - lib/enju_bookmark/suggest_tag.rb
220
237
  - lib/enju_bookmark/user.rb
221
238
  - lib/enju_bookmark/version.rb
@@ -250,6 +267,7 @@ files:
250
267
  - spec/dummy/config/initializers/mime_types.rb
251
268
  - spec/dummy/config/initializers/secret_token.rb
252
269
  - spec/dummy/config/initializers/session_store.rb
270
+ - spec/dummy/config/initializers/statesman.rb
253
271
  - spec/dummy/config/initializers/wrap_parameters.rb
254
272
  - spec/dummy/config/locales/en.yml
255
273
  - spec/dummy/config/routes.rb
@@ -262,6 +280,7 @@ files:
262
280
  - spec/dummy/db/migrate/032_create_checkins.rb
263
281
  - spec/dummy/db/migrate/033_create_checkouts.rb
264
282
  - spec/dummy/db/migrate/035_create_reserves.rb
283
+ - spec/dummy/db/migrate/041_create_roles.rb
265
284
  - spec/dummy/db/migrate/047_create_produces.rb
266
285
  - spec/dummy/db/migrate/059_create_libraries.rb
267
286
  - spec/dummy/db/migrate/069_create_shelves.rb
@@ -318,6 +337,7 @@ files:
318
337
  - spec/dummy/db/migrate/20100223121519_rename_series_statement_title_to_original_title.rb
319
338
  - spec/dummy/db/migrate/20100321235924_add_series_statement_identifier_to_series_statement.rb
320
339
  - spec/dummy/db/migrate/20100525124311_create_manifestation_relationships.rb
340
+ - spec/dummy/db/migrate/20100606065209_create_user_has_roles.rb
321
341
  - spec/dummy/db/migrate/20100606073747_create_agent_relationships.rb
322
342
  - spec/dummy/db/migrate/20100607044753_create_manifestation_relationship_types.rb
323
343
  - spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
@@ -341,7 +361,6 @@ files:
341
361
  - spec/dummy/db/migrate/20110627035057_create_series_statement_merges.rb
342
362
  - spec/dummy/db/migrate/20110627122938_add_number_of_day_to_notify_overdue_to_user_group.rb
343
363
  - spec/dummy/db/migrate/20110820131417_create_series_has_manifestations.rb
344
- - spec/dummy/db/migrate/20110916053430_rename_manifestation_number_list_to_number_string.rb
345
364
  - spec/dummy/db/migrate/20110916091020_add_volume_number_to_manifestation.rb
346
365
  - spec/dummy/db/migrate/20110916103953_add_manifestaiton_id_to_series_statement.rb
347
366
  - spec/dummy/db/migrate/20110918162329_add_note_to_series_statement.rb
@@ -351,10 +370,8 @@ files:
351
370
  - spec/dummy/db/migrate/20111124110319_create_realize_types.rb
352
371
  - spec/dummy/db/migrate/20111124110355_create_produce_types.rb
353
372
  - spec/dummy/db/migrate/20111124112131_add_create_type_to_create.rb
354
- - spec/dummy/db/migrate/20111201121844_create_roles.rb
355
373
  - spec/dummy/db/migrate/20111201155456_create_users.rb
356
374
  - spec/dummy/db/migrate/20111201155513_add_devise_to_users.rb
357
- - spec/dummy/db/migrate/20111201163718_create_user_has_roles.rb
358
375
  - spec/dummy/db/migrate/20111217234412_add_save_checkout_history_to_user.rb
359
376
  - spec/dummy/db/migrate/20111218002349_add_checkout_icalendar_token_to_user.rb
360
377
  - spec/dummy/db/migrate/20120105074911_add_isil_to_library.rb
@@ -370,7 +387,6 @@ files:
370
387
  - spec/dummy/db/migrate/20120413161403_add_fingerprint_to_agent_import_file.rb
371
388
  - spec/dummy/db/migrate/20120413170705_add_error_message_to_resource_import_file.rb
372
389
  - spec/dummy/db/migrate/20120413170720_add_error_message_to_agent_import_file.rb
373
- - spec/dummy/db/migrate/20120415060308_rename_resource_import_file_imported_at_to_executed_at.rb
374
390
  - spec/dummy/db/migrate/20120415164821_add_attachment_meta_to_manifestation.rb
375
391
  - spec/dummy/db/migrate/20120418081407_add_month_of_publication_to_manifestation.rb
376
392
  - spec/dummy/db/migrate/20120424103932_add_librarian_id_to_checked_item.rb
@@ -378,8 +394,36 @@ files:
378
394
  - spec/dummy/db/migrate/20120511072422_add_agent_identifier_to_agent.rb
379
395
  - spec/dummy/db/migrate/20120602141129_add_edit_mode_to_agent_import_file.rb
380
396
  - spec/dummy/db/migrate/20120728204337_create_series_statement_relationships.rb
381
- - spec/dummy/db/migrate/20121119153944_add_manifestation_id_to_item.rb
397
+ - spec/dummy/db/migrate/20121116031206_add_fulltext_content_to_manifestation.rb
398
+ - spec/dummy/db/migrate/20121116033446_add_doi_to_manifestation.rb
382
399
  - spec/dummy/db/migrate/20130221154434_add_additional_attributes_to_user.rb
400
+ - spec/dummy/db/migrate/20130421093852_add_periodical_to_manifestation.rb
401
+ - spec/dummy/db/migrate/20130421155019_add_creator_string_to_series_statement.rb
402
+ - spec/dummy/db/migrate/20130421164124_add_series_master_to_series_statement.rb
403
+ - spec/dummy/db/migrate/20130429020822_add_root_manifestation_id_to_series_statement.rb
404
+ - spec/dummy/db/migrate/20130506175303_create_identifier_types.rb
405
+ - spec/dummy/db/migrate/20130506175834_create_identifiers.rb
406
+ - spec/dummy/db/migrate/20130509185724_add_statement_of_responsibility_to_manifestation.rb
407
+ - spec/dummy/db/migrate/20140110122216_create_user_import_files.rb
408
+ - spec/dummy/db/migrate/20140110131010_create_user_import_results.rb
409
+ - spec/dummy/db/migrate/20140122054321_create_profiles.rb
410
+ - spec/dummy/db/migrate/20140519170214_create_resource_import_file_transitions.rb
411
+ - spec/dummy/db/migrate/20140519171220_create_import_request_transitions.rb
412
+ - spec/dummy/db/migrate/20140524020735_create_agent_import_file_transitions.rb
413
+ - spec/dummy/db/migrate/20140524074813_create_user_import_file_transitions.rb
414
+ - spec/dummy/db/migrate/20140610123439_drop_email_unique_constraint_enju_leaf_rc10.rb
415
+ - spec/dummy/db/migrate/20140614065404_create_resource_export_files.rb
416
+ - spec/dummy/db/migrate/20140614141500_create_resource_export_file_transitions.rb
417
+ - spec/dummy/db/migrate/20140628072217_add_user_encoding_to_user_import_file.rb
418
+ - spec/dummy/db/migrate/20140628073524_add_user_encoding_to_agent_import_file.rb
419
+ - spec/dummy/db/migrate/20140628073535_add_user_encoding_to_resource_import_file.rb
420
+ - spec/dummy/db/migrate/20140709113413_create_user_export_files.rb
421
+ - spec/dummy/db/migrate/20140709113905_create_user_export_file_transitions.rb
422
+ - spec/dummy/db/migrate/20140720140916_add_binding_item_identifier_to_item.rb
423
+ - spec/dummy/db/migrate/20140720170714_add_default_library_id_to_user_import_file.rb
424
+ - spec/dummy/db/migrate/20140720170735_add_default_user_group_id_to_user_import_file.rb
425
+ - spec/dummy/db/migrate/20140721151416_add_default_shelf_id_to_resource_import_file.rb
426
+ - spec/dummy/db/migrate/20140802082007_add_manifestation_id_to_item.rb
383
427
  - spec/dummy/db/schema.rb
384
428
  - spec/dummy/db/test.sqlite3
385
429
  - spec/dummy/public/404.html
@@ -398,17 +442,17 @@ files:
398
442
  - spec/dummy/solr/conf/stopwords.txt
399
443
  - spec/dummy/solr/conf/synonyms.txt
400
444
  - spec/dummy/solr/default/data/index/segments.gen
401
- - spec/dummy/solr/default/data/index/segments_pf
402
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000000904
403
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000000905
404
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000000906
405
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000000907
406
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000000908
407
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000000909
408
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000000910
409
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000000911
410
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000000912
411
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000000913
445
+ - spec/dummy/solr/default/data/index/segments_1bi
446
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000001699
447
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000001700
448
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000001701
449
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000001702
450
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000001703
451
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000001704
452
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000001705
453
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000001706
454
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000001707
455
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000001708
412
456
  - spec/dummy/solr/development/data/index/segments.gen
413
457
  - spec/dummy/solr/development/data/index/segments_1
414
458
  - spec/dummy/solr/solr.xml
@@ -419,6 +463,7 @@ files:
419
463
  - spec/factories/bookmark_stat_has_manifestation.rb
420
464
  - spec/factories/library.rb
421
465
  - spec/factories/manifestation.rb
466
+ - spec/factories/profile.rb
422
467
  - spec/factories/tag.rb
423
468
  - spec/factories/user.rb
424
469
  - spec/fixtures/agent_types.yml
@@ -434,6 +479,7 @@ files:
434
479
  - spec/fixtures/libraries.yml
435
480
  - spec/fixtures/library_groups.yml
436
481
  - spec/fixtures/manifestations.yml
482
+ - spec/fixtures/profiles.yml
437
483
  - spec/fixtures/roles.yml
438
484
  - spec/fixtures/series_statements.yml
439
485
  - spec/fixtures/shelves.yml
@@ -497,6 +543,7 @@ test_files:
497
543
  - spec/dummy/config/initializers/mime_types.rb
498
544
  - spec/dummy/config/initializers/secret_token.rb
499
545
  - spec/dummy/config/initializers/session_store.rb
546
+ - spec/dummy/config/initializers/statesman.rb
500
547
  - spec/dummy/config/initializers/wrap_parameters.rb
501
548
  - spec/dummy/config/locales/en.yml
502
549
  - spec/dummy/config/routes.rb
@@ -510,6 +557,7 @@ test_files:
510
557
  - spec/dummy/db/migrate/032_create_checkins.rb
511
558
  - spec/dummy/db/migrate/033_create_checkouts.rb
512
559
  - spec/dummy/db/migrate/035_create_reserves.rb
560
+ - spec/dummy/db/migrate/041_create_roles.rb
513
561
  - spec/dummy/db/migrate/047_create_produces.rb
514
562
  - spec/dummy/db/migrate/059_create_libraries.rb
515
563
  - spec/dummy/db/migrate/069_create_shelves.rb
@@ -566,6 +614,7 @@ test_files:
566
614
  - spec/dummy/db/migrate/20100223121519_rename_series_statement_title_to_original_title.rb
567
615
  - spec/dummy/db/migrate/20100321235924_add_series_statement_identifier_to_series_statement.rb
568
616
  - spec/dummy/db/migrate/20100525124311_create_manifestation_relationships.rb
617
+ - spec/dummy/db/migrate/20100606065209_create_user_has_roles.rb
569
618
  - spec/dummy/db/migrate/20100606073747_create_agent_relationships.rb
570
619
  - spec/dummy/db/migrate/20100607044753_create_manifestation_relationship_types.rb
571
620
  - spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
@@ -589,7 +638,6 @@ test_files:
589
638
  - spec/dummy/db/migrate/20110627035057_create_series_statement_merges.rb
590
639
  - spec/dummy/db/migrate/20110627122938_add_number_of_day_to_notify_overdue_to_user_group.rb
591
640
  - spec/dummy/db/migrate/20110820131417_create_series_has_manifestations.rb
592
- - spec/dummy/db/migrate/20110916053430_rename_manifestation_number_list_to_number_string.rb
593
641
  - spec/dummy/db/migrate/20110916091020_add_volume_number_to_manifestation.rb
594
642
  - spec/dummy/db/migrate/20110916103953_add_manifestaiton_id_to_series_statement.rb
595
643
  - spec/dummy/db/migrate/20110918162329_add_note_to_series_statement.rb
@@ -599,10 +647,8 @@ test_files:
599
647
  - spec/dummy/db/migrate/20111124110319_create_realize_types.rb
600
648
  - spec/dummy/db/migrate/20111124110355_create_produce_types.rb
601
649
  - spec/dummy/db/migrate/20111124112131_add_create_type_to_create.rb
602
- - spec/dummy/db/migrate/20111201121844_create_roles.rb
603
650
  - spec/dummy/db/migrate/20111201155456_create_users.rb
604
651
  - spec/dummy/db/migrate/20111201155513_add_devise_to_users.rb
605
- - spec/dummy/db/migrate/20111201163718_create_user_has_roles.rb
606
652
  - spec/dummy/db/migrate/20111217234412_add_save_checkout_history_to_user.rb
607
653
  - spec/dummy/db/migrate/20111218002349_add_checkout_icalendar_token_to_user.rb
608
654
  - spec/dummy/db/migrate/20120105074911_add_isil_to_library.rb
@@ -618,7 +664,6 @@ test_files:
618
664
  - spec/dummy/db/migrate/20120413161403_add_fingerprint_to_agent_import_file.rb
619
665
  - spec/dummy/db/migrate/20120413170705_add_error_message_to_resource_import_file.rb
620
666
  - spec/dummy/db/migrate/20120413170720_add_error_message_to_agent_import_file.rb
621
- - spec/dummy/db/migrate/20120415060308_rename_resource_import_file_imported_at_to_executed_at.rb
622
667
  - spec/dummy/db/migrate/20120415164821_add_attachment_meta_to_manifestation.rb
623
668
  - spec/dummy/db/migrate/20120418081407_add_month_of_publication_to_manifestation.rb
624
669
  - spec/dummy/db/migrate/20120424103932_add_librarian_id_to_checked_item.rb
@@ -626,8 +671,36 @@ test_files:
626
671
  - spec/dummy/db/migrate/20120511072422_add_agent_identifier_to_agent.rb
627
672
  - spec/dummy/db/migrate/20120602141129_add_edit_mode_to_agent_import_file.rb
628
673
  - spec/dummy/db/migrate/20120728204337_create_series_statement_relationships.rb
629
- - spec/dummy/db/migrate/20121119153944_add_manifestation_id_to_item.rb
674
+ - spec/dummy/db/migrate/20121116031206_add_fulltext_content_to_manifestation.rb
675
+ - spec/dummy/db/migrate/20121116033446_add_doi_to_manifestation.rb
630
676
  - spec/dummy/db/migrate/20130221154434_add_additional_attributes_to_user.rb
677
+ - spec/dummy/db/migrate/20130421093852_add_periodical_to_manifestation.rb
678
+ - spec/dummy/db/migrate/20130421155019_add_creator_string_to_series_statement.rb
679
+ - spec/dummy/db/migrate/20130421164124_add_series_master_to_series_statement.rb
680
+ - spec/dummy/db/migrate/20130429020822_add_root_manifestation_id_to_series_statement.rb
681
+ - spec/dummy/db/migrate/20130506175303_create_identifier_types.rb
682
+ - spec/dummy/db/migrate/20130506175834_create_identifiers.rb
683
+ - spec/dummy/db/migrate/20130509185724_add_statement_of_responsibility_to_manifestation.rb
684
+ - spec/dummy/db/migrate/20140110122216_create_user_import_files.rb
685
+ - spec/dummy/db/migrate/20140110131010_create_user_import_results.rb
686
+ - spec/dummy/db/migrate/20140122054321_create_profiles.rb
687
+ - spec/dummy/db/migrate/20140519170214_create_resource_import_file_transitions.rb
688
+ - spec/dummy/db/migrate/20140519171220_create_import_request_transitions.rb
689
+ - spec/dummy/db/migrate/20140524020735_create_agent_import_file_transitions.rb
690
+ - spec/dummy/db/migrate/20140524074813_create_user_import_file_transitions.rb
691
+ - spec/dummy/db/migrate/20140610123439_drop_email_unique_constraint_enju_leaf_rc10.rb
692
+ - spec/dummy/db/migrate/20140614065404_create_resource_export_files.rb
693
+ - spec/dummy/db/migrate/20140614141500_create_resource_export_file_transitions.rb
694
+ - spec/dummy/db/migrate/20140628072217_add_user_encoding_to_user_import_file.rb
695
+ - spec/dummy/db/migrate/20140628073524_add_user_encoding_to_agent_import_file.rb
696
+ - spec/dummy/db/migrate/20140628073535_add_user_encoding_to_resource_import_file.rb
697
+ - spec/dummy/db/migrate/20140709113413_create_user_export_files.rb
698
+ - spec/dummy/db/migrate/20140709113905_create_user_export_file_transitions.rb
699
+ - spec/dummy/db/migrate/20140720140916_add_binding_item_identifier_to_item.rb
700
+ - spec/dummy/db/migrate/20140720170714_add_default_library_id_to_user_import_file.rb
701
+ - spec/dummy/db/migrate/20140720170735_add_default_user_group_id_to_user_import_file.rb
702
+ - spec/dummy/db/migrate/20140721151416_add_default_shelf_id_to_resource_import_file.rb
703
+ - spec/dummy/db/migrate/20140802082007_add_manifestation_id_to_item.rb
631
704
  - spec/dummy/db/schema.rb
632
705
  - spec/dummy/db/test.sqlite3
633
706
  - spec/dummy/public/404.html
@@ -647,17 +720,17 @@ test_files:
647
720
  - spec/dummy/solr/conf/stopwords.txt
648
721
  - spec/dummy/solr/conf/synonyms.txt
649
722
  - spec/dummy/solr/default/data/index/segments.gen
650
- - spec/dummy/solr/default/data/index/segments_pf
651
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000000904
652
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000000905
653
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000000906
654
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000000907
655
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000000908
656
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000000909
657
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000000910
658
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000000911
659
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000000912
660
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000000913
723
+ - spec/dummy/solr/default/data/index/segments_1bi
724
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000001699
725
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000001700
726
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000001701
727
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000001702
728
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000001703
729
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000001704
730
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000001705
731
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000001706
732
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000001707
733
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000001708
661
734
  - spec/dummy/solr/development/data/index/segments.gen
662
735
  - spec/dummy/solr/development/data/index/segments_1
663
736
  - spec/dummy/solr/solr.xml
@@ -668,6 +741,7 @@ test_files:
668
741
  - spec/factories/bookmark_stat_has_manifestation.rb
669
742
  - spec/factories/library.rb
670
743
  - spec/factories/manifestation.rb
744
+ - spec/factories/profile.rb
671
745
  - spec/factories/tag.rb
672
746
  - spec/factories/user.rb
673
747
  - spec/fixtures/agent_types.yml
@@ -683,6 +757,7 @@ test_files:
683
757
  - spec/fixtures/libraries.yml
684
758
  - spec/fixtures/library_groups.yml
685
759
  - spec/fixtures/manifestations.yml
760
+ - spec/fixtures/profiles.yml
686
761
  - spec/fixtures/roles.yml
687
762
  - spec/fixtures/series_statements.yml
688
763
  - spec/fixtures/shelves.yml