Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Files in lib/ should not depend on files outside it.

  • Loading branch information...
commit 10d6d3ae6c8ac34a9cd3cf14208bc79043fc5444 1 parent f3fa614
José Valim josevalim authored
Showing with 2 additions and 19 deletions.
  1. +1 −1  Rakefile
  2. +0 −4 VERSION.yml
  3. +1 −14 lib/orm_adapter/version.rb
2  Rakefile
View
@@ -16,7 +16,7 @@ begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "orm_adapter"
- gem.version = OrmAdapter::Version::String
+ gem.version = OrmAdapter::VERSION
gem.summary = %Q{Provides a single point of entry for using basic features of ruby ORMs}
gem.description = %Q{Provides a single point of entry for using basic features of ruby ORMs}
gem.email = "ian.w.white@gmail.com"
4 VERSION.yml
View
@@ -1,4 +0,0 @@
----
-:major: 0
-:minor: 0
-:patch: 1
15 lib/orm_adapter/version.rb
View
@@ -1,16 +1,3 @@
-require 'yaml'
-
module OrmAdapter
- module Version
- Hash = YAML.load_file(File.dirname(__FILE__) + '/../../VERSION.yml')
- Major = Hash[:major]
- Minor = Hash[:minor]
- Patch = Hash[:patch]
- Build = Hash[:build]
- String = "#{Major}.#{Minor}.#{Patch}#{".#{Build}" if Build}"
-
- def self.to_s
- String
- end
- end
+ VERSION = "0.0.1"
end
Please sign in to comment.
Something went wrong with that request. Please try again.