tunecore-announcer 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data.tar.gz.sig CHANGED
Binary file
data/.idea/workspace.xml CHANGED
@@ -21,16 +21,25 @@
21
21
  <file leaf-file-name="announcer" pinned="false" current="false" current-in-tab="false">
22
22
  <entry file="file://$PROJECT_DIR$/bin/announcer">
23
23
  <provider selected="true" editor-type-id="text-editor">
24
- <state line="76" column="20" selection-start="1985" selection-end="1985" vertical-scroll-proportion="0.0">
24
+ <state line="14" column="16" selection-start="360" selection-end="360" vertical-scroll-proportion="0.0">
25
25
  <folding />
26
26
  </state>
27
27
  </provider>
28
28
  </entry>
29
29
  </file>
30
- <file leaf-file-name="xmpp_connection.rb" pinned="false" current="true" current-in-tab="true">
30
+ <file leaf-file-name="tunecore-announcer.rb" pinned="false" current="true" current-in-tab="true">
31
+ <entry file="file://$PROJECT_DIR$/lib/tunecore-announcer.rb">
32
+ <provider selected="true" editor-type-id="text-editor">
33
+ <state line="4" column="18" selection-start="181" selection-end="181" vertical-scroll-proportion="0.05381166">
34
+ <folding />
35
+ </state>
36
+ </provider>
37
+ </entry>
38
+ </file>
39
+ <file leaf-file-name="xmpp_connection.rb" pinned="false" current="false" current-in-tab="false">
31
40
  <entry file="file://$PROJECT_DIR$/lib/tunecore-announcer/xmpp_connection.rb">
32
41
  <provider selected="true" editor-type-id="text-editor">
33
- <state line="36" column="26" selection-start="786" selection-end="786" vertical-scroll-proportion="0.3957399">
42
+ <state line="19" column="133" selection-start="404" selection-end="404" vertical-scroll-proportion="0.0">
34
43
  <folding />
35
44
  </state>
36
45
  </provider>
@@ -54,7 +63,88 @@
54
63
  <ConfirmationsSetting value="0" id="Remove" />
55
64
  </component>
56
65
  <component name="ProjectPane">
57
- <subPane />
66
+ <subPane>
67
+ <PATH>
68
+ <PATH_ELEMENT>
69
+ <option name="myItemId" value="tunecore-announcer" />
70
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
71
+ </PATH_ELEMENT>
72
+ </PATH>
73
+ <PATH>
74
+ <PATH_ELEMENT>
75
+ <option name="myItemId" value="tunecore-announcer" />
76
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
77
+ </PATH_ELEMENT>
78
+ <PATH_ELEMENT>
79
+ <option name="myItemId" value="tunecore-announcer" />
80
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
81
+ </PATH_ELEMENT>
82
+ </PATH>
83
+ <PATH>
84
+ <PATH_ELEMENT>
85
+ <option name="myItemId" value="tunecore-announcer" />
86
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
87
+ </PATH_ELEMENT>
88
+ <PATH_ELEMENT>
89
+ <option name="myItemId" value="tunecore-announcer" />
90
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
91
+ </PATH_ELEMENT>
92
+ <PATH_ELEMENT>
93
+ <option name="myItemId" value="lib" />
94
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
95
+ </PATH_ELEMENT>
96
+ </PATH>
97
+ <PATH>
98
+ <PATH_ELEMENT>
99
+ <option name="myItemId" value="tunecore-announcer" />
100
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
101
+ </PATH_ELEMENT>
102
+ <PATH_ELEMENT>
103
+ <option name="myItemId" value="tunecore-announcer" />
104
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
105
+ </PATH_ELEMENT>
106
+ <PATH_ELEMENT>
107
+ <option name="myItemId" value="lib" />
108
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
109
+ </PATH_ELEMENT>
110
+ <PATH_ELEMENT>
111
+ <option name="myItemId" value="xmpp4r-simple" />
112
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
113
+ </PATH_ELEMENT>
114
+ </PATH>
115
+ <PATH>
116
+ <PATH_ELEMENT>
117
+ <option name="myItemId" value="tunecore-announcer" />
118
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
119
+ </PATH_ELEMENT>
120
+ <PATH_ELEMENT>
121
+ <option name="myItemId" value="tunecore-announcer" />
122
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
123
+ </PATH_ELEMENT>
124
+ <PATH_ELEMENT>
125
+ <option name="myItemId" value="lib" />
126
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
127
+ </PATH_ELEMENT>
128
+ <PATH_ELEMENT>
129
+ <option name="myItemId" value="tunecore-announcer" />
130
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
131
+ </PATH_ELEMENT>
132
+ </PATH>
133
+ <PATH>
134
+ <PATH_ELEMENT>
135
+ <option name="myItemId" value="tunecore-announcer" />
136
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
137
+ </PATH_ELEMENT>
138
+ <PATH_ELEMENT>
139
+ <option name="myItemId" value="tunecore-announcer" />
140
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
141
+ </PATH_ELEMENT>
142
+ <PATH_ELEMENT>
143
+ <option name="myItemId" value="bin" />
144
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
145
+ </PATH_ELEMENT>
146
+ </PATH>
147
+ </subPane>
58
148
  </component>
59
149
  <component name="ProjectReloadState">
60
150
  <option name="STATE" value="0" />
@@ -180,7 +270,7 @@
180
270
  </todo-panel>
181
271
  </component>
182
272
  <component name="ToolWindowManager">
183
- <frame x="-1864" y="170" width="1524" height="1043" extended-state="0" />
273
+ <frame x="-1823" y="185" width="1524" height="1043" extended-state="0" />
184
274
  <editor active="true" />
185
275
  <layout>
186
276
  <window_info id="Web Preview" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="4" side_tool="false" />
@@ -188,9 +278,9 @@
188
278
  <window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" />
189
279
  <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3297414" sideWeight="0.5" order="7" side_tool="false" />
190
280
  <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="11" side_tool="false" />
191
- <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.22933333" sideWeight="0.6627155" order="0" side_tool="false" />
281
+ <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.22933333" sideWeight="0.6627155" order="0" side_tool="false" />
192
282
  <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="8" side_tool="false" />
193
- <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" />
283
+ <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" />
194
284
  <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3297414" sideWeight="0.5" order="6" side_tool="false" />
195
285
  <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="1" side_tool="false" />
196
286
  <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="10" side_tool="false" />
@@ -241,13 +331,6 @@
241
331
  </state>
242
332
  </provider>
243
333
  </entry>
244
- <entry file="file://$PROJECT_DIR$/lib/tunecore-announcer.rb">
245
- <provider selected="true" editor-type-id="text-editor">
246
- <state line="11" column="53" selection-start="360" selection-end="360" vertical-scroll-proportion="0.0">
247
- <folding />
248
- </state>
249
- </provider>
250
- </entry>
251
334
  <entry file="file://$PROJECT_DIR$/lib/tunecore-announcer/utils.rb">
252
335
  <provider selected="true" editor-type-id="text-editor">
253
336
  <state line="2" column="29" selection-start="61" selection-end="61" vertical-scroll-proportion="0.0">
@@ -269,16 +352,23 @@
269
352
  </state>
270
353
  </provider>
271
354
  </entry>
355
+ <entry file="file://$PROJECT_DIR$/lib/tunecore-announcer/xmpp_connection.rb">
356
+ <provider selected="true" editor-type-id="text-editor">
357
+ <state line="19" column="133" selection-start="404" selection-end="404" vertical-scroll-proportion="0.0">
358
+ <folding />
359
+ </state>
360
+ </provider>
361
+ </entry>
272
362
  <entry file="file://$PROJECT_DIR$/bin/announcer">
273
363
  <provider selected="true" editor-type-id="text-editor">
274
- <state line="76" column="20" selection-start="1985" selection-end="1985" vertical-scroll-proportion="0.0">
364
+ <state line="14" column="16" selection-start="360" selection-end="360" vertical-scroll-proportion="0.0">
275
365
  <folding />
276
366
  </state>
277
367
  </provider>
278
368
  </entry>
279
- <entry file="file://$PROJECT_DIR$/lib/tunecore-announcer/xmpp_connection.rb">
369
+ <entry file="file://$PROJECT_DIR$/lib/tunecore-announcer.rb">
280
370
  <provider selected="true" editor-type-id="text-editor">
281
- <state line="36" column="26" selection-start="786" selection-end="786" vertical-scroll-proportion="0.3957399">
371
+ <state line="4" column="18" selection-start="181" selection-end="181" vertical-scroll-proportion="0.05381166">
282
372
  <folding />
283
373
  </state>
284
374
  </provider>
data/bin/announcer CHANGED
@@ -73,6 +73,11 @@ trap("INT") do
73
73
  exit
74
74
  end
75
75
 
76
+ trap("SIGTERM") do
77
+ jabber.disconnect
78
+ exit
79
+ end
80
+
76
81
  while true do
77
82
  jabber.status(:chat, "#{`ps -ef | wc -l`} processes running")
78
83
  sleep 60
@@ -2,7 +2,7 @@ $:.unshift(File.dirname(__FILE__)) unless
2
2
  $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
3
3
 
4
4
  module TunecoreAnnouncer
5
- VERSION = '0.0.1'
5
+ VERSION = '0.0.2'
6
6
 
7
7
  require "optparse"
8
8
  require 'ostruct'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tunecore-announcer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Kane
@@ -30,7 +30,7 @@ cert_chain:
30
30
  f3TSOQ==
31
31
  -----END CERTIFICATE-----
32
32
 
33
- date: 2008-11-14 00:00:00 -05:00
33
+ date: 2008-11-17 00:00:00 -05:00
34
34
  default_executable:
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
metadata.gz.sig CHANGED
@@ -1,3 +1,2 @@
1
- r�IQw��-�2��0�崆k�^�Z��]�G��}���,oG
2
- ����(Dq��Q�R�s�����|Kk��y@c����j�>��Q��_��=q�]��~s���ʋ�~W.��K9�C�u��M��g3N�:��#�{����&yl���D�ڬ��a�
3
- �bps
1
+ ��Z��FP�~z�iԅ�X++΀}t[t�g<����&�fp
2
+ 9#R��O&J����\i/1<�/hY0cBY'Fw�X���'�do�w�y�d��u�����= �:�x���'�k*�qr}B��{�&����.-�.�㛟m���ZM���'�&�