nutrella 1.7.0 → 1.7.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
  SHA256:
3
- metadata.gz: 3c60899382e6e79688404c049df88f7976ec1f1acf77a37e3f1cc7ad939cb152
4
- data.tar.gz: c1227cbc48e26c2fafe4fd1d4bca4950f037ffcb82fa2f79168e29203d280158
3
+ metadata.gz: 4a1b02e39fe1aa89f7a044895bdd64f09508e39f68488730ae2ed70875174471
4
+ data.tar.gz: abc38f225f07ddd33fa22ace3247b83aa9f630639ddaa696d40b744a60740382
5
5
  SHA512:
6
- metadata.gz: 124ce5c5115109501ca6bbf2789acbae393ea1583c285faf4a5a98a635ab56c58937696db6dbf2abd930988640f542b123c5ac43b22862010148408717d41f6f
7
- data.tar.gz: 536177377379d391139bd47aa4838013e8b41b5ee28da5e686f347bcd5c0e7941ac66a14fcafcb7ee2ac3259ecdbffc339b3d6167e2a6c170a506266911f6630
6
+ metadata.gz: bef23488872e4bcd8bf0a8c14bfff636f8e681fcf72748404393ee960acd549cc5fec12599bdb88779f5098b5c6833c8e3dee119790eb3991b7609eaeba00e88
7
+ data.tar.gz: 1f176b6d595f3aadf3320f88c883202ac377f8bbe1c5dc46252c36cc38ba2092a7d8e5db7c600edf6bf19e16c3a5453f947f7183f0821d19083172a914c2e490
data/CHANGELOG.md CHANGED
@@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [1.7.1] - 2023-05-05
10
+
11
+ #### Bug Fix
12
+
13
+ - Fix board creation (which was broken due to changes in the Trello API)
14
+
9
15
  ## [1.7.0] - 2023-03-25
10
16
 
11
17
  - Update ruby-trello
@@ -33,15 +33,7 @@ module Nutrella
33
33
  end
34
34
 
35
35
  def create(board_name)
36
- create_board(board_name).tap { |board| make_team_visible(board) }
37
- end
38
-
39
- def create_board(board_name)
40
- Trello::Board.create(name: board_name, organization_id: @organization)
41
- end
42
-
43
- def make_team_visible(board)
44
- Trello.client.put("/boards/#{board.id}", "prefs/permissionLevel=org")
36
+ Trello::Board.create(name: board_name, organization_id: @organization, visibility_level: "org")
45
37
  end
46
38
  end
47
39
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Nutrella
4
- VERSION = "1.7.0"
4
+ VERSION = "1.7.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nutrella
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
4
+ version: 1.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alistair McKinnell
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-03-25 00:00:00.000000000 Z
11
+ date: 2023-05-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby-trello
@@ -170,7 +170,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
170
170
  - !ruby/object:Gem::Version
171
171
  version: '0'
172
172
  requirements: []
173
- rubygems_version: 3.4.8
173
+ rubygems_version: 3.4.10
174
174
  signing_key:
175
175
  specification_version: 4
176
176
  summary: A command line tool for creating a Trello Board based on the current git