moneta 1.1.1 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (103) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +176 -0
  3. data/.travis.yml +57 -23
  4. data/CHANGES +12 -0
  5. data/Gemfile +89 -64
  6. data/README.md +40 -14
  7. data/feature_matrix.yaml +1 -0
  8. data/lib/action_dispatch/middleware/session/moneta_store.rb +1 -0
  9. data/lib/active_support/cache/moneta_store.rb +5 -5
  10. data/lib/moneta.rb +9 -1
  11. data/lib/moneta/adapters/activerecord.rb +35 -19
  12. data/lib/moneta/adapters/activesupportcache.rb +3 -7
  13. data/lib/moneta/adapters/cassandra.rb +24 -16
  14. data/lib/moneta/adapters/client.rb +13 -9
  15. data/lib/moneta/adapters/couch.rb +220 -80
  16. data/lib/moneta/adapters/datamapper.rb +1 -0
  17. data/lib/moneta/adapters/file.rb +9 -6
  18. data/lib/moneta/adapters/hbase.rb +1 -1
  19. data/lib/moneta/adapters/kyotocabinet.rb +8 -7
  20. data/lib/moneta/adapters/leveldb.rb +1 -1
  21. data/lib/moneta/adapters/lmdb.rb +3 -4
  22. data/lib/moneta/adapters/lruhash.rb +29 -62
  23. data/lib/moneta/adapters/memcached.rb +1 -0
  24. data/lib/moneta/adapters/memcached/dalli.rb +1 -1
  25. data/lib/moneta/adapters/memcached/native.rb +10 -8
  26. data/lib/moneta/adapters/mongo.rb +1 -0
  27. data/lib/moneta/adapters/mongo/base.rb +3 -3
  28. data/lib/moneta/adapters/mongo/moped.rb +12 -13
  29. data/lib/moneta/adapters/mongo/official.rb +7 -8
  30. data/lib/moneta/adapters/null.rb +1 -2
  31. data/lib/moneta/adapters/pstore.rb +3 -2
  32. data/lib/moneta/adapters/redis.rb +3 -3
  33. data/lib/moneta/adapters/restclient.rb +12 -3
  34. data/lib/moneta/adapters/riak.rb +2 -2
  35. data/lib/moneta/adapters/sequel.rb +112 -119
  36. data/lib/moneta/adapters/sqlite.rb +3 -3
  37. data/lib/moneta/adapters/tokyotyrant.rb +1 -1
  38. data/lib/moneta/builder.rb +0 -1
  39. data/lib/moneta/enumerable.rb +38 -0
  40. data/lib/moneta/expires.rb +12 -12
  41. data/lib/moneta/fallback.rb +84 -0
  42. data/lib/moneta/lock.rb +1 -1
  43. data/lib/moneta/logger.rb +2 -2
  44. data/lib/moneta/mixins.rb +12 -10
  45. data/lib/moneta/optionmerger.rb +0 -1
  46. data/lib/moneta/pool.rb +301 -31
  47. data/lib/moneta/proxy.rb +2 -2
  48. data/lib/moneta/server.rb +9 -12
  49. data/lib/moneta/shared.rb +1 -1
  50. data/lib/moneta/stack.rb +6 -6
  51. data/lib/moneta/synchronize.rb +3 -3
  52. data/lib/moneta/transformer.rb +19 -17
  53. data/lib/moneta/transformer/config.rb +6 -5
  54. data/lib/moneta/transformer/helper.rb +3 -3
  55. data/lib/moneta/transformer/helper/bson.rb +18 -15
  56. data/lib/moneta/utils.rb +3 -9
  57. data/lib/moneta/version.rb +1 -1
  58. data/lib/moneta/weak_each_key.rb +2 -4
  59. data/lib/rack/cache/moneta.rb +16 -13
  60. data/lib/rack/moneta_rest.rb +2 -2
  61. data/lib/rack/session/moneta.rb +3 -4
  62. data/moneta.gemspec +8 -0
  63. data/script/benchmarks +55 -32
  64. data/script/reconfigure-couchdb +13 -0
  65. data/script/start-hbase +1 -0
  66. data/script/start-services +2 -10
  67. data/spec/active_support/cache_moneta_store_spec.rb +3 -1
  68. data/spec/features/concurrent_create.rb +31 -10
  69. data/spec/features/concurrent_increment.rb +27 -19
  70. data/spec/features/increment.rb +41 -41
  71. data/spec/helper.rb +2 -42
  72. data/spec/moneta/adapters/activesupportcache/adapter_activesupportcache_spec.rb +4 -1
  73. data/spec/moneta/adapters/activesupportcache/adapter_activesupportcache_with_default_expires_spec.rb +4 -1
  74. data/spec/moneta/adapters/activesupportcache/standard_activesupportcache_spec.rb +14 -0
  75. data/spec/moneta/adapters/couch/adapter_couch_spec.rb +199 -2
  76. data/spec/moneta/adapters/couch/standard_couch_spec.rb +8 -2
  77. data/spec/moneta/adapters/couch/standard_couch_with_expires_spec.rb +7 -1
  78. data/spec/moneta/adapters/faraday_helper.rb +9 -0
  79. data/spec/moneta/adapters/lruhash/adapter_lruhash_spec.rb +2 -2
  80. data/spec/moneta/adapters/memcached/adapter_memcached_spec.rb +1 -1
  81. data/spec/moneta/adapters/memcached/dalli/adapter_memcached_dalli_spec.rb +1 -1
  82. data/spec/moneta/adapters/memcached/dalli/adapter_memcached_dalli_with_default_expires_spec.rb +1 -1
  83. data/spec/moneta/adapters/memcached/dalli/standard_memcached_dalli_spec.rb +1 -1
  84. data/spec/moneta/adapters/memcached/native/adapter_memcached_native_spec.rb +1 -1
  85. data/spec/moneta/adapters/memcached/native/adapter_memcached_native_with_default_expires_spec.rb +1 -1
  86. data/spec/moneta/adapters/memcached/native/standard_memcached_native_spec.rb +1 -1
  87. data/spec/moneta/adapters/memcached/standard_memcached_spec.rb +1 -1
  88. data/spec/moneta/adapters/{memcached/helper.rb → memcached_helper.rb} +0 -0
  89. data/spec/moneta/adapters/null/null_adapter_spec.rb +1 -1
  90. data/spec/moneta/adapters/restclient/adapter_restclient_spec.rb +7 -5
  91. data/spec/moneta/adapters/restclient/helper.rb +12 -0
  92. data/spec/moneta/adapters/restclient/standard_restclient_spec.rb +9 -6
  93. data/spec/moneta/adapters/riak/standard_riak_with_expires_spec.rb +4 -0
  94. data/spec/moneta/adapters/tokyotyrant/adapter_tokyotyrant_spec.rb +6 -2
  95. data/spec/moneta/adapters/tokyotyrant/helper.rb +12 -0
  96. data/spec/moneta/adapters/tokyotyrant/standard_tokyotyrant_spec.rb +5 -2
  97. data/spec/moneta/adapters/tokyotyrant/standard_tokyotyrant_with_expires_spec.rb +5 -1
  98. data/spec/moneta/proxies/enumerable/enumerable_spec.rb +26 -0
  99. data/spec/moneta/proxies/fallback/fallback_spec.rb +42 -0
  100. data/spec/moneta/proxies/pool/pool_spec.rb +319 -6
  101. data/spec/restserver.rb +40 -0
  102. metadata +122 -7
  103. data/script/install-kyotocabinet +0 -17
@@ -0,0 +1,40 @@
1
+ require 'rack'
2
+ require 'rack/moneta_rest'
3
+
4
+ MONETA_RESTSERVER_LOGGER =
5
+ if defined?(JRUBY_VERSION)
6
+ require 'rjack-logback'
7
+ RJack::Logback.config_console( :level => :off )
8
+ require 'fishwife'
9
+ nil
10
+ else
11
+ require 'webrick'
12
+ # Keep webrick quiet
13
+ WEBrick::Log.new($stderr, WEBrick::BasicLog::ERROR)
14
+ end
15
+
16
+ class MonetaRestServerShutdown < StandardError; end
17
+
18
+ def start_restserver(port)
19
+ server = Rack::Server.new(
20
+ :app => Rack::Builder.app do
21
+ use Rack::Lint
22
+ map '/moneta' do
23
+ run Rack::MonetaRest.new(:Memory)
24
+ end
25
+ end,
26
+ :environment => 'none',
27
+ :server => defined?(JRUBY_VERSION) ? :Fishwife : :webrick,
28
+ :Port => port,
29
+ :AccessLog => [],
30
+ :Logger => MONETA_RESTSERVER_LOGGER
31
+ )
32
+
33
+ Thread.start { server.start }
34
+ server
35
+ end
36
+
37
+ def stop_restserver(server)
38
+ server.server.shutdown
39
+ end
40
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moneta
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Mendler
@@ -11,8 +11,106 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2019-04-10 00:00:00.000000000 Z
15
- dependencies: []
14
+ date: 2019-10-15 00:00:00.000000000 Z
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
17
+ name: rspec
18
+ requirement: !ruby/object:Gem::Requirement
19
+ requirements:
20
+ - - "~>"
21
+ - !ruby/object:Gem::Version
22
+ version: '3.0'
23
+ type: :development
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: '3.0'
30
+ - !ruby/object:Gem::Dependency
31
+ name: rspec-retry
32
+ requirement: !ruby/object:Gem::Requirement
33
+ requirements:
34
+ - - "~>"
35
+ - !ruby/object:Gem::Version
36
+ version: 0.6.1
37
+ type: :development
38
+ prerelease: false
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - "~>"
42
+ - !ruby/object:Gem::Version
43
+ version: 0.6.1
44
+ - !ruby/object:Gem::Dependency
45
+ name: rantly
46
+ requirement: !ruby/object:Gem::Requirement
47
+ requirements:
48
+ - - "~>"
49
+ - !ruby/object:Gem::Version
50
+ version: 1.2.0
51
+ type: :development
52
+ prerelease: false
53
+ version_requirements: !ruby/object:Gem::Requirement
54
+ requirements:
55
+ - - "~>"
56
+ - !ruby/object:Gem::Version
57
+ version: 1.2.0
58
+ - !ruby/object:Gem::Dependency
59
+ name: parallel_tests
60
+ requirement: !ruby/object:Gem::Requirement
61
+ requirements:
62
+ - - "~>"
63
+ - !ruby/object:Gem::Version
64
+ version: 2.29.2
65
+ type: :development
66
+ prerelease: false
67
+ version_requirements: !ruby/object:Gem::Requirement
68
+ requirements:
69
+ - - "~>"
70
+ - !ruby/object:Gem::Version
71
+ version: 2.29.2
72
+ - !ruby/object:Gem::Dependency
73
+ name: timecop
74
+ requirement: !ruby/object:Gem::Requirement
75
+ requirements:
76
+ - - "~>"
77
+ - !ruby/object:Gem::Version
78
+ version: 0.9.1
79
+ type: :development
80
+ prerelease: false
81
+ version_requirements: !ruby/object:Gem::Requirement
82
+ requirements:
83
+ - - "~>"
84
+ - !ruby/object:Gem::Version
85
+ version: 0.9.1
86
+ - !ruby/object:Gem::Dependency
87
+ name: rubocop
88
+ requirement: !ruby/object:Gem::Requirement
89
+ requirements:
90
+ - - "~>"
91
+ - !ruby/object:Gem::Version
92
+ version: 0.67.2
93
+ type: :development
94
+ prerelease: false
95
+ version_requirements: !ruby/object:Gem::Requirement
96
+ requirements:
97
+ - - "~>"
98
+ - !ruby/object:Gem::Version
99
+ version: 0.67.2
100
+ - !ruby/object:Gem::Dependency
101
+ name: irb
102
+ requirement: !ruby/object:Gem::Requirement
103
+ requirements:
104
+ - - "~>"
105
+ - !ruby/object:Gem::Version
106
+ version: 1.0.0
107
+ type: :development
108
+ prerelease: false
109
+ version_requirements: !ruby/object:Gem::Requirement
110
+ requirements:
111
+ - - "~>"
112
+ - !ruby/object:Gem::Version
113
+ version: 1.0.0
16
114
  description: A unified interface to key/value stores
17
115
  email:
18
116
  - mail@daniel-mendler.de
@@ -28,6 +126,7 @@ extra_rdoc_files:
28
126
  files:
29
127
  - ".gitignore"
30
128
  - ".rspec"
129
+ - ".rubocop.yml"
31
130
  - ".travis.yml"
32
131
  - ".yardopts"
33
132
  - CHANGES
@@ -80,7 +179,9 @@ files:
80
179
  - lib/moneta/adapters/yaml.rb
81
180
  - lib/moneta/builder.rb
82
181
  - lib/moneta/cache.rb
182
+ - lib/moneta/enumerable.rb
83
183
  - lib/moneta/expires.rb
184
+ - lib/moneta/fallback.rb
84
185
  - lib/moneta/lock.rb
85
186
  - lib/moneta/logger.rb
86
187
  - lib/moneta/mixins.rb
@@ -108,9 +209,9 @@ files:
108
209
  - moneta.gemspec
109
210
  - script/benchmarks
110
211
  - script/contributors
111
- - script/install-kyotocabinet
112
212
  - script/memusage
113
213
  - script/parallel-tests
214
+ - script/reconfigure-couchdb
114
215
  - script/start-hbase
115
216
  - script/start-services
116
217
  - script/travis-logs
@@ -147,6 +248,7 @@ files:
147
248
  - spec/moneta/adapters/activerecord/standard_activerecord_with_expires_spec.rb
148
249
  - spec/moneta/adapters/activesupportcache/adapter_activesupportcache_spec.rb
149
250
  - spec/moneta/adapters/activesupportcache/adapter_activesupportcache_with_default_expires_spec.rb
251
+ - spec/moneta/adapters/activesupportcache/standard_activesupportcache_spec.rb
150
252
  - spec/moneta/adapters/cassandra/adapter_cassandra_spec.rb
151
253
  - spec/moneta/adapters/cassandra/adapter_cassandra_with_default_expires_spec.rb
152
254
  - spec/moneta/adapters/cassandra/helper.rb
@@ -168,6 +270,7 @@ files:
168
270
  - spec/moneta/adapters/dbm/adapter_dbm_spec.rb
169
271
  - spec/moneta/adapters/dbm/standard_dbm_spec.rb
170
272
  - spec/moneta/adapters/dbm/standard_dbm_with_expires_spec.rb
273
+ - spec/moneta/adapters/faraday_helper.rb
171
274
  - spec/moneta/adapters/file/adapter_file_spec.rb
172
275
  - spec/moneta/adapters/file/standard_file_spec.rb
173
276
  - spec/moneta/adapters/file/standard_file_with_expires_spec.rb
@@ -202,11 +305,11 @@ files:
202
305
  - spec/moneta/adapters/memcached/dalli/adapter_memcached_dalli_spec.rb
203
306
  - spec/moneta/adapters/memcached/dalli/adapter_memcached_dalli_with_default_expires_spec.rb
204
307
  - spec/moneta/adapters/memcached/dalli/standard_memcached_dalli_spec.rb
205
- - spec/moneta/adapters/memcached/helper.rb
206
308
  - spec/moneta/adapters/memcached/native/adapter_memcached_native_spec.rb
207
309
  - spec/moneta/adapters/memcached/native/adapter_memcached_native_with_default_expires_spec.rb
208
310
  - spec/moneta/adapters/memcached/native/standard_memcached_native_spec.rb
209
311
  - spec/moneta/adapters/memcached/standard_memcached_spec.rb
312
+ - spec/moneta/adapters/memcached_helper.rb
210
313
  - spec/moneta/adapters/memory/adapter_memory_spec.rb
211
314
  - spec/moneta/adapters/memory/standard_memory_spec.rb
212
315
  - spec/moneta/adapters/memory/standard_memory_with_compress_spec.rb
@@ -234,6 +337,7 @@ files:
234
337
  - spec/moneta/adapters/redis/adapter_redis_with_default_expires_spec.rb
235
338
  - spec/moneta/adapters/redis/standard_redis_spec.rb
236
339
  - spec/moneta/adapters/restclient/adapter_restclient_spec.rb
340
+ - spec/moneta/adapters/restclient/helper.rb
237
341
  - spec/moneta/adapters/restclient/standard_restclient_spec.rb
238
342
  - spec/moneta/adapters/riak/adapter_riak_spec.rb
239
343
  - spec/moneta/adapters/riak/standard_riak_spec.rb
@@ -256,6 +360,7 @@ files:
256
360
  - spec/moneta/adapters/tokyocabinet/standard_tokyocabinet_spec.rb
257
361
  - spec/moneta/adapters/tokyocabinet/standard_tokyocabinet_with_expires_spec.rb
258
362
  - spec/moneta/adapters/tokyotyrant/adapter_tokyotyrant_spec.rb
363
+ - spec/moneta/adapters/tokyotyrant/helper.rb
259
364
  - spec/moneta/adapters/tokyotyrant/standard_tokyotyrant_spec.rb
260
365
  - spec/moneta/adapters/tokyotyrant/standard_tokyotyrant_with_expires_spec.rb
261
366
  - spec/moneta/adapters/yaml/adapter_yaml_spec.rb
@@ -265,9 +370,11 @@ files:
265
370
  - spec/moneta/mutex_spec.rb
266
371
  - spec/moneta/proxies/cache/cache_file_memory_spec.rb
267
372
  - spec/moneta/proxies/cache/cache_memory_null_spec.rb
373
+ - spec/moneta/proxies/enumerable/enumerable_spec.rb
268
374
  - spec/moneta/proxies/expires/expires_file_spec.rb
269
375
  - spec/moneta/proxies/expires/expires_memory_spec.rb
270
376
  - spec/moneta/proxies/expires/expires_memory_with_default_expires_spec.rb
377
+ - spec/moneta/proxies/fallback/fallback_spec.rb
271
378
  - spec/moneta/proxies/lock/lock_spec.rb
272
379
  - spec/moneta/proxies/optionmerger/optionmerger_spec.rb
273
380
  - spec/moneta/proxies/pool/pool_spec.rb
@@ -328,6 +435,7 @@ files:
328
435
  - spec/rack/moneta_cookies_spec.rb
329
436
  - spec/rack/moneta_store_spec.rb
330
437
  - spec/rack/session_moneta_spec.rb
438
+ - spec/restserver.rb
331
439
  - test/action_dispatch/fixtures/session_autoload_test/foo.rb
332
440
  - test/action_dispatch/session_moneta_store_test.rb
333
441
  homepage: http://github.com/moneta-rb/moneta
@@ -349,7 +457,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
349
457
  - !ruby/object:Gem::Version
350
458
  version: '0'
351
459
  requirements: []
352
- rubygems_version: 3.0.3
460
+ rubygems_version: 3.0.6
353
461
  signing_key:
354
462
  specification_version: 4
355
463
  summary: A unified interface to key/value stores, including Redis, Memcached, TokyoCabinet,
@@ -387,6 +495,7 @@ test_files:
387
495
  - spec/moneta/adapters/activerecord/standard_activerecord_with_expires_spec.rb
388
496
  - spec/moneta/adapters/activesupportcache/adapter_activesupportcache_spec.rb
389
497
  - spec/moneta/adapters/activesupportcache/adapter_activesupportcache_with_default_expires_spec.rb
498
+ - spec/moneta/adapters/activesupportcache/standard_activesupportcache_spec.rb
390
499
  - spec/moneta/adapters/cassandra/adapter_cassandra_spec.rb
391
500
  - spec/moneta/adapters/cassandra/adapter_cassandra_with_default_expires_spec.rb
392
501
  - spec/moneta/adapters/cassandra/helper.rb
@@ -408,6 +517,7 @@ test_files:
408
517
  - spec/moneta/adapters/dbm/adapter_dbm_spec.rb
409
518
  - spec/moneta/adapters/dbm/standard_dbm_spec.rb
410
519
  - spec/moneta/adapters/dbm/standard_dbm_with_expires_spec.rb
520
+ - spec/moneta/adapters/faraday_helper.rb
411
521
  - spec/moneta/adapters/file/adapter_file_spec.rb
412
522
  - spec/moneta/adapters/file/standard_file_spec.rb
413
523
  - spec/moneta/adapters/file/standard_file_with_expires_spec.rb
@@ -442,11 +552,11 @@ test_files:
442
552
  - spec/moneta/adapters/memcached/dalli/adapter_memcached_dalli_spec.rb
443
553
  - spec/moneta/adapters/memcached/dalli/adapter_memcached_dalli_with_default_expires_spec.rb
444
554
  - spec/moneta/adapters/memcached/dalli/standard_memcached_dalli_spec.rb
445
- - spec/moneta/adapters/memcached/helper.rb
446
555
  - spec/moneta/adapters/memcached/native/adapter_memcached_native_spec.rb
447
556
  - spec/moneta/adapters/memcached/native/adapter_memcached_native_with_default_expires_spec.rb
448
557
  - spec/moneta/adapters/memcached/native/standard_memcached_native_spec.rb
449
558
  - spec/moneta/adapters/memcached/standard_memcached_spec.rb
559
+ - spec/moneta/adapters/memcached_helper.rb
450
560
  - spec/moneta/adapters/memory/adapter_memory_spec.rb
451
561
  - spec/moneta/adapters/memory/standard_memory_spec.rb
452
562
  - spec/moneta/adapters/memory/standard_memory_with_compress_spec.rb
@@ -474,6 +584,7 @@ test_files:
474
584
  - spec/moneta/adapters/redis/adapter_redis_with_default_expires_spec.rb
475
585
  - spec/moneta/adapters/redis/standard_redis_spec.rb
476
586
  - spec/moneta/adapters/restclient/adapter_restclient_spec.rb
587
+ - spec/moneta/adapters/restclient/helper.rb
477
588
  - spec/moneta/adapters/restclient/standard_restclient_spec.rb
478
589
  - spec/moneta/adapters/riak/adapter_riak_spec.rb
479
590
  - spec/moneta/adapters/riak/standard_riak_spec.rb
@@ -496,6 +607,7 @@ test_files:
496
607
  - spec/moneta/adapters/tokyocabinet/standard_tokyocabinet_spec.rb
497
608
  - spec/moneta/adapters/tokyocabinet/standard_tokyocabinet_with_expires_spec.rb
498
609
  - spec/moneta/adapters/tokyotyrant/adapter_tokyotyrant_spec.rb
610
+ - spec/moneta/adapters/tokyotyrant/helper.rb
499
611
  - spec/moneta/adapters/tokyotyrant/standard_tokyotyrant_spec.rb
500
612
  - spec/moneta/adapters/tokyotyrant/standard_tokyotyrant_with_expires_spec.rb
501
613
  - spec/moneta/adapters/yaml/adapter_yaml_spec.rb
@@ -505,9 +617,11 @@ test_files:
505
617
  - spec/moneta/mutex_spec.rb
506
618
  - spec/moneta/proxies/cache/cache_file_memory_spec.rb
507
619
  - spec/moneta/proxies/cache/cache_memory_null_spec.rb
620
+ - spec/moneta/proxies/enumerable/enumerable_spec.rb
508
621
  - spec/moneta/proxies/expires/expires_file_spec.rb
509
622
  - spec/moneta/proxies/expires/expires_memory_spec.rb
510
623
  - spec/moneta/proxies/expires/expires_memory_with_default_expires_spec.rb
624
+ - spec/moneta/proxies/fallback/fallback_spec.rb
511
625
  - spec/moneta/proxies/lock/lock_spec.rb
512
626
  - spec/moneta/proxies/optionmerger/optionmerger_spec.rb
513
627
  - spec/moneta/proxies/pool/pool_spec.rb
@@ -568,5 +682,6 @@ test_files:
568
682
  - spec/rack/moneta_cookies_spec.rb
569
683
  - spec/rack/moneta_store_spec.rb
570
684
  - spec/rack/session_moneta_spec.rb
685
+ - spec/restserver.rb
571
686
  - test/action_dispatch/fixtures/session_autoload_test/foo.rb
572
687
  - test/action_dispatch/session_moneta_store_test.rb
@@ -1,17 +0,0 @@
1
- #!/bin/bash
2
-
3
- if `wget --no-check-certificate --quiet -O kyotocabinet.tar.gz https://moneta:$DAV_PW@qxqx.de/dav/kyotocabinet.tar.gz`; then
4
- tar -xf kyotocabinet.tar.gz
5
- else
6
- wget http://fallabs.com/kyotocabinet/pkg/kyotocabinet-1.2.76.tar.gz
7
- tar -xzf kyotocabinet-*.tar.gz
8
- rm kyotocabinet-*.tar.gz
9
- cd kyotocabinet-*
10
- ./configure --prefix=/usr
11
- make
12
- cd ..
13
- tar -czf kyotocabinet.tar.gz kyotocabinet-*
14
- curl -u moneta:$DAV_PW -k -T kyotocabinet.tar.gz https://qxqx.de/dav/ || echo 'Nothing uploaded'
15
- fi
16
- cd kyotocabinet-*
17
- sudo make install