domo-rb 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/domo.rb +5 -0
- data/lib/domo/version.rb +1 -1
- metadata +4 -4
data/lib/domo.rb
CHANGED
@@ -29,6 +29,11 @@ module Domo
|
|
29
29
|
return parts[0..i].reverse.join(".")
|
30
30
|
end
|
31
31
|
|
32
|
+
def self.canonize(domain)
|
33
|
+
$stdout.puts "Domo#canonize deprecated. Please use Domo#canonicalize instead."
|
34
|
+
canonicalize(domain)
|
35
|
+
end
|
36
|
+
|
32
37
|
def strip_url(url)
|
33
38
|
url[/:\/\/(.[^\/]+)/, 1]
|
34
39
|
end
|
data/lib/domo/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: domo-rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-12-
|
12
|
+
date: 2011-12-07 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|
16
|
-
requirement: &
|
16
|
+
requirement: &18017040 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *18017040
|
25
25
|
description:
|
26
26
|
email: gurdotan@gmail.com
|
27
27
|
executables: []
|