rack-throttle 0.4.1 → 0.4.2

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: 9f46ec6236e6ad3bcfc8e36c2825e34ba8c55cf5
4
- data.tar.gz: cdfc85da172a8f7dc4c9d2576d242d5712d0dc8d
3
+ metadata.gz: 850818d2e52bb001216cc4083e24ca1a595a8735
4
+ data.tar.gz: 2689fae4f389e86443c325496d95f41b941c8a76
5
5
  SHA512:
6
- metadata.gz: 35ea7f5d3aecf567b4cf58b1b333430fc72a52a773d7b78b0249390a8d8937b8e11c3ea1504daa5b9ac6ae00ed01d69defd82fd3b3f56b93fd2a2db034295cd5
7
- data.tar.gz: eca3055ef3b4525c10d2aeeb9040a836dd5911cd783624eb716192ca4a96caa4aea85e1bf2e551b329d34fab0e70824dbcfbd0bf759b23175b4a0e36a5c23845
6
+ metadata.gz: e3b0621c095098a34aa93335dddac8e15d3baf9c1ca45134913535d161a6ab69b35d56c5467d43169d068a593cbf2d3ec57bd456d5f4ca90d4735642fff256c2
7
+ data.tar.gz: 851fa5a4128f3d90623d4c867f777b177d4cc1657477a4274b42353a971bae5c4b858bc10de91645f1319349320154b4b0ac0720598f90c44794d067114b4785
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.1
1
+ 0.4.2
@@ -36,7 +36,7 @@ module Rack; module Throttle
36
36
  # @param [Rack::Request] request
37
37
  # @return [String]
38
38
  def cache_key(request)
39
- [super, Time.now.strftime('%Y-%m-%dT%H:%S')].join(':')
39
+ [super, Time.now.strftime('%Y-%m-%dT%H:%M:%S')].join(':')
40
40
  end
41
41
  end
42
42
  end; end
@@ -1,8 +1,8 @@
1
1
  module Rack; module Throttle
2
2
  module VERSION
3
3
  MAJOR = 0
4
- MINOR = 3
5
- TINY = 0
4
+ MINOR = 4
5
+ TINY = 2
6
6
  EXTRA = nil
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY].join('.')
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-throttle
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arto Bendiken
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-28 00:00:00.000000000 Z
11
+ date: 2016-10-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -24,36 +24,22 @@ dependencies:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: 1.0.0
27
- - !ruby/object:Gem::Dependency
28
- name: rack
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: 1.0.0
34
- type: :runtime
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: 1.0.0
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: rack-test
43
29
  requirement: !ruby/object:Gem::Requirement
44
30
  requirements:
45
- - - '='
31
+ - - ">="
46
32
  - !ruby/object:Gem::Version
47
- version: 0.5.3
33
+ version: '0'
48
34
  type: :development
49
35
  prerelease: false
50
36
  version_requirements: !ruby/object:Gem::Requirement
51
37
  requirements:
52
- - - '='
38
+ - - ">="
53
39
  - !ruby/object:Gem::Version
54
- version: 0.5.3
40
+ version: '0'
55
41
  - !ruby/object:Gem::Dependency
56
- name: rake
42
+ name: rspec
57
43
  requirement: !ruby/object:Gem::Requirement
58
44
  requirements:
59
45
  - - ">="
@@ -67,47 +53,47 @@ dependencies:
67
53
  - !ruby/object:Gem::Version
68
54
  version: '0'
69
55
  - !ruby/object:Gem::Dependency
70
- name: rspec
56
+ name: yard
71
57
  requirement: !ruby/object:Gem::Requirement
72
58
  requirements:
73
- - - '='
59
+ - - ">="
74
60
  - !ruby/object:Gem::Version
75
- version: 1.3.0
61
+ version: '0'
76
62
  type: :development
77
63
  prerelease: false
78
64
  version_requirements: !ruby/object:Gem::Requirement
79
65
  requirements:
80
- - - '='
66
+ - - ">="
81
67
  - !ruby/object:Gem::Version
82
- version: 1.3.0
68
+ version: '0'
83
69
  - !ruby/object:Gem::Dependency
84
70
  name: timecop
85
71
  requirement: !ruby/object:Gem::Requirement
86
72
  requirements:
87
- - - '='
73
+ - - ">="
88
74
  - !ruby/object:Gem::Version
89
- version: 0.3.4
75
+ version: '0'
90
76
  type: :development
91
77
  prerelease: false
92
78
  version_requirements: !ruby/object:Gem::Requirement
93
79
  requirements:
94
- - - '='
80
+ - - ">="
95
81
  - !ruby/object:Gem::Version
96
- version: 0.3.4
82
+ version: '0'
97
83
  - !ruby/object:Gem::Dependency
98
- name: yard
84
+ name: rack
99
85
  requirement: !ruby/object:Gem::Requirement
100
86
  requirements:
101
87
  - - ">="
102
88
  - !ruby/object:Gem::Version
103
- version: 0.5.5
104
- type: :development
89
+ version: 1.0.0
90
+ type: :runtime
105
91
  prerelease: false
106
92
  version_requirements: !ruby/object:Gem::Requirement
107
93
  requirements:
108
94
  - - ">="
109
95
  - !ruby/object:Gem::Version
110
- version: 0.5.5
96
+ version: 1.0.0
111
97
  description: Rack middleware for rate-limiting incoming HTTP requests.
112
98
  email: arto@bendiken.net
113
99
  executables: []