umlaut 3.0.0alpha13 → 3.0.0alpha14
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +2 -0
- data/app/models/#Untitled-1# +0 -0
- data/app/models/collection.rb +30 -28
- data/app/models/request.rb +2 -4
- data/app/models/service_wave.rb +8 -17
- data/app/views/admin/service_errors/_dispatched_service.html.erb +1 -1
- data/config/initializers/extensions/connection_pool.rb +97 -0
- data/lib/generators/umlaut/install_generator.rb +4 -3
- data/lib/umlaut/version.rb +1 -1
- data/test/dummy/config/umlaut_services.yml +1 -1
- data/test/dummy/tmp/cache/assets/C2A/410/sprockets%2Fd654b74912b4773a2534616863fb6565 +0 -0
- data/test/dummy/tmp/cache/assets/C2A/F60/sprockets%2F0168619e0479b449df21a96d81128446 +0 -0
- data/test/dummy/tmp/cache/assets/C45/A30/sprockets%2F39494895e462697b478d3d0c79298a26 +0 -0
- data/test/dummy/tmp/cache/assets/C5F/340/sprockets%2F99692920160b7a279b86a80415b79db7 +0 -0
- data/test/dummy/tmp/cache/assets/C70/4D0/sprockets%2F034ad2036e623081bd352800786dfe80 +0 -0
- data/test/dummy/tmp/cache/assets/C73/3A0/sprockets%2F4ec6216ea5b16813058f6a5800120b88 +0 -0
- data/test/dummy/tmp/cache/assets/C80/980/sprockets%2Fc94807409c1523d43e18d25f35d93c41 +0 -0
- data/test/dummy/tmp/cache/assets/C83/090/sprockets%2F88d056629d259318a6140e1b4c669ad2 +0 -0
- data/test/dummy/tmp/cache/assets/CA8/CA0/sprockets%2F706261702662dd54ec295c7d4a080e2d +0 -0
- data/test/dummy/tmp/cache/assets/CB0/B00/sprockets%2F1996cad394110de2d13f96639b4745a0 +0 -0
- data/test/dummy/tmp/cache/assets/CB2/DA0/sprockets%2Fa1808990b72376256db2ae3818c0e9b5 +0 -0
- data/test/dummy/tmp/cache/assets/CBD/730/sprockets%2F034c1086748b981c36672d5a56e7fed6 +0 -0
- data/test/dummy/tmp/cache/assets/CBF/B60/sprockets%2F08ca89671549936265dcb673bf02e36f +0 -0
- data/test/dummy/tmp/cache/assets/CC9/9F0/sprockets%2F306166316e2cafd13c15e62b51a2339d +0 -0
- data/test/dummy/tmp/cache/assets/CD6/300/sprockets%2F397ec39d3d883789effe506c38760368 +0 -0
- data/test/dummy/tmp/cache/assets/CD7/DD0/sprockets%2F4f1fe68aa2042a0970bde9b185530646 +0 -0
- data/test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/CD8/9B0/sprockets%2F973e0704e043597c480c8b2a1aae8d05 +0 -0
- data/test/dummy/tmp/cache/assets/CDE/010/sprockets%2F132e7b37dd472988500f625bb2cfe361 +0 -0
- data/test/dummy/tmp/cache/assets/CF6/F20/sprockets%2F5b2ffa1103079dfd555197838f87a99f +0 -0
- data/test/dummy/tmp/cache/assets/CF7/2B0/sprockets%2F25a7c73655bd3598173b39d9f98bcd46 +0 -0
- data/test/dummy/tmp/cache/assets/CFE/080/sprockets%2F37fe9f4255baddbd549a659914929398 +0 -0
- data/test/dummy/tmp/cache/assets/D10/420/sprockets%2F74579cafb0286be0c9fc13d680057b62 +0 -0
- data/test/dummy/tmp/cache/assets/D15/0D0/sprockets%2F909d1bd78126ba69c71cf95b907f006b +0 -0
- data/test/dummy/tmp/cache/assets/D16/3F0/sprockets%2F0d9672ae10739f5f15c88322db3cfc77 +0 -0
- data/test/dummy/tmp/cache/assets/D16/F90/sprockets%2F5fe3c021048c6f9a6086bed7736d87b1 +0 -0
- data/test/dummy/tmp/cache/assets/D18/830/sprockets%2F02fc21e6f358097b46fe04464a79ea8e +0 -0
- data/test/dummy/tmp/cache/assets/D24/360/sprockets%2F6987b047a96dc685ba3cf39b31477f6d +0 -0
- data/test/dummy/tmp/cache/assets/D2B/210/sprockets%2F0bda6c96f2e20aad805971cb315b1471 +0 -0
- data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/D33/FD0/sprockets%2F2ba0b4e6334a77b923e5f770381bb2bf +0 -0
- data/test/dummy/tmp/cache/assets/D37/2B0/sprockets%2F40834fb07d7318c1fddd5003bd9e04f6 +0 -0
- data/test/dummy/tmp/cache/assets/D3D/F10/sprockets%2F4e32eadce0089c6e115f77ee103259e4 +0 -0
- data/test/dummy/tmp/cache/assets/D3E/E10/sprockets%2F4f3737656954cfde3b15406b2ca51aef +0 -0
- data/test/dummy/tmp/cache/assets/D3E/F40/sprockets%2F17acd2daf65e84066a96e7e0d155174a +0 -0
- data/test/dummy/tmp/cache/assets/D40/730/sprockets%2F61beb3b64b0952c1fda637692c4d9a68 +0 -0
- data/test/dummy/tmp/cache/assets/D43/0D0/sprockets%2F682843a8d0795a5fbcfeb2f0c81727d0 +0 -0
- data/test/dummy/tmp/cache/assets/D4D/F00/sprockets%2F106eda2f02d4ae70503e274a0f1e2d3a +0 -0
- data/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/dummy/tmp/cache/assets/D50/A30/sprockets%2F7d8b294ac433db5d056538f8cf7c66b9 +0 -0
- data/test/dummy/tmp/cache/assets/D59/CF0/sprockets%2F65f4c7b1b394eb41440aaa6417bde12b +0 -0
- data/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/D64/CE0/sprockets%2F27ee7882a56c67271b0e132babaf2ba8 +0 -0
- data/test/dummy/tmp/cache/assets/D69/E00/sprockets%2F80bfeb1aac21f5e43f6768c336181bb8 +0 -0
- data/test/dummy/tmp/cache/assets/D6C/7D0/sprockets%2F8a05d6981ec0d38c51739bef0b3a9c2b +0 -0
- data/test/dummy/tmp/cache/assets/D6E/AB0/sprockets%2F0845d812eda2307baccf7eeb6a974294 +0 -0
- data/test/dummy/tmp/cache/assets/D72/DE0/sprockets%2F8b625cb50d7bdc8c5e9084b43b55a7e5 +0 -0
- data/test/dummy/tmp/cache/assets/D74/4C0/sprockets%2F64fdf30f75592d6e45fcfc45a48d20a2 +0 -0
- data/test/dummy/tmp/cache/assets/D76/870/sprockets%2F55bf0acc7df37e060fdb8f72098a5656 +0 -0
- data/test/dummy/tmp/cache/assets/D7A/9A0/sprockets%2Fb195d86f759cccb657b057b56aaed193 +0 -0
- data/test/dummy/tmp/cache/assets/D8F/A30/sprockets%2Fd2be584fda972df9077d964ec8779c5a +0 -0
- data/test/dummy/tmp/cache/assets/D94/FF0/sprockets%2F3b56a1aa77de0d570c38a4a9d5f4b1d6 +0 -0
- data/test/dummy/tmp/cache/assets/D97/6B0/sprockets%2Fb070e8c799d1a4ad5e62e0a1ae3b83e6 +0 -0
- data/test/dummy/tmp/cache/assets/D9B/690/sprockets%2F8ade6607042fc147eecfde5a56445a0d +0 -0
- data/test/dummy/tmp/cache/assets/D9D/5D0/sprockets%2Fa7dee16d6f6c5b87a32716acb036f2a9 +0 -0
- data/test/dummy/tmp/cache/assets/DA6/A80/sprockets%2F92e26d8e58d5bcc8b8f6c25d1b05b9c1 +0 -0
- data/test/dummy/tmp/cache/assets/DA7/020/sprockets%2F3f8819c12039b3f6f635eacc6cffc6a6 +0 -0
- data/test/dummy/tmp/cache/assets/DB8/780/sprockets%2Ffc6ed563a3f488e5e7caeee04e556976 +0 -0
- data/test/dummy/tmp/cache/assets/DBB/770/sprockets%2F4fb7132f4df022bfecc2adcc277b8220 +0 -0
- data/test/dummy/tmp/cache/assets/DC0/D20/sprockets%2F1ccf7405cd252dcec4bf23af82e2563a +0 -0
- data/test/dummy/tmp/cache/assets/DD2/D80/sprockets%2Fc66d103807d0f971fbbcf9aa8b8b27ee +0 -0
- data/test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/DE8/790/sprockets%2Fd1333bde2b9aafcc712d11dd09ab35d8 +0 -0
- data/test/dummy/tmp/cache/assets/DF5/5E0/sprockets%2F8e64a37c73cdc0b37a4ccfcb42ab45d8 +0 -0
- data/test/dummy/tmp/cache/assets/DF7/960/sprockets%2F99ac6db10b44a64fbba4ee847b35ba8b +0 -0
- data/test/dummy/tmp/cache/assets/DFC/040/sprockets%2F15ea81cf915c0cb1dfc9cc04c9fef364 +0 -0
- data/test/dummy/tmp/cache/assets/DFD/300/sprockets%2Fabac9489cf7f1db8ef00d72a1571ee1e +0 -0
- data/test/dummy/tmp/cache/assets/E02/D50/sprockets%2Fb85f8ca2fbb4dd506c7c0b8583d6ec8a +0 -0
- data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/E21/C90/sprockets%2F7621efdebb206edc6fd3cbf0192f2a0f +0 -0
- data/test/dummy/tmp/cache/assets/E26/C40/sprockets%2Fee819a444e9cfdf0c6a3bdd1baa2f525 +0 -0
- data/test/dummy/tmp/cache/assets/E38/FE0/sprockets%2Fe1fc875efa817cbb94a5d8de25ea4e6b +0 -0
- data/test/dummy/tmp/cache/assets/E5F/960/sprockets%2Fdc007b6cad5c7ef08e33ec28cfff0ef6 +0 -0
- data/test/dummy/tmp/cache/assets/EBB/5E0/sprockets%2F35461d449f3adeeafb09beebd1defeea +0 -0
- data/test/integration/request_reuse_test.rb +13 -4
- data/test/integration/request_test.rb +25 -0
- data/test/performance/browsing_test.rb +3 -3
- data/test/test_helper.rb +4 -0
- data/test/unit/active_record_connection_pool_test.rb +35 -0
- data/test/unit/google_book_search_test.rb +1 -1
- metadata +135 -45
- data/test/dummy/tmp/cache/assets/CEA/2A0/sprockets%2F9c8607157b998108ce08f4aca39f810a +0 -0
- data/test/dummy/tmp/cache/assets/D5D/AD0/sprockets%2Fbdb053d9a6a967788f09fbc555d69f58 +0 -0
- data/test/dummy/tmp/cache/assets/D66/890/sprockets%2F06287a78ed20d8214197eab03bfca5dd +0 -0
- data/test/dummy/tmp/cache/assets/D6B/2A0/sprockets%2F81f17ab0ed20f4a8d9355f7a1d872eb2 +0 -0
- data/test/dummy/tmp/cache/assets/E09/850/sprockets%2F4bf497a38ecfef660b2f0ebb852d5e9c +0 -0
- data/test/dummy/tmp/cache/assets/E6F/A00/sprockets%2Fd32bcea45ea04a6aaee95b3aa840cbab +0 -0
- data/test/integration/#request_reuse_test.rb# +0 -55
@@ -0,0 +1,35 @@
|
|
1
|
+
# Test that the bug in AR ConnectionPool is fixed, either becuase of a local
|
2
|
+
# patch (temporarily in config/initializers/patch/connection_pool.rb)
|
3
|
+
# or because of a future version of Rails.
|
4
|
+
# See https://github.com/rails/rails/issues/5330
|
5
|
+
|
6
|
+
require 'test_helper'
|
7
|
+
|
8
|
+
class ActiveRecordConnectionPoolTest < Test::Unit::TestCase
|
9
|
+
|
10
|
+
def test_threaded_with_connection
|
11
|
+
# Neccesary to have a checked out connection in thread
|
12
|
+
# other than one we will test, in order to trigger bug
|
13
|
+
# we are testing fix for.
|
14
|
+
main_thread_conn = ActiveRecord::Base.connection_pool.checkout
|
15
|
+
|
16
|
+
aThread = Thread.new do
|
17
|
+
ActiveRecord::Base.connection_pool.with_connection do
|
18
|
+
ActiveRecord::Base.connection # need to do something AR to trigger the checkout
|
19
|
+
|
20
|
+
reserved_thread_ids = ActiveRecord::Base.connection_pool.instance_variable_get(:@reserved_connections)
|
21
|
+
|
22
|
+
assert reserved_thread_ids.has_key?( Thread.current.object_id ), "thread should be in reserved connections"
|
23
|
+
end
|
24
|
+
reserved_thread_ids = ActiveRecord::Base.connection_pool.instance_variable_get(:@reserved_connections)
|
25
|
+
assert !reserved_thread_ids.has_key?( Thread.current.object_id ), "thread should not be in reserved connections"
|
26
|
+
end
|
27
|
+
aThread.join
|
28
|
+
|
29
|
+
ActiveRecord::Base.connection_pool.checkin main_thread_conn
|
30
|
+
|
31
|
+
reserved_thread_ids = ActiveRecord::Base.connection_pool.instance_variable_get(:@reserved_connections)
|
32
|
+
assert !reserved_thread_ids.has_key?( aThread.object_id ), "thread should not be in reserved connections"
|
33
|
+
end
|
34
|
+
|
35
|
+
end
|
@@ -63,7 +63,7 @@ class GoogleBookSearchTest < ActiveSupport::TestCase
|
|
63
63
|
request = requests(:frankenstein)
|
64
64
|
fulltext_shown = @gbs_default.create_fulltext_service_response(request,
|
65
65
|
@data_frankenstein)
|
66
|
-
assert(
|
66
|
+
assert(fulltext_shown)
|
67
67
|
end
|
68
68
|
|
69
69
|
def test_find_thumbnail_url
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: umlaut
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.0alpha14
|
5
5
|
prerelease: 5
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,22 +9,22 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-03-
|
12
|
+
date: 2012-03-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
|
-
requirement: &
|
16
|
+
requirement: &208995020 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 3.2.
|
21
|
+
version: 3.2.2
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *208995020
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: jquery-rails
|
27
|
-
requirement: &
|
27
|
+
requirement: &208994140 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *208994140
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: nokogiri
|
38
|
-
requirement: &
|
38
|
+
requirement: &208990200 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *208990200
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: openurl
|
49
|
-
requirement: &
|
49
|
+
requirement: &208986740 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ! '>='
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: 0.3.0
|
55
55
|
type: :runtime
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *208986740
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: marc
|
60
|
-
requirement: &
|
60
|
+
requirement: &208986180 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ~>
|
@@ -65,10 +65,10 @@ dependencies:
|
|
65
65
|
version: 0.4.3
|
66
66
|
type: :runtime
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *208986180
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: isbn
|
71
|
-
requirement: &
|
71
|
+
requirement: &208985600 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - ! '>='
|
@@ -76,10 +76,10 @@ dependencies:
|
|
76
76
|
version: '0'
|
77
77
|
type: :runtime
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *208985600
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: htmlentities
|
82
|
-
requirement: &
|
82
|
+
requirement: &208984560 !ruby/object:Gem::Requirement
|
83
83
|
none: false
|
84
84
|
requirements:
|
85
85
|
- - ! '>='
|
@@ -87,10 +87,10 @@ dependencies:
|
|
87
87
|
version: '0'
|
88
88
|
type: :runtime
|
89
89
|
prerelease: false
|
90
|
-
version_requirements: *
|
90
|
+
version_requirements: *208984560
|
91
91
|
- !ruby/object:Gem::Dependency
|
92
92
|
name: multi_json
|
93
|
-
requirement: &
|
93
|
+
requirement: &208983300 !ruby/object:Gem::Requirement
|
94
94
|
none: false
|
95
95
|
requirements:
|
96
96
|
- - ! '>='
|
@@ -98,10 +98,10 @@ dependencies:
|
|
98
98
|
version: '0'
|
99
99
|
type: :runtime
|
100
100
|
prerelease: false
|
101
|
-
version_requirements: *
|
101
|
+
version_requirements: *208983300
|
102
102
|
- !ruby/object:Gem::Dependency
|
103
103
|
name: confstruct
|
104
|
-
requirement: &
|
104
|
+
requirement: &208981300 !ruby/object:Gem::Requirement
|
105
105
|
none: false
|
106
106
|
requirements:
|
107
107
|
- - ~>
|
@@ -109,10 +109,10 @@ dependencies:
|
|
109
109
|
version: '0.2'
|
110
110
|
type: :runtime
|
111
111
|
prerelease: false
|
112
|
-
version_requirements: *
|
112
|
+
version_requirements: *208981300
|
113
113
|
- !ruby/object:Gem::Dependency
|
114
114
|
name: soap4r-ruby1.9
|
115
|
-
requirement: &
|
115
|
+
requirement: &208979080 !ruby/object:Gem::Requirement
|
116
116
|
none: false
|
117
117
|
requirements:
|
118
118
|
- - ! '>='
|
@@ -120,10 +120,10 @@ dependencies:
|
|
120
120
|
version: '0'
|
121
121
|
type: :runtime
|
122
122
|
prerelease: false
|
123
|
-
version_requirements: *
|
123
|
+
version_requirements: *208979080
|
124
124
|
- !ruby/object:Gem::Dependency
|
125
125
|
name: httparty
|
126
|
-
requirement: &
|
126
|
+
requirement: &208976140 !ruby/object:Gem::Requirement
|
127
127
|
none: false
|
128
128
|
requirements:
|
129
129
|
- - ! '>='
|
@@ -131,18 +131,40 @@ dependencies:
|
|
131
131
|
version: '0'
|
132
132
|
type: :runtime
|
133
133
|
prerelease: false
|
134
|
-
version_requirements: *
|
134
|
+
version_requirements: *208976140
|
135
135
|
- !ruby/object:Gem::Dependency
|
136
|
-
name:
|
137
|
-
requirement: &
|
136
|
+
name: single_test
|
137
|
+
requirement: &208972660 !ruby/object:Gem::Requirement
|
138
|
+
none: false
|
139
|
+
requirements:
|
140
|
+
- - ~>
|
141
|
+
- !ruby/object:Gem::Version
|
142
|
+
version: 0.5.1
|
143
|
+
type: :development
|
144
|
+
prerelease: false
|
145
|
+
version_requirements: *208972660
|
146
|
+
- !ruby/object:Gem::Dependency
|
147
|
+
name: uglifier
|
148
|
+
requirement: &208971560 !ruby/object:Gem::Requirement
|
138
149
|
none: false
|
139
150
|
requirements:
|
140
151
|
- - ! '>='
|
141
152
|
- !ruby/object:Gem::Version
|
142
153
|
version: '0'
|
143
|
-
type: :
|
154
|
+
type: :development
|
155
|
+
prerelease: false
|
156
|
+
version_requirements: *208971560
|
157
|
+
- !ruby/object:Gem::Dependency
|
158
|
+
name: therubyracer
|
159
|
+
requirement: &208970560 !ruby/object:Gem::Requirement
|
160
|
+
none: false
|
161
|
+
requirements:
|
162
|
+
- - ! '>='
|
163
|
+
- !ruby/object:Gem::Version
|
164
|
+
version: '0'
|
165
|
+
type: :development
|
144
166
|
prerelease: false
|
145
|
-
version_requirements: *
|
167
|
+
version_requirements: *208970560
|
146
168
|
description:
|
147
169
|
email:
|
148
170
|
- umlaut-general@rubyforge.org
|
@@ -220,6 +242,7 @@ files:
|
|
220
242
|
- app/models/referent_value.rb
|
221
243
|
- app/models/service_type_value.rb
|
222
244
|
- app/models/service_store.rb
|
245
|
+
- app/models/#Untitled-1#
|
223
246
|
- app/models/sfx_db.rb
|
224
247
|
- app/models/collection.rb
|
225
248
|
- app/models/dispatched_service.rb
|
@@ -277,6 +300,7 @@ files:
|
|
277
300
|
- app/helpers/open_search_helper.rb
|
278
301
|
- app/helpers/resolve_helper.rb
|
279
302
|
- app/helpers/search_helper.rb
|
303
|
+
- config/initializers/extensions/connection_pool.rb
|
280
304
|
- db/seeds.rb
|
281
305
|
- db/migrate/01_umlaut_init.rb
|
282
306
|
- db/orig_fixed_data/service_type_values.yml
|
@@ -359,50 +383,82 @@ files:
|
|
359
383
|
- LICENSE
|
360
384
|
- Rakefile
|
361
385
|
- README.md
|
386
|
+
- ./test/integration/request_test.rb
|
362
387
|
- ./test/integration/request_reuse_test.rb
|
363
|
-
- ./test/
|
388
|
+
- ./test/dummy/tmp/cache/assets/C83/090/sprockets%2F88d056629d259318a6140e1b4c669ad2
|
389
|
+
- ./test/dummy/tmp/cache/assets/D3E/F40/sprockets%2F17acd2daf65e84066a96e7e0d155174a
|
390
|
+
- ./test/dummy/tmp/cache/assets/D3E/E10/sprockets%2F4f3737656954cfde3b15406b2ca51aef
|
364
391
|
- ./test/dummy/tmp/cache/assets/DA6/A80/sprockets%2F92e26d8e58d5bcc8b8f6c25d1b05b9c1
|
365
|
-
- ./test/dummy/tmp/cache/assets/
|
392
|
+
- ./test/dummy/tmp/cache/assets/D4D/F00/sprockets%2F106eda2f02d4ae70503e274a0f1e2d3a
|
366
393
|
- ./test/dummy/tmp/cache/assets/D16/F90/sprockets%2F5fe3c021048c6f9a6086bed7736d87b1
|
394
|
+
- ./test/dummy/tmp/cache/assets/D16/3F0/sprockets%2F0d9672ae10739f5f15c88322db3cfc77
|
367
395
|
- ./test/dummy/tmp/cache/assets/DE8/790/sprockets%2Fd1333bde2b9aafcc712d11dd09ab35d8
|
396
|
+
- ./test/dummy/tmp/cache/assets/CB0/B00/sprockets%2F1996cad394110de2d13f96639b4745a0
|
397
|
+
- ./test/dummy/tmp/cache/assets/CA8/CA0/sprockets%2F706261702662dd54ec295c7d4a080e2d
|
368
398
|
- ./test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
|
369
399
|
- ./test/dummy/tmp/cache/assets/D94/FF0/sprockets%2F3b56a1aa77de0d570c38a4a9d5f4b1d6
|
400
|
+
- ./test/dummy/tmp/cache/assets/DA7/020/sprockets%2F3f8819c12039b3f6f635eacc6cffc6a6
|
370
401
|
- ./test/dummy/tmp/cache/assets/CBD/730/sprockets%2F034c1086748b981c36672d5a56e7fed6
|
371
402
|
- ./test/dummy/tmp/cache/assets/DF5/5E0/sprockets%2F8e64a37c73cdc0b37a4ccfcb42ab45d8
|
403
|
+
- ./test/dummy/tmp/cache/assets/D15/0D0/sprockets%2F909d1bd78126ba69c71cf95b907f006b
|
404
|
+
- ./test/dummy/tmp/cache/assets/D9B/690/sprockets%2F8ade6607042fc147eecfde5a56445a0d
|
405
|
+
- ./test/dummy/tmp/cache/assets/CD8/9B0/sprockets%2F973e0704e043597c480c8b2a1aae8d05
|
372
406
|
- ./test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
|
373
407
|
- ./test/dummy/tmp/cache/assets/E5F/960/sprockets%2Fdc007b6cad5c7ef08e33ec28cfff0ef6
|
374
408
|
- ./test/dummy/tmp/cache/assets/D24/360/sprockets%2F6987b047a96dc685ba3cf39b31477f6d
|
409
|
+
- ./test/dummy/tmp/cache/assets/EBB/5E0/sprockets%2F35461d449f3adeeafb09beebd1defeea
|
410
|
+
- ./test/dummy/tmp/cache/assets/D6E/AB0/sprockets%2F0845d812eda2307baccf7eeb6a974294
|
411
|
+
- ./test/dummy/tmp/cache/assets/D50/A30/sprockets%2F7d8b294ac433db5d056538f8cf7c66b9
|
375
412
|
- ./test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
|
413
|
+
- ./test/dummy/tmp/cache/assets/CB2/DA0/sprockets%2Fa1808990b72376256db2ae3818c0e9b5
|
414
|
+
- ./test/dummy/tmp/cache/assets/E21/C90/sprockets%2F7621efdebb206edc6fd3cbf0192f2a0f
|
415
|
+
- ./test/dummy/tmp/cache/assets/DBB/770/sprockets%2F4fb7132f4df022bfecc2adcc277b8220
|
376
416
|
- ./test/dummy/tmp/cache/assets/CFE/080/sprockets%2F37fe9f4255baddbd549a659914929398
|
377
417
|
- ./test/dummy/tmp/cache/assets/DFD/300/sprockets%2Fabac9489cf7f1db8ef00d72a1571ee1e
|
378
|
-
- ./test/dummy/tmp/cache/assets/
|
418
|
+
- ./test/dummy/tmp/cache/assets/D69/E00/sprockets%2F80bfeb1aac21f5e43f6768c336181bb8
|
419
|
+
- ./test/dummy/tmp/cache/assets/D40/730/sprockets%2F61beb3b64b0952c1fda637692c4d9a68
|
379
420
|
- ./test/dummy/tmp/cache/assets/CD7/DD0/sprockets%2F4f1fe68aa2042a0970bde9b185530646
|
380
421
|
- ./test/dummy/tmp/cache/assets/CF7/2B0/sprockets%2F25a7c73655bd3598173b39d9f98bcd46
|
381
422
|
- ./test/dummy/tmp/cache/assets/D43/0D0/sprockets%2F682843a8d0795a5fbcfeb2f0c81727d0
|
382
423
|
- ./test/dummy/tmp/cache/assets/C80/980/sprockets%2Fc94807409c1523d43e18d25f35d93c41
|
383
|
-
- ./test/dummy/tmp/cache/assets/D5D/AD0/sprockets%2Fbdb053d9a6a967788f09fbc555d69f58
|
384
424
|
- ./test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
|
425
|
+
- ./test/dummy/tmp/cache/assets/D7A/9A0/sprockets%2Fb195d86f759cccb657b057b56aaed193
|
385
426
|
- ./test/dummy/tmp/cache/assets/D6C/7D0/sprockets%2F8a05d6981ec0d38c51739bef0b3a9c2b
|
427
|
+
- ./test/dummy/tmp/cache/assets/D2B/210/sprockets%2F0bda6c96f2e20aad805971cb315b1471
|
386
428
|
- ./test/dummy/tmp/cache/assets/D37/2B0/sprockets%2F40834fb07d7318c1fddd5003bd9e04f6
|
429
|
+
- ./test/dummy/tmp/cache/assets/CD6/300/sprockets%2F397ec39d3d883789effe506c38760368
|
387
430
|
- ./test/dummy/tmp/cache/assets/DFC/040/sprockets%2F15ea81cf915c0cb1dfc9cc04c9fef364
|
388
431
|
- ./test/dummy/tmp/cache/assets/DF7/960/sprockets%2F99ac6db10b44a64fbba4ee847b35ba8b
|
432
|
+
- ./test/dummy/tmp/cache/assets/D18/830/sprockets%2F02fc21e6f358097b46fe04464a79ea8e
|
389
433
|
- ./test/dummy/tmp/cache/assets/CBF/B60/sprockets%2F08ca89671549936265dcb673bf02e36f
|
390
|
-
- ./test/dummy/tmp/cache/assets/
|
434
|
+
- ./test/dummy/tmp/cache/assets/D8F/A30/sprockets%2Fd2be584fda972df9077d964ec8779c5a
|
391
435
|
- ./test/dummy/tmp/cache/assets/D97/6B0/sprockets%2Fb070e8c799d1a4ad5e62e0a1ae3b83e6
|
392
436
|
- ./test/dummy/tmp/cache/assets/CC9/9F0/sprockets%2F306166316e2cafd13c15e62b51a2339d
|
393
437
|
- ./test/dummy/tmp/cache/assets/E38/FE0/sprockets%2Fe1fc875efa817cbb94a5d8de25ea4e6b
|
394
|
-
- ./test/dummy/tmp/cache/assets/
|
438
|
+
- ./test/dummy/tmp/cache/assets/DB8/780/sprockets%2Ffc6ed563a3f488e5e7caeee04e556976
|
439
|
+
- ./test/dummy/tmp/cache/assets/D64/CE0/sprockets%2F27ee7882a56c67271b0e132babaf2ba8
|
395
440
|
- ./test/dummy/tmp/cache/assets/C70/4D0/sprockets%2F034ad2036e623081bd352800786dfe80
|
441
|
+
- ./test/dummy/tmp/cache/assets/D76/870/sprockets%2F55bf0acc7df37e060fdb8f72098a5656
|
442
|
+
- ./test/dummy/tmp/cache/assets/D72/DE0/sprockets%2F8b625cb50d7bdc8c5e9084b43b55a7e5
|
396
443
|
- ./test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
|
444
|
+
- ./test/dummy/tmp/cache/assets/E02/D50/sprockets%2Fb85f8ca2fbb4dd506c7c0b8583d6ec8a
|
445
|
+
- ./test/dummy/tmp/cache/assets/CF6/F20/sprockets%2F5b2ffa1103079dfd555197838f87a99f
|
397
446
|
- ./test/dummy/tmp/cache/assets/C45/A30/sprockets%2F39494895e462697b478d3d0c79298a26
|
447
|
+
- ./test/dummy/tmp/cache/assets/D59/CF0/sprockets%2F65f4c7b1b394eb41440aaa6417bde12b
|
398
448
|
- ./test/dummy/tmp/cache/assets/DC0/D20/sprockets%2F1ccf7405cd252dcec4bf23af82e2563a
|
399
449
|
- ./test/dummy/tmp/cache/assets/D74/4C0/sprockets%2F64fdf30f75592d6e45fcfc45a48d20a2
|
450
|
+
- ./test/dummy/tmp/cache/assets/E26/C40/sprockets%2Fee819a444e9cfdf0c6a3bdd1baa2f525
|
400
451
|
- ./test/dummy/tmp/cache/assets/C5F/340/sprockets%2F99692920160b7a279b86a80415b79db7
|
452
|
+
- ./test/dummy/tmp/cache/assets/C73/3A0/sprockets%2F4ec6216ea5b16813058f6a5800120b88
|
401
453
|
- ./test/dummy/tmp/cache/assets/DD2/D80/sprockets%2Fc66d103807d0f971fbbcf9aa8b8b27ee
|
454
|
+
- ./test/dummy/tmp/cache/assets/C2A/F60/sprockets%2F0168619e0479b449df21a96d81128446
|
402
455
|
- ./test/dummy/tmp/cache/assets/C2A/410/sprockets%2Fd654b74912b4773a2534616863fb6565
|
403
456
|
- ./test/dummy/tmp/cache/assets/D33/FD0/sprockets%2F2ba0b4e6334a77b923e5f770381bb2bf
|
457
|
+
- ./test/dummy/tmp/cache/assets/D3D/F10/sprockets%2F4e32eadce0089c6e115f77ee103259e4
|
458
|
+
- ./test/dummy/tmp/cache/assets/D9D/5D0/sprockets%2Fa7dee16d6f6c5b87a32716acb036f2a9
|
404
459
|
- ./test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
|
405
|
-
- ./test/dummy/tmp/cache/assets/
|
460
|
+
- ./test/dummy/tmp/cache/assets/CDE/010/sprockets%2F132e7b37dd472988500f625bb2cfe361
|
461
|
+
- ./test/dummy/tmp/cache/assets/D10/420/sprockets%2F74579cafb0286be0c9fc13d680057b62
|
406
462
|
- ./test/dummy/tmp/performance/ProfilerTest#test_puts_foo_process_time_graph.html
|
407
463
|
- ./test/dummy/tmp/performance/BenchmarkerTest#test_puts_foo_gc_time.csv
|
408
464
|
- ./test/dummy/tmp/performance/minus.png
|
@@ -457,6 +513,7 @@ files:
|
|
457
513
|
- ./test/unit/primo_searcher_test.rb
|
458
514
|
- ./test/unit/aleph_record_test.rb
|
459
515
|
- ./test/unit/collection_test.rb
|
516
|
+
- ./test/unit/active_record_connection_pool_test.rb
|
460
517
|
- ./test/unit/service_response_test.rb
|
461
518
|
- ./test/unit/google_book_search_test.rb
|
462
519
|
- ./test/unit/primo_service_test.rb
|
@@ -483,7 +540,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
483
540
|
version: '0'
|
484
541
|
segments:
|
485
542
|
- 0
|
486
|
-
hash:
|
543
|
+
hash: -4362659988421017587
|
487
544
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
488
545
|
none: false
|
489
546
|
requirements:
|
@@ -492,56 +549,88 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
492
549
|
version: 1.3.1
|
493
550
|
requirements: []
|
494
551
|
rubyforge_project:
|
495
|
-
rubygems_version: 1.8.
|
552
|
+
rubygems_version: 1.8.15
|
496
553
|
signing_key:
|
497
554
|
specification_version: 3
|
498
555
|
summary: For Libraries, a just-in-time last-mile service aggregator, taking OpenURL
|
499
556
|
input
|
500
557
|
test_files:
|
558
|
+
- ./test/integration/request_test.rb
|
501
559
|
- ./test/integration/request_reuse_test.rb
|
502
|
-
- ./test/
|
560
|
+
- ./test/dummy/tmp/cache/assets/C83/090/sprockets%2F88d056629d259318a6140e1b4c669ad2
|
561
|
+
- ./test/dummy/tmp/cache/assets/D3E/F40/sprockets%2F17acd2daf65e84066a96e7e0d155174a
|
562
|
+
- ./test/dummy/tmp/cache/assets/D3E/E10/sprockets%2F4f3737656954cfde3b15406b2ca51aef
|
503
563
|
- ./test/dummy/tmp/cache/assets/DA6/A80/sprockets%2F92e26d8e58d5bcc8b8f6c25d1b05b9c1
|
504
|
-
- ./test/dummy/tmp/cache/assets/
|
564
|
+
- ./test/dummy/tmp/cache/assets/D4D/F00/sprockets%2F106eda2f02d4ae70503e274a0f1e2d3a
|
505
565
|
- ./test/dummy/tmp/cache/assets/D16/F90/sprockets%2F5fe3c021048c6f9a6086bed7736d87b1
|
566
|
+
- ./test/dummy/tmp/cache/assets/D16/3F0/sprockets%2F0d9672ae10739f5f15c88322db3cfc77
|
506
567
|
- ./test/dummy/tmp/cache/assets/DE8/790/sprockets%2Fd1333bde2b9aafcc712d11dd09ab35d8
|
568
|
+
- ./test/dummy/tmp/cache/assets/CB0/B00/sprockets%2F1996cad394110de2d13f96639b4745a0
|
569
|
+
- ./test/dummy/tmp/cache/assets/CA8/CA0/sprockets%2F706261702662dd54ec295c7d4a080e2d
|
507
570
|
- ./test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
|
508
571
|
- ./test/dummy/tmp/cache/assets/D94/FF0/sprockets%2F3b56a1aa77de0d570c38a4a9d5f4b1d6
|
572
|
+
- ./test/dummy/tmp/cache/assets/DA7/020/sprockets%2F3f8819c12039b3f6f635eacc6cffc6a6
|
509
573
|
- ./test/dummy/tmp/cache/assets/CBD/730/sprockets%2F034c1086748b981c36672d5a56e7fed6
|
510
574
|
- ./test/dummy/tmp/cache/assets/DF5/5E0/sprockets%2F8e64a37c73cdc0b37a4ccfcb42ab45d8
|
575
|
+
- ./test/dummy/tmp/cache/assets/D15/0D0/sprockets%2F909d1bd78126ba69c71cf95b907f006b
|
576
|
+
- ./test/dummy/tmp/cache/assets/D9B/690/sprockets%2F8ade6607042fc147eecfde5a56445a0d
|
577
|
+
- ./test/dummy/tmp/cache/assets/CD8/9B0/sprockets%2F973e0704e043597c480c8b2a1aae8d05
|
511
578
|
- ./test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
|
512
579
|
- ./test/dummy/tmp/cache/assets/E5F/960/sprockets%2Fdc007b6cad5c7ef08e33ec28cfff0ef6
|
513
580
|
- ./test/dummy/tmp/cache/assets/D24/360/sprockets%2F6987b047a96dc685ba3cf39b31477f6d
|
581
|
+
- ./test/dummy/tmp/cache/assets/EBB/5E0/sprockets%2F35461d449f3adeeafb09beebd1defeea
|
582
|
+
- ./test/dummy/tmp/cache/assets/D6E/AB0/sprockets%2F0845d812eda2307baccf7eeb6a974294
|
583
|
+
- ./test/dummy/tmp/cache/assets/D50/A30/sprockets%2F7d8b294ac433db5d056538f8cf7c66b9
|
514
584
|
- ./test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
|
585
|
+
- ./test/dummy/tmp/cache/assets/CB2/DA0/sprockets%2Fa1808990b72376256db2ae3818c0e9b5
|
586
|
+
- ./test/dummy/tmp/cache/assets/E21/C90/sprockets%2F7621efdebb206edc6fd3cbf0192f2a0f
|
587
|
+
- ./test/dummy/tmp/cache/assets/DBB/770/sprockets%2F4fb7132f4df022bfecc2adcc277b8220
|
515
588
|
- ./test/dummy/tmp/cache/assets/CFE/080/sprockets%2F37fe9f4255baddbd549a659914929398
|
516
589
|
- ./test/dummy/tmp/cache/assets/DFD/300/sprockets%2Fabac9489cf7f1db8ef00d72a1571ee1e
|
517
|
-
- ./test/dummy/tmp/cache/assets/
|
590
|
+
- ./test/dummy/tmp/cache/assets/D69/E00/sprockets%2F80bfeb1aac21f5e43f6768c336181bb8
|
591
|
+
- ./test/dummy/tmp/cache/assets/D40/730/sprockets%2F61beb3b64b0952c1fda637692c4d9a68
|
518
592
|
- ./test/dummy/tmp/cache/assets/CD7/DD0/sprockets%2F4f1fe68aa2042a0970bde9b185530646
|
519
593
|
- ./test/dummy/tmp/cache/assets/CF7/2B0/sprockets%2F25a7c73655bd3598173b39d9f98bcd46
|
520
594
|
- ./test/dummy/tmp/cache/assets/D43/0D0/sprockets%2F682843a8d0795a5fbcfeb2f0c81727d0
|
521
595
|
- ./test/dummy/tmp/cache/assets/C80/980/sprockets%2Fc94807409c1523d43e18d25f35d93c41
|
522
|
-
- ./test/dummy/tmp/cache/assets/D5D/AD0/sprockets%2Fbdb053d9a6a967788f09fbc555d69f58
|
523
596
|
- ./test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
|
597
|
+
- ./test/dummy/tmp/cache/assets/D7A/9A0/sprockets%2Fb195d86f759cccb657b057b56aaed193
|
524
598
|
- ./test/dummy/tmp/cache/assets/D6C/7D0/sprockets%2F8a05d6981ec0d38c51739bef0b3a9c2b
|
599
|
+
- ./test/dummy/tmp/cache/assets/D2B/210/sprockets%2F0bda6c96f2e20aad805971cb315b1471
|
525
600
|
- ./test/dummy/tmp/cache/assets/D37/2B0/sprockets%2F40834fb07d7318c1fddd5003bd9e04f6
|
601
|
+
- ./test/dummy/tmp/cache/assets/CD6/300/sprockets%2F397ec39d3d883789effe506c38760368
|
526
602
|
- ./test/dummy/tmp/cache/assets/DFC/040/sprockets%2F15ea81cf915c0cb1dfc9cc04c9fef364
|
527
603
|
- ./test/dummy/tmp/cache/assets/DF7/960/sprockets%2F99ac6db10b44a64fbba4ee847b35ba8b
|
604
|
+
- ./test/dummy/tmp/cache/assets/D18/830/sprockets%2F02fc21e6f358097b46fe04464a79ea8e
|
528
605
|
- ./test/dummy/tmp/cache/assets/CBF/B60/sprockets%2F08ca89671549936265dcb673bf02e36f
|
529
|
-
- ./test/dummy/tmp/cache/assets/
|
606
|
+
- ./test/dummy/tmp/cache/assets/D8F/A30/sprockets%2Fd2be584fda972df9077d964ec8779c5a
|
530
607
|
- ./test/dummy/tmp/cache/assets/D97/6B0/sprockets%2Fb070e8c799d1a4ad5e62e0a1ae3b83e6
|
531
608
|
- ./test/dummy/tmp/cache/assets/CC9/9F0/sprockets%2F306166316e2cafd13c15e62b51a2339d
|
532
609
|
- ./test/dummy/tmp/cache/assets/E38/FE0/sprockets%2Fe1fc875efa817cbb94a5d8de25ea4e6b
|
533
|
-
- ./test/dummy/tmp/cache/assets/
|
610
|
+
- ./test/dummy/tmp/cache/assets/DB8/780/sprockets%2Ffc6ed563a3f488e5e7caeee04e556976
|
611
|
+
- ./test/dummy/tmp/cache/assets/D64/CE0/sprockets%2F27ee7882a56c67271b0e132babaf2ba8
|
534
612
|
- ./test/dummy/tmp/cache/assets/C70/4D0/sprockets%2F034ad2036e623081bd352800786dfe80
|
613
|
+
- ./test/dummy/tmp/cache/assets/D76/870/sprockets%2F55bf0acc7df37e060fdb8f72098a5656
|
614
|
+
- ./test/dummy/tmp/cache/assets/D72/DE0/sprockets%2F8b625cb50d7bdc8c5e9084b43b55a7e5
|
535
615
|
- ./test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
|
616
|
+
- ./test/dummy/tmp/cache/assets/E02/D50/sprockets%2Fb85f8ca2fbb4dd506c7c0b8583d6ec8a
|
617
|
+
- ./test/dummy/tmp/cache/assets/CF6/F20/sprockets%2F5b2ffa1103079dfd555197838f87a99f
|
536
618
|
- ./test/dummy/tmp/cache/assets/C45/A30/sprockets%2F39494895e462697b478d3d0c79298a26
|
619
|
+
- ./test/dummy/tmp/cache/assets/D59/CF0/sprockets%2F65f4c7b1b394eb41440aaa6417bde12b
|
537
620
|
- ./test/dummy/tmp/cache/assets/DC0/D20/sprockets%2F1ccf7405cd252dcec4bf23af82e2563a
|
538
621
|
- ./test/dummy/tmp/cache/assets/D74/4C0/sprockets%2F64fdf30f75592d6e45fcfc45a48d20a2
|
622
|
+
- ./test/dummy/tmp/cache/assets/E26/C40/sprockets%2Fee819a444e9cfdf0c6a3bdd1baa2f525
|
539
623
|
- ./test/dummy/tmp/cache/assets/C5F/340/sprockets%2F99692920160b7a279b86a80415b79db7
|
624
|
+
- ./test/dummy/tmp/cache/assets/C73/3A0/sprockets%2F4ec6216ea5b16813058f6a5800120b88
|
540
625
|
- ./test/dummy/tmp/cache/assets/DD2/D80/sprockets%2Fc66d103807d0f971fbbcf9aa8b8b27ee
|
626
|
+
- ./test/dummy/tmp/cache/assets/C2A/F60/sprockets%2F0168619e0479b449df21a96d81128446
|
541
627
|
- ./test/dummy/tmp/cache/assets/C2A/410/sprockets%2Fd654b74912b4773a2534616863fb6565
|
542
628
|
- ./test/dummy/tmp/cache/assets/D33/FD0/sprockets%2F2ba0b4e6334a77b923e5f770381bb2bf
|
629
|
+
- ./test/dummy/tmp/cache/assets/D3D/F10/sprockets%2F4e32eadce0089c6e115f77ee103259e4
|
630
|
+
- ./test/dummy/tmp/cache/assets/D9D/5D0/sprockets%2Fa7dee16d6f6c5b87a32716acb036f2a9
|
543
631
|
- ./test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
|
544
|
-
- ./test/dummy/tmp/cache/assets/
|
632
|
+
- ./test/dummy/tmp/cache/assets/CDE/010/sprockets%2F132e7b37dd472988500f625bb2cfe361
|
633
|
+
- ./test/dummy/tmp/cache/assets/D10/420/sprockets%2F74579cafb0286be0c9fc13d680057b62
|
545
634
|
- ./test/dummy/tmp/performance/ProfilerTest#test_puts_foo_process_time_graph.html
|
546
635
|
- ./test/dummy/tmp/performance/BenchmarkerTest#test_puts_foo_gc_time.csv
|
547
636
|
- ./test/dummy/tmp/performance/minus.png
|
@@ -596,6 +685,7 @@ test_files:
|
|
596
685
|
- ./test/unit/primo_searcher_test.rb
|
597
686
|
- ./test/unit/aleph_record_test.rb
|
598
687
|
- ./test/unit/collection_test.rb
|
688
|
+
- ./test/unit/active_record_connection_pool_test.rb
|
599
689
|
- ./test/unit/service_response_test.rb
|
600
690
|
- ./test/unit/google_book_search_test.rb
|
601
691
|
- ./test/unit/primo_service_test.rb
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,55 +0,0 @@
|
|
1
|
-
require 'test_helper'
|
2
|
-
|
3
|
-
class RequestReuseTest < ActionDispatch::IntegrationTest
|
4
|
-
|
5
|
-
|
6
|
-
test "reuse_of_request_in_session" do
|
7
|
-
sess = open_session
|
8
|
-
|
9
|
-
request_params = { :issn => "012345678" }
|
10
|
-
|
11
|
-
sess.get "/resolve", request_params
|
12
|
-
|
13
|
-
created_request_id = sess.assigns[:user_request].id
|
14
|
-
|
15
|
-
get "/resolve", request_params
|
16
|
-
|
17
|
-
# re-use same user_request object
|
18
|
-
assert_equal( created_request_id, sess.assigns[:user_request].id )
|
19
|
-
|
20
|
-
end
|
21
|
-
|
22
|
-
test "no re-use from different session" do
|
23
|
-
request_params = { :issn => "012345678" }
|
24
|
-
|
25
|
-
sess1 = open_session
|
26
|
-
sess1.get "/resolve", request_params
|
27
|
-
created_request_id = sess1.assigns[:user_request].id
|
28
|
-
|
29
|
-
sess2 = open_session
|
30
|
-
sess2.get "/resolve", request_params
|
31
|
-
# no re-use, different umlaut Reqeust object.
|
32
|
-
assert_not_equal( created_request_id, sess2.assigns[:user_request].id )
|
33
|
-
end
|
34
|
-
|
35
|
-
test "umlaut.force_new_request" do
|
36
|
-
request_params = { :issn => "012345678" }
|
37
|
-
|
38
|
-
sess1 = open_session
|
39
|
-
sess1.get "/resolve", request_params
|
40
|
-
created_request_id = sess1.assigns[:user_request].id
|
41
|
-
|
42
|
-
# Wind up with new different request with force_new_request
|
43
|
-
sess1.get "/resolve", request_params.merge("umlaut.force_new_request" => "true")
|
44
|
-
request_after_forced = sess1.assigns[:user_request].id
|
45
|
-
assert_not_equal( request_after_forced, created_request_id )
|
46
|
-
|
47
|
-
# Make a request again without force param, still get the latter request,
|
48
|
-
# the one created when we forced it.
|
49
|
-
sess1.get "/resolve", request_params
|
50
|
-
assert_equal( sess1.assigns[:user_request].id, request_after_forced )
|
51
|
-
end
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
end
|