Permalink
Browse files

Version bump

  • Loading branch information...
1 parent aacaa79 commit 2dda1990df081cf9e4180df457a3e1b08241277e @quirkey quirkey committed Dec 16, 2008
Showing with 31 additions and 17 deletions.
  1. +7 −0 History.txt
  2. +5 −1 Manifest.txt
  3. +10 −8 README.rdoc
  4. +1 −1 app_generators/sinatra_app/sinatra_app_generator.rb
  5. +1 −1 lib/sinatra-gen.rb
  6. +7 −6 sinatra-gen.gemspec
View
@@ -1,3 +1,10 @@
+== 0.1.1 2008-12-16
+
+* 1 major enhancement
+ * added --cap option for generating capistrano recipe
+* 1 minor enhancement
+ * added empty config.yml on generation
+
== 0.1.0 2008-12-13
* 1 major enhancement:
View
@@ -5,9 +5,12 @@ README.rdoc
Rakefile
app_generators/sinatra_app/USAGE
app_generators/sinatra_app/sinatra_app_generator.rb
+app_generators/sinatra_app/templates/Capfile
app_generators/sinatra_app/templates/Rakefile.erb
app_generators/sinatra_app/templates/app.rb.erb
app_generators/sinatra_app/templates/config.ru.erb
+app_generators/sinatra_app/templates/config.yml
+app_generators/sinatra_app/templates/config/deploy.rb.erb
app_generators/sinatra_app/templates/lib/module.rb.erb
app_generators/sinatra_app/templates/test/test_app_rspec.rb.erb
app_generators/sinatra_app/templates/test/test_app_shoulda.rb.erb
@@ -20,4 +23,5 @@ app_generators/sinatra_app/templates/views/erb_layout.erb
app_generators/sinatra_app/templates/views/haml_index.erb
app_generators/sinatra_app/templates/views/haml_layout.erb
bin/sinatra-gen
-lib/sinatra-gen.rb
+lib/sinatra-gen.rb
+sinatra-gen.gemspec
View
@@ -22,14 +22,16 @@ e.g.
Options (can also be obtained by running sinatra-gen with no arguments):
- -v, --version Show the sinatra-gen version number and quit.
- -d, --vendor Extract the latest sinatra to vendor/sinatra
- --tiny Only create the minimal files.
- --scripts Install the rubigen scripts (script/generate, script/destroy)
- --init Initialize a git repository
- --git /path/to/git Specify a different path for 'git'
- --test=test_framework Specify your testing framework (unit (default)/rspec/spec/shoulda)
- --views=view_framework Specify your view framework (erb (default)/haml/builder)
+ -v, --version Show the sinatra-gen version number and quit.
+ -d, --vendor Extract the latest sinatra to vendor/sinatra
+ --tiny Only create the minimal files.
+ --init Initialize a git repository
+ --cap Adds config directory with basic capistrano deploy.rb
+ --scripts Install the rubigen scripts (script/generate, script/destroy)
+ --git /path/to/git Specify a different path for 'git'
+ --test=test_framework Specify your testing framework (unit (default)/rspec/spec/shoulda)
+ --views=view_framework Specify your view framework (erb (default)/haml/builder)
+
The --tiny option will create no directories. Just an app.rb, a Rakefile, and a config.ru (Rackup file)
@@ -77,7 +77,7 @@ def add_options!(opts)
opts.on("-d", "--vendor", "Extract the latest sinatra to vendor/sinatra") {|o| options[:vendor] = o }
opts.on("--tiny", "Only create the minimal files.") {|o| options[:tiny] = o }
opts.on("--init", "Initialize a git repository") {|o| options[:init] = o }
- opts.on("--cap", "Adds config directory with basic deploy.rb") {|o| options[:cap] = o }
+ opts.on("--cap", "Adds config directory with basic capistrano deploy.rb") {|o| options[:cap] = o }
opts.on("--scripts", "Install the rubigen scripts (script/generate, script/destroy)") {|o| options[:scripts] = o }
opts.on("--git /path/to/git", "Specify a different path for 'git'") {|o| options[:git] = o }
opts.on("--test=test_framework", String, "Specify your testing framework (unit (default)/rspec/spec/shoulda)") {|o| options[:test_framework] = o }
View
@@ -2,5 +2,5 @@
$:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
module SinatraGen
- VERSION = '0.1.0'
+ VERSION = '0.1.1'
end
View
@@ -1,17 +1,18 @@
# -*- encoding: utf-8 -*-
+
Gem::Specification.new do |s|
s.name = %q{sinatra-gen}
- s.version = "0.1.0"
+ s.version = "0.1.1"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Aaron Quint"]
- s.date = %q{2008-12-13}
+ s.date = %q{2008-12-16}
s.default_executable = %q{sinatra-gen}
s.description = %q{sinatra-gen generates a common file structure and basic app files for a web app utilizing the sinatra framework. For more information on sinatra, check out http://sinatra.rubyforge.org}
s.email = ["aaron@quirkey.com"]
s.executables = ["sinatra-gen"]
s.extra_rdoc_files = ["History.txt", "Manifest.txt", "PostInstall.txt", "README.rdoc"]
- s.files = ["History.txt", "Manifest.txt", "PostInstall.txt", "README.rdoc", "Rakefile", "app_generators/sinatra_app/USAGE", "app_generators/sinatra_app/sinatra_app_generator.rb", "app_generators/sinatra_app/templates/Rakefile.erb", "app_generators/sinatra_app/templates/app.rb.erb", "app_generators/sinatra_app/templates/config.ru.erb", "app_generators/sinatra_app/templates/lib/module.rb.erb", "app_generators/sinatra_app/templates/test/test_app_rspec.rb.erb", "app_generators/sinatra_app/templates/test/test_app_shoulda.rb.erb", "app_generators/sinatra_app/templates/test/test_app_spec.rb.erb", "app_generators/sinatra_app/templates/test/test_app_unit.rb.erb", "app_generators/sinatra_app/templates/test/test_helper.rb.erb", "app_generators/sinatra_app/templates/views/builder_index.erb", "app_generators/sinatra_app/templates/views/erb_index.erb", "app_generators/sinatra_app/templates/views/erb_layout.erb", "app_generators/sinatra_app/templates/views/haml_index.erb", "app_generators/sinatra_app/templates/views/haml_layout.erb", "bin/sinatra-gen", "lib/sinatra-gen.rb", "test/test_generator_helper.rb", "test/test_helper.rb", "test/test_sinatra_app_generator.rb"]
+ s.files = ["History.txt", "Manifest.txt", "PostInstall.txt", "README.rdoc", "Rakefile", "app_generators/sinatra_app/USAGE", "app_generators/sinatra_app/sinatra_app_generator.rb", "app_generators/sinatra_app/templates/Capfile", "app_generators/sinatra_app/templates/Rakefile.erb", "app_generators/sinatra_app/templates/app.rb.erb", "app_generators/sinatra_app/templates/config.ru.erb", "app_generators/sinatra_app/templates/config.yml", "app_generators/sinatra_app/templates/config/deploy.rb.erb", "app_generators/sinatra_app/templates/lib/module.rb.erb", "app_generators/sinatra_app/templates/test/test_app_rspec.rb.erb", "app_generators/sinatra_app/templates/test/test_app_shoulda.rb.erb", "app_generators/sinatra_app/templates/test/test_app_spec.rb.erb", "app_generators/sinatra_app/templates/test/test_app_unit.rb.erb", "app_generators/sinatra_app/templates/test/test_helper.rb.erb", "app_generators/sinatra_app/templates/views/builder_index.erb", "app_generators/sinatra_app/templates/views/erb_index.erb", "app_generators/sinatra_app/templates/views/erb_layout.erb", "app_generators/sinatra_app/templates/views/haml_index.erb", "app_generators/sinatra_app/templates/views/haml_layout.erb", "bin/sinatra-gen", "lib/sinatra-gen.rb", "sinatra-gen.gemspec", "test/test_generator_helper.rb", "test/test_helper.rb", "test/test_sinatra_app_generator.rb"]
s.has_rdoc = true
s.homepage = %q{http://github.com/quirkey/sinatra-gen}
s.post_install_message = %q{PostInstall.txt}
@@ -28,16 +29,16 @@ Gem::Specification.new do |s|
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<rubigen>, [">= 1.3.3"])
- s.add_development_dependency(%q<newgem>, [">= 1.1.0"])
+ s.add_development_dependency(%q<newgem>, [">= 1.2.1"])
s.add_development_dependency(%q<hoe>, [">= 1.8.0"])
else
s.add_dependency(%q<rubigen>, [">= 1.3.3"])
- s.add_dependency(%q<newgem>, [">= 1.1.0"])
+ s.add_dependency(%q<newgem>, [">= 1.2.1"])
s.add_dependency(%q<hoe>, [">= 1.8.0"])
end
else
s.add_dependency(%q<rubigen>, [">= 1.3.3"])
- s.add_dependency(%q<newgem>, [">= 1.1.0"])
+ s.add_dependency(%q<newgem>, [">= 1.2.1"])
s.add_dependency(%q<hoe>, [">= 1.8.0"])
end
end

0 comments on commit 2dda199

Please sign in to comment.