template 0.4.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ 1296741140
2
+ SkeletonGenerator C:/Users/paul.brennan/workspace/template/lib/generators/skeleton/skeleton_generator.rb class SkeletonGenerator
3
+ TestCase C:/Users/paul.brennan/workspace/template/test/helper.rb class Test::Unit::TestCase
4
+ TestTemplate C:/Users/paul.brennan/workspace/template/test/test_template.rb class TestTemplate
5
+ WelcomeController C:/Users/paul.brennan/workspace/template/lib/generators/skeleton/templates/app/controllers/welcome_controller.rb class WelcomeController
6
+ copy_skeleton_files C:/Users/paul.brennan/workspace/template/lib/generators/skeleton/skeleton_generator.rb def copy_skeleton_files
7
+ index C:/Users/paul.brennan/workspace/template/lib/generators/skeleton/templates/app/controllers/welcome_controller.rb def index
data/Rakefile CHANGED
@@ -21,7 +21,7 @@ Jeweler::Tasks.new do |gem|
21
21
  gem.authors = ["Yule"]
22
22
  # Include your dependencies below. Runtime dependencies are required when using your gem,
23
23
  # and development dependencies are only needed for development (ie running rake tasks, tests, etc)
24
- # gem.add_runtime_dependency 'jabber4r', '> 0.1'
24
+ gem.add_runtime_dependency 'simple-navigation', '> 3.0'
25
25
  # gem.add_development_dependency 'rspec', '> 1.2.3'
26
26
  end
27
27
  Jeweler::RubygemsDotOrgTasks.new
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.0
1
+ 0.5.0
@@ -5,9 +5,11 @@ class SkeletonGenerator < Rails::Generators::NamedBase
5
5
  copy_file 'app/controllers/welcome_controller.rb','app/controllers/welcome_controller.rb'
6
6
  template 'app/views/layouts/application.html.erb'
7
7
  template 'app/views/welcome/index.html.erb'
8
- template 'config/database.yml'
8
+ template 'config/database.yml'
9
9
  template 'public/stylesheets/screen.css'
10
10
  route 'root :to => "welcome#index"'
11
+ generate('navigation_config')
12
+ plugin('easypg', :git=>'git://github.com/rahim/easypg.git')
11
13
  end
12
14
 
13
15
  end
@@ -14,22 +14,12 @@
14
14
  <!-- Main header here -->header
15
15
  </div>
16
16
  <div id="top-nav">
17
- <ul>
18
- <li>Top nav item 1</li>
19
- <li>Top nav item 2</li>
20
- <li>Top nav item 3</li>
21
- <li>Top nav item 4</li>
22
- </ul>
17
+ <%= render_navigation(:level => 1) %>
23
18
 
24
19
  </div>
25
20
  <div id="main">
26
21
  <div id="left-nav">
27
- <!-- Place left navigation here -->
28
- <ul>
29
- <li>Left nav item 1</li>
30
- <li>Left nav item 2</li>
31
- <li>Left nav item 3</li>
32
- </ul>
22
+ <%= render_navigation(:level => 2) %>
33
23
  </div>
34
24
  <div id="content">
35
25
  <div id="contentPadder">
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{template}
8
- s.version = "0.4.0"
8
+ s.version = "0.5.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Yule"]
12
- s.date = %q{2011-02-02}
12
+ s.date = %q{2011-02-03}
13
13
  s.description = %q{Creates a bunch of files that most apps will have. Shoudl be used at the beginning of the project. Stops the tedious job of having to set up page templates etc}
14
14
  s.email = %q{paul.brennan@ahc.uk.com}
15
15
  s.extra_rdoc_files = [
@@ -18,6 +18,7 @@ Gem::Specification.new do |s|
18
18
  ]
19
19
  s.files = [
20
20
  ".document",
21
+ ".redcar/tags",
21
22
  "Gemfile",
22
23
  "Gemfile.lock",
23
24
  "LICENSE.txt",
@@ -56,17 +57,20 @@ Gem::Specification.new do |s|
56
57
  s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
57
58
  s.add_development_dependency(%q<jeweler>, ["~> 1.5.1"])
58
59
  s.add_development_dependency(%q<rcov>, [">= 0"])
60
+ s.add_runtime_dependency(%q<simple-navigation>, ["> 3.0"])
59
61
  else
60
62
  s.add_dependency(%q<shoulda>, [">= 0"])
61
63
  s.add_dependency(%q<bundler>, ["~> 1.0.0"])
62
64
  s.add_dependency(%q<jeweler>, ["~> 1.5.1"])
63
65
  s.add_dependency(%q<rcov>, [">= 0"])
66
+ s.add_dependency(%q<simple-navigation>, ["> 3.0"])
64
67
  end
65
68
  else
66
69
  s.add_dependency(%q<shoulda>, [">= 0"])
67
70
  s.add_dependency(%q<bundler>, ["~> 1.0.0"])
68
71
  s.add_dependency(%q<jeweler>, ["~> 1.5.1"])
69
72
  s.add_dependency(%q<rcov>, [">= 0"])
73
+ s.add_dependency(%q<simple-navigation>, ["> 3.0"])
70
74
  end
71
75
  end
72
76
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: template
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 11
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
- - 4
8
+ - 5
9
9
  - 0
10
- version: 0.4.0
10
+ version: 0.5.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Yule
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-02-02 00:00:00 +00:00
18
+ date: 2011-02-03 00:00:00 +00:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -78,6 +78,21 @@ dependencies:
78
78
  prerelease: false
79
79
  name: rcov
80
80
  version_requirements: *id004
81
+ - !ruby/object:Gem::Dependency
82
+ requirement: &id005 !ruby/object:Gem::Requirement
83
+ none: false
84
+ requirements:
85
+ - - ">"
86
+ - !ruby/object:Gem::Version
87
+ hash: 7
88
+ segments:
89
+ - 3
90
+ - 0
91
+ version: "3.0"
92
+ type: :runtime
93
+ prerelease: false
94
+ name: simple-navigation
95
+ version_requirements: *id005
81
96
  description: Creates a bunch of files that most apps will have. Shoudl be used at the beginning of the project. Stops the tedious job of having to set up page templates etc
82
97
  email: paul.brennan@ahc.uk.com
83
98
  executables: []
@@ -89,6 +104,7 @@ extra_rdoc_files:
89
104
  - README.rdoc
90
105
  files:
91
106
  - .document
107
+ - .redcar/tags
92
108
  - Gemfile
93
109
  - Gemfile.lock
94
110
  - LICENSE.txt