trello_client_lite 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/VERSION +1 -1
  4. data/lib/trello/client.rb +12 -12
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8935cb9b1408d805245e88af703fa7e402abeffcef83cfba6e8812f5dca35707
4
- data.tar.gz: be1949ccbc890ad973cee8260770e9887a6cda9108683c210003ebe68dfae86d
3
+ metadata.gz: 276b444efb7291fb586a580c6347f7296290f71379f40dd244abd0e8a8d9e64b
4
+ data.tar.gz: 23c32cd738097a356aaebb099775d4b6275783e0b5fcd840fdf83a8a12a49a9d
5
5
  SHA512:
6
- metadata.gz: ee4eb11f52f5c189253b1330481490caa7cf2e09fe10041e80f63d9faf29c126c6e42e0de5e32f90d77c4ade83a9a6158d20ec247417150886dc67015936ef65
7
- data.tar.gz: e4b006afde659d122c5f4d45b238b0b69db657973de255c2760103d0489769638bcc41720644deef7a58bded28855d59a86ece7376415516390394fd7fe7e8f6
6
+ metadata.gz: 0bf912bb0cca3c1afa826e85784d713a5d1950099d203ce2bc75aabf74e253d09672fa2912fda21b91b6e14832367281d4c4fb3c545b5e276225794ba98d17cb
7
+ data.tar.gz: c33c904f850ac30cccb6d64f2e2b5c85494ce39c01a8940b51dd221159cb906281aee05937e9c07304e36510ba7650f3bcb88a33a19c80c0f536be090eb594d1
data/README.md CHANGED
@@ -162,4 +162,4 @@ npm install -g standard-version
162
162
  3. Push the `release` branch, but not the git tag: `git push origin release`
163
163
  4. Open a Pull Request.
164
164
  5. Once the Pull Request is merged and back in master build the gem: `make build`
165
- 6. Push this gem to rubygems.org: `gem push trello_client_lite-x.x.x.gem`
165
+ 6. Push this gem to rubygems.org: `make release`
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.1
1
+ 1.1.2
@@ -24,6 +24,18 @@ module Trello
24
24
  request('cards') { |url| HTTParty.post(url, options) }
25
25
  end
26
26
 
27
+ def boards
28
+ options = { query: { key: key, token: token } }
29
+
30
+ request('members/me/boards') { |url| HTTParty.get(url, options) }
31
+ end
32
+
33
+ def lists(board_id)
34
+ options = { query: { key: key, token: token } }
35
+
36
+ request("boards/#{board_id}/lists") { |url| HTTParty.get(url, options) }
37
+ end
38
+
27
39
  private
28
40
 
29
41
  attr_reader :base_url, :key, :token
@@ -43,17 +55,5 @@ module Trello
43
55
  http_code: response.code
44
56
  )
45
57
  end
46
-
47
- def boards
48
- options = { query: { key: key, token: token } }
49
-
50
- request('members/me/boards') { |url| HTTParty.get(url, options) }
51
- end
52
-
53
- def lists(board_id)
54
- options = { query: { key: key, token: token } }
55
-
56
- request("boards/#{board_id}/lists") { |url| HTTParty.get(url, options) }
57
- end
58
58
  end
59
59
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trello_client_lite
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Charlie Campbell