nutrella 1.6.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: d8f9d4dd38032bffc0e82c45319e2b5606d5e4b12709fad7f1caf5e904cf540b
4
- data.tar.gz: 98cfb7a5e03bc56f461e5c7b62b958a9c58ba82ce82e85573726f52e276e2b7d
3
+ metadata.gz: 4a1b02e39fe1aa89f7a044895bdd64f09508e39f68488730ae2ed70875174471
4
+ data.tar.gz: abc38f225f07ddd33fa22ace3247b83aa9f630639ddaa696d40b744a60740382
5
5
  SHA512:
6
- metadata.gz: 58be0c5fe2c1063ee726927b183e0fc1e9c0ca821988a47cc65100ec7180cb33df23b7d79457e2f1965c60de97072f0b17e3520997638167f22620e841ce5cbd
7
- data.tar.gz: 70da9a7fc7034c9c62ade428e5e1b65258ca66d3a218b898de8ca074b76bdc7984b1b2adca693d255268a137748c7a78ae3bb9ed6c0bed56c5ec138fafe58c10
6
+ metadata.gz: bef23488872e4bcd8bf0a8c14bfff636f8e681fcf72748404393ee960acd549cc5fec12599bdb88779f5098b5c6833c8e3dee119790eb3991b7609eaeba00e88
7
+ data.tar.gz: 1f176b6d595f3aadf3320f88c883202ac377f8bbe1c5dc46252c36cc38ba2092a7d8e5db7c600edf6bf19e16c3a5453f947f7183f0821d19083172a914c2e490
data/.rubocop.yml CHANGED
@@ -1,13 +1,15 @@
1
1
  require:
2
+ - rubocop-rake
2
3
  - rubocop-rspec
3
4
 
4
5
  AllCops:
5
6
  NewCops: enable
6
- TargetRubyVersion: 2.6
7
+ TargetRubyVersion: 3.0
7
8
 
8
9
  Exclude:
9
10
  - 'bin/**/*'
10
11
 
12
+
11
13
  Layout/LineLength:
12
14
  Max: 120
13
15
 
@@ -21,6 +23,9 @@ Metrics/BlockLength:
21
23
  Naming/MemoizedInstanceVariableName:
22
24
  EnforcedStyleForLeadingUnderscores: required
23
25
 
26
+ Rake/Desc:
27
+ Enabled: false
28
+
24
29
  RSpec/AnyInstance:
25
30
  Enabled: false
26
31
 
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.7.4
1
+ 3.0.5
data/CHANGELOG.md CHANGED
@@ -6,6 +6,21 @@ 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
+
15
+ ## [1.7.0] - 2023-03-25
16
+
17
+ - Update ruby-trello
18
+ - Update development dependencies
19
+
20
+ #### Breaking Changes
21
+
22
+ - Drop support for all Ruby 2.x versions
23
+
9
24
  ## [1.6.0] - 2021-07-30
10
25
 
11
26
  #### New Features
@@ -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.6.0"
4
+ VERSION = "1.7.1"
5
5
  end
data/nutrella.gemspec CHANGED
@@ -16,7 +16,8 @@ Gem::Specification.new do |spec|
16
16
  "homepage_uri" => "https://github.com/amckinnell/nutrella",
17
17
  "changelog_uri" => "https://github.com/amckinnell/nutrella/blob/master/CHANGELOG.md",
18
18
  "source_code_uri" => "https://github.com/amckinnell/nutrella",
19
- "bug_tracker_uri" => "https://github.com/amckinnell/nutrella/issues"
19
+ "bug_tracker_uri" => "https://github.com/amckinnell/nutrella/issues",
20
+ "rubygems_mfa_required" => "true"
20
21
  }
21
22
 
22
23
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(spec|features)/}) }
@@ -24,13 +25,14 @@ Gem::Specification.new do |spec|
24
25
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
25
26
  spec.require_paths = ["lib"]
26
27
 
27
- spec.required_ruby_version = ">= 2.6"
28
+ spec.required_ruby_version = ">= 3.0"
28
29
 
29
- spec.add_runtime_dependency "ruby-trello", "~> 3.0"
30
+ spec.add_runtime_dependency "ruby-trello", "~> 4.0"
30
31
 
31
32
  spec.add_development_dependency "rake", "~> 13.0"
32
- spec.add_development_dependency "rspec", "~> 3.10"
33
- spec.add_development_dependency "rubocop", "~> 1.18"
34
- spec.add_development_dependency "rubocop-rspec", "~> 2.4"
35
- spec.add_development_dependency "simplecov", "~> 0.21"
33
+ spec.add_development_dependency "rspec", "~> 3.12"
34
+ spec.add_development_dependency "rubocop", "~> 1.48"
35
+ spec.add_development_dependency "rubocop-rake", "~> 0.6"
36
+ spec.add_development_dependency "rubocop-rspec", "~> 2.19"
37
+ spec.add_development_dependency "simplecov", "~> 0.22"
36
38
  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.6.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: 2021-07-30 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
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '3.0'
19
+ version: '4.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '3.0'
26
+ version: '4.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -44,56 +44,70 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '3.10'
47
+ version: '3.12'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '3.10'
54
+ version: '3.12'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rubocop
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '1.18'
61
+ version: '1.48'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '1.18'
68
+ version: '1.48'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rubocop-rake
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '0.6'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '0.6'
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: rubocop-rspec
71
85
  requirement: !ruby/object:Gem::Requirement
72
86
  requirements:
73
87
  - - "~>"
74
88
  - !ruby/object:Gem::Version
75
- version: '2.4'
89
+ version: '2.19'
76
90
  type: :development
77
91
  prerelease: false
78
92
  version_requirements: !ruby/object:Gem::Requirement
79
93
  requirements:
80
94
  - - "~>"
81
95
  - !ruby/object:Gem::Version
82
- version: '2.4'
96
+ version: '2.19'
83
97
  - !ruby/object:Gem::Dependency
84
98
  name: simplecov
85
99
  requirement: !ruby/object:Gem::Requirement
86
100
  requirements:
87
101
  - - "~>"
88
102
  - !ruby/object:Gem::Version
89
- version: '0.21'
103
+ version: '0.22'
90
104
  type: :development
91
105
  prerelease: false
92
106
  version_requirements: !ruby/object:Gem::Requirement
93
107
  requirements:
94
108
  - - "~>"
95
109
  - !ruby/object:Gem::Version
96
- version: '0.21'
110
+ version: '0.22'
97
111
  description:
98
112
  email:
99
113
  - alistair.mckinnell@gmail.com
@@ -140,6 +154,7 @@ metadata:
140
154
  changelog_uri: https://github.com/amckinnell/nutrella/blob/master/CHANGELOG.md
141
155
  source_code_uri: https://github.com/amckinnell/nutrella
142
156
  bug_tracker_uri: https://github.com/amckinnell/nutrella/issues
157
+ rubygems_mfa_required: 'true'
143
158
  post_install_message:
144
159
  rdoc_options: []
145
160
  require_paths:
@@ -148,14 +163,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
148
163
  requirements:
149
164
  - - ">="
150
165
  - !ruby/object:Gem::Version
151
- version: '2.6'
166
+ version: '3.0'
152
167
  required_rubygems_version: !ruby/object:Gem::Requirement
153
168
  requirements:
154
169
  - - ">="
155
170
  - !ruby/object:Gem::Version
156
171
  version: '0'
157
172
  requirements: []
158
- rubygems_version: 3.2.24
173
+ rubygems_version: 3.4.10
159
174
  signing_key:
160
175
  specification_version: 4
161
176
  summary: A command line tool for creating a Trello Board based on the current git