rack-when 0.0.3 → 0.0.4

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
- SHA1:
3
- metadata.gz: 5977f59d6733b910a8564b39f3c75521ee279c90
4
- data.tar.gz: e1b05563d422c97d65b53ca6f6cc12dc174eb100
2
+ SHA256:
3
+ metadata.gz: 9f815e795d03623351c30824bc132d736d965aec5f5ec07f9c72b1f455900bd5
4
+ data.tar.gz: 1ea87237a4f2ed08a8340a45f323a0879710501391163f8f5fd4f9dc43c7c497
5
5
  SHA512:
6
- metadata.gz: af9b557c7e590ece682af13250a6ab1d55536a1fca23836068b58cdf8028b498aa63281c2129fa846842e87d78b10a91d2b950ed673035624854cb7a5b09844b
7
- data.tar.gz: b08fc92243948cf695483d342be345e1add37bc73bb298ad46462f05caf41858ce051e00977efe8bdd0b99aa3dd72d8f9225f06339ebe19f3136fd5748216577
6
+ metadata.gz: 0d8d8839580d1eca703ba0432c47374d5278412111eae78d795c3893cbd14052f6bfe2a4f9d405799940ee92b94d28bf7911f7578b8bb7586dd948bbf1201cd4
7
+ data.tar.gz: c63351572f4334f78b2c4917173f4e596db4816792eb89dffe6458a8727d187c8065c58f9dff1d6786b95b33457bccbe19d6b8813fc04a08a724bfa3a7f44268
data/.travis.yml CHANGED
@@ -1,7 +1,17 @@
1
+ # In order to install old Rubies, we need to use old Ubuntu distibution.
2
+ dist: trusty
1
3
  language: ruby
4
+ before_install: gem update bundler
2
5
  rvm:
3
- - 2.0.0
6
+ - 2.7.1
7
+ - 2.6.6
8
+ - 2.5.8
9
+ - 2.4.10
10
+ - 2.3.8
11
+ - 2.3.1
12
+ - 2.2
13
+ - 2.1
14
+ - 2.0
4
15
  - 1.9.3
5
16
  - 1.9.2
6
17
  - jruby-19mode
7
- - rbx-19mode
data/Gemfile CHANGED
@@ -2,3 +2,7 @@ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in rack-when.gemspec
4
4
  gemspec
5
+
6
+ platform :rbx do
7
+ gem 'rubysl'
8
+ end
@@ -1,5 +1,5 @@
1
1
  module Rack
2
2
  module When
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
  end
5
5
  end
data/rack-when.gemspec CHANGED
@@ -20,8 +20,19 @@ Gem::Specification.new do |spec|
20
20
 
21
21
  spec.add_runtime_dependency "rack"
22
22
 
23
- spec.add_development_dependency "bundler", "~> 1.3"
24
- spec.add_development_dependency "rake"
23
+ if RUBY_VERSION.to_f < 2.3
24
+ spec.add_development_dependency "bundler", "~> 1.3"
25
+ else
26
+ spec.add_development_dependency "bundler", "~> 2.1"
27
+ end
28
+
29
+ if RUBY_VERSION.to_f < 2
30
+ spec.add_development_dependency "rake", '~> 10.0'
31
+ elsif RUBY_VERSION.to_f < 2.2
32
+ spec.add_development_dependency "rake", '~> 12.0'
33
+ else
34
+ spec.add_development_dependency "rake", '~> 13.0'
35
+ end
25
36
  spec.add_development_dependency "rspec"
26
37
 
27
38
  end
metadata CHANGED
@@ -1,90 +1,69 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-when
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jon Rowe
8
8
  autorequire:
9
9
  bindir: bin
10
- cert_chain:
11
- - |
12
- -----BEGIN CERTIFICATE-----
13
- MIIDVjCCAj6gAwIBAgIBADANBgkqhkiG9w0BAQUFADBRMQ4wDAYDVQQDDAVoZWxs
14
- bzEXMBUGCgmSJomT8ixkARkWB2pvbnJvd2UxEjAQBgoJkiaJk/IsZAEZFgJjbzES
15
- MBAGCgmSJomT8ixkARkWAnVrMB4XDTEzMDIwMzA4MTgwNloXDTE0MDIwMzA4MTgw
16
- NlowUTEOMAwGA1UEAwwFaGVsbG8xFzAVBgoJkiaJk/IsZAEZFgdqb25yb3dlMRIw
17
- EAYKCZImiZPyLGQBGRYCY28xEjAQBgoJkiaJk/IsZAEZFgJ1azCCASIwDQYJKoZI
18
- hvcNAQEBBQADggEPADCCAQoCggEBAMhs6ng/SRrYfG7RtQx8liJTZs8tpz7PBnlH
19
- qyOwuU0weJc7nh6C9C8LGyJzpkbjJJo1rfTMg7huDyL14Py82dfMDomApif8jNNI
20
- 8KtviAgB1DrWq0fCDLtu/M77+yuVV3OhDdrAFaBkT/euvdJ8cAKrLxbJ+klgvrcB
21
- FK+c4PUV3/zBKghe0l7FuDhyQCsuLNDbWyFvDS97tPjeN6yWuszwg22vZMDdsuzN
22
- Cj3M4LLSkbrt+AOUcysEJxI4t6uv2U1bRzHsDfAF0RI/Q7OMtUr+Dtz/2YJ47KKs
23
- 51ZRjLLGHd10XrIfFSfGyJj1dMbDgLsEBj1sFH4e6dy7gau8TaUCAwEAAaM5MDcw
24
- CQYDVR0TBAIwADAdBgNVHQ4EFgQULu5JH2g7RAjoXaZt+fbrfNDI9IkwCwYDVR0P
25
- BAQDAgSwMA0GCSqGSIb3DQEBBQUAA4IBAQAf5A4kB769DPKGjPZ++v42FwVi7X7v
26
- RpufPs6R4YHyzHXaJmAqnhleZhVJijBgsdb2SigNRbg+IK8XYHg7jkonMgO8OS3D
27
- C6w8VB5bI0PqyDOwCGcQkYHYlZZWCghAyBTSBowHAekMb9V3QjJtJ8XkizjshETO
28
- ZCVI2AObjlJi8I10aK2tSo9sv2riCKZ92BVSM13zYWn+C/eCP/m9BDiw37UQtuQq
29
- 2feWfO4gCNmvfFjULOAYHq9JHEjN5SLSXvj5HdSnDcCyIfJKn5Ya3JahWQaWIsXf
30
- /NPE/mB57TOwj+d7XUa2NC4HUadF8R51IYEcIB0PpIEzJlKtfXFcOZxO
31
- -----END CERTIFICATE-----
32
- date: 2013-07-16 00:00:00.000000000 Z
10
+ cert_chain: []
11
+ date: 2020-05-06 00:00:00.000000000 Z
33
12
  dependencies:
34
13
  - !ruby/object:Gem::Dependency
35
14
  name: rack
36
15
  requirement: !ruby/object:Gem::Requirement
37
16
  requirements:
38
- - - '>='
17
+ - - ">="
39
18
  - !ruby/object:Gem::Version
40
19
  version: '0'
41
20
  type: :runtime
42
21
  prerelease: false
43
22
  version_requirements: !ruby/object:Gem::Requirement
44
23
  requirements:
45
- - - '>='
24
+ - - ">="
46
25
  - !ruby/object:Gem::Version
47
26
  version: '0'
48
27
  - !ruby/object:Gem::Dependency
49
28
  name: bundler
50
29
  requirement: !ruby/object:Gem::Requirement
51
30
  requirements:
52
- - - ~>
31
+ - - "~>"
53
32
  - !ruby/object:Gem::Version
54
- version: '1.3'
33
+ version: '2.1'
55
34
  type: :development
56
35
  prerelease: false
57
36
  version_requirements: !ruby/object:Gem::Requirement
58
37
  requirements:
59
- - - ~>
38
+ - - "~>"
60
39
  - !ruby/object:Gem::Version
61
- version: '1.3'
40
+ version: '2.1'
62
41
  - !ruby/object:Gem::Dependency
63
42
  name: rake
64
43
  requirement: !ruby/object:Gem::Requirement
65
44
  requirements:
66
- - - '>='
45
+ - - "~>"
67
46
  - !ruby/object:Gem::Version
68
- version: '0'
47
+ version: '13.0'
69
48
  type: :development
70
49
  prerelease: false
71
50
  version_requirements: !ruby/object:Gem::Requirement
72
51
  requirements:
73
- - - '>='
52
+ - - "~>"
74
53
  - !ruby/object:Gem::Version
75
- version: '0'
54
+ version: '13.0'
76
55
  - !ruby/object:Gem::Dependency
77
56
  name: rspec
78
57
  requirement: !ruby/object:Gem::Requirement
79
58
  requirements:
80
- - - '>='
59
+ - - ">="
81
60
  - !ruby/object:Gem::Version
82
61
  version: '0'
83
62
  type: :development
84
63
  prerelease: false
85
64
  version_requirements: !ruby/object:Gem::Requirement
86
65
  requirements:
87
- - - '>='
66
+ - - ">="
88
67
  - !ruby/object:Gem::Version
89
68
  version: '0'
90
69
  description: Simple gem to load rack middleware only in certain environments.
@@ -94,8 +73,8 @@ executables: []
94
73
  extensions: []
95
74
  extra_rdoc_files: []
96
75
  files:
97
- - .gitignore
98
- - .travis.yml
76
+ - ".gitignore"
77
+ - ".travis.yml"
99
78
  - Gemfile
100
79
  - LICENSE.txt
101
80
  - README.md
@@ -116,17 +95,16 @@ require_paths:
116
95
  - lib
117
96
  required_ruby_version: !ruby/object:Gem::Requirement
118
97
  requirements:
119
- - - '>='
98
+ - - ">="
120
99
  - !ruby/object:Gem::Version
121
100
  version: '0'
122
101
  required_rubygems_version: !ruby/object:Gem::Requirement
123
102
  requirements:
124
- - - '>='
103
+ - - ">="
125
104
  - !ruby/object:Gem::Version
126
105
  version: '0'
127
106
  requirements: []
128
- rubyforge_project:
129
- rubygems_version: 2.0.3
107
+ rubygems_version: 3.1.2
130
108
  signing_key:
131
109
  specification_version: 4
132
110
  summary: Simple gem to load rack middleware only in certain environments.
checksums.yaml.gz.sig DELETED
Binary file
data.tar.gz.sig DELETED
Binary file
metadata.gz.sig DELETED
Binary file