cliaws 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/History.txt +4 -0
- data/bin/clisqs +3 -3
- data/lib/cliaws/sqs.rb +1 -1
- data/lib/cliaws/version.rb +1 -1
- data.tar.gz.sig +2 -1
- metadata +1 -1
- metadata.gz.sig +0 -0
data/.gitignore
CHANGED
data/History.txt
CHANGED
data/bin/clisqs
CHANGED
@@ -70,11 +70,11 @@ Main {
|
|
70
70
|
end
|
71
71
|
end
|
72
72
|
|
73
|
-
mode("
|
73
|
+
mode("push") do
|
74
74
|
mixin :qname
|
75
75
|
option("data") { optional; argument_required }
|
76
76
|
argument("data_file") { optional; argument_required }
|
77
|
-
description "
|
77
|
+
description "Pushes (sends) data from --data, data_file or STDIN to the named queue."
|
78
78
|
def run
|
79
79
|
data = case
|
80
80
|
when params["data"].given?
|
@@ -84,7 +84,7 @@ Main {
|
|
84
84
|
else
|
85
85
|
STDIN.read
|
86
86
|
end
|
87
|
-
Cliaws.sqs.
|
87
|
+
Cliaws.sqs.push(queue_name, data)
|
88
88
|
puts "Pushed #{data.size} bytes to queue #{queue_name}"
|
89
89
|
end
|
90
90
|
end
|
data/lib/cliaws/sqs.rb
CHANGED
data/lib/cliaws/version.rb
CHANGED
data.tar.gz.sig
CHANGED
@@ -1 +1,2 @@
|
|
1
|
-
|
1
|
+
����,���2"�����W���1�Od�T�N?��gW��,I(��&����F���w䤥��~�KtC:�(��'�y`Nǰ��$��?�R�OI2�V
|
2
|
+
U�q�}ꄀ���\��
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|