sinatra-simple-navigation 3.7.1 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +2 -2
- data/Rakefile +2 -5
- data/lib/sinatra/simple_navigation.rb +6 -7
- data/lib/sinatra/simple_navigation/version.rb +1 -1
- data/sinatra-simple-navigation.gemspec +4 -1
- metadata +32 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3a007ac51db46779d129ea86a5fe7efd6ac35ce0
|
4
|
+
data.tar.gz: 1493fb3fdab3c4168d329c25c463b4dc20474a44
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eec85374e1dc9351ff8da4e021654edfaf2b895afe098103ebb2e242cb4488a5f75ad6ab5e4fd67f3106fb1643a79f887fb9543445ee79242b39b35060d5abed
|
7
|
+
data.tar.gz: b095b2ecf508a4d9a1d7eb9cca4bc9bf9db21bf7ae1ec3e78bcd962d57ae7e78e4cc610d290ac7cf0669a02b70ff2a9ea4a49c89d7992f253a65637accd213b6
|
data/CHANGELOG
CHANGED
data/Rakefile
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
require 'sinatra/
|
1
|
+
require 'sinatra/base'
|
2
2
|
require 'simple-navigation'
|
3
3
|
|
4
4
|
module Sinatra
|
@@ -6,14 +6,13 @@ module Sinatra
|
|
6
6
|
module SimpleNavigation
|
7
7
|
def self.registered(app)
|
8
8
|
app.helpers ::SimpleNavigation::Helpers
|
9
|
-
::SimpleNavigation.register
|
9
|
+
::SimpleNavigation.register(app)
|
10
10
|
end
|
11
11
|
end
|
12
|
-
|
13
|
-
#
|
12
|
+
|
13
|
+
# for classic style apps
|
14
14
|
unless ::Sinatra::Application.root.nil?
|
15
|
-
|
16
|
-
helpers ::SimpleNavigation::Helpers
|
15
|
+
register SimpleNavigation
|
17
16
|
end
|
18
|
-
|
17
|
+
|
19
18
|
end
|
@@ -26,5 +26,8 @@ Gem::Specification.new do |spec|
|
|
26
26
|
|
27
27
|
spec.rdoc_options = ['--inline-source', '--charset=UTF-8']
|
28
28
|
|
29
|
-
spec.add_runtime_dependency('simple-navigation', '
|
29
|
+
spec.add_runtime_dependency('simple-navigation', '>= 4.0.0')
|
30
|
+
spec.add_runtime_dependency('sinatra', '~> 1.0')
|
31
|
+
|
32
|
+
spec.add_development_dependency 'rake'
|
30
33
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sinatra-simple-navigation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 4.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andi Schacke
|
@@ -9,22 +9,50 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-04-
|
12
|
+
date: 2015-04-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: simple-navigation
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - ">="
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: 4.0.0
|
21
|
+
type: :runtime
|
22
|
+
prerelease: false
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - ">="
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: 4.0.0
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: sinatra
|
16
30
|
requirement: !ruby/object:Gem::Requirement
|
17
31
|
requirements:
|
18
32
|
- - "~>"
|
19
33
|
- !ruby/object:Gem::Version
|
20
|
-
version: '
|
34
|
+
version: '1.0'
|
21
35
|
type: :runtime
|
22
36
|
prerelease: false
|
23
37
|
version_requirements: !ruby/object:Gem::Requirement
|
24
38
|
requirements:
|
25
39
|
- - "~>"
|
26
40
|
- !ruby/object:Gem::Version
|
27
|
-
version: '
|
41
|
+
version: '1.0'
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
name: rake
|
44
|
+
requirement: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - ">="
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '0'
|
49
|
+
type: :development
|
50
|
+
prerelease: false
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - ">="
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '0'
|
28
56
|
description: A Sinatra extension to enable creating navigations with the simple-navigation
|
29
57
|
gem. Also works for Padrino. See http://github.com/codeplant/simple-navigation for
|
30
58
|
more information on simple-navigation.
|