gom-script 0.2.0 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +8 -6
- data/Gemfile +1 -21
- data/Guardfile +12 -0
- data/gom-script.gemspec +20 -1
- data/lib/gom/script/version.rb +1 -1
- metadata +253 -32
- data/Gemfile.lock +0 -67
data/.gitignore
CHANGED
data/Gemfile
CHANGED
@@ -1,23 +1,3 @@
|
|
1
1
|
source :rubygems
|
2
2
|
|
3
|
-
#
|
4
|
-
gemspec
|
5
|
-
|
6
|
-
gem 'json'
|
7
|
-
gem 'rack'
|
8
|
-
gem 'mongrel', '>=1.2.0.pre2'
|
9
|
-
gem 'applix'
|
10
|
-
gem 'gom-core'
|
11
|
-
|
12
|
-
# Bundle gems for the local environment. Make sure to
|
13
|
-
# put test-only gems in this group so their generators
|
14
|
-
# and rake tasks are available in development mode:
|
15
|
-
group :development, :test do
|
16
|
-
gem 'wirble'
|
17
|
-
gem 'rspec'
|
18
|
-
gem 'fakeweb', '>= 1.2.7'
|
19
|
-
|
20
|
-
gem 'ruby-debug', :platforms => :mri_18
|
21
|
-
gem 'ruby-debug19', :platforms => :mri_19, :require => 'ruby-debug'
|
22
|
-
gem 'ruby-debug-base19', :platforms => :mri_19
|
23
|
-
end
|
3
|
+
gemspec # see gom-script.gemspec
|
data/Guardfile
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
# A sample Guardfile
|
2
|
+
# More info at https://github.com/guard/guard#readme
|
3
|
+
|
4
|
+
guard 'rspec', :version => 2, :cli => '-d' do
|
5
|
+
watch(%r{^spec/.+_spec\.rb$})
|
6
|
+
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
|
7
|
+
|
8
|
+
watch('spec/spec_helper.rb') { "spec" }
|
9
|
+
watch('lib/gom/remote.rb') { "spec" }
|
10
|
+
watch('*.gemspec') { "spec" }
|
11
|
+
watch('Gemfile') { "spec" }
|
12
|
+
end
|
data/gom-script.gemspec
CHANGED
@@ -14,7 +14,26 @@ Gem::Specification.new do |s|
|
|
14
14
|
gom-script script simplifies coding of clients and daemon which like to
|
15
15
|
listen on state change event in the GOM.
|
16
16
|
}
|
17
|
-
|
17
|
+
|
18
|
+
s.add_dependency 'json'
|
19
|
+
s.add_dependency 'rack'
|
20
|
+
s.add_dependency 'mongrel', '>=1.2.0.pre2'
|
21
|
+
s.add_dependency 'applix' # for OAttr in http_server
|
22
|
+
s.add_dependency 'gom-core', '~>0.2.2'
|
23
|
+
|
24
|
+
# development section
|
25
|
+
#
|
26
|
+
s.add_development_dependency 'rspec'
|
27
|
+
s.add_development_dependency 'rspec-mocks'
|
28
|
+
s.add_development_dependency 'fakeweb'
|
29
|
+
s.add_development_dependency 'guard'
|
30
|
+
s.add_development_dependency 'guard-rspec'
|
31
|
+
s.add_development_dependency 'growl'
|
32
|
+
if RUBY_PLATFORM.match /java/i
|
33
|
+
s.add_development_dependency 'ruby-debug'
|
34
|
+
else
|
35
|
+
s.add_development_dependency 'debugger'
|
36
|
+
end
|
18
37
|
|
19
38
|
s.files = `git ls-files`.split("\n")
|
20
39
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
data/lib/gom/script/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gom-script
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,8 +9,200 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
13
|
-
dependencies:
|
12
|
+
date: 2012-07-12 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: json
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: rack
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
38
|
+
type: :runtime
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: mongrel
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: 1.2.0.pre2
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 1.2.0.pre2
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: applix
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ! '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
type: :runtime
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: gom-core
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ~>
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: 0.2.2
|
86
|
+
type: :runtime
|
87
|
+
prerelease: false
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ~>
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: 0.2.2
|
94
|
+
- !ruby/object:Gem::Dependency
|
95
|
+
name: rspec
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
98
|
+
requirements:
|
99
|
+
- - ! '>='
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '0'
|
102
|
+
type: :development
|
103
|
+
prerelease: false
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
110
|
+
- !ruby/object:Gem::Dependency
|
111
|
+
name: rspec-mocks
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
113
|
+
none: false
|
114
|
+
requirements:
|
115
|
+
- - ! '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
122
|
+
requirements:
|
123
|
+
- - ! '>='
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0'
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: fakeweb
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
129
|
+
none: false
|
130
|
+
requirements:
|
131
|
+
- - ! '>='
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: '0'
|
134
|
+
type: :development
|
135
|
+
prerelease: false
|
136
|
+
version_requirements: !ruby/object:Gem::Requirement
|
137
|
+
none: false
|
138
|
+
requirements:
|
139
|
+
- - ! '>='
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: '0'
|
142
|
+
- !ruby/object:Gem::Dependency
|
143
|
+
name: guard
|
144
|
+
requirement: !ruby/object:Gem::Requirement
|
145
|
+
none: false
|
146
|
+
requirements:
|
147
|
+
- - ! '>='
|
148
|
+
- !ruby/object:Gem::Version
|
149
|
+
version: '0'
|
150
|
+
type: :development
|
151
|
+
prerelease: false
|
152
|
+
version_requirements: !ruby/object:Gem::Requirement
|
153
|
+
none: false
|
154
|
+
requirements:
|
155
|
+
- - ! '>='
|
156
|
+
- !ruby/object:Gem::Version
|
157
|
+
version: '0'
|
158
|
+
- !ruby/object:Gem::Dependency
|
159
|
+
name: guard-rspec
|
160
|
+
requirement: !ruby/object:Gem::Requirement
|
161
|
+
none: false
|
162
|
+
requirements:
|
163
|
+
- - ! '>='
|
164
|
+
- !ruby/object:Gem::Version
|
165
|
+
version: '0'
|
166
|
+
type: :development
|
167
|
+
prerelease: false
|
168
|
+
version_requirements: !ruby/object:Gem::Requirement
|
169
|
+
none: false
|
170
|
+
requirements:
|
171
|
+
- - ! '>='
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
- !ruby/object:Gem::Dependency
|
175
|
+
name: growl
|
176
|
+
requirement: !ruby/object:Gem::Requirement
|
177
|
+
none: false
|
178
|
+
requirements:
|
179
|
+
- - ! '>='
|
180
|
+
- !ruby/object:Gem::Version
|
181
|
+
version: '0'
|
182
|
+
type: :development
|
183
|
+
prerelease: false
|
184
|
+
version_requirements: !ruby/object:Gem::Requirement
|
185
|
+
none: false
|
186
|
+
requirements:
|
187
|
+
- - ! '>='
|
188
|
+
- !ruby/object:Gem::Version
|
189
|
+
version: '0'
|
190
|
+
- !ruby/object:Gem::Dependency
|
191
|
+
name: debugger
|
192
|
+
requirement: !ruby/object:Gem::Requirement
|
193
|
+
none: false
|
194
|
+
requirements:
|
195
|
+
- - ! '>='
|
196
|
+
- !ruby/object:Gem::Version
|
197
|
+
version: '0'
|
198
|
+
type: :development
|
199
|
+
prerelease: false
|
200
|
+
version_requirements: !ruby/object:Gem::Requirement
|
201
|
+
none: false
|
202
|
+
requirements:
|
203
|
+
- - ! '>='
|
204
|
+
- !ruby/object:Gem::Version
|
205
|
+
version: '0'
|
14
206
|
description: ! " \n gom-script script simplifies coding of clients and daemon which
|
15
207
|
like to\n listen on state change event in the GOM.\n "
|
16
208
|
email:
|
@@ -19,28 +211,50 @@ executables: []
|
|
19
211
|
extensions: []
|
20
212
|
extra_rdoc_files: []
|
21
213
|
files:
|
22
|
-
-
|
23
|
-
|
24
|
-
-
|
25
|
-
|
26
|
-
-
|
27
|
-
|
28
|
-
-
|
29
|
-
|
30
|
-
-
|
31
|
-
|
32
|
-
-
|
33
|
-
|
34
|
-
-
|
35
|
-
|
36
|
-
-
|
37
|
-
|
38
|
-
-
|
39
|
-
|
40
|
-
-
|
41
|
-
|
42
|
-
-
|
43
|
-
|
214
|
+
- !binary |-
|
215
|
+
LmRvY3VtZW50
|
216
|
+
- !binary |-
|
217
|
+
LmdpdGlnbm9yZQ==
|
218
|
+
- !binary |-
|
219
|
+
R2VtZmlsZQ==
|
220
|
+
- !binary |-
|
221
|
+
R3VhcmRmaWxl
|
222
|
+
- !binary |-
|
223
|
+
TElDRU5TRQ==
|
224
|
+
- !binary |-
|
225
|
+
UkVBRE1FLm1hcmtkb3du
|
226
|
+
- !binary |-
|
227
|
+
UmFrZWZpbGU=
|
228
|
+
- !binary |-
|
229
|
+
Z29tLXNjcmlwdC5nZW1zcGVj
|
230
|
+
- !binary |-
|
231
|
+
bGliL2dvbS1zY3JpcHQucmI=
|
232
|
+
- !binary |-
|
233
|
+
bGliL2dvbS9yZW1vdGUucmI=
|
234
|
+
- !binary |-
|
235
|
+
bGliL2dvbS9yZW1vdGUvY29ubmVjdGlvbi5yYg==
|
236
|
+
- !binary |-
|
237
|
+
bGliL2dvbS9yZW1vdGUvZGFlbW9uLnJi
|
238
|
+
- !binary |-
|
239
|
+
bGliL2dvbS9yZW1vdGUvZW50cnkucmI=
|
240
|
+
- !binary |-
|
241
|
+
bGliL2dvbS9yZW1vdGUvaHR0cF9zZXJ2ZXIucmI=
|
242
|
+
- !binary |-
|
243
|
+
bGliL2dvbS9yZW1vdGUvc3Vic2NyaXB0aW9uLnJi
|
244
|
+
- !binary |-
|
245
|
+
bGliL2dvbS9zY3JpcHQvdmVyc2lvbi5yYg==
|
246
|
+
- !binary |-
|
247
|
+
c3BlYy9nb20vcmVtb3RlL2Nvbm5lY3Rpb25fc3BlYy5yYg==
|
248
|
+
- !binary |-
|
249
|
+
c3BlYy9nb20vcmVtb3RlL2RhZW1vbl9zcGVjLnJi
|
250
|
+
- !binary |-
|
251
|
+
c3BlYy9nb20vcmVtb3RlL2h0dHBfc2VydmVyX3NwZWMucmI=
|
252
|
+
- !binary |-
|
253
|
+
c3BlYy9nb20vcmVtb3RlL3N1YnNjcmlwdGlvbl9zcGVjLnJi
|
254
|
+
- !binary |-
|
255
|
+
c3BlYy9zcGVjLm9wdHM=
|
256
|
+
- !binary |-
|
257
|
+
c3BlYy9zcGVjX2hlbHBlci5yYg==
|
44
258
|
homepage: http://github.com/crux/gom-script
|
45
259
|
licenses: []
|
46
260
|
post_install_message:
|
@@ -61,14 +275,21 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
61
275
|
version: '0'
|
62
276
|
requirements: []
|
63
277
|
rubyforge_project:
|
64
|
-
rubygems_version: 1.8.
|
278
|
+
rubygems_version: 1.8.23
|
65
279
|
signing_key:
|
66
280
|
specification_version: 3
|
67
281
|
summary: connecting scripts and daemons with a remote GOM instance
|
68
282
|
test_files:
|
69
|
-
-
|
70
|
-
|
71
|
-
-
|
72
|
-
|
73
|
-
-
|
74
|
-
|
283
|
+
- !binary |-
|
284
|
+
c3BlYy9nb20vcmVtb3RlL2Nvbm5lY3Rpb25fc3BlYy5yYg==
|
285
|
+
- !binary |-
|
286
|
+
c3BlYy9nb20vcmVtb3RlL2RhZW1vbl9zcGVjLnJi
|
287
|
+
- !binary |-
|
288
|
+
c3BlYy9nb20vcmVtb3RlL2h0dHBfc2VydmVyX3NwZWMucmI=
|
289
|
+
- !binary |-
|
290
|
+
c3BlYy9nb20vcmVtb3RlL3N1YnNjcmlwdGlvbl9zcGVjLnJi
|
291
|
+
- !binary |-
|
292
|
+
c3BlYy9zcGVjLm9wdHM=
|
293
|
+
- !binary |-
|
294
|
+
c3BlYy9zcGVjX2hlbHBlci5yYg==
|
295
|
+
has_rdoc:
|
data/Gemfile.lock
DELETED
@@ -1,67 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
gom-script (0.2.0)
|
5
|
-
|
6
|
-
GEM
|
7
|
-
remote: http://rubygems.org/
|
8
|
-
specs:
|
9
|
-
applix (0.3.8)
|
10
|
-
archive-tar-minitar (0.5.2)
|
11
|
-
columnize (0.3.6)
|
12
|
-
daemons (1.0.10)
|
13
|
-
diff-lcs (1.1.3)
|
14
|
-
fakeweb (1.3.0)
|
15
|
-
gem_plugin (0.2.3)
|
16
|
-
gom-core (0.2.0)
|
17
|
-
json (1.6.5)
|
18
|
-
linecache (0.46)
|
19
|
-
rbx-require-relative (> 0.0.4)
|
20
|
-
linecache19 (0.5.12)
|
21
|
-
ruby_core_source (>= 0.1.4)
|
22
|
-
mongrel (1.2.0.pre2)
|
23
|
-
daemons (~> 1.0.10)
|
24
|
-
gem_plugin (~> 0.2.3)
|
25
|
-
rack (1.4.0)
|
26
|
-
rbx-require-relative (0.0.5)
|
27
|
-
rspec (2.8.0)
|
28
|
-
rspec-core (~> 2.8.0)
|
29
|
-
rspec-expectations (~> 2.8.0)
|
30
|
-
rspec-mocks (~> 2.8.0)
|
31
|
-
rspec-core (2.8.0)
|
32
|
-
rspec-expectations (2.8.0)
|
33
|
-
diff-lcs (~> 1.1.2)
|
34
|
-
rspec-mocks (2.8.0)
|
35
|
-
ruby-debug (0.10.4)
|
36
|
-
columnize (>= 0.1)
|
37
|
-
ruby-debug-base (~> 0.10.4.0)
|
38
|
-
ruby-debug-base (0.10.4)
|
39
|
-
linecache (>= 0.3)
|
40
|
-
ruby-debug-base19 (0.11.25)
|
41
|
-
columnize (>= 0.3.1)
|
42
|
-
linecache19 (>= 0.5.11)
|
43
|
-
ruby_core_source (>= 0.1.4)
|
44
|
-
ruby-debug19 (0.11.6)
|
45
|
-
columnize (>= 0.3.1)
|
46
|
-
linecache19 (>= 0.5.11)
|
47
|
-
ruby-debug-base19 (>= 0.11.19)
|
48
|
-
ruby_core_source (0.1.5)
|
49
|
-
archive-tar-minitar (>= 0.5.2)
|
50
|
-
wirble (0.1.3)
|
51
|
-
|
52
|
-
PLATFORMS
|
53
|
-
ruby
|
54
|
-
|
55
|
-
DEPENDENCIES
|
56
|
-
applix
|
57
|
-
fakeweb (>= 1.2.7)
|
58
|
-
gom-core
|
59
|
-
gom-script!
|
60
|
-
json
|
61
|
-
mongrel (>= 1.2.0.pre2)
|
62
|
-
rack
|
63
|
-
rspec
|
64
|
-
ruby-debug
|
65
|
-
ruby-debug-base19
|
66
|
-
ruby-debug19
|
67
|
-
wirble
|