lita-bitbucket-pipelines 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 3d2232548e115f4d2d5ea1ef5c3f78e50a6b5e81
4
+ data.tar.gz: 7d63e359fdf2ab686ad616ca9190cf0276e1a5d8
5
+ SHA512:
6
+ metadata.gz: bad9f3ea5fba53307e4cc7c42c1f340befb9c6f5b19b3310713a78f1f6e4bd0b4dab06382bcc7ffdee88fcd5cf4438e8f0d2c0e743c102bbd111f09c73a1ad2f
7
+ data.tar.gz: d63517d094054dced39ba62c7156c9ff08113cc9e739f1430a00e446eb049b1fb11bb7172f62ebb8041a9f90f7556b9e1b1030328cc9659d5037e26fe8b23faf
data/.gitignore ADDED
@@ -0,0 +1,17 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
data/Gemfile ADDED
@@ -0,0 +1,3 @@
1
+ source "https://rubygems.org"
2
+
3
+ gemspec
data/README.md ADDED
@@ -0,0 +1,19 @@
1
+ # lita-bitbucket-pipelines
2
+
3
+ TODO: Add a description of the plugin.
4
+
5
+ ## Installation
6
+
7
+ Add lita-bitbucket-pipelines to your Lita instance's Gemfile:
8
+
9
+ ``` ruby
10
+ gem "lita-bitbucket-pipelines"
11
+ ```
12
+
13
+ ## Configuration
14
+
15
+ TODO: Describe any configuration attributes the plugin exposes.
16
+
17
+ ## Usage
18
+
19
+ TODO: Describe the plugin's features and how to use them.
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task default: :spec
@@ -0,0 +1,12 @@
1
+ require "lita"
2
+
3
+ Lita.load_locales Dir[File.expand_path(
4
+ File.join("..", "..", "locales", "*.yml"), __FILE__
5
+ )]
6
+
7
+ require "lita/handlers/bitbucket_pipelines"
8
+
9
+ Lita::Handlers::BitbucketPipelines.template_root File.expand_path(
10
+ File.join("..", "..", "templates"),
11
+ __FILE__
12
+ )
@@ -0,0 +1,58 @@
1
+ module Lita
2
+ module Handlers
3
+ class BitbucketPipelines < Handler
4
+ http.post "/bitbucket-pipelines", :receive
5
+
6
+ def receive(request, response)
7
+ I18n.locale = Lita.config.robot.locale
8
+
9
+ room = request.params['room']
10
+ target = Source.new(room: room)
11
+ data = parse(request.body.read)
12
+ message = format(data)
13
+ return if message.nil?
14
+ robot.send_message(target, message)
15
+ end
16
+
17
+ private
18
+
19
+ def parse(json)
20
+ MultiJson.load(json, symbolize_keys: true)
21
+ rescue MultiJson::ParseError => exception
22
+ exception.data
23
+ exception.cause
24
+ end
25
+
26
+ def format(data)
27
+ status = data[:commit_status][:state]
28
+ url = data[:commit_status][:url]
29
+ repo = data[:commit_status][:repository][:name]
30
+ user = data[:commit_status][:commit][:author][:user][:display_name]
31
+ build = url.split('/').last
32
+
33
+ case status
34
+ when "INPROGRESS"
35
+ t("initiated",
36
+ build: build,
37
+ user: user,
38
+ repo: repo,
39
+ url: url)
40
+ when "SUCCESSFUL"
41
+ t("successful",
42
+ build: build,
43
+ user: user,
44
+ repo: repo,
45
+ url: url)
46
+ else
47
+ t("error",
48
+ build: build,
49
+ user: user,
50
+ repo: repo,
51
+ url: url)
52
+ end
53
+ end
54
+
55
+ Lita.register_handler(self)
56
+ end
57
+ end
58
+ end
@@ -0,0 +1,24 @@
1
+ Gem::Specification.new do |spec|
2
+ spec.name = "lita-bitbucket-pipelines"
3
+ spec.version = "0.1.0"
4
+ spec.authors = ["Alejandro Torres"]
5
+ spec.email = ["fulgorek@gmail.com"]
6
+ spec.description = %q{A Lita handler for receiving Bitbucket pipelines.}
7
+ spec.summary = %q{A Lita handler for receiving Bitbucket pipelines hook.}
8
+ spec.homepage = "https://github.com/fulgorek/lita-bitbucket-pipelines"
9
+ spec.license = "MIT"
10
+
11
+ spec.metadata = { "lita_plugin_type" => "handler" }
12
+
13
+ spec.files = `git ls-files`.split($/)
14
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
15
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
16
+ spec.require_paths = ["lib"]
17
+
18
+ spec.add_runtime_dependency "lita", ">= 4.7"
19
+
20
+ spec.add_development_dependency "bundler", "~> 1.3"
21
+ spec.add_development_dependency "rake"
22
+ spec.add_development_dependency "rack-test"
23
+ spec.add_development_dependency "rspec", ">= 3.0.0"
24
+ end
data/locales/en.yml ADDED
@@ -0,0 +1,7 @@
1
+ en:
2
+ lita:
3
+ handlers:
4
+ bitbucket_pipelines:
5
+ initiated: "%{user} triggered build %{build} %{repo} \n%{url}"
6
+ successful: "Build %{build} Success :parrot:"
7
+ error: "%{build} Failed \n%{url}"
@@ -0,0 +1,159 @@
1
+ {
2
+ "actor": {
3
+ "username": "funkynet",
4
+ "type": "team",
5
+ "display_name": "funkynet",
6
+ "uuid": "{5aef86a9-4004-455d-9e27-95bd08}",
7
+ "links": {
8
+ "self": {
9
+ "href": "https://api.bitbucket.org/2.0/teams/funkynet"
10
+ },
11
+ "html": {
12
+ "href": "https://bitbucket.org/funkynet/"
13
+ },
14
+ "avatar": {
15
+ "href": "https://bitbucket.org/account/funkynet/avatar/32/"
16
+ }
17
+ }
18
+ },
19
+ "repository": {
20
+ "scm": "git",
21
+ "website": "",
22
+ "name": "base-zipkin",
23
+ "links": {
24
+ "self": {
25
+ "href": "https://api.bitbucket.org/2.0/repositories/funkynet/base-zipkin"
26
+ },
27
+ "html": {
28
+ "href": "https://bitbucket.org/funkynet/base-zipkin"
29
+ },
30
+ "avatar": {
31
+ "href": "https://bitbucket.org/funkynet/base-zipkin/avatar/32/"
32
+ }
33
+ },
34
+ "project": {
35
+ "links": {
36
+ "self": {
37
+ "href": "https://api.bitbucket.org/2.0/teams/funkynet/projects/NA"
38
+ },
39
+ "html": {
40
+ "href": "https://bitbucket.org/account/user/funkynet/projects/NA"
41
+ },
42
+ "avatar": {
43
+ "href": "https://bitbucket.org/account/user/funkynet/projects/NA/avatar/32"
44
+ }
45
+ },
46
+ "type": "project",
47
+ "uuid": "{1d512d4f-a8e4-4661-a8b7-313888}",
48
+ "key": "NA",
49
+ "name": "New Architecture"
50
+ },
51
+ "full_name": "funkynet/base-zipkin",
52
+ "owner": {
53
+ "username": "funkynet",
54
+ "type": "team",
55
+ "display_name": "funkynet",
56
+ "uuid": "{5aef86a9-4004-455d-9e27-95bd08}",
57
+ "links": {
58
+ "self": {
59
+ "href": "https://api.bitbucket.org/2.0/teams/funkynet"
60
+ },
61
+ "html": {
62
+ "href": "https://bitbucket.org/funkynet/"
63
+ },
64
+ "avatar": {
65
+ "href": "https://bitbucket.org/account/funkynet/avatar/32/"
66
+ }
67
+ }
68
+ },
69
+ "type": "repository",
70
+ "is_private": true,
71
+ "uuid": "{f66b6836-34f2-4521-9525-3b05c6}"
72
+ },
73
+ "commit_status": {
74
+ "links": {
75
+ "commit": {
76
+ "href": "https://api.bitbucket.org/2.0/repositories/funkynet/base-zipkin/commit/18c35f8f41620723780436d99b472df6f2b6bbc0"
77
+ },
78
+ "self": {
79
+ "href": "https://api.bitbucket.org/2.0/repositories/funkynet/base-zipkin/commit/18c35f8f41620723780436d99b472df6f2b6bbc0/statuses/build/-569102792"
80
+ }
81
+ },
82
+ "repository": {
83
+ "full_name": "funkynet/base-zipkin",
84
+ "type": "repository",
85
+ "name": "base-zipkin",
86
+ "links": {
87
+ "self": {
88
+ "href": "https://api.bitbucket.org/2.0/repositories/funkynet/base-zipkin"
89
+ },
90
+ "html": {
91
+ "href": "https://bitbucket.org/funkynet/base-zipkin"
92
+ },
93
+ "avatar": {
94
+ "href": "https://bitbucket.org/funkynet/base-zipkin/avatar/32/"
95
+ }
96
+ },
97
+ "uuid": "{f66b6836-34f2-4521-9525-3b05c6}"
98
+ },
99
+ "url": "https://bitbucket.org/funkynet/base-zipkin/addon/pipelines/home#!/results/36",
100
+ "refname": "feature/pipelines",
101
+ "name": "Pipeline #36 for feature/pipelines",
102
+ "state": "INPROGRESS",
103
+ "key": "-569102792",
104
+ "updated_on": "2018-02-19T15:37:28.463666+00:00",
105
+ "commit": {
106
+ "hash": "18c35f8f41620723780436d99b472df6f2b6bbc0",
107
+ "links": {
108
+ "self": {
109
+ "href": "https://api.bitbucket.org/2.0/repositories/funkynet/base-zipkin/commit/18c35f8f41620723780436d99b472df6f2b6bbc0"
110
+ },
111
+ "comments": {
112
+ "href": "https://api.bitbucket.org/2.0/repositories/funkynet/base-zipkin/commit/18c35f8f41620723780436d99b472df6f2b6bbc0/comments"
113
+ },
114
+ "patch": {
115
+ "href": "https://api.bitbucket.org/2.0/repositories/funkynet/base-zipkin/patch/18c35f8f41620723780436d99b472df6f2b6bbc0"
116
+ },
117
+ "html": {
118
+ "href": "https://bitbucket.org/funkynet/base-zipkin/commits/18c35f8f41620723780436d99b472df6f2b6bbc0"
119
+ },
120
+ "diff": {
121
+ "href": "https://api.bitbucket.org/2.0/repositories/funkynet/base-zipkin/diff/18c35f8f41620723780436d99b472df6f2b6bbc0"
122
+ },
123
+ "approve": {
124
+ "href": "https://api.bitbucket.org/2.0/repositories/funkynet/base-zipkin/commit/18c35f8f41620723780436d99b472df6f2b6bbc0/approve"
125
+ },
126
+ "statuses": {
127
+ "href": "https://api.bitbucket.org/2.0/repositories/funkynet/base-zipkin/commit/18c35f8f41620723780436d99b472df6f2b6bbc0/statuses"
128
+ }
129
+ },
130
+ "author": {
131
+ "raw": "Alejandro Torres <fulgorek@gmail.com>",
132
+ "type": "author",
133
+ "user": {
134
+ "username": "fulgorek",
135
+ "type": "user",
136
+ "display_name": "Alejandro Torres",
137
+ "uuid": "{95d87065-f457-4011-a9d3-3b69ed60407b}",
138
+ "links": {
139
+ "self": {
140
+ "href": "https://api.bitbucket.org/2.0/users/fulgorek"
141
+ },
142
+ "html": {
143
+ "href": "https://bitbucket.org/fulgorek/"
144
+ },
145
+ "avatar": {
146
+ "href": "https://bitbucket.org/account/fulgorek/avatar/32/"
147
+ }
148
+ }
149
+ }
150
+ },
151
+ "date": "2018-02-15T11:51:19+00:00",
152
+ "message": "prevent register in eureka an removed unused port\n",
153
+ "type": "commit"
154
+ },
155
+ "type": "build",
156
+ "created_on": "2018-02-15T11:52:32.001507+00:00",
157
+ "description": ""
158
+ }
159
+ }
@@ -0,0 +1,159 @@
1
+ {
2
+ "actor": {
3
+ "username": "funkynet",
4
+ "type": "team",
5
+ "display_name": "funkynet",
6
+ "uuid": "{5aef86a9-4004-455d-9e27-95bd08}",
7
+ "links": {
8
+ "self": {
9
+ "href": "https://api.bitbucket.org/2.0/teams/funkynet"
10
+ },
11
+ "html": {
12
+ "href": "https://bitbucket.org/funkynet/"
13
+ },
14
+ "avatar": {
15
+ "href": "https://bitbucket.org/account/funkynet/avatar/32/"
16
+ }
17
+ }
18
+ },
19
+ "repository": {
20
+ "scm": "git",
21
+ "website": "",
22
+ "name": "base-zipkin",
23
+ "links": {
24
+ "self": {
25
+ "href": "https://api.bitbucket.org/2.0/repositories/funkynet/base-zipkin"
26
+ },
27
+ "html": {
28
+ "href": "https://bitbucket.org/funkynet/base-zipkin"
29
+ },
30
+ "avatar": {
31
+ "href": "https://bitbucket.org/funkynet/base-zipkin/avatar/32/"
32
+ }
33
+ },
34
+ "project": {
35
+ "links": {
36
+ "self": {
37
+ "href": "https://api.bitbucket.org/2.0/teams/funkynet/projects/NA"
38
+ },
39
+ "html": {
40
+ "href": "https://bitbucket.org/account/user/funkynet/projects/NA"
41
+ },
42
+ "avatar": {
43
+ "href": "https://bitbucket.org/account/user/funkynet/projects/NA/avatar/32"
44
+ }
45
+ },
46
+ "type": "project",
47
+ "uuid": "{1d512d4f-a8e4-4661-a8b7-313888}",
48
+ "key": "NA",
49
+ "name": "New Architecture"
50
+ },
51
+ "full_name": "funkynet/base-zipkin",
52
+ "owner": {
53
+ "username": "funkynet",
54
+ "type": "team",
55
+ "display_name": "funkynet",
56
+ "uuid": "{5aef86a9-4004-455d-9e27-95bd08}",
57
+ "links": {
58
+ "self": {
59
+ "href": "https://api.bitbucket.org/2.0/teams/funkynet"
60
+ },
61
+ "html": {
62
+ "href": "https://bitbucket.org/funkynet/"
63
+ },
64
+ "avatar": {
65
+ "href": "https://bitbucket.org/account/funkynet/avatar/32/"
66
+ }
67
+ }
68
+ },
69
+ "type": "repository",
70
+ "is_private": true,
71
+ "uuid": "{f66b6836-34f2-4521-9525-3b05c6}"
72
+ },
73
+ "commit_status": {
74
+ "links": {
75
+ "commit": {
76
+ "href": "https://api.bitbucket.org/2.0/repositories/funkynet/base-zipkin/commit/18c35f8f41620723780436d99b472df6f2b6bbc0"
77
+ },
78
+ "self": {
79
+ "href": "https://api.bitbucket.org/2.0/repositories/funkynet/base-zipkin/commit/18c35f8f41620723780436d99b472df6f2b6bbc0/statuses/build/-569102792"
80
+ }
81
+ },
82
+ "repository": {
83
+ "full_name": "funkynet/base-zipkin",
84
+ "type": "repository",
85
+ "name": "base-zipkin",
86
+ "links": {
87
+ "self": {
88
+ "href": "https://api.bitbucket.org/2.0/repositories/funkynet/base-zipkin"
89
+ },
90
+ "html": {
91
+ "href": "https://bitbucket.org/funkynet/base-zipkin"
92
+ },
93
+ "avatar": {
94
+ "href": "https://bitbucket.org/funkynet/base-zipkin/avatar/32/"
95
+ }
96
+ },
97
+ "uuid": "{f66b6836-34f2-4521-9525-3b05c6}"
98
+ },
99
+ "url": "https://bitbucket.org/funkynet/base-zipkin/addon/pipelines/home#!/results/36",
100
+ "refname": "feature/pipelines",
101
+ "name": "Pipeline #36 for feature/pipelines",
102
+ "state": "SUCCESSFUL",
103
+ "key": "-569102792",
104
+ "updated_on": "2018-02-19T15:41:14.198616+00:00",
105
+ "commit": {
106
+ "hash": "18c35f8f41620723780436d99b472df6f2b6bbc0",
107
+ "links": {
108
+ "self": {
109
+ "href": "https://api.bitbucket.org/2.0/repositories/funkynet/base-zipkin/commit/18c35f8f41620723780436d99b472df6f2b6bbc0"
110
+ },
111
+ "comments": {
112
+ "href": "https://api.bitbucket.org/2.0/repositories/funkynet/base-zipkin/commit/18c35f8f41620723780436d99b472df6f2b6bbc0/comments"
113
+ },
114
+ "patch": {
115
+ "href": "https://api.bitbucket.org/2.0/repositories/funkynet/base-zipkin/patch/18c35f8f41620723780436d99b472df6f2b6bbc0"
116
+ },
117
+ "html": {
118
+ "href": "https://bitbucket.org/funkynet/base-zipkin/commits/18c35f8f41620723780436d99b472df6f2b6bbc0"
119
+ },
120
+ "diff": {
121
+ "href": "https://api.bitbucket.org/2.0/repositories/funkynet/base-zipkin/diff/18c35f8f41620723780436d99b472df6f2b6bbc0"
122
+ },
123
+ "approve": {
124
+ "href": "https://api.bitbucket.org/2.0/repositories/funkynet/base-zipkin/commit/18c35f8f41620723780436d99b472df6f2b6bbc0/approve"
125
+ },
126
+ "statuses": {
127
+ "href": "https://api.bitbucket.org/2.0/repositories/funkynet/base-zipkin/commit/18c35f8f41620723780436d99b472df6f2b6bbc0/statuses"
128
+ }
129
+ },
130
+ "author": {
131
+ "raw": "Alejandro Torres <fulgorek@gmail.com>",
132
+ "type": "author",
133
+ "user": {
134
+ "username": "fulgorek",
135
+ "type": "user",
136
+ "display_name": "Alejandro Torres",
137
+ "uuid": "{95d87065-f457-4011-a9d3-3b69ed60407b}",
138
+ "links": {
139
+ "self": {
140
+ "href": "https://api.bitbucket.org/2.0/users/fulgorek"
141
+ },
142
+ "html": {
143
+ "href": "https://bitbucket.org/fulgorek/"
144
+ },
145
+ "avatar": {
146
+ "href": "https://bitbucket.org/account/fulgorek/avatar/32/"
147
+ }
148
+ }
149
+ }
150
+ },
151
+ "date": "2018-02-15T11:51:19+00:00",
152
+ "message": "prevent register in eureka an removed unused port\n",
153
+ "type": "commit"
154
+ },
155
+ "type": "build",
156
+ "created_on": "2018-02-15T11:52:32.001507+00:00",
157
+ "description": ""
158
+ }
159
+ }
@@ -0,0 +1,50 @@
1
+ require "spec_helper"
2
+
3
+ describe Lita::Handlers::BitbucketPipelines, lita_handler: true do
4
+ it { route_http(:post, "/bitbucket-pipelines").to(:receive) }
5
+
6
+ describe "#receive" do
7
+ before do
8
+ Lita.config.robot.locale = :en
9
+ end
10
+
11
+ let(:request) do
12
+ request = double("Rack::Request")
13
+ allow(request).to receive(:params).and_return(params)
14
+ allow(request).to receive(:body).and_return(body)
15
+ request
16
+ end
17
+ let(:response) { Rack::Response.new }
18
+ let(:params) { {} }
19
+ let(:body) { StringIO.new }
20
+
21
+ context "Build Initiated" do
22
+ before do
23
+ allow(params).to receive(:[]).with('room').and_return('foo')
24
+ allow(request).to receive(:body).and_return(StringIO.new(fixture('inprogress')))
25
+ end
26
+ it "responds when a build is initiated" do
27
+ expect(robot).to receive(:send_message) do |target, message|
28
+ expect(target.room).to eq('foo')
29
+ expect(message).to include "Alejandro Torres triggered build 36"
30
+ end
31
+ subject.receive(request, response)
32
+ end
33
+ end
34
+
35
+ context "Build Successful" do
36
+ before do
37
+ Lita.config.robot.locale = :en
38
+ allow(params).to receive(:[]).with('room').and_return('foo')
39
+ allow(request).to receive(:body).and_return(StringIO.new(fixture('successful')))
40
+ end
41
+ it "responds when a build is successful" do
42
+ expect(robot).to receive(:send_message) do |target, message|
43
+ expect(target.room).to eq('foo')
44
+ expect(message).to include "Success"
45
+ end
46
+ subject.receive(request, response)
47
+ end
48
+ end
49
+ end
50
+ end
@@ -0,0 +1,10 @@
1
+ require "lita-bitbucket-pipelines"
2
+ require "lita/rspec"
3
+
4
+ # A compatibility mode is provided for older plugins upgrading from Lita 3. Since this plugin
5
+ # was generated with Lita 4, the compatibility mode should be left disabled.
6
+ Lita.version_3_compatibility_mode = false
7
+
8
+ def fixture(filename)
9
+ File.read(File.join(__dir__, "fixtures", "#{filename}.json"))
10
+ end
metadata ADDED
@@ -0,0 +1,131 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: lita-bitbucket-pipelines
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Alejandro Torres
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2018-02-20 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: lita
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '4.7'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '4.7'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.3'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.3'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rack-test
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rspec
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: 3.0.0
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: 3.0.0
83
+ description: A Lita handler for receiving Bitbucket pipelines.
84
+ email:
85
+ - fulgorek@gmail.com
86
+ executables: []
87
+ extensions: []
88
+ extra_rdoc_files: []
89
+ files:
90
+ - ".gitignore"
91
+ - Gemfile
92
+ - README.md
93
+ - Rakefile
94
+ - lib/lita-bitbucket-pipelines.rb
95
+ - lib/lita/handlers/bitbucket_pipelines.rb
96
+ - lita-bitbucket-pipelines.gemspec
97
+ - locales/en.yml
98
+ - spec/fixtures/inprogress.json
99
+ - spec/fixtures/successful.json
100
+ - spec/lita/handlers/bitbucket_pipelines_spec.rb
101
+ - spec/spec_helper.rb
102
+ homepage: https://github.com/fulgorek/lita-bitbucket-pipelines
103
+ licenses:
104
+ - MIT
105
+ metadata:
106
+ lita_plugin_type: handler
107
+ post_install_message:
108
+ rdoc_options: []
109
+ require_paths:
110
+ - lib
111
+ required_ruby_version: !ruby/object:Gem::Requirement
112
+ requirements:
113
+ - - ">="
114
+ - !ruby/object:Gem::Version
115
+ version: '0'
116
+ required_rubygems_version: !ruby/object:Gem::Requirement
117
+ requirements:
118
+ - - ">="
119
+ - !ruby/object:Gem::Version
120
+ version: '0'
121
+ requirements: []
122
+ rubyforge_project:
123
+ rubygems_version: 2.5.1
124
+ signing_key:
125
+ specification_version: 4
126
+ summary: A Lita handler for receiving Bitbucket pipelines hook.
127
+ test_files:
128
+ - spec/fixtures/inprogress.json
129
+ - spec/fixtures/successful.json
130
+ - spec/lita/handlers/bitbucket_pipelines_spec.rb
131
+ - spec/spec_helper.rb