dev_training_bot 1.1.2 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 649da96f5a5ddadc3e0ccdbbfabe42528160b8efcdd6f9f6fc6406f21d92971b
4
- data.tar.gz: be5d32093dc1ceb7cd151a13d17a7fd4235baaf3c93eb5834f4dd2b4900daa33
3
+ metadata.gz: cff88592b7c0b24bbf988fd212f03c973c35273e05b17e0ab889ee6d3382872b
4
+ data.tar.gz: 0e365d0da5c97e8fd42f604176227b99de5d8192ef39f15b4644b00c5659e6f9
5
5
  SHA512:
6
- metadata.gz: 91e5a0e2462d9da04bbb42d7ab7d00c943845e501f51fe0cbf499c5aeb043f10fd486a836eb9115a581536a0495af0078ea69ac127cde2630d57fbe69ce62448
7
- data.tar.gz: 558b77f59f174dcaeae38c1862e182cb312d3e90c30fef3a282199454f971cd868e7d8690aad00a33792901c246a02b25b5ceecade97c5428a1e656deaaf94cf
6
+ metadata.gz: fa411e855737cbac03ecae0f784fa4442879a627f95b999d118b529615c047f27ea987eae38d13c826fb0abaeb20c214cce4dd83094e2ed48d3b6550d6aede6d
7
+ data.tar.gz: a51cf6731d5a5efbc6d833cf852b58a009382f9e1e7c471ba4f839f711679edd70286abea899f5601cdc0464a1483325120faf897393d9df35b31e154247db5b
@@ -1,8 +1,9 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dev_training_bot (1.1.2)
4
+ dev_training_bot (1.2.0)
5
5
  chronic (~> 0.10)
6
+ dotenv (~> 2.7)
6
7
  google-api-client (~> 0.23)
7
8
  launchy (~> 2.4)
8
9
  slack-ruby-client (~> 0.11)
@@ -11,49 +12,50 @@ PATH
11
12
  GEM
12
13
  remote: https://rubygems.org/
13
14
  specs:
14
- activesupport (5.2.0)
15
+ activesupport (6.0.0)
15
16
  concurrent-ruby (~> 1.0, >= 1.0.2)
16
17
  i18n (>= 0.7, < 2)
17
18
  minitest (~> 5.1)
18
19
  tzinfo (~> 1.1)
19
- addressable (2.5.2)
20
+ zeitwerk (~> 2.1, >= 2.1.8)
21
+ addressable (2.6.0)
20
22
  public_suffix (>= 2.0.2, < 4.0)
21
23
  awesome_print (1.8.0)
22
- byebug (10.0.2)
24
+ byebug (11.0.1)
23
25
  chronic (0.10.2)
24
26
  coderay (1.1.2)
25
- concurrent-ruby (1.0.5)
27
+ concurrent-ruby (1.1.5)
26
28
  crack (0.4.3)
27
29
  safe_yaml (~> 1.0.0)
28
30
  declarative (0.0.10)
29
31
  declarative-option (0.1.0)
30
32
  diff-lcs (1.3)
31
- dotenv (2.5.0)
32
- factory_bot (4.10.0)
33
- activesupport (>= 3.0.0)
34
- faraday (0.15.2)
33
+ dotenv (2.7.5)
34
+ factory_bot (5.0.2)
35
+ activesupport (>= 4.2.0)
36
+ faraday (0.15.4)
35
37
  multipart-post (>= 1.2, < 3)
36
- faraday_middleware (0.12.2)
38
+ faraday_middleware (0.13.1)
37
39
  faraday (>= 0.7.4, < 1.0)
38
- ffi (1.9.25)
40
+ ffi (1.11.1)
39
41
  formatador (0.2.5)
40
- gli (2.17.1)
41
- google-api-client (0.23.0)
42
+ gli (2.18.2)
43
+ google-api-client (0.30.8)
42
44
  addressable (~> 2.5, >= 2.5.1)
43
- googleauth (>= 0.5, < 0.7.0)
45
+ googleauth (>= 0.5, < 0.10.0)
44
46
  httpclient (>= 2.8.1, < 3.0)
45
- mime-types (~> 3.0)
47
+ mini_mime (~> 1.0)
46
48
  representable (~> 3.0)
47
49
  retriable (>= 2.0, < 4.0)
48
- googleauth (0.6.2)
50
+ signet (~> 0.10)
51
+ googleauth (0.9.0)
49
52
  faraday (~> 0.12)
50
53
  jwt (>= 1.4, < 3.0)
51
- logging (~> 2.0)
52
- memoist (~> 0.12)
54
+ memoist (~> 0.16)
53
55
  multi_json (~> 1.11)
54
- os (~> 0.9)
56
+ os (>= 0.9, < 2.0)
55
57
  signet (~> 0.7)
56
- guard (2.14.2)
58
+ guard (2.15.0)
57
59
  formatador (>= 0.2.4)
58
60
  listen (>= 2.7, < 4.0)
59
61
  lumberjack (>= 1.0.12, < 2.0)
@@ -67,92 +69,87 @@ GEM
67
69
  guard (~> 2.1)
68
70
  guard-compat (~> 1.1)
69
71
  rspec (>= 2.99.0, < 4.0)
70
- hashdiff (0.3.7)
71
- hashie (3.5.7)
72
+ hashdiff (1.0.0)
73
+ hashie (3.6.0)
72
74
  httpclient (2.8.3)
73
- i18n (1.0.1)
75
+ i18n (1.6.0)
74
76
  concurrent-ruby (~> 1.0)
75
- jwt (2.1.0)
77
+ jwt (2.2.1)
76
78
  launchy (2.4.3)
77
79
  addressable (~> 2.3)
78
80
  listen (3.1.5)
79
81
  rb-fsevent (~> 0.9, >= 0.9.4)
80
82
  rb-inotify (~> 0.9, >= 0.9.7)
81
83
  ruby_dep (~> 1.2)
82
- little-plugger (1.1.4)
83
- logging (2.2.2)
84
- little-plugger (~> 1.1)
85
- multi_json (~> 1.10)
86
84
  lumberjack (1.0.13)
87
85
  memoist (0.16.0)
88
- method_source (0.9.0)
89
- mime-types (3.1)
90
- mime-types-data (~> 3.2015)
91
- mime-types-data (3.2016.0521)
86
+ method_source (0.9.2)
87
+ mini_mime (1.0.2)
92
88
  minitest (5.11.3)
93
89
  multi_json (1.13.1)
94
- multipart-post (2.0.0)
90
+ multipart-post (2.1.1)
95
91
  nenv (0.3.0)
96
- notiffany (0.1.1)
92
+ notiffany (0.1.3)
97
93
  nenv (~> 0.1)
98
94
  shellany (~> 0.0)
99
- os (0.9.6)
100
- pry (0.11.3)
95
+ os (1.0.1)
96
+ pry (0.12.2)
101
97
  coderay (~> 1.1.0)
102
98
  method_source (~> 0.9.0)
103
- pry-byebug (3.6.0)
104
- byebug (~> 10.0)
99
+ pry-byebug (3.7.0)
100
+ byebug (~> 11.0)
105
101
  pry (~> 0.10)
106
- public_suffix (3.0.2)
107
- rake (10.5.0)
102
+ public_suffix (3.1.1)
103
+ rake (12.3.3)
108
104
  rb-fsevent (0.10.3)
109
- rb-inotify (0.9.10)
110
- ffi (>= 0.5.0, < 2)
105
+ rb-inotify (0.10.0)
106
+ ffi (~> 1.0)
111
107
  representable (3.0.4)
112
108
  declarative (< 0.1.0)
113
109
  declarative-option (< 0.2.0)
114
110
  uber (< 0.2.0)
115
111
  retriable (3.1.2)
116
- rspec (3.7.0)
117
- rspec-core (~> 3.7.0)
118
- rspec-expectations (~> 3.7.0)
119
- rspec-mocks (~> 3.7.0)
120
- rspec-core (3.7.1)
121
- rspec-support (~> 3.7.0)
122
- rspec-expectations (3.7.0)
112
+ rspec (3.8.0)
113
+ rspec-core (~> 3.8.0)
114
+ rspec-expectations (~> 3.8.0)
115
+ rspec-mocks (~> 3.8.0)
116
+ rspec-core (3.8.2)
117
+ rspec-support (~> 3.8.0)
118
+ rspec-expectations (3.8.4)
123
119
  diff-lcs (>= 1.2.0, < 2.0)
124
- rspec-support (~> 3.7.0)
125
- rspec-mocks (3.7.0)
120
+ rspec-support (~> 3.8.0)
121
+ rspec-mocks (3.8.1)
126
122
  diff-lcs (>= 1.2.0, < 2.0)
127
- rspec-support (~> 3.7.0)
128
- rspec-support (3.7.1)
123
+ rspec-support (~> 3.8.0)
124
+ rspec-support (3.8.2)
129
125
  ruby_dep (1.5.0)
130
- safe_yaml (1.0.4)
126
+ safe_yaml (1.0.5)
131
127
  shellany (0.0.1)
132
- signet (0.8.1)
128
+ signet (0.11.0)
133
129
  addressable (~> 2.3)
134
130
  faraday (~> 0.9)
135
131
  jwt (>= 1.5, < 3.0)
136
132
  multi_json (~> 1.10)
137
- slack-ruby-client (0.11.1)
133
+ slack-ruby-client (0.14.4)
138
134
  activesupport
139
135
  faraday (>= 0.9)
140
136
  faraday_middleware
141
137
  gli
142
138
  hashie
143
139
  websocket-driver
144
- thor (0.20.0)
140
+ thor (0.20.3)
145
141
  thread_safe (0.3.6)
146
142
  tzinfo (1.2.5)
147
143
  thread_safe (~> 0.1)
148
144
  uber (0.1.0)
149
- webmock (3.4.2)
145
+ webmock (3.6.2)
150
146
  addressable (>= 2.3.6)
151
147
  crack (>= 0.3.2)
152
- hashdiff
153
- websocket-driver (0.7.0)
148
+ hashdiff (>= 0.4.0, < 2.0.0)
149
+ websocket-driver (0.7.1)
154
150
  websocket-extensions (>= 0.1.0)
155
- websocket-extensions (0.1.3)
151
+ websocket-extensions (0.1.4)
152
+ zeitwerk (2.1.9)
156
153
 
157
154
  PLATFORMS
158
155
  ruby
@@ -161,14 +158,13 @@ DEPENDENCIES
161
158
  awesome_print (~> 1.8)
162
159
  bundler (~> 1.16)
163
160
  dev_training_bot!
164
- dotenv (~> 2.5)
165
- factory_bot (~> 4.10)
161
+ factory_bot (~> 5.0)
166
162
  guard-rspec (~> 4.7)
167
163
  pry (~> 0.11)
168
164
  pry-byebug (~> 3.6)
169
- rake (~> 10.0)
165
+ rake (~> 12.0)
170
166
  rspec (~> 3.0)
171
167
  webmock (~> 3.4)
172
168
 
173
169
  BUNDLED WITH
174
- 1.16.5
170
+ 1.17.3
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- [![Gem Version](https://badge.fury.io/rb/dev_training_bot.svg)](https://badge.fury.io/rb/dev_training_bot) [![Build Status](https://travis-ci.org/iovis9/dev_training_bot.svg?branch=master)](https://travis-ci.org/iovis9/dev_training_bot)
1
+ [![Gem Version](https://badge.fury.io/rb/dev_training_bot.svg)](https://badge.fury.io/rb/dev_training_bot) [![Build Status](https://travis-ci.org/iovis/dev_training_bot.svg?branch=master)](https://travis-ci.org/iovis/dev_training_bot)
2
2
 
3
3
  # DevTrainingBot
4
4
 
@@ -47,7 +47,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
47
47
 
48
48
  ## Contributing
49
49
 
50
- Bug reports and pull requests are welcome on GitHub at https://github.com/iovis9/dev_training_bot.
50
+ Bug reports and pull requests are welcome on GitHub at https://github.com/iovis/dev_training_bot.
51
51
 
52
52
  ## License
53
53
 
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
9
9
  spec.email = ['david.marchante@rubiconmd.com']
10
10
 
11
11
  spec.summary = 'Create a poll in Slack with the proposed topics'
12
- spec.homepage = 'https://github.com/iovis9/dev_training_bot'
12
+ spec.homepage = 'https://github.com/iovis/dev_training_bot'
13
13
  spec.license = 'MIT'
14
14
 
15
15
  # Specify which files should be added to the gem when it is released.
@@ -26,15 +26,15 @@ Gem::Specification.new do |spec|
26
26
  spec.add_runtime_dependency 'launchy', '~> 2.4'
27
27
  spec.add_runtime_dependency 'slack-ruby-client', '~> 0.11'
28
28
  spec.add_runtime_dependency 'thor', '~> 0.20'
29
+ spec.add_runtime_dependency 'dotenv', '~> 2.7'
29
30
 
30
31
  spec.add_development_dependency 'awesome_print', '~> 1.8'
31
32
  spec.add_development_dependency 'bundler', '~> 1.16'
32
- spec.add_development_dependency 'dotenv', '~> 2.5'
33
- spec.add_development_dependency 'factory_bot', '~> 4.10'
33
+ spec.add_development_dependency 'factory_bot', '~> 5.0'
34
34
  spec.add_development_dependency 'guard-rspec', '~> 4.7'
35
35
  spec.add_development_dependency 'pry', '~> 0.11'
36
36
  spec.add_development_dependency 'pry-byebug', '~> 3.6'
37
- spec.add_development_dependency 'rake', '~> 10.0'
37
+ spec.add_development_dependency 'rake', '~> 12.0'
38
38
  spec.add_development_dependency 'rspec', '~> 3.0'
39
39
  spec.add_development_dependency 'webmock', '~> 3.4'
40
40
  end
@@ -20,12 +20,12 @@ module DevTrainingBot
20
20
 
21
21
  @client.chat_command channel: ENV['SLACK_CHANNEL'],
22
22
  command: '/poll',
23
- text: "\"@here Vote for the next dev learning! [#{next_friday}]\" #{topics}"
23
+ text: "\"@engineering Vote for the next dev learning! [#{next_friday}]\" #{topics}"
24
24
  end
25
25
 
26
26
  def no_topics_available
27
27
  @client.chat_postMessage channel: ENV['SLACK_CHANNEL'],
28
- text: '<!here> Please propose your topics for the next Dev Learning!',
28
+ text: '<!engineering> Please propose your topics for the next Dev Learning!',
29
29
  as_user: true
30
30
  end
31
31
 
@@ -1,3 +1,3 @@
1
1
  module DevTrainingBot
2
- VERSION = '1.1.2'.freeze
2
+ VERSION = '1.2.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dev_training_bot
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Marchante
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-09-28 00:00:00.000000000 Z
11
+ date: 2019-08-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chronic
@@ -81,61 +81,61 @@ dependencies:
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0.20'
83
83
  - !ruby/object:Gem::Dependency
84
- name: awesome_print
84
+ name: dotenv
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '1.8'
90
- type: :development
89
+ version: '2.7'
90
+ type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '1.8'
96
+ version: '2.7'
97
97
  - !ruby/object:Gem::Dependency
98
- name: bundler
98
+ name: awesome_print
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: '1.16'
103
+ version: '1.8'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: '1.16'
110
+ version: '1.8'
111
111
  - !ruby/object:Gem::Dependency
112
- name: dotenv
112
+ name: bundler
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: '2.5'
117
+ version: '1.16'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: '2.5'
124
+ version: '1.16'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: factory_bot
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: '4.10'
131
+ version: '5.0'
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: '4.10'
138
+ version: '5.0'
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: guard-rspec
141
141
  requirement: !ruby/object:Gem::Requirement
@@ -184,14 +184,14 @@ dependencies:
184
184
  requirements:
185
185
  - - "~>"
186
186
  - !ruby/object:Gem::Version
187
- version: '10.0'
187
+ version: '12.0'
188
188
  type: :development
189
189
  prerelease: false
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
192
  - - "~>"
193
193
  - !ruby/object:Gem::Version
194
- version: '10.0'
194
+ version: '12.0'
195
195
  - !ruby/object:Gem::Dependency
196
196
  name: rspec
197
197
  requirement: !ruby/object:Gem::Requirement
@@ -248,7 +248,7 @@ files:
248
248
  - lib/dev_training_bot/services/slack_service.rb
249
249
  - lib/dev_training_bot/services/topic_service.rb
250
250
  - lib/dev_training_bot/version.rb
251
- homepage: https://github.com/iovis9/dev_training_bot
251
+ homepage: https://github.com/iovis/dev_training_bot
252
252
  licenses:
253
253
  - MIT
254
254
  metadata: {}
@@ -267,8 +267,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
267
267
  - !ruby/object:Gem::Version
268
268
  version: '0'
269
269
  requirements: []
270
- rubyforge_project:
271
- rubygems_version: 2.7.6
270
+ rubygems_version: 3.0.6
272
271
  signing_key:
273
272
  specification_version: 4
274
273
  summary: Create a poll in Slack with the proposed topics