cliaws 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/.gitignore CHANGED
@@ -1,2 +1,3 @@
1
1
  *.swp
2
2
  *.log
3
+ pkg
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ == 1.1.1 2008-04-17
2
+
3
+ * Renamed send to push for clisqs.
4
+
1
5
  == 1.1.0 2008-04-17
2
6
 
3
7
  * Implemented sqs command-line client.
data/bin/clisqs CHANGED
@@ -70,11 +70,11 @@ Main {
70
70
  end
71
71
  end
72
72
 
73
- mode("send") do
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 "Sends data from --data, data_file or STDIN to the named queue."
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.send(queue_name, data)
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
@@ -13,7 +13,7 @@ module Cliaws
13
13
  end
14
14
 
15
15
  # Adds a message in the queue.
16
- def send(qname, data)
16
+ def push(qname, data)
17
17
  q(qname).push(data)
18
18
  end
19
19
 
@@ -2,7 +2,7 @@ module Cliaws #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 1
4
4
  MINOR = 1
5
- TINY = 0
5
+ TINY = 1
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
data.tar.gz.sig CHANGED
@@ -1 +1,2 @@
1
- C�¡䵠��z��S��R��#�97y��7����m>CR� �1-�+�Sm3O!yJ0��}S_��ye�ύ��}2p����՜�^8�r|�t�-�?�^��"+ 8%��8�(��U�^���zBu��j���_Umz2f���Y�L�LBeY�?�2�DËM�-��^��K�5�V[�����+�e�����w���:e�����d�ƘJ�P��C?��,J�Yc�H(��c� ��6Îj�l�X�E%]��1
1
+ ����,���2"�����W���1�Od�T�N?��gW��,I(��&����F���w䤥��~�KtC:�(��'�y`Nǰ��$��?�ROI2�V
2
+ U�q�}ꄀ���\��
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cliaws
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Fran\xC3\xA7ois Beausoleil"
metadata.gz.sig CHANGED
Binary file