nutrella 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +28 -1
- data/README.md +5 -5
- data/bin/rake +1 -1
- data/bin/rspec +1 -1
- data/bin/rubocop +1 -1
- data/lib/nutrella/cache.rb +2 -0
- data/lib/nutrella/command.rb +2 -0
- data/lib/nutrella/configuration.rb +2 -0
- data/lib/nutrella/developer_keys.rb +2 -0
- data/lib/nutrella/string_ext.rb +2 -1
- data/lib/nutrella/task_board.rb +2 -0
- data/lib/nutrella/task_board_name.rb +2 -0
- data/lib/nutrella/version.rb +3 -1
- data/nutrella.gemspec +2 -1
- metadata +18 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9d4c1265c99783a4a9a75b15cdf00c5c7f429adf46c52ed163f3a60abfa06628
|
4
|
+
data.tar.gz: 23c08baad1ad89c1e7afeead653c24ada3ed06c5b5f37c3867a17a6d53f3673b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b655f4291a97995af3ad6ccc0d4fefe41c85534f14883ce0d17229f4f1ddc1b49c3aca9b3abca732a1f86da1bb27079d33b871e2e8dbedc178d538b7cb4ee0c2
|
7
|
+
data.tar.gz: 64d4eb67cbdbccbd19a0303ef284651a6c9e9fa1cd9f2e75362eadb04eb04b3e3c0d8272596f29edbc24635c9390e53bb3e6de7cc3895dd3902594d15527e8fd
|
data/.rubocop.yml
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
AllCops:
|
2
|
-
TargetRubyVersion: 2.
|
2
|
+
TargetRubyVersion: 2.3
|
3
3
|
|
4
4
|
Exclude:
|
5
5
|
- 'bin/**/*'
|
@@ -11,9 +11,36 @@ Layout/MultilineMethodCallBraceLayout:
|
|
11
11
|
Metrics/BlockLength:
|
12
12
|
Enabled: false
|
13
13
|
|
14
|
+
RSpec/AnyInstance:
|
15
|
+
Enabled: false
|
16
|
+
|
17
|
+
RSpec/ExampleLength:
|
18
|
+
Max: 15
|
19
|
+
|
14
20
|
Metrics/LineLength:
|
15
21
|
Max: 120
|
16
22
|
|
23
|
+
RSpec/DescribeClass:
|
24
|
+
Enabled: false
|
25
|
+
|
26
|
+
RSpec/DescribedClass:
|
27
|
+
Enabled: false
|
28
|
+
|
29
|
+
RSpec/NotToNot:
|
30
|
+
EnforcedStyle: to_not
|
31
|
+
|
32
|
+
RSpec/LeadingSubject:
|
33
|
+
Enabled: false
|
34
|
+
|
35
|
+
RSpec/MessageSpies:
|
36
|
+
Enabled: false
|
37
|
+
|
38
|
+
RSpec/MultipleExpectations:
|
39
|
+
Max: 3
|
40
|
+
|
41
|
+
RSpec/SubjectStub:
|
42
|
+
Enabled: false
|
43
|
+
|
17
44
|
# We can ignore this small performance improvement.
|
18
45
|
Style/FrozenStringLiteralComment:
|
19
46
|
Enabled: false
|
data/README.md
CHANGED
@@ -66,11 +66,11 @@ Create or open a named Trello board:
|
|
66
66
|
|
67
67
|
$ nutrella <git-branch-name>
|
68
68
|
|
69
|
-
Note: you can invoke
|
69
|
+
Note: you can invoke `nutrella` from your project directory or from any subdirectory.
|
70
70
|
|
71
71
|
## Troubleshooting
|
72
72
|
|
73
|
-
|
73
|
+
#### `method_missing: undefined method 'this'`
|
74
74
|
|
75
75
|
Try updating `RubyGems`
|
76
76
|
|
@@ -78,7 +78,7 @@ Try updating `RubyGems`
|
|
78
78
|
gem update --system
|
79
79
|
```
|
80
80
|
|
81
|
-
|
81
|
+
#### `uninitialized constant Gem::Source (NameError)`
|
82
82
|
|
83
83
|
Try updating `bundler`
|
84
84
|
|
@@ -86,9 +86,9 @@ Try updating `bundler`
|
|
86
86
|
gem install bundler
|
87
87
|
```
|
88
88
|
|
89
|
-
|
89
|
+
#### `cannot load such file -- nutrella`
|
90
90
|
|
91
|
-
This error may appear after running `irb -rubygems` and you are unable to `require 'nutrella'`.
|
91
|
+
This error may appear after running `irb -rubygems` and you are unable to `require 'nutrella'`. Try running `irb -rubygems` from your home directory:
|
92
92
|
|
93
93
|
```sh
|
94
94
|
cd ~
|
data/bin/rake
CHANGED
@@ -15,7 +15,7 @@ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
|
15
15
|
bundle_binstub = File.expand_path("../bundle", __FILE__)
|
16
16
|
|
17
17
|
if File.file?(bundle_binstub)
|
18
|
-
if File.read(bundle_binstub,
|
18
|
+
if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
|
19
19
|
load(bundle_binstub)
|
20
20
|
else
|
21
21
|
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
data/bin/rspec
CHANGED
@@ -15,7 +15,7 @@ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
|
15
15
|
bundle_binstub = File.expand_path("../bundle", __FILE__)
|
16
16
|
|
17
17
|
if File.file?(bundle_binstub)
|
18
|
-
if File.read(bundle_binstub,
|
18
|
+
if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
|
19
19
|
load(bundle_binstub)
|
20
20
|
else
|
21
21
|
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
data/bin/rubocop
CHANGED
@@ -15,7 +15,7 @@ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
|
15
15
|
bundle_binstub = File.expand_path("../bundle", __FILE__)
|
16
16
|
|
17
17
|
if File.file?(bundle_binstub)
|
18
|
-
if File.read(bundle_binstub,
|
18
|
+
if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
|
19
19
|
load(bundle_binstub)
|
20
20
|
else
|
21
21
|
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
data/lib/nutrella/cache.rb
CHANGED
data/lib/nutrella/command.rb
CHANGED
data/lib/nutrella/string_ext.rb
CHANGED
data/lib/nutrella/task_board.rb
CHANGED
data/lib/nutrella/version.rb
CHANGED
data/nutrella.gemspec
CHANGED
@@ -23,6 +23,7 @@ Gem::Specification.new do |spec|
|
|
23
23
|
|
24
24
|
spec.add_development_dependency "rake", "~> 12.1"
|
25
25
|
spec.add_development_dependency "rspec", "~> 3.7"
|
26
|
-
spec.add_development_dependency "rubocop", "~> 0.
|
26
|
+
spec.add_development_dependency "rubocop", "~> 0.61"
|
27
|
+
spec.add_development_dependency "rubocop-rspec", "~> 1.30"
|
27
28
|
spec.add_development_dependency "simplecov", "~> 0.16"
|
28
29
|
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.2.
|
4
|
+
version: 1.2.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: 2018-
|
11
|
+
date: 2018-12-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ruby-trello
|
@@ -58,14 +58,28 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.
|
61
|
+
version: '0.61'
|
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: 0.
|
68
|
+
version: '0.61'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rubocop-rspec
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '1.30'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '1.30'
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
84
|
name: simplecov
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|