lita-flowdock 0.1.1 → 0.1.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d17560dac166db8aa3752365bcbfb733d07f37ec
4
- data.tar.gz: 4e78edc712c4f725cfa939510e57cd61b44d9803
3
+ metadata.gz: 838b561f440f09f8aa0979fdb4d3b13ba90d7977
4
+ data.tar.gz: 860cf748150b895e1f43084eb05817887e19ad2b
5
5
  SHA512:
6
- metadata.gz: 124a803f2ff0243fd3b612ca678e48956f896cff9c12225d7f5163bb029adcf006ff792a7e6cef8ed525dd5768233181954fcb53e9b7fcfa3fb8a1a1cb91974b
7
- data.tar.gz: d12dfe101062b92c469c7fb9e5d1d37581ea5c45bb83f82fb42b2594a9fbd50081522d79a2dc856108b87cc45ead652be9c2eff406282143e28aa2239619d36e
6
+ metadata.gz: bb8cc72b3421a7a4a64421bc40ac3ffd90313e6f1b8a00e64893c4aad1932e16e5514d1b503ce69dc88e03a1a7b57e996f42281cd0b320784be939b9cfca5ce4
7
+ data.tar.gz: 517866c822c741dfbe6c3e627216c835aa4fc1f1dd1ab8460f106934d3ff22eb889a5a20e94799c1a68ee3d24719e70619d90d65f0abc8f4884d3d319f73db03
data/README.md CHANGED
@@ -35,6 +35,7 @@ For quick setup, see the [Getting Started](https://github.com/bhouse/lita-flowdo
35
35
 
36
36
  ### Example
37
37
 
38
+ #### lita_config.rb
38
39
  ```ruby
39
40
  Lita.configure do |config|
40
41
  config.robot.adapter = :flowdock
@@ -46,6 +47,17 @@ Lita.configure do |config|
46
47
  end
47
48
  ```
48
49
 
50
+ #### Using Chef cookbook attributes
51
+
52
+ ```ruby
53
+ default['lita']['adapters'] = ['flowdock']
54
+ default['lita']['adapter_config']['flowdock'] = {
55
+ 'api_token' => ENV['FLOWDOCK_API_TOKEN'],
56
+ 'organization' => 'mycompany',
57
+ 'flows' => ['main', 'ops']
58
+ }
59
+ ```
60
+
49
61
  ## License
50
62
 
51
63
  [MIT](http://opensource.org/licenses/MIT)
@@ -15,7 +15,7 @@ module Lita
15
15
  @organization = organization
16
16
  @flows = flows
17
17
  @client =
18
- flowdock_client || Flowdock::Client.new(api_token: api_token)
18
+ flowdock_client || ::Flowdock::Client.new(api_token: api_token)
19
19
 
20
20
  UsersCreator.create_users(client.get('/users'))
21
21
  end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "lita-flowdock"
3
- spec.version = "0.1.1"
3
+ spec.version = "0.1.2"
4
4
  spec.authors = ["Ben House"]
5
5
  spec.email = ["ben@benhouse.io"]
6
6
  spec.description = %q{flowdock adapter for lita.io}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lita-flowdock
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben House