Permalink
Browse files

Changed version components to local variables

  • Loading branch information...
1 parent 1ff003a commit 1b0d0e526564b7d6cfcf9882f111258725c5ff95 Sasha Gerrand committed Nov 15, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 lib/bigcommerce/version.rb
@@ -1,6 +1,6 @@
module Bigcommerce
- MAJOR = 0 unless defined? Bigcommerce::MAJOR
- MINOR = 0 unless defined? Bigcommerce::MINOR
- PATCH = 6 unless defined? Bigcommerce::PATCH
- VERSION = [MAJOR, MINOR, PATCH].join('.') unless defined? Bigcommerce::VERSION
+ major = 0
+ minor = 0
+ patch = 6
+ VERSION = [major, minor, patch].join('.') unless defined? Bigcommerce::VERSION
end

0 comments on commit 1b0d0e5

Please sign in to comment.