universal_ruby_whois 1.2.9 → 1.2.10

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.rdoc CHANGED
@@ -1,3 +1,6 @@
1
+ == 1/20/13
2
+ * Rails 3 activesupport support by Vasily Shmelev
3
+
1
4
  == 1/17/13
2
5
  * Update TLD output parsing rules by Vasily Shmelev
3
6
  * Know issue: creation date won't return for some TLDs
@@ -1,5 +1,12 @@
1
1
  require 'rubygems'
2
- require 'activesupport'
2
+
3
+ # Check which Activesupport gem is loaded
4
+ if Gem.loaded_specs['activesupport'].version >= Gem::Version.create("3.0")
5
+ require 'active_support/all'
6
+ else
7
+ require 'activesupport'
8
+ end
9
+
3
10
  require 'net/http'
4
11
  require 'uri'
5
12
  require 'time'
@@ -1,5 +1,5 @@
1
1
  PKG_NAME = 'universal_ruby_whois'
2
- PKG_VERSION = '1.2.9'
2
+ PKG_VERSION = '1.2.10'
3
3
  PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"
4
4
  # RUBY_FORGE_PROJECT = 'universalwhois'
5
5
  # RUBY_FORGE_USER = 'mlightner'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: universal_ruby_whois
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.9
4
+ version: 1.2.10
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire: name
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-16 00:00:00.000000000 Z
12
+ date: 2013-01-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport