sinatra-contrib 2.0.2 → 2.0.3

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
  SHA256:
3
- metadata.gz: 8c8f28c33c3ece99365dbedf54e005d0ca8c1f67fa9b185ea3e3007d02859c01
4
- data.tar.gz: 6faec8475cd013a114fa920ce028ecd635e217da2693e4d313530c3eea2cfd93
3
+ metadata.gz: 6b5a4eeb2f65728acb1481f55fbb6e407aaf9e7c281d73f89d5cf0dd9601fb44
4
+ data.tar.gz: 2a0d61050b0c9871250cea31554bfcad6505b66dbff4efc70026b84926e75854
5
5
  SHA512:
6
- metadata.gz: e1200e05c63c903e39a349c1959c681304bdcd848abdbac6cd30a008e27ee4e335f5194504289dde64156bb7b572369c7b4bd9c45a4a322d1b0b48fe12ff5fdf
7
- data.tar.gz: 229bd1e2f2f9166a914aa0936ebb2fee6ae95acdcd4fd188a1879881096e6079fd11e85f42dfe7076a3c7f80d06c18eca62208ffb208c555c095c0547dfa9364
6
+ metadata.gz: 85832400a6ed89079746e8fcb336b1e880c9d61d0951801b5c956c9fe0fb2e4d62b7044d400ed9527bff96aa89cf7d0bce6feb77a94dd81cccba7b296b1f5f03
7
+ data.tar.gz: 93bc47862c5af2c55ce47176067205e599a7e6f502f0b3e0998337eaa32549c4525b70b42b78ea57e435fe1b88831c95a334b6bb06b3793a665c88a7bb3e567a
@@ -1,6 +1,6 @@
1
1
  require 'sinatra/base'
2
2
  require 'sinatra/engine_tracking'
3
- require 'backports'
3
+ require 'active_support/core_ext/object/try.rb'
4
4
 
5
5
  module Sinatra
6
6
  #
@@ -1,6 +1,6 @@
1
1
  require 'sinatra/base'
2
2
  require 'sinatra/contrib/version'
3
- require 'backports'
3
+ require 'backports/rails/string' # for String#underscore
4
4
 
5
5
  module Sinatra
6
6
  module Contrib
@@ -1,6 +1,6 @@
1
1
  module Sinatra
2
2
  module Contrib
3
- VERSION = '2.0.2'
3
+ VERSION = '2.0.3'
4
4
  end
5
5
  end
6
6
 
@@ -1,5 +1,4 @@
1
1
  require 'sinatra/base'
2
- require 'backports'
3
2
 
4
3
  module Sinatra
5
4
  # = Sinatra::Cookies
@@ -1,5 +1,4 @@
1
1
  require 'sinatra/base'
2
- require 'backports/basic_object' unless defined? BasicObject
3
2
 
4
3
  module Sinatra
5
4
 
@@ -1,4 +1,3 @@
1
- require 'backports'
2
1
  require 'sinatra/base'
3
2
  require 'mustermann'
4
3
 
@@ -1,5 +1,4 @@
1
1
  require 'sinatra/base'
2
- require 'backports'
3
2
 
4
3
  module Sinatra
5
4
 
@@ -23,7 +23,8 @@ Gem::Specification.new do |s|
23
23
 
24
24
  s.add_dependency "sinatra", version
25
25
  s.add_dependency "mustermann", "~> 1.0"
26
- s.add_dependency "backports", "~> 2.8.2"
26
+ s.add_dependency "backports", ">= 2.8.2"
27
+ s.add_dependency "activesupport", ">= 4.0.0"
27
28
  s.add_dependency "tilt", ">= 1.3", "< 3"
28
29
  s.add_dependency "rack-protection", version
29
30
  s.add_dependency "multi_json"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sinatra-contrib
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - https://github.com/sinatra/sinatra/graphs/contributors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-05 00:00:00.000000000 Z
11
+ date: 2018-06-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sinatra
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 2.0.2
19
+ version: 2.0.3
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
- version: 2.0.2
26
+ version: 2.0.3
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: mustermann
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -42,16 +42,30 @@ dependencies:
42
42
  name: backports
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: 2.8.2
48
48
  type: :runtime
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: 2.8.2
55
+ - !ruby/object:Gem::Dependency
56
+ name: activesupport
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: 4.0.0
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: 4.0.0
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: tilt
57
71
  requirement: !ruby/object:Gem::Requirement
@@ -78,14 +92,14 @@ dependencies:
78
92
  requirements:
79
93
  - - '='
80
94
  - !ruby/object:Gem::Version
81
- version: 2.0.2
95
+ version: 2.0.3
82
96
  type: :runtime
83
97
  prerelease: false
84
98
  version_requirements: !ruby/object:Gem::Requirement
85
99
  requirements:
86
100
  - - '='
87
101
  - !ruby/object:Gem::Version
88
- version: 2.0.2
102
+ version: 2.0.3
89
103
  - !ruby/object:Gem::Dependency
90
104
  name: multi_json
91
105
  requirement: !ruby/object:Gem::Requirement