sinatra-simple-navigation 3.6.0 → 3.7.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +6 -0
- data/CHANGELOG +4 -0
- data/Gemfile +3 -0
- data/LICENSE +22 -0
- data/README.textile +7 -5
- data/Rakefile +2 -26
- data/lib/sinatra/simple_navigation.rb +1 -0
- data/lib/sinatra/simple_navigation/version.rb +5 -0
- data/sinatra-simple-navigation.gemspec +30 -0
- metadata +18 -13
- data/VERSION +0 -1
data/.gitignore
ADDED
data/CHANGELOG
CHANGED
data/Gemfile
ADDED
data/LICENSE
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2013 Andi Schacke
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.textile
CHANGED
@@ -1,6 +1,8 @@
|
|
1
|
+
!https://badge.fury.io/rb/sinatra-simple-navigation.png!:http://badge.fury.io/rb/sinatra-simple-navigation
|
2
|
+
|
1
3
|
h1. sinatra-simple-navigation
|
2
4
|
|
3
|
-
sinatra-simple-navigation is a sinatra extension enabling the use of the "simple-navigation":http://github.com/
|
5
|
+
sinatra-simple-navigation is a sinatra extension enabling the use of the "simple-navigation":http://github.com/codeplant/simple-navigation gem in your sinatra and padrino applications.
|
4
6
|
|
5
7
|
h2. Installation
|
6
8
|
|
@@ -60,10 +62,10 @@ Instead of requiring sinatra/simple-navigation at the top of the file, you could
|
|
60
62
|
|
61
63
|
h2. Resources
|
62
64
|
|
63
|
-
* simple-navigation source code: "http://github.com/
|
64
|
-
* simple-navigation wiki: "http://wiki.github.com/
|
65
|
-
* demo project with sample applications for rails, sinatra and padrino: "http://github.com/
|
65
|
+
* simple-navigation source code: "http://github.com/codeplant/simple-navigation":http://github.com/codeplant/simple-navigation
|
66
|
+
* simple-navigation wiki: "http://wiki.github.com/codeplant/simple-navigation":http://wiki.github.com/codeplant/simple-navigation
|
67
|
+
* demo project with sample applications for rails, sinatra and padrino: "http://github.com/codeplant/simple-navigation-demo":http://github.com/codeplant/simple-navigation-demo
|
66
68
|
|
67
69
|
h2. Legal
|
68
70
|
|
69
|
-
Copyright (c)
|
71
|
+
Copyright (c) 2014 codeplant GmbH, released under the MIT license
|
data/Rakefile
CHANGED
@@ -1,31 +1,7 @@
|
|
1
|
-
require '
|
1
|
+
require 'bundler/gem_tasks'
|
2
2
|
require 'rspec/core/rake_task'
|
3
3
|
|
4
4
|
desc 'Default: run specs.'
|
5
5
|
task :default => :spec
|
6
6
|
|
7
|
-
|
8
|
-
RSpec::Core::RakeTask.new(:spec) do |t|
|
9
|
-
t.rspec_opts = ['--colour --format progress --loadby mtime --reverse']
|
10
|
-
t.pattern = FileList['spec/**/*_spec.rb']
|
11
|
-
end
|
12
|
-
|
13
|
-
begin
|
14
|
-
require 'jeweler'
|
15
|
-
Jeweler::Tasks.new do |gemspec|
|
16
|
-
gemspec.name = "sinatra-simple-navigation"
|
17
|
-
gemspec.summary = "A Sinatra extension to enable creating navigations with the simple-navigation gem. Also works for Padrino."
|
18
|
-
gemspec.email = "andreas.schacke@gmail.com"
|
19
|
-
gemspec.homepage = "http://github.com/andi/sinatra-simple-navigation"
|
20
|
-
gemspec.description = "A Sinatra extension to enable creating navigations with the simple-navigation gem. Also works for Padrino. See http://github.com/andi/simple-navigation for more information on simple-navigation."
|
21
|
-
#gemspec.add_development_dependency('rspec', '>= 1.2.8')
|
22
|
-
gemspec.add_dependency('simple-navigation', '>= 3.10.1')
|
23
|
-
gemspec.authors = ["Andi Schacke", "Mark J. Titorenko"]
|
24
|
-
gemspec.rdoc_options = ["--inline-source", "--charset=UTF-8"]
|
25
|
-
gemspec.files = FileList["[A-Z]*", "{lib,spec}/**/*"] - FileList["**/*.log"]
|
26
|
-
gemspec.rubyforge_project = 'andi'
|
27
|
-
end
|
28
|
-
Jeweler::GemcutterTasks.new
|
29
|
-
rescue LoadError => e
|
30
|
-
puts "Jeweler not available (#{e}). Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
|
31
|
-
end
|
7
|
+
RSpec::Core::RakeTask.new(:spec)
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'sinatra/simple_navigation/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = 'sinatra-simple-navigation'
|
8
|
+
spec.version = Sinatra::SimpleNavigation::VERSION
|
9
|
+
spec.authors = ['Andi Schacke', 'Mark J. Titorenko']
|
10
|
+
spec.email = ['andi@codeplant.ch']
|
11
|
+
spec.description = 'A Sinatra extension to enable creating navigations ' \
|
12
|
+
'with the simple-navigation gem. Also works for ' \
|
13
|
+
'Padrino. See ' \
|
14
|
+
'http://github.com/codeplant/simple-navigation for ' \
|
15
|
+
'more information on simple-navigation.'
|
16
|
+
spec.summary = 'A Sinatra extension to enable creating navigations ' \
|
17
|
+
'with the simple-navigation gem. Also works for ' \
|
18
|
+
'Padrino.'
|
19
|
+
spec.homepage = 'http://github.com/codeplant/sinatra-simple-navigation'
|
20
|
+
spec.license = 'MIT'
|
21
|
+
|
22
|
+
spec.files = `git ls-files -z`.split("\x0")
|
23
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
24
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
25
|
+
spec.require_paths = ['lib']
|
26
|
+
|
27
|
+
spec.rdoc_options = ['--inline-source', '--charset=UTF-8']
|
28
|
+
|
29
|
+
spec.add_runtime_dependency('simple-navigation', '>= 3.12.0')
|
30
|
+
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: 3.
|
4
|
+
version: 3.7.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2014-02-25 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: simple-navigation
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
requirements:
|
20
20
|
- - ! '>='
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.12.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -27,24 +27,29 @@ dependencies:
|
|
27
27
|
requirements:
|
28
28
|
- - ! '>='
|
29
29
|
- !ruby/object:Gem::Version
|
30
|
-
version: 3.
|
30
|
+
version: 3.12.0
|
31
31
|
description: A Sinatra extension to enable creating navigations with the simple-navigation
|
32
|
-
gem. Also works for Padrino. See http://github.com/
|
33
|
-
information on simple-navigation.
|
34
|
-
email:
|
32
|
+
gem. Also works for Padrino. See http://github.com/codeplant/simple-navigation for
|
33
|
+
more information on simple-navigation.
|
34
|
+
email:
|
35
|
+
- andi@codeplant.ch
|
35
36
|
executables: []
|
36
37
|
extensions: []
|
37
|
-
extra_rdoc_files:
|
38
|
-
- README.textile
|
38
|
+
extra_rdoc_files: []
|
39
39
|
files:
|
40
|
+
- .gitignore
|
40
41
|
- CHANGELOG
|
42
|
+
- Gemfile
|
43
|
+
- LICENSE
|
41
44
|
- README.textile
|
42
45
|
- Rakefile
|
43
|
-
- VERSION
|
44
46
|
- lib/sinatra/simple-navigation.rb
|
45
47
|
- lib/sinatra/simple_navigation.rb
|
46
|
-
|
47
|
-
|
48
|
+
- lib/sinatra/simple_navigation/version.rb
|
49
|
+
- sinatra-simple-navigation.gemspec
|
50
|
+
homepage: http://github.com/codeplant/sinatra-simple-navigation
|
51
|
+
licenses:
|
52
|
+
- MIT
|
48
53
|
post_install_message:
|
49
54
|
rdoc_options:
|
50
55
|
- --inline-source
|
@@ -64,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
64
69
|
- !ruby/object:Gem::Version
|
65
70
|
version: '0'
|
66
71
|
requirements: []
|
67
|
-
rubyforge_project:
|
72
|
+
rubyforge_project:
|
68
73
|
rubygems_version: 1.8.24
|
69
74
|
signing_key:
|
70
75
|
specification_version: 3
|
data/VERSION
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
3.6.0
|