spstrigger_execute 0.3.1 → 0.3.3
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.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/spstrigger_execute.rb +8 -2
- metadata +5 -5
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4d9f6b1af239118b474670dc39eadd4dea20b808
|
|
4
|
+
data.tar.gz: bcc1f1f2dd28e7abc4ecd2fd92b2fbcda41ec8ff
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2456fcf67ee096420d72fe7c308f34f2269d18d5a92ca5c8e9180169efc5afdc4978c3876f9ee0d29ede056cb50e9107ef1709ec1fd6a76992eea6aba36f22e2
|
|
7
|
+
data.tar.gz: 2e4961effb5dbb80db55baef7003188d5e0186376b979f4e8bf0b920a3c6a73a026c6253bb8c15dc690cf93c6deb1e8b7dcf06639565e4104da04f6e27cfbb9f
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
Binary file
|
data/lib/spstrigger_execute.rb
CHANGED
|
@@ -18,12 +18,14 @@ class SPSTriggerExecute
|
|
|
18
18
|
|
|
19
19
|
else
|
|
20
20
|
|
|
21
|
-
buffer, _ = RXFHelper.read x
|
|
22
|
-
|
|
21
|
+
buffer, _ = RXFHelper.read x
|
|
22
|
+
puts 'buffer : ' + buffer.inspect
|
|
23
|
+
buffer[/^<\?dynarex /] ? Dynarex.new.import(buffer) : Dynarex.new(buffer)
|
|
23
24
|
|
|
24
25
|
end
|
|
25
26
|
|
|
26
27
|
@patterns = dx.to_h
|
|
28
|
+
puts '@patterns : ' + @patterns.inspect
|
|
27
29
|
|
|
28
30
|
if reg and polyrexdoc then
|
|
29
31
|
|
|
@@ -111,10 +113,14 @@ class SPSTriggerExecute
|
|
|
111
113
|
a += h[:topic].captures if h[:topic] && h[:topic].captures.any?
|
|
112
114
|
a += h[:msg].captures if h[:msg]
|
|
113
115
|
|
|
116
|
+
puts 'row : ' + @patterns[h[:index].to_i - 1].inspect
|
|
114
117
|
jobs = @patterns[h[:index].to_i - 1][:job]
|
|
118
|
+
puts 'jobs : ' + jobs.inspect
|
|
115
119
|
|
|
116
120
|
jobs.split(/\s*;\s*/).each do |job|
|
|
117
121
|
|
|
122
|
+
|
|
123
|
+
puts 'job : ' + job.inspect
|
|
118
124
|
job_args = job.split + a
|
|
119
125
|
|
|
120
126
|
if job[/^\/\//] then
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: spstrigger_execute
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- James Robertson
|
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
|
31
31
|
rlSMrvljzPJPts27UIPIfU02mkTZzELneWPUEQlIK/ADjdiGu2uxlWT5g77gwM+g
|
|
32
32
|
fYtWdC+NEqa0rg==
|
|
33
33
|
-----END CERTIFICATE-----
|
|
34
|
-
date: 2015-03-
|
|
34
|
+
date: 2015-03-29 00:00:00.000000000 Z
|
|
35
35
|
dependencies:
|
|
36
36
|
- !ruby/object:Gem::Dependency
|
|
37
37
|
name: dynarex
|
|
@@ -42,7 +42,7 @@ dependencies:
|
|
|
42
42
|
version: '1.5'
|
|
43
43
|
- - ">="
|
|
44
44
|
- !ruby/object:Gem::Version
|
|
45
|
-
version: 1.5.
|
|
45
|
+
version: 1.5.12
|
|
46
46
|
type: :runtime
|
|
47
47
|
prerelease: false
|
|
48
48
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -52,7 +52,7 @@ dependencies:
|
|
|
52
52
|
version: '1.5'
|
|
53
53
|
- - ">="
|
|
54
54
|
- !ruby/object:Gem::Version
|
|
55
|
-
version: 1.5.
|
|
55
|
+
version: 1.5.12
|
|
56
56
|
- !ruby/object:Gem::Dependency
|
|
57
57
|
name: chronic_between
|
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -120,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
120
120
|
version: '0'
|
|
121
121
|
requirements: []
|
|
122
122
|
rubyforge_project:
|
|
123
|
-
rubygems_version: 2.
|
|
123
|
+
rubygems_version: 2.4.6
|
|
124
124
|
signing_key:
|
|
125
125
|
specification_version: 4
|
|
126
126
|
summary: An SPS client built for reponding to messages which match keywords and conditions.
|
metadata.gz.sig
CHANGED
|
Binary file
|