lita-slack 0.1.2 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
data/spec/spec_helper.rb CHANGED
@@ -1,2 +1,18 @@
1
+ require "simplecov"
2
+ require "coveralls"
3
+ SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
4
+ SimpleCov::Formatter::HTMLFormatter,
5
+ Coveralls::SimpleCov::Formatter
6
+ ]
7
+ SimpleCov.start { add_filter "/spec/" }
8
+
1
9
  require "lita-slack"
2
10
  require "lita/rspec"
11
+
12
+ Lita.version_3_compatibility_mode = false
13
+
14
+ RSpec.configure do |config|
15
+ config.mock_with :rspec do |mocks|
16
+ mocks.verify_partial_doubles = true
17
+ end
18
+ end
metadata CHANGED
@@ -1,43 +1,86 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lita-slack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ken J.
8
+ - Jimmy Cuadra
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2014-11-10 00:00:00.000000000 Z
12
+ date: 2014-12-10 00:00:00.000000000 Z
12
13
  dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: eventmachine
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - ">="
19
+ - !ruby/object:Gem::Version
20
+ version: '0'
21
+ type: :runtime
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - ">="
26
+ - !ruby/object:Gem::Version
27
+ version: '0'
28
+ - !ruby/object:Gem::Dependency
29
+ name: faraday
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - ">="
33
+ - !ruby/object:Gem::Version
34
+ version: '0'
35
+ type: :runtime
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ">="
40
+ - !ruby/object:Gem::Version
41
+ version: '0'
42
+ - !ruby/object:Gem::Dependency
43
+ name: faye-websocket
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - ">="
47
+ - !ruby/object:Gem::Version
48
+ version: 0.8.0
49
+ type: :runtime
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ version: 0.8.0
13
56
  - !ruby/object:Gem::Dependency
14
57
  name: lita
15
58
  requirement: !ruby/object:Gem::Requirement
16
59
  requirements:
17
60
  - - ">="
18
61
  - !ruby/object:Gem::Version
19
- version: '2.7'
62
+ version: 4.0.4
20
63
  type: :runtime
21
64
  prerelease: false
22
65
  version_requirements: !ruby/object:Gem::Requirement
23
66
  requirements:
24
67
  - - ">="
25
68
  - !ruby/object:Gem::Version
26
- version: '2.7'
69
+ version: 4.0.4
27
70
  - !ruby/object:Gem::Dependency
28
- name: lita-slack-handler
71
+ name: multi_json
29
72
  requirement: !ruby/object:Gem::Requirement
30
73
  requirements:
31
74
  - - ">="
32
75
  - !ruby/object:Gem::Version
33
- version: 0.2.1
76
+ version: '0'
34
77
  type: :runtime
35
78
  prerelease: false
36
79
  version_requirements: !ruby/object:Gem::Requirement
37
80
  requirements:
38
81
  - - ">="
39
82
  - !ruby/object:Gem::Version
40
- version: 0.2.1
83
+ version: '0'
41
84
  - !ruby/object:Gem::Dependency
42
85
  name: bundler
43
86
  requirement: !ruby/object:Gem::Requirement
@@ -52,6 +95,20 @@ dependencies:
52
95
  - - "~>"
53
96
  - !ruby/object:Gem::Version
54
97
  version: '1.3'
98
+ - !ruby/object:Gem::Dependency
99
+ name: rack-test
100
+ requirement: !ruby/object:Gem::Requirement
101
+ requirements:
102
+ - - ">="
103
+ - !ruby/object:Gem::Version
104
+ version: '0'
105
+ type: :development
106
+ prerelease: false
107
+ version_requirements: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - ">="
110
+ - !ruby/object:Gem::Version
111
+ version: '0'
55
112
  - !ruby/object:Gem::Dependency
56
113
  name: rake
57
114
  requirement: !ruby/object:Gem::Requirement
@@ -80,21 +137,67 @@ dependencies:
80
137
  - - ">="
81
138
  - !ruby/object:Gem::Version
82
139
  version: 3.0.0
140
+ - !ruby/object:Gem::Dependency
141
+ name: simplecov
142
+ requirement: !ruby/object:Gem::Requirement
143
+ requirements:
144
+ - - ">="
145
+ - !ruby/object:Gem::Version
146
+ version: '0'
147
+ type: :development
148
+ prerelease: false
149
+ version_requirements: !ruby/object:Gem::Requirement
150
+ requirements:
151
+ - - ">="
152
+ - !ruby/object:Gem::Version
153
+ version: '0'
154
+ - !ruby/object:Gem::Dependency
155
+ name: coveralls
156
+ requirement: !ruby/object:Gem::Requirement
157
+ requirements:
158
+ - - ">="
159
+ - !ruby/object:Gem::Version
160
+ version: '0'
161
+ type: :development
162
+ prerelease: false
163
+ version_requirements: !ruby/object:Gem::Requirement
164
+ requirements:
165
+ - - ">="
166
+ - !ruby/object:Gem::Version
167
+ version: '0'
83
168
  description: Lita adapter for Slack.
84
169
  email:
85
170
  - kenjij@gmail.com
171
+ - jimmy@jimmycuadra.com
86
172
  executables: []
87
173
  extensions: []
88
174
  extra_rdoc_files: []
89
175
  files:
90
176
  - ".gitignore"
177
+ - ".travis.yml"
91
178
  - Gemfile
92
179
  - LICENSE
93
180
  - README.md
94
181
  - Rakefile
95
182
  - lib/lita-slack.rb
96
183
  - lib/lita/adapters/slack.rb
184
+ - lib/lita/adapters/slack/api.rb
185
+ - lib/lita/adapters/slack/im_mapping.rb
186
+ - lib/lita/adapters/slack/message_handler.rb
187
+ - lib/lita/adapters/slack/rtm_connection.rb
188
+ - lib/lita/adapters/slack/slack_im.rb
189
+ - lib/lita/adapters/slack/slack_user.rb
190
+ - lib/lita/adapters/slack/team_data.rb
191
+ - lib/lita/adapters/slack/user_creator.rb
97
192
  - lita-slack.gemspec
193
+ - locales/en.yml
194
+ - spec/lita/adapters/slack/api_spec.rb
195
+ - spec/lita/adapters/slack/im_mapping_spec.rb
196
+ - spec/lita/adapters/slack/message_handler_spec.rb
197
+ - spec/lita/adapters/slack/rtm_connection_spec.rb
198
+ - spec/lita/adapters/slack/slack_im_spec.rb
199
+ - spec/lita/adapters/slack/slack_user_spec.rb
200
+ - spec/lita/adapters/slack/user_creator_spec.rb
98
201
  - spec/lita/adapters/slack_spec.rb
99
202
  - spec/spec_helper.rb
100
203
  homepage: https://github.com/kenjij/lita-slack
@@ -123,6 +226,13 @@ signing_key:
123
226
  specification_version: 4
124
227
  summary: Lita adapter for Slack.
125
228
  test_files:
229
+ - spec/lita/adapters/slack/api_spec.rb
230
+ - spec/lita/adapters/slack/im_mapping_spec.rb
231
+ - spec/lita/adapters/slack/message_handler_spec.rb
232
+ - spec/lita/adapters/slack/rtm_connection_spec.rb
233
+ - spec/lita/adapters/slack/slack_im_spec.rb
234
+ - spec/lita/adapters/slack/slack_user_spec.rb
235
+ - spec/lita/adapters/slack/user_creator_spec.rb
126
236
  - spec/lita/adapters/slack_spec.rb
127
237
  - spec/spec_helper.rb
128
238
  has_rdoc: