messenger 0.3.1 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/messenger +1 -1
- data/lib/messenger/messenger.rb +0 -12
- data/lib/messenger/version.rb +1 -1
- metadata +2 -2
data/bin/messenger
CHANGED
@@ -39,7 +39,7 @@ else
|
|
39
39
|
end
|
40
40
|
|
41
41
|
trollop_options = Trollop::options do
|
42
|
-
version "Messenger #{Messenger
|
42
|
+
version "Messenger #{Messenger::VERSION} (c) Zencoder Inc. All rights reserved, etc."
|
43
43
|
banner <<-EOS
|
44
44
|
Messenger makes sending messages easy.
|
45
45
|
|
data/lib/messenger/messenger.rb
CHANGED
@@ -3,18 +3,6 @@ require 'base64'
|
|
3
3
|
|
4
4
|
module Messenger
|
5
5
|
|
6
|
-
MESSAGER_VERSION = [0,1] unless defined?(MESSAGER_VERSION)
|
7
|
-
APP_ROOT = File.expand_path(File.dirname(__FILE__) + '/..') unless defined?(APP_ROOT)
|
8
|
-
|
9
|
-
def self.version
|
10
|
-
MESSAGER_VERSION.join(".")
|
11
|
-
end
|
12
|
-
|
13
|
-
def self.root
|
14
|
-
APP_ROOT
|
15
|
-
end
|
16
|
-
|
17
|
-
|
18
6
|
def self.valid_url?(url)
|
19
7
|
service_handler = handler(url)
|
20
8
|
service_handler.valid_url?(url)
|
data/lib/messenger/version.rb
CHANGED