Skip to content

Commit

Permalink
Just put the version in the gemspec directly.
Browse files Browse the repository at this point in the history
Simpler - let's design things so people don't need to check version during code.
  • Loading branch information
pat committed Sep 9, 2012
1 parent a88a09e commit 40eb909
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion lib/thinking_sphinx.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ def self.search_for_ids(query = '', options = {})
require 'thinking_sphinx/scopes'
require 'thinking_sphinx/search'
require 'thinking_sphinx/test'
require 'thinking_sphinx/version'
# Extended
require 'thinking_sphinx/active_record'
require 'thinking_sphinx/deltas'
Expand Down
3 changes: 0 additions & 3 deletions lib/thinking_sphinx/version.rb

This file was deleted.

3 changes: 1 addition & 2 deletions thinking-sphinx.gemspec
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
# -*- encoding: utf-8 -*-
$:.push File.expand_path('../lib', __FILE__)
require 'thinking_sphinx/version'

Gem::Specification.new do |s|
s.name = 'thinking-sphinx'
s.version = ThinkingSphinx::VERSION
s.version = '3.0.0.pre'
s.platform = Gem::Platform::RUBY
s.authors = ["Pat Allan"]
s.email = ["pat@freelancing-gods.com"]
Expand Down

0 comments on commit 40eb909

Please sign in to comment.