mirror of
https://github.com/jnunemaker/httparty
synced 2023-03-27 23:23:07 -04:00
Replace Version with VERSION constant
Additionally, removed the version.rb file as I don't think it was being used.
This commit is contained in:
parent
9b978214e0
commit
cbbdd84861
3 changed files with 3 additions and 4 deletions
1
History
1
History
|
@ -6,6 +6,7 @@
|
|||
|
||||
* minor enhancements
|
||||
* HTTParty#debug_output prints debugging information for the current request (iwarshak)
|
||||
* HTTParty::VERSION now available
|
||||
|
||||
== 0.5.0 2009-12-07
|
||||
* bug fixes
|
||||
|
|
|
@ -11,6 +11,8 @@ require dir + 'httparty/module_inheritable_attributes'
|
|||
require dir + 'httparty/cookie_hash'
|
||||
|
||||
module HTTParty
|
||||
VERSION = "0.5.0".freeze
|
||||
|
||||
module AllowedFormatsDeprecation
|
||||
def const_missing(const)
|
||||
if const.to_s =~ /AllowedFormats$/
|
||||
|
@ -298,4 +300,3 @@ require dir + 'httparty/exceptions'
|
|||
require dir + 'httparty/parser'
|
||||
require dir + 'httparty/request'
|
||||
require dir + 'httparty/response'
|
||||
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
module HTTParty #:nodoc:
|
||||
Version = '0.5.0'
|
||||
end
|
Loading…
Add table
Reference in a new issue