Skip to content

Commit

Permalink
Use Bundler gem conventions.
Browse files Browse the repository at this point in the history
This also introduces PaulRevere::VERSION.
  • Loading branch information
Gabe Berke-Williams committed Nov 12, 2011
1 parent 3574b40 commit 164349d
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 15 deletions.
4 changes: 1 addition & 3 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
source "http://rubygems.org"
gemspec

gem "appraisal"
gem "rspec-rails"
gemspec
2 changes: 0 additions & 2 deletions gemfiles/3.0.10.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

source "http://rubygems.org"

gem "appraisal"
gem "rspec-rails"
gem "rails", "3.0.10"

gemspec :path=>"../"
2 changes: 0 additions & 2 deletions gemfiles/3.1.0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

source "http://rubygems.org"

gem "appraisal"
gem "rspec-rails"
gem "rails", "3.1.0"
gem "sass-rails"
gem "coffee-script"
Expand Down
2 changes: 2 additions & 0 deletions lib/paul_revere.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require 'paul_revere/version'

module PaulRevere
class Engine < Rails::Engine
end
Expand Down
3 changes: 3 additions & 0 deletions lib/paul_revere/version.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module PaulRevere
VERSION = '0.2.1'.freeze
end
27 changes: 19 additions & 8 deletions paul_revere.gemspec
Original file line number Diff line number Diff line change
@@ -1,15 +1,26 @@
$:.push File.expand_path("../lib", __FILE__)
require "paul_revere/version"

Gem::Specification.new do |s|
s.name = "paul_revere"
s.version = "0.2.1"
s.date = %q{2011-09-18}
s.email = "support@thoughtbot.com"
s.homepage = "https://github.com/thoughtbot/paul_revere"
s.summary = "Simple announcement plugin to include 'one off' style announcements in Rails web apps."
s.name = "paul_revere"
s.version = PaulRevere::VERSION.dup
s.platform = Gem::Platform::RUBY
s.authors = ['Nick Quaranto', 'Matt Jankowski', 'Joe Ferris', 'Christopher Meiklejohn', 'Tammer Saleh', 'Jason Morrison', 'Gabe Berke-Williams']
s.email = "support@thoughtbot.com"
s.homepage = "https://github.com/thoughtbot/paul_revere"
s.summary = "Simple announcement plugin to include 'one off' style announcements in Rails web apps."
s.description = "Paul Revere provides a model and helper methods to do one-off style announcements."
s.files = Dir["{app,lib}/**/*"] + ["MIT-LICENSE", "Rakefile", "Gemfile", "README.md", "init.rb"]
s.authors = ['Nick Quaranto', 'Matt Jankowski', 'Joe Ferris', 'Christopher Meiklejohn', 'Tammer Saleh', 'Jason Morrison', 'Gabe Berke-Williams']

s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]

s.add_dependency("rails", "~> 3.0")

s.add_development_dependency("rspec")
s.add_development_dependency("rspec-rails")
s.add_development_dependency("sqlite3")
s.add_development_dependency("mocha")
s.add_development_dependency("appraisal")
end

0 comments on commit 164349d

Please sign in to comment.