newrelic-slack-ruby-bot 0.1.0 → 0.1.1

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
  SHA1:
3
- metadata.gz: d4c0f09be7b689f81ab4d713613ab3e46a6399c4
4
- data.tar.gz: 8ac9430651de24a38c70db670e6fee5326710bbb
3
+ metadata.gz: e0e44f96d54e71b4eed9a0c096c62eed542f57e9
4
+ data.tar.gz: 5d43e93d65dc915e8c9cb61edafe591070fe1bc0
5
5
  SHA512:
6
- metadata.gz: 6e30e6d31bf8605419b958a71bacb8fe1a267d4cb3756b2d5d226b81a202f11131b2bee1eeb0fb8b10e329d2b6bdd9b370065644cc0c22f58b221a105f866465
7
- data.tar.gz: 7a1adee1e43eee3b5d33ea4d4707d4f39e70ea228934f997b585f7d0d1df964dfeca0e2e341afd6f090786a1a911c802e405df150949443c4978a6d474cef4f1
6
+ metadata.gz: 3dfa9bea84998c4c41500141d6290b8b998202c98189013e05fd2bf8ed6fcee4b6f1cf91bd694f5b2d7f8a98ec8d86424377c5e94e1bde648fb05d033a35a713
7
+ data.tar.gz: 27dae10eaf4702a41310e5cb25ef47aace9fc425d25114a33ddb9e4e5c06d1c3e3ea9da9b1ad99b26f680db85e3f7d1b548d3fdefe424e123a3e02d9a5121736
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### 0.1.1 (9/26/2017)
2
+
3
+ * [#2](https://github.com/slack-ruby/newrelic-slack-ruby-bot/pull/2): Lock slack-ruby-bot to latest compatible version (0.7.0) or lower [@kstole](https://github.com/kstole).
4
+
1
5
  ### 0.1.0 (12/27/2015)
2
6
 
3
7
  * Initial public release - [@dblock](https://github.com/dblock).
data/CONTRIBUTING.md CHANGED
@@ -1,19 +1,19 @@
1
1
  # Contributing to Ruby-Enum
2
2
 
3
- This project is work of [many contributors](https://github.com/dblock/newrelic-slack-ruby-bot/graphs/contributors).
3
+ This project is work of [many contributors](https://github.com/slack-ruby/newrelic-slack-ruby-bot/graphs/contributors).
4
4
 
5
- You're encouraged to submit [pull requests](https://github.com/dblock/newrelic-slack-ruby-bot/pulls), [propose features and discuss issues](https://github.com/dblock/newrelic-slack-ruby-bot/issues).
5
+ You're encouraged to submit [pull requests](https://github.com/slack-ruby/newrelic-slack-ruby-bot/pulls), [propose features and discuss issues](https://github.com/slack-ruby/newrelic-slack-ruby-bot/issues).
6
6
 
7
7
  In the examples below, substitute your Github username for `contributor` in URLs.
8
8
 
9
9
  ### Fork the Project
10
10
 
11
- Fork the [project on Github](https://github.com/dblock/newrelic-slack-ruby-bot) and check out your copy.
11
+ Fork the [project on Github](https://github.com/slack-ruby/newrelic-slack-ruby-bot) and check out your copy.
12
12
 
13
13
  ```
14
14
  git clone https://github.com/contributor/newrelic-slack-ruby-bot.git
15
15
  cd newrelic-slack-ruby-bot
16
- git remote add upstream https://github.com/dblock/newrelic-slack-ruby-bot.git
16
+ git remote add upstream https://github.com/slack-ruby/newrelic-slack-ruby-bot.git
17
17
  ```
18
18
 
19
19
  ### Bundle Install and Test
@@ -92,7 +92,7 @@ Go to https://github.com/contributor/newrelic-slack-ruby-bot and select your fea
92
92
  Update the [CHANGELOG](CHANGELOG.md) with the pull request number. A typical entry looks as follows.
93
93
 
94
94
  ```
95
- * [#123](https://github.com/dblock/newrelic-slack-ruby-bot/pull/123): Reticulated splines - [@contributor](https://github.com/contributor).
95
+ * [#123](https://github.com/slack-ruby/newrelic-slack-ruby-bot/pull/123): Reticulated splines - [@contributor](https://github.com/contributor).
96
96
  ```
97
97
 
98
98
  Amend your previous commit and force push the changes.
data/Gemfile CHANGED
@@ -3,5 +3,5 @@ source 'http://rubygems.org'
3
3
  gemspec
4
4
 
5
5
  gem 'rspec', '~> 3.4.0'
6
- gem 'rake'
6
+ gem 'rake', '< 11.0'
7
7
  gem 'rubocop', '0.35.1'
data/Gemfile.lock CHANGED
@@ -1,34 +1,35 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- newrelic-slack-ruby-bot (0.1.0)
4
+ newrelic-slack-ruby-bot (0.1.1)
5
5
  newrelic_rpm
6
- slack-ruby-bot
6
+ slack-ruby-bot (<= 0.7.0)
7
7
 
8
8
  GEM
9
9
  remote: http://rubygems.org/
10
10
  specs:
11
- activesupport (4.2.5)
11
+ activesupport (5.1.4)
12
+ concurrent-ruby (~> 1.0, >= 1.0.2)
12
13
  i18n (~> 0.7)
13
- json (~> 1.7, >= 1.7.7)
14
14
  minitest (~> 5.1)
15
- thread_safe (~> 0.3, >= 0.3.4)
16
15
  tzinfo (~> 1.1)
17
- addressable (2.4.0)
18
- ast (2.2.0)
16
+ addressable (2.5.2)
17
+ public_suffix (>= 2.0.2, < 4.0)
18
+ ast (2.3.0)
19
19
  astrolabe (1.3.1)
20
20
  parser (~> 2.2)
21
- diff-lcs (1.2.5)
22
- eventmachine (1.0.8)
23
- faraday (0.9.2)
21
+ concurrent-ruby (1.0.5)
22
+ diff-lcs (1.3)
23
+ eventmachine (1.2.5)
24
+ faraday (0.13.1)
24
25
  multipart-post (>= 1.2, < 3)
25
- faraday_middleware (0.9.2)
26
- faraday (>= 0.7.4, < 0.10)
27
- faraday_middleware-parse_oj (0.3.0)
28
- faraday (~> 0.9.0)
29
- faraday_middleware (~> 0.9.1)
30
- oj (~> 2.0)
31
- faye-websocket (0.10.2)
26
+ faraday_middleware (0.12.2)
27
+ faraday (>= 0.7.4, < 1.0)
28
+ faraday_middleware-parse_oj (0.3.2)
29
+ faraday (~> 0.9)
30
+ faraday_middleware (>= 0.9.1, < 1.0)
31
+ oj (>= 2.0, < 4.0)
32
+ faye-websocket (0.10.7)
32
33
  eventmachine (>= 0.12.0)
33
34
  websocket-driver (>= 0.5.1)
34
35
  giphy (2.0.2)
@@ -36,31 +37,33 @@ GEM
36
37
  faraday_middleware (~> 0.9)
37
38
  faraday_middleware-parse_oj (~> 0.3)
38
39
  launchy (~> 2.4)
39
- gli (2.13.4)
40
- hashie (3.4.3)
41
- i18n (0.7.0)
42
- json (1.8.3)
40
+ gli (2.16.1)
41
+ hashie (3.5.6)
42
+ i18n (0.8.6)
43
+ json (2.1.0)
43
44
  launchy (2.4.3)
44
45
  addressable (~> 2.3)
45
- minitest (5.8.3)
46
+ minitest (5.10.3)
46
47
  multipart-post (2.0.0)
47
- newrelic_rpm (3.14.0.305)
48
- oj (2.14.2)
49
- parser (2.2.3.0)
50
- ast (>= 1.1, < 3.0)
48
+ newrelic_rpm (4.4.0.336)
49
+ oj (3.3.6)
50
+ parser (2.4.0.0)
51
+ ast (~> 2.2)
51
52
  powerpack (0.1.1)
52
- rainbow (2.0.0)
53
- rake (10.4.2)
53
+ public_suffix (3.0.0)
54
+ rainbow (2.2.2)
55
+ rake
56
+ rake (10.5.0)
54
57
  rspec (3.4.0)
55
58
  rspec-core (~> 3.4.0)
56
59
  rspec-expectations (~> 3.4.0)
57
60
  rspec-mocks (~> 3.4.0)
58
- rspec-core (3.4.1)
61
+ rspec-core (3.4.4)
59
62
  rspec-support (~> 3.4.0)
60
63
  rspec-expectations (3.4.0)
61
64
  diff-lcs (>= 1.2.0, < 2.0)
62
65
  rspec-support (~> 3.4.0)
63
- rspec-mocks (3.4.0)
66
+ rspec-mocks (3.4.1)
64
67
  diff-lcs (>= 1.2.0, < 2.0)
65
68
  rspec-support (~> 3.4.0)
66
69
  rspec-support (3.4.1)
@@ -71,24 +74,26 @@ GEM
71
74
  rainbow (>= 1.99.1, < 3.0)
72
75
  ruby-progressbar (~> 1.7)
73
76
  tins (<= 1.6.0)
74
- ruby-progressbar (1.7.5)
75
- slack-ruby-bot (0.5.2)
77
+ ruby-progressbar (1.8.3)
78
+ slack-ruby-bot (0.7.0)
76
79
  activesupport
77
80
  faye-websocket
78
81
  giphy (~> 2.0.2)
79
82
  hashie
80
- slack-ruby-client (>= 0.5.0)
81
- slack-ruby-client (0.5.0)
82
- faraday
83
+ slack-ruby-client (>= 0.6.0)
84
+ slack-ruby-client (0.10.0)
85
+ activesupport
86
+ faraday (>= 0.9)
83
87
  faraday_middleware
84
88
  gli
89
+ hashie
85
90
  json
86
91
  websocket-driver
87
- thread_safe (0.3.5)
92
+ thread_safe (0.3.6)
88
93
  tins (1.6.0)
89
- tzinfo (1.2.2)
94
+ tzinfo (1.2.3)
90
95
  thread_safe (~> 0.1)
91
- websocket-driver (0.6.3)
96
+ websocket-driver (0.7.0)
92
97
  websocket-extensions (>= 0.1.0)
93
98
  websocket-extensions (0.1.2)
94
99
 
@@ -97,9 +102,9 @@ PLATFORMS
97
102
 
98
103
  DEPENDENCIES
99
104
  newrelic-slack-ruby-bot!
100
- rake
105
+ rake (< 11.0)
101
106
  rspec (~> 3.4.0)
102
107
  rubocop (= 0.35.1)
103
108
 
104
109
  BUNDLED WITH
105
- 1.10.6
110
+ 1.15.4
data/README.md CHANGED
@@ -1,12 +1,13 @@
1
- NewRelic::Agent::Instrumentation::SlackRubyBot
2
- ==============================================
1
+ NewRelic Instrumentation for SlackRubyBot
2
+ =========================================
3
3
 
4
4
  [![Gem Version](http://img.shields.io/gem/v/newrelic-slack-ruby-bot.svg)](http://badge.fury.io/rb/newrelic-slack-ruby-bot)
5
- [![Build Status](http://img.shields.io/travis/dblock/newrelic-slack-ruby-bot.svg)](https://travis-ci.org/dblock/newrelic-slack-ruby-bot)
6
- [![Dependency Status](https://gemnasium.com/dblock/newrelic-slack-ruby-bot.svg)](https://gemnasium.com/dblock/newrelic-slack-ruby-bot)
7
- [![Code Climate](https://codeclimate.com/github/dblock/newrelic-slack-ruby-bot.svg)](https://codeclimate.com/github/dblock/newrelic-slack-ruby-bot)
5
+ [![Build Status](http://img.shields.io/travis/slack-ruby/newrelic-slack-ruby-bot.svg)](https://travis-ci.org/slack-ruby/newrelic-slack-ruby-bot)
6
+ [![Code Climate](https://codeclimate.com/github/slack-ruby/newrelic-slack-ruby-bot.svg)](https://codeclimate.com/github/slack-ruby/newrelic-slack-ruby-bot)
8
7
 
9
- NewRelic instrumentation for [slack-ruby-bot](github.com/dblock/slack-ruby-bot).
8
+ NewRelic instrumentation for [slack-ruby-bot](https://github.com/slack-ruby/slack-ruby-bot).
9
+
10
+ ![](screenshots/breakdown.png)
10
11
 
11
12
  ## Install
12
13
 
data/RELEASING.md CHANGED
@@ -1,6 +1,6 @@
1
- # Releasing Ruby-Enum
1
+ # Releasing Newrelic-Slack-Ruby-Bot
2
2
 
3
- There're no hard rules about when to release newrelic-slack-ruby-bot. Release bug fixes frequenty, features not so frequently and breaking API changes rarely.
3
+ There're no hard rules about when to release newrelic-slack-ruby-bot. Release bug fixes frequently, features not so frequently and breaking API changes rarely.
4
4
 
5
5
  ### Release
6
6
 
@@ -11,7 +11,7 @@ bundle install
11
11
  rake
12
12
  ```
13
13
 
14
- Check that the last build succeeded in [Travis CI](https://travis-ci.org/dblock/newrelic-slack-ruby-bot) for all supported platforms.
14
+ Check that the last build succeeded in [Travis CI](https://travis-ci.org/slack-ruby/newrelic-slack-ruby-bot) for all supported platforms.
15
15
 
16
16
  Increment the version, modify [lib/newrelic-slack-ruby-bot/version.rb](lib/newrelic-slack-ruby-bot/version.rb).
17
17
 
@@ -58,7 +58,7 @@ Next Release
58
58
 
59
59
  Increment the third version number in [lib/newrelic-slack-ruby-bot/version.rb](lib/newrelic-slack-ruby-bot/version.rb).
60
60
 
61
- Comit your changes.
61
+ Commit your changes.
62
62
 
63
63
  ```
64
64
  git add CHANGELOG.md lib/newrelic-slack-ruby-bot/version.rb
@@ -2,7 +2,7 @@ module NewRelic
2
2
  module Agent
3
3
  module Instrumentation
4
4
  module SlackRubyBot
5
- VERSION = '0.1.0'
5
+ VERSION = '0.1.1'
6
6
  end
7
7
  end
8
8
  end
@@ -10,9 +10,9 @@ Gem::Specification.new do |s|
10
10
  s.required_rubygems_version = '>= 1.3.6'
11
11
  s.files = Dir['**/*']
12
12
  s.require_paths = ['lib']
13
- s.homepage = 'http://github.com/dblock/newrelic-slack-ruby-bot'
13
+ s.homepage = 'http://github.com/slack-ruby/newrelic-slack-ruby-bot'
14
14
  s.licenses = ['MIT']
15
15
  s.summary = 'NewRelic instrumentation for slack-ruby-bot.'
16
16
  s.add_dependency 'newrelic_rpm'
17
- s.add_dependency 'slack-ruby-bot'
17
+ s.add_dependency 'slack-ruby-bot', '<= 0.7.0'
18
18
  end
Binary file
@@ -11,6 +11,6 @@ describe NewRelic::Agent::Instrumentation do
11
11
  .with(hash_including(name: 'message'))
12
12
  .and_yield
13
13
 
14
- subject.message(client, message: 'message', text: 'hi')
14
+ subject.message(client, Hashie::Mash.new(message: 'message', text: 'hi'))
15
15
  end
16
16
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: newrelic-slack-ruby-bot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Doubrovkine
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-27 00:00:00.000000000 Z
11
+ date: 2017-09-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: newrelic_rpm
@@ -28,16 +28,16 @@ dependencies:
28
28
  name: slack-ruby-bot
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - "<="
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: 0.7.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - "<="
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: 0.7.0
41
41
  description:
42
42
  email: dblock@dblock.org
43
43
  executables: []
@@ -56,10 +56,11 @@ files:
56
56
  - lib/newrelic-slack-ruby-bot/instrumentation.rb
57
57
  - lib/newrelic-slack-ruby-bot/version.rb
58
58
  - newrelic-slack-ruby-bot.gemspec
59
+ - screenshots/breakdown.png
59
60
  - spec/newrelic-slack-ruby-bot/instrumentation_spec.rb
60
61
  - spec/newrelic-slack-ruby-bot/version_spec.rb
61
62
  - spec/spec_helper.rb
62
- homepage: http://github.com/dblock/newrelic-slack-ruby-bot
63
+ homepage: http://github.com/slack-ruby/newrelic-slack-ruby-bot
63
64
  licenses:
64
65
  - MIT
65
66
  metadata: {}
@@ -79,7 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
79
80
  version: 1.3.6
80
81
  requirements: []
81
82
  rubyforge_project:
82
- rubygems_version: 2.4.8
83
+ rubygems_version: 2.6.13
83
84
  signing_key:
84
85
  specification_version: 4
85
86
  summary: NewRelic instrumentation for slack-ruby-bot.