Skip to content

Commit

Permalink
Updating version handling
Browse files Browse the repository at this point in the history
  • Loading branch information
pjmorse committed Nov 1, 2012
1 parent d8e377b commit 66e8901
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
6 changes: 4 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ end
require 'rake'

require 'jeweler'
$:.push File.expand_path("../lib", __FILE__)
require 'jeditable_wysiwyg_rails/version'
Jeweler::Tasks.new do |gem|
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
gem.name = "jeditable_wysiwyg_rails"
Expand All @@ -19,6 +21,7 @@ Jeweler::Tasks.new do |gem|
gem.description = %Q{An edit-in-place gem using the JEditable jQuery plugin set up for the Rails 3 asset pipeline.}
gem.email = "pmorse@concord.org"
gem.authors = ["Aidan Feldman", "Parker Morse"]
gem.version = JeditableWysiwygRails::VERSION
# Include your dependencies below. Runtime dependencies are required when using your gem,
# and development dependencies are only needed for development (ie running rake tasks, tests, etc)
# gem.add_runtime_dependency 'jabber4r', '> 0.1'
Expand All @@ -41,8 +44,7 @@ task :default => :spec

require 'rdoc/task'
Rake::RDocTask.new do |rdoc|
version = File.exist?('VERSION') ? File.read('VERSION') : ""

version = JeditableWysiwygRails::VERSION
rdoc.rdoc_dir = 'rdoc'
rdoc.title = "jeditable_wysiwyg_rails #{version}"
rdoc.rdoc_files.include('README*')
Expand Down
1 change: 0 additions & 1 deletion VERSION

This file was deleted.

4 changes: 2 additions & 2 deletions jeditable_wysiwyg_rails.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Gem::Specification.new do |s|
s.name = "jeditable_wysiwyg_rails"
s.version = "0.0.1"
s.version = "0.1.0"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Aidan Feldman", "Parker Morse"]
Expand All @@ -22,7 +22,6 @@ Gem::Specification.new do |s|
"LICENSE.txt",
"README.md",
"Rakefile",
"VERSION",
"jeditable_wysiwyg_rails.gemspec",
"lib/assets/images/bold.png",
"lib/assets/images/clean.png",
Expand All @@ -48,6 +47,7 @@ Gem::Specification.new do |s|
"lib/jeditable_wysiwyg_rails/base.rb",
"lib/jeditable_wysiwyg_rails/engine.rb",
"lib/jeditable_wysiwyg_rails/helpers/jeditable_helper.rb",
"lib/jeditable_wysiwyg_rails/version.rb",
"spec/dummy/.gitignore",
"spec/dummy/Gemfile",
"spec/dummy/README",
Expand Down
3 changes: 3 additions & 0 deletions lib/jeditable_wysiwyg_rails/version.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module JeditableWysiwygRails
VERSION = "0.1.0"
end

0 comments on commit 66e8901

Please sign in to comment.