Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Adding an explicit leaderboard-version file

  • Loading branch information...
commit 51f08c338b58ab920a8c11e0ece12fb8ac62145b 1 parent 09e0cc9
@czarneckid czarneckid authored
View
3  leaderboard.gemspec
@@ -1,7 +1,7 @@
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
-require 'leaderboard'
+require 'leaderboard-version'
Gem::Specification.new do |s|
s.name = "leaderboard"
@@ -20,4 +20,5 @@ Gem::Specification.new do |s|
s.require_paths = ["lib"]
s.add_dependency('redis')
+ s.add_development_dependency('rake')
end
View
3  lib/leaderboard-version.rb
@@ -0,0 +1,3 @@
+class Leaderboard
+ VERSION = '2.0.1'
+end
View
3  lib/leaderboard.rb
@@ -1,8 +1,7 @@
require 'redis'
+require 'leaderboard-version'
class Leaderboard
- VERSION = '2.0.1'
-
DEFAULT_PAGE_SIZE = 25
DEFAULT_OPTIONS = {
:page_size => DEFAULT_PAGE_SIZE
Please sign in to comment.
Something went wrong with that request. Please try again.