sinatra-simple-navigation 3.0.0.beta1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Rakefile ADDED
@@ -0,0 +1,35 @@
1
+ require 'rake'
2
+ require 'spec/rake/spectask'
3
+ require 'rake/rdoctask'
4
+
5
+ desc 'Default: run specs.'
6
+ task :default => :spec
7
+
8
+ desc 'Run the specs'
9
+ Spec::Rake::SpecTask.new(:spec) do |t|
10
+ t.spec_opts = ['--colour --format progress --loadby mtime --reverse']
11
+ t.spec_files = FileList['spec/**/*_spec.rb']
12
+ end
13
+
14
+ begin
15
+ require 'jeweler'
16
+ Jeweler::Tasks.new do |gemspec|
17
+ gemspec.name = "sinatra-simple-navigation"
18
+ gemspec.summary = "A Sinatra extension to enable creating navigations with the simple-navigation gem. Also works for Padrino."
19
+ gemspec.email = "andreas.schacke@gmail.com"
20
+ gemspec.homepage = "http://github.com/andi/sinatra-simple-navigation"
21
+ 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."
22
+ #gemspec.add_development_dependency('rspec', '>= 1.2.8')
23
+ gemspec.add_dependency('simple-navigation', '= 3.0.0.beta2')
24
+ gemspec.authors = ["Andi Schacke"]
25
+ gemspec.rdoc_options = ["--inline-source", "--charset=UTF-8"]
26
+ gemspec.files = FileList["[A-Z]*", "{lib,spec}/**/*"] - FileList["**/*.log"]
27
+ gemspec.rubyforge_project = 'andi'
28
+ end
29
+ Jeweler::GemcutterTasks.new
30
+ Jeweler::RubyforgeTasks.new do |rubyforge|
31
+ rubyforge.doc_task = "rdoc"
32
+ end
33
+ rescue LoadError => e
34
+ puts "Jeweler not available (#{e}). Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
35
+ end
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 3.0.0
@@ -0,0 +1 @@
1
+ require 'sinatra/simple_navigation'
@@ -0,0 +1,13 @@
1
+ require 'simple-navigation'
2
+
3
+ module Sinatra
4
+
5
+ module SimpleNavigation
6
+ def self.registered(app)
7
+ app.helpers ::SimpleNavigation::Helpers
8
+ end
9
+ end
10
+
11
+ ::SimpleNavigation.register
12
+ helpers ::SimpleNavigation::Helpers
13
+ end
metadata ADDED
@@ -0,0 +1,81 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: sinatra-simple-navigation
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: true
5
+ segments:
6
+ - 3
7
+ - 0
8
+ - 0
9
+ - beta1
10
+ version: 3.0.0.beta1
11
+ platform: ruby
12
+ authors:
13
+ - Andi Schacke
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2010-09-02 00:00:00 +02:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ name: simple-navigation
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - "="
27
+ - !ruby/object:Gem::Version
28
+ segments:
29
+ - 3
30
+ - 0
31
+ - 0
32
+ - beta2
33
+ version: 3.0.0.beta2
34
+ type: :runtime
35
+ version_requirements: *id001
36
+ 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.
37
+ email: andreas.schacke@gmail.com
38
+ executables: []
39
+
40
+ extensions: []
41
+
42
+ extra_rdoc_files: []
43
+
44
+ files:
45
+ - Rakefile
46
+ - VERSION
47
+ - lib/sinatra/simple-navigation.rb
48
+ - lib/sinatra/simple_navigation.rb
49
+ has_rdoc: true
50
+ homepage: http://github.com/andi/sinatra-simple-navigation
51
+ licenses: []
52
+
53
+ post_install_message:
54
+ rdoc_options:
55
+ - --inline-source
56
+ - --charset=UTF-8
57
+ require_paths:
58
+ - lib
59
+ required_ruby_version: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - ">="
62
+ - !ruby/object:Gem::Version
63
+ segments:
64
+ - 0
65
+ version: "0"
66
+ required_rubygems_version: !ruby/object:Gem::Requirement
67
+ requirements:
68
+ - - ">="
69
+ - !ruby/object:Gem::Version
70
+ segments:
71
+ - 0
72
+ version: "0"
73
+ requirements: []
74
+
75
+ rubyforge_project: andi
76
+ rubygems_version: 1.3.6
77
+ signing_key:
78
+ specification_version: 3
79
+ summary: A Sinatra extension to enable creating navigations with the simple-navigation gem. Also works for Padrino.
80
+ test_files: []
81
+