turnpike 0.7.2 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6ee7b6e304b2d256bc1d0712c8b2bf806cd466b9
4
- data.tar.gz: 8d0df7c09cb7e9960ea276f4a08ee50b20274497
3
+ metadata.gz: d69c7729e656712c0d22a300339c1a8ad9c269b9
4
+ data.tar.gz: aa6d4b82ad1f47f884e6a6f2e32c5c0d7d26eeaa
5
5
  SHA512:
6
- metadata.gz: 2ab3f5a0ff811be7a0bc8472b84ffcee417b6983c96d32e5399de0656230e5f457c1e26674cf6738432e9ba82166c7de1424ebc5e841558a5287a78bbeb49e99
7
- data.tar.gz: e56acce950f90bd741d388a8f2974193ca2aaaaa379162d42ef9e936fb2530aebc6133edf8e4a431b9fb040fcfc715141658d7a5494b02340438bc9923af2bae
6
+ metadata.gz: 9bdff4523c614cb1ac2e6883680583ee8d070a96786a0cee6254776dfed4937c7ab84d08f21592c59991acd978f43b8b517821fe146829adf330f435e60357f9
7
+ data.tar.gz: 67706a20fb960cc87e120eabaa1834e633da29b30208b7702e3983acc02195be9bca449e8a1915dd9c9cb1161b09070be0e98be70124933c94d6c87c07d295ed
@@ -1,4 +1,7 @@
1
1
  rvm:
2
- - 2.0.0
2
+ - 2.1
3
+ - 2.2
4
+ - 2.3.3
5
+ - 2.4.0
3
6
  services:
4
7
  - redis-server
@@ -1,3 +1,3 @@
1
1
  module Turnpike
2
- VERSION = '0.7.2'
2
+ VERSION = '0.8.0'
3
3
  end
@@ -3,7 +3,7 @@ require 'minitest/autorun'
3
3
  require 'minitest/benchmark' if ENV['BENCH']
4
4
  require 'turnpike'
5
5
 
6
- class TestTurnpike < MiniTest::Unit::TestCase
6
+ class TestTurnpike < MiniTest::Test
7
7
  def test_lambdalike
8
8
  assert_kind_of Turnpike::Queue, Turnpike.call
9
9
  assert_kind_of Turnpike::Queue, Turnpike.()
@@ -86,7 +86,7 @@ module QueueTests
86
86
  queue.push(1, 2)
87
87
  assert_equal 1, queue.pop
88
88
  assert_equal 2, queue.pop
89
- assert_equal nil, queue.pop
89
+ assert_nil queue.pop
90
90
  end
91
91
 
92
92
  def test_pop_many
@@ -114,7 +114,7 @@ module QueueTests
114
114
  end
115
115
  end
116
116
 
117
- class TestQueue < MiniTest::Unit::TestCase
117
+ class TestQueue < MiniTest::Test
118
118
  include QueueTests
119
119
 
120
120
  def klass; Turnpike::Queue; end
@@ -148,7 +148,7 @@ class TestQueue < MiniTest::Unit::TestCase
148
148
  end
149
149
  end
150
150
 
151
- class TestUniqueQueue < MiniTest::Unit::TestCase
151
+ class TestUniqueQueue < MiniTest::Test
152
152
  include QueueTests
153
153
 
154
154
  def klass; Turnpike::UniqueQueue; end
@@ -16,8 +16,9 @@ Gem::Specification.new do |s|
16
16
  s.require_paths = ['lib']
17
17
 
18
18
  s.add_runtime_dependency 'redis', '~> 3.0'
19
- s.add_runtime_dependency 'msgpack', '~> 0.5.4'
19
+ s.add_runtime_dependency 'msgpack', '~> 1.0'
20
20
  s.add_development_dependency 'rake'
21
+ s.add_development_dependency 'minitest', '~> 5.0'
21
22
 
22
23
  s.required_ruby_version = '>= 2.0'
23
24
  end
metadata CHANGED
@@ -1,57 +1,71 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: turnpike
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.2
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hakan Ensari
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-05-21 00:00:00.000000000 Z
11
+ date: 2016-12-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: redis
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '3.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '3.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: msgpack
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.5.4
33
+ version: '1.0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 0.5.4
40
+ version: '1.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: minitest
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '5.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '5.0'
55
69
  description: A Redis-backed FIFO queue
56
70
  email:
57
71
  - hakan.ensari@papercavalier.com
@@ -59,8 +73,8 @@ executables: []
59
73
  extensions: []
60
74
  extra_rdoc_files: []
61
75
  files:
62
- - .gitignore
63
- - .travis.yml
76
+ - ".gitignore"
77
+ - ".travis.yml"
64
78
  - Gemfile
65
79
  - LICENSE
66
80
  - README.md
@@ -81,17 +95,17 @@ require_paths:
81
95
  - lib
82
96
  required_ruby_version: !ruby/object:Gem::Requirement
83
97
  requirements:
84
- - - '>='
98
+ - - ">="
85
99
  - !ruby/object:Gem::Version
86
100
  version: '2.0'
87
101
  required_rubygems_version: !ruby/object:Gem::Requirement
88
102
  requirements:
89
- - - '>='
103
+ - - ">="
90
104
  - !ruby/object:Gem::Version
91
105
  version: '0'
92
106
  requirements: []
93
107
  rubyforge_project:
94
- rubygems_version: 2.0.2
108
+ rubygems_version: 2.6.8
95
109
  signing_key:
96
110
  specification_version: 4
97
111
  summary: A Redis-backed FIFO queue