template 0.2.0 → 0.3.0

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/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.3.0
@@ -2,11 +2,11 @@ Description:
2
2
  Generates so necessary files to start creating webapp from rails
3
3
 
4
4
  Example:
5
- rails plugin install https://yule@github.com/yule/skeleton.git
6
- cp -R vendor/plugins/skeleton/generators/skeleton lib/generators/skeleton
7
- rails generate skeleton APPNAME
5
+ gem install template
6
+ add to gem file: gem 'template'
7
+ rails g skeleton APPNAME
8
8
  rails plugin install http://github.com/rahim/easypg.git
9
9
  rake db:setup
10
10
  rails s
11
11
 
12
-
12
+
@@ -7,7 +7,6 @@ class SkeletonGenerator < Rails::Generators::NamedBase
7
7
  template 'app/views/welcome/index.html.erb'
8
8
  template 'config/database.yml'
9
9
  template 'public/stylesheets/screen.css'
10
- copy_file 'Gemfile','Gemfile'
11
10
  route 'root :to => "welcome#index"'
12
11
  end
13
12
 
data/template.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{template}
8
- s.version = "0.2.0"
8
+ s.version = "0.3.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{2010-12-07}
12
+ s.date = %q{2010-12-22}
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 = [
@@ -26,7 +26,6 @@ Gem::Specification.new do |s|
26
26
  "VERSION",
27
27
  "lib/generators/skeleton/USAGE",
28
28
  "lib/generators/skeleton/skeleton_generator.rb",
29
- "lib/generators/skeleton/templates/Gemfile",
30
29
  "lib/generators/skeleton/templates/app/controllers/welcome_controller.rb",
31
30
  "lib/generators/skeleton/templates/app/views/layouts/application.html.erb",
32
31
  "lib/generators/skeleton/templates/app/views/welcome/index.html.erb",
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: 23
4
+ hash: 19
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
- - 2
8
+ - 3
9
9
  - 0
10
- version: 0.2.0
10
+ version: 0.3.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: 2010-12-07 00:00:00 +00:00
18
+ date: 2010-12-22 00:00:00 +00:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -97,7 +97,6 @@ files:
97
97
  - VERSION
98
98
  - lib/generators/skeleton/USAGE
99
99
  - lib/generators/skeleton/skeleton_generator.rb
100
- - lib/generators/skeleton/templates/Gemfile
101
100
  - lib/generators/skeleton/templates/app/controllers/welcome_controller.rb
102
101
  - lib/generators/skeleton/templates/app/views/layouts/application.html.erb
103
102
  - lib/generators/skeleton/templates/app/views/welcome/index.html.erb
@@ -1,3 +0,0 @@
1
- gem 'rails'
2
- gem 'pg'
3
- gem 'mongrel'