lita-locker 0.5.3 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
data/spec/spec_helper.rb CHANGED
@@ -8,3 +8,15 @@ SimpleCov.start { add_filter '/spec/' }
8
8
 
9
9
  require 'lita-locker'
10
10
  require 'lita/rspec'
11
+ Lita.version_3_compatibility_mode = false
12
+
13
+ RSpec.configure do |config|
14
+ config.before do
15
+ registry.register_handler(Lita::Handlers::Locker)
16
+ registry.register_handler(Lita::Handlers::LockerEvents)
17
+ registry.register_handler(Lita::Handlers::LockerHttp)
18
+ registry.register_handler(Lita::Handlers::LockerLabels)
19
+ registry.register_handler(Lita::Handlers::LockerMisc)
20
+ registry.register_handler(Lita::Handlers::LockerResources)
21
+ end
22
+ end
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.5.3
4
+ version: 0.7.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: 2014-07-25 00:00:00.000000000 Z
11
+ date: 2014-12-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lita
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '3.2'
19
+ version: 4.0.1
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: '3.2'
26
+ version: 4.0.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -39,7 +39,7 @@ dependencies:
39
39
  - !ruby/object:Gem::Version
40
40
  version: '1.3'
41
41
  - !ruby/object:Gem::Dependency
42
- name: rake
42
+ name: coveralls
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - ">="
@@ -53,35 +53,35 @@ dependencies:
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
- name: rspec
56
+ name: rake
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - ">="
60
60
  - !ruby/object:Gem::Version
61
- version: 3.0.0
61
+ version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
- version: 3.0.0
68
+ version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
- name: simplecov
70
+ name: rspec
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - ">="
74
74
  - !ruby/object:Gem::Version
75
- version: '0'
75
+ version: 3.0.0
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
- version: '0'
82
+ version: 3.0.0
83
83
  - !ruby/object:Gem::Dependency
84
- name: coveralls
84
+ name: rubocop
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - ">="
@@ -95,7 +95,7 @@ dependencies:
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
- name: rubocop
98
+ name: simplecov
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - ">="
@@ -108,7 +108,7 @@ dependencies:
108
108
  - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
- description: "\"lock\" and \"unlock\" arbitrary subjects"
111
+ description: '"lock" and "unlock" arbitrary subjects'
112
112
  email:
113
113
  - me@esigler.com
114
114
  executables: []
@@ -118,15 +118,29 @@ files:
118
118
  - ".gitignore"
119
119
  - ".rubocop.yml"
120
120
  - ".travis.yml"
121
+ - CONTRIBUTING.md
121
122
  - Gemfile
122
123
  - LICENSE
123
124
  - README.md
124
125
  - Rakefile
125
- - TODO.md
126
126
  - lib/lita-locker.rb
127
127
  - lib/lita/handlers/locker.rb
128
+ - lib/lita/handlers/locker_events.rb
129
+ - lib/lita/handlers/locker_http.rb
130
+ - lib/lita/handlers/locker_labels.rb
131
+ - lib/lita/handlers/locker_misc.rb
132
+ - lib/lita/handlers/locker_resources.rb
133
+ - lib/locker/label.rb
134
+ - lib/locker/misc.rb
135
+ - lib/locker/regex.rb
136
+ - lib/locker/resource.rb
128
137
  - lita-locker.gemspec
129
138
  - locales/en.yml
139
+ - spec/lita/handlers/locker_events_spec.rb
140
+ - spec/lita/handlers/locker_http_spec.rb
141
+ - spec/lita/handlers/locker_labels_spec.rb
142
+ - spec/lita/handlers/locker_misc_spec.rb
143
+ - spec/lita/handlers/locker_resources_spec.rb
130
144
  - spec/lita/handlers/locker_spec.rb
131
145
  - spec/spec_helper.rb
132
146
  homepage: https://github.com/esigler/lita-locker
@@ -150,10 +164,15 @@ required_rubygems_version: !ruby/object:Gem::Requirement
150
164
  version: '0'
151
165
  requirements: []
152
166
  rubyforge_project:
153
- rubygems_version: 2.2.1
167
+ rubygems_version: 2.2.2
154
168
  signing_key:
155
169
  specification_version: 4
156
- summary: "\"lock\" and \"unlock\" arbitrary subjects"
170
+ summary: '"lock" and "unlock" arbitrary subjects'
157
171
  test_files:
172
+ - spec/lita/handlers/locker_events_spec.rb
173
+ - spec/lita/handlers/locker_http_spec.rb
174
+ - spec/lita/handlers/locker_labels_spec.rb
175
+ - spec/lita/handlers/locker_misc_spec.rb
176
+ - spec/lita/handlers/locker_resources_spec.rb
158
177
  - spec/lita/handlers/locker_spec.rb
159
178
  - spec/spec_helper.rb
data/TODO.md DELETED
@@ -1,5 +0,0 @@
1
- Things to do:
2
-
3
- * Better user management (meaning use the actual Lita user ID)
4
- * User mentions in responses (if possible)
5
- * Make emoji optional (since not all people use Hipchat)