lita-bamboo 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: bb8c8f699d19940de58574cf3675e8b5cd5fe0a9
4
- data.tar.gz: 1602cfba0a6d5c5f0723d12c334ed0eba41d0cda
3
+ metadata.gz: f251f089a022a0bda5e84085ab6cb8a553dd0b24
4
+ data.tar.gz: a0b9a024d30b1ebd63fcd53548b946763750e5c0
5
5
  SHA512:
6
- metadata.gz: 039b34362887b450baef8a95b1106d80f105ac4e86335cf8d7d3ad98aee86d53fcf192098a887b65148fd0f6c65fcfc34dc88e42f480a33d4ce189b168b5ac28
7
- data.tar.gz: 48d9683aa3241251278d3b08147aac2f632faefc1a9e4ea62ca2edf57cf09e5ef1af2e8c3f83b54366ff710ee42eb27e3a5eb8548ebe794f2819d185777ba9e5
6
+ metadata.gz: a2d549149f4f4d9e30352297b1fc77c2f0ca8f84858cdb88af5087464da81452921a251e24996949bdd4d3dded6782ccb19f7b8b15ca64dcb1af264c39610cd6
7
+ data.tar.gz: 3919b81f37e2d024b3f3f1736818476b55f5cb5a69d5826704b4f444dd291f068429f843478658cfec5fbd9a445b37d6a02082d362b0391805b4057f2ff52e0c
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # lita-bamboo
2
2
 
3
- TODO: Add a description of the plugin.
3
+ Lita bamboo build server handler.
4
4
 
5
5
  ## Installation
6
6
 
@@ -12,8 +12,14 @@ gem "lita-bamboo"
12
12
 
13
13
  ## Configuration
14
14
 
15
- TODO: Describe any configuration attributes the plugin exposes.
16
-
15
+ ```ruby
16
+ Lita.configure do |config|
17
+ config.handlers.bamboo.url = "https://bamboo.example.com/rest/api/latest"
18
+ config.handlers.bamboo.verify_ssl = false # default
19
+ end
20
+ ```
17
21
  ## Usage
18
22
 
19
- TODO: Describe the plugin's features and how to use them.
23
+ * bamboo list projects
24
+ * bamboo list project PROJECT_KEY plans
25
+ * bamboo list plan PLAN_KEY results limit 2
@@ -26,7 +26,7 @@ module LitaBambooHelper
26
26
  json_response = JSON.parse(response)
27
27
  if json_response['plans']['plan']
28
28
  json_response['plans']['plan'].each do |plan|
29
- info << "[#{plan['key']}] : #{plan['name']}"
29
+ info << "[#{plan['key']}] : #{plan['name']} Enabled: #{plan['enabled']}"
30
30
  end
31
31
  end
32
32
  rescue Exception=>e
data/lita-bamboo.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "lita-bamboo"
3
- spec.version = "0.1.0"
3
+ spec.version = "0.1.1"
4
4
  spec.authors = ["Wang, Dawei"]
5
5
  spec.email = ["dwang@entertainment.com"]
6
6
  spec.description = "Bamboo Lita tasks"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lita-bamboo
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
  - Wang, Dawei