Skip to content

Commit

Permalink
Jeweler uses symbols, not strings, as version keys
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruce Williams committed Jan 28, 2009
1 parent 31f4b7a commit a6964e7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions lib/fiveruns/dash/rails/version.rb
Expand Up @@ -79,9 +79,9 @@ def to_a


PARSED = YAML.load(File.read(File.dirname(__FILE__) << "/../../../../version.yml")) PARSED = YAML.load(File.read(File.dirname(__FILE__) << "/../../../../version.yml"))


MAJOR = PARSED['major'] MAJOR = PARSED[:major]
MINOR = PARSED['minor'] MINOR = PARSED[:minor]
TINY = PARSED['patch'] TINY = PARSED[:patch]


# The current version as a Version instance # The current version as a Version instance
CURRENT = new(MAJOR, MINOR, TINY) CURRENT = new(MAJOR, MINOR, TINY)
Expand Down
2 changes: 1 addition & 1 deletion version.yml
@@ -1,4 +1,4 @@
--- ---
:major: 0 :major: 0
:minor: 7 :minor: 7
:patch: 2 :patch: 3

0 comments on commit a6964e7

Please sign in to comment.