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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '028df6d8d790fb53fcc4a46363d9fd232ce9885c0c812789e0fe3d7ed7103411'
4
- data.tar.gz: c0d2d3d86b0c41e144bbeaeeb5ff98027de50319d77fe2a1c661d372ff3f4359
3
+ metadata.gz: 9d4c1265c99783a4a9a75b15cdf00c5c7f429adf46c52ed163f3a60abfa06628
4
+ data.tar.gz: 23c08baad1ad89c1e7afeead653c24ada3ed06c5b5f37c3867a17a6d53f3673b
5
5
  SHA512:
6
- metadata.gz: 05e5d5bd4ccfeb259f3d087baf21d20d2c85c77fd88cab817b8027c5117204a1e8a21e3ae9183ce8efe2dc4e26c9d66c404f788aa82ee377163a3e6d25d1b4ba
7
- data.tar.gz: b3beec9904c278490a689107bf7ababa95f3ef7ccf01d564b36634eccba01904c9290dcb695594732c45892994dcde462c722681fb195e471f875fb05f81fc04
6
+ metadata.gz: b655f4291a97995af3ad6ccc0d4fefe41c85534f14883ce0d17229f4f1ddc1b49c3aca9b3abca732a1f86da1bb27079d33b871e2e8dbedc178d538b7cb4ee0c2
7
+ data.tar.gz: 64d4eb67cbdbccbd19a0303ef284651a6c9e9fa1cd9f2e75362eadb04eb04b3e3c0d8272596f29edbc24635c9390e53bb3e6de7cc3895dd3902594d15527e8fd
@@ -1,5 +1,5 @@
1
1
  AllCops:
2
- TargetRubyVersion: 2.4
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 the `nutrella` from your project directory or from any subdirectory.
69
+ Note: you can invoke `nutrella` from your project directory or from any subdirectory.
70
70
 
71
71
  ## Troubleshooting
72
72
 
73
- ### `method_missing: undefined method 'this'`
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
- ### `uninitialized constant Gem::Source (NameError)`
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
- ### `cannot load such file -- nutrella`
89
+ #### `cannot load such file -- nutrella`
90
90
 
91
- This error may appear after running `irb -rubygems` and you are unable to `require 'nutrella'`. You won't be able to `require 'nutrella'` from a directory that uses Bundler. Try running `irb` instead from your home directory:
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, 150) =~ /This file was generated by Bundler/
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, 150) =~ /This file was generated by Bundler/
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.
@@ -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, 150) =~ /This file was generated by Bundler/
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.
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "yaml"
2
4
 
3
5
  module Nutrella
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Nutrella
2
4
  #
3
5
  # This is the top-level class for the gem.
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "yaml"
2
4
 
3
5
  module Nutrella
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "trello"
2
4
 
3
5
  module Nutrella
@@ -1,4 +1,5 @@
1
- #
1
+ # frozen_string_literal: true
2
+
2
3
  # Simpler versions of extensions from ActiveSupport.
3
4
  #
4
5
  class String
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "trello"
2
4
 
3
5
  module Nutrella
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "open3"
2
4
 
3
5
  module Nutrella
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Nutrella
2
- VERSION = "1.2.0"
4
+ VERSION = "1.2.1"
3
5
  end
@@ -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.58.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.0
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-08-30 00:00:00.000000000 Z
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.58.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.58.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