Skip to content

Commit

Permalink
Fixed the README to reflect the gemmification, and added the dependen…
Browse files Browse the repository at this point in the history
…cies.
  • Loading branch information
lazyatom committed Apr 9, 2009
1 parent 89f8953 commit b309edc
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 7 deletions.
5 changes: 3 additions & 2 deletions README
Expand Up @@ -30,12 +30,13 @@ It was MESSED. UP.
Thee Darke Invocation
=====================

$ gem install soup sqlite3-ruby rack ratom RedCloth BlueCloth
$ gem install vanilla

$ rake setup
$ vanilla my_app_name

... a bunch of stuff gets created

$ cd my_app_name
$ rackup

... the wonki starts. THE PAIN BEGINS.
Expand Down
11 changes: 7 additions & 4 deletions Rakefile
Expand Up @@ -24,7 +24,7 @@ spec = Gem::Specification.new do |s|

# Change these as appropriate
s.name = "vanilla"
s.version = "1.0.0"
s.version = "1.0.1"
s.summary = "A bliki-type web content thing."
s.author = "James Adam"
s.email = "james@lazyatom.com.com"
Expand All @@ -39,9 +39,12 @@ spec = Gem::Specification.new do |s|
s.executables = ['vanilla']
s.require_paths = ["lib"]

# If you want to depend on other gems, add them here, along with any
# relevant versions
# s.add_dependency("some_other_gem", "~> 0.1.0")
# All the other gems we need.
s.add_dependency("rack", ">= 0.9.1")
s.add_dependency("soup", ">= 0.2.1")
s.add_dependency("ratom", ">= 0.3.5")
s.add_dependency("RedCloth", ">= 4.1.1")
s.add_dependency("BlueCloth", ">= 1.0.0")

s.add_development_dependency("rspec") # add any other gems for testing/development

Expand Down
17 changes: 16 additions & 1 deletion vanilla.gemspec
Expand Up @@ -2,7 +2,7 @@

Gem::Specification.new do |s|
s.name = %q{vanilla}
s.version = "1.0.0"
s.version = "1.0.1"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["James Adam"]
Expand All @@ -25,11 +25,26 @@ Gem::Specification.new do |s|
s.specification_version = 2

if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<rack>, [">= 0.9.1"])
s.add_runtime_dependency(%q<soup>, [">= 0.2.1"])
s.add_runtime_dependency(%q<ratom>, [">= 0.3.5"])
s.add_runtime_dependency(%q<RedCloth>, [">= 4.1.1"])
s.add_runtime_dependency(%q<BlueCloth>, [">= 1.0.0"])
s.add_development_dependency(%q<rspec>, [">= 0"])
else
s.add_dependency(%q<rack>, [">= 0.9.1"])
s.add_dependency(%q<soup>, [">= 0.2.1"])
s.add_dependency(%q<ratom>, [">= 0.3.5"])
s.add_dependency(%q<RedCloth>, [">= 4.1.1"])
s.add_dependency(%q<BlueCloth>, [">= 1.0.0"])
s.add_dependency(%q<rspec>, [">= 0"])
end
else
s.add_dependency(%q<rack>, [">= 0.9.1"])
s.add_dependency(%q<soup>, [">= 0.2.1"])
s.add_dependency(%q<ratom>, [">= 0.3.5"])
s.add_dependency(%q<RedCloth>, [">= 4.1.1"])
s.add_dependency(%q<BlueCloth>, [">= 1.0.0"])
s.add_dependency(%q<rspec>, [">= 0"])
end
end

0 comments on commit b309edc

Please sign in to comment.