cnc 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9397b7a6d013228b0aacbdb960d2d1e926af5aed6b7942f267de5be171e5e86d
4
- data.tar.gz: 9f3327dc68947db9dc7f24e1b5366e98b168bc1fe3a42bc86e78c714d02b7e37
3
+ metadata.gz: 51e3b73ab88e990cdb1fb24bf9e7ccbb06042a4e8829c4c6216d14dab350fc43
4
+ data.tar.gz: 2578f0bee1b7f83f2d5604da4347f4f1ff83cbd7f0f7acf9b08921e5da2f1694
5
5
  SHA512:
6
- metadata.gz: d34b3543d0a2d90b235f96001a11fb1d19c0d9d525a14df9f689b7024153b1152182e38be8a4a86420749ecfcd995110462093be7cf8e3a7158135e6997997ad
7
- data.tar.gz: 2f24d60005dd07b903ee6cb89143c0accdf2bd45236f1015c4576363c4f242685c60216bfce14f12f174a4f7465fe75fd120f3fe2e184c4e72b82785101d9652
6
+ metadata.gz: 659f625e7a2e4e1af0bb99e1f5d9476770dea0fd79a3c2ae795ba0cc3f5ba90054a46e808246155e66be873b299cd0310f2968f4bffbd293530e87c5da5a6037
7
+ data.tar.gz: c076ff3abae955f61a1a042fda3a1401624237300676e075d2528222e6c846f8d2aaaac8aa603bc5259a21ba65bc98b571576e9a79443c8ce751737b32b50320
data/lib/cnc/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module CNC
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
data/rubocop.yml ADDED
@@ -0,0 +1,66 @@
1
+ inherit_gem:
2
+ rubocop-rails-omakase: rubocop.yml
3
+
4
+ AllCops:
5
+ # ParserEngine: parser_prism
6
+ TargetRubyVersion: 3.3
7
+
8
+ # wrapped invocations should line up arguments
9
+ Layout/ArgumentAlignment:
10
+ EnforcedStyle: with_first_argument
11
+
12
+ # Ensure the proper ordering of class macros, etc.
13
+ Layout/ClassStructure:
14
+ Enabled: true
15
+
16
+ # `end` should be aligned with the keyword that started the block
17
+ Layout/EndAlignment:
18
+ EnforcedStyleAlignWith: keyword
19
+
20
+ # Line up adjacent assignments
21
+ Layout/ExtraSpacing:
22
+ ForceEqualSignAlignment: true
23
+
24
+ # disabled by rubocop-rails-omakase
25
+ Layout/IndentationConsistency:
26
+ EnforcedStyle: normal
27
+ Enabled: true
28
+
29
+ # disabled by rubocop-rails-omakase
30
+ Layout/IndentationWidth:
31
+ Width: 2
32
+ Enabled: true
33
+
34
+ # No spaces inside array literals: `[1, 2]`. Matches method invocation: `foo(1, 2)`.
35
+ Layout/SpaceInsideArrayLiteralBrackets:
36
+ EnforcedStyle: no_space
37
+
38
+ # `{|x| x }` No need for the first space
39
+ Layout/SpaceInsideBlockBraces:
40
+ SpaceBeforeBlockParameters: false
41
+
42
+ # No spaces inside hash literals: `{a: 1}`. Matches method invocation: `foo(a: 1)`
43
+ Layout/SpaceInsideHashLiteralBraces:
44
+ EnforcedStyle: no_space
45
+
46
+ # `if x = 1` is fine and should be used relatively often
47
+ Lint/AssignmentInCondition:
48
+ Enabled: false
49
+
50
+ # ensure test filenames include "test"
51
+ Minitest/TestFileName:
52
+ Enabled: true
53
+
54
+ # Prefer `refute` over `assert_not`. `assert_not_*` are rails-only.
55
+ Rails/RefuteMethods:
56
+ EnforcedStyle: refute
57
+
58
+ # `{x:}` preferred over `x: x` or `:x => x`. Ignored for > ruby-3.3 code.
59
+ Style/HashSyntax:
60
+ EnforcedShorthandSyntax: always
61
+
62
+ # Prefer "x" over 'x' for all files.
63
+ Style/StringLiterals:
64
+ Enabled: true
65
+ EnforcedStyle: double_quotes
66
+ Include: ["*"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cnc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Peterson
@@ -60,7 +60,6 @@ executables:
60
60
  extensions: []
61
61
  extra_rdoc_files: []
62
62
  files:
63
- - ".rubocop.yml"
64
63
  - MIT-LICENSE
65
64
  - README.md
66
65
  - Rakefile
@@ -80,6 +79,7 @@ files:
80
79
  - lib/cnc/version.rb
81
80
  - lib/object.rb
82
81
  - lib/tasks/cnc_tasks.rake
82
+ - rubocop.yml
83
83
  homepage: https://github.com/craft-concept/cnc
84
84
  licenses:
85
85
  - MIT
data/.rubocop.yml DELETED
@@ -1,2 +0,0 @@
1
- inherit_from:
2
- - rubocop.yml