lita-locker 0.7.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +8 -14
- data/.travis.yml +3 -3
- data/README.md +3 -8
- data/UPGRADING.md +61 -0
- data/lib/lita/handlers/locker.rb +51 -68
- data/lib/lita/handlers/locker_events.rb +6 -2
- data/lib/lita/handlers/locker_http.rb +16 -6
- data/lib/lita/handlers/locker_labels.rb +85 -39
- data/lib/lita/handlers/locker_misc.rb +66 -19
- data/lib/lita/handlers/locker_resources.rb +51 -21
- data/lib/lita-locker.rb +23 -0
- data/lib/locker/label.rb +155 -48
- data/lib/locker/misc.rb +19 -4
- data/lib/locker/regex.rb +5 -3
- data/lib/locker/resource.rb +70 -35
- data/lita-locker.gemspec +9 -4
- data/locales/en.yml +31 -16
- data/spec/lita/handlers/locker_http_spec.rb +42 -4
- data/spec/lita/handlers/locker_labels_spec.rb +64 -6
- data/spec/lita/handlers/locker_misc_spec.rb +67 -8
- data/spec/lita/handlers/locker_resources_spec.rb +53 -6
- data/spec/lita/handlers/locker_spec.rb +82 -32
- data/templates/failed.erb +1 -0
- data/templates/failed.hipchat.erb +1 -0
- data/templates/failed.slack.erb +1 -0
- data/templates/lock.erb +1 -0
- data/templates/lock.hipchat.erb +1 -0
- data/templates/lock.slack.erb +1 -0
- data/templates/success.erb +1 -0
- data/templates/success.hipchat.erb +1 -0
- data/templates/success.slack.erb +1 -0
- data/templates/unlock.erb +1 -0
- data/templates/unlock.hipchat.erb +1 -0
- data/templates/unlock.slack.erb +1 -0
- metadata +47 -6
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lita-locker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Sigler
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-07-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: lita
|
@@ -16,14 +16,42 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 4.
|
19
|
+
version: '4.2'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 4.
|
26
|
+
version: '4.2'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: redis-objects
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: time-lord
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
27
55
|
- !ruby/object:Gem::Dependency
|
28
56
|
name: bundler
|
29
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -123,6 +151,7 @@ files:
|
|
123
151
|
- LICENSE
|
124
152
|
- README.md
|
125
153
|
- Rakefile
|
154
|
+
- UPGRADING.md
|
126
155
|
- lib/lita-locker.rb
|
127
156
|
- lib/lita/handlers/locker.rb
|
128
157
|
- lib/lita/handlers/locker_events.rb
|
@@ -143,12 +172,24 @@ files:
|
|
143
172
|
- spec/lita/handlers/locker_resources_spec.rb
|
144
173
|
- spec/lita/handlers/locker_spec.rb
|
145
174
|
- spec/spec_helper.rb
|
175
|
+
- templates/failed.erb
|
176
|
+
- templates/failed.hipchat.erb
|
177
|
+
- templates/failed.slack.erb
|
178
|
+
- templates/lock.erb
|
179
|
+
- templates/lock.hipchat.erb
|
180
|
+
- templates/lock.slack.erb
|
181
|
+
- templates/success.erb
|
182
|
+
- templates/success.hipchat.erb
|
183
|
+
- templates/success.slack.erb
|
184
|
+
- templates/unlock.erb
|
185
|
+
- templates/unlock.hipchat.erb
|
186
|
+
- templates/unlock.slack.erb
|
146
187
|
homepage: https://github.com/esigler/lita-locker
|
147
188
|
licenses:
|
148
189
|
- MIT
|
149
190
|
metadata:
|
150
191
|
lita_plugin_type: handler
|
151
|
-
post_install_message:
|
192
|
+
post_install_message: 'After upgrading to lita-locker 1.x, you should read: https://github.com/esigler/lita-locker/blob/master/UPGRADING.md'
|
152
193
|
rdoc_options: []
|
153
194
|
require_paths:
|
154
195
|
- lib
|
@@ -164,7 +205,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
164
205
|
version: '0'
|
165
206
|
requirements: []
|
166
207
|
rubyforge_project:
|
167
|
-
rubygems_version: 2.
|
208
|
+
rubygems_version: 2.4.5
|
168
209
|
signing_key:
|
169
210
|
specification_version: 4
|
170
211
|
summary: '"lock" and "unlock" arbitrary subjects'
|