rake-n-bake 2.1.2 → 2.1.3

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
  SHA1:
3
- metadata.gz: 92251ee651a1377c055a027261fa76e7e9974959
4
- data.tar.gz: 2d8bb3eba9d1b8d008786f02f429a5d0eb97d52a
3
+ metadata.gz: c7501a03d768e05a71e89a6c618ddc403a393aca
4
+ data.tar.gz: a98d11a87b7d72ac9bf526c8ee4b415a2bbec28c
5
5
  SHA512:
6
- metadata.gz: fc7b76283c92775956cc614df3bf92204e5ae49d724ecb5a21dc57860c3cd9ff77baa570703c7d4096204c6ad1abfd681cabac750793f4b300cf4437fde32916
7
- data.tar.gz: d00b95d0c33ce831d115a05ef399c8c994e833b9b1f77b4e1a3ba65fb8e2a2a4c424d4626a5fcccddd63cb4e74bb50c1741539a80725c33b1ca877619127b3a6
6
+ metadata.gz: 1632d72b890afdcf695e5bbf6b4f7203b54f8105f0ee56f120b9ccfc2368d9141e680f6d9b6662f5af674867ead6c54f175758e08952b47cb0fa4c5c85cb150c
7
+ data.tar.gz: 52c1e5c1cd8e402cb5034dfe96a3da0625a6107f3ca34cac2a37a320ada5d0db11ea91144f9f091d83d090ffebe654fb40f7d31a648d4b0bbe08f3bc64e4ae82
@@ -3,6 +3,7 @@ AllCops:
3
3
  - '**/Rakefile'
4
4
  - '**/config.ru'
5
5
  Exclude:
6
+ - 'ansible/**/*'
6
7
  - 'db/**/*'
7
8
  - 'config/**/*'
8
9
  - 'script/**/*'
@@ -12,12 +13,27 @@ AllCops:
12
13
  - 'log/**/*'
13
14
  - 'node_modules/**/*'
14
15
 
15
- Style/AlignHash:
16
+
17
+ #############################################
18
+ # Layout
19
+ #
20
+
21
+ Layout/AlignHash:
16
22
  EnforcedHashRocketStyle: table
17
23
  EnforcedColonStyle: table
18
24
  EnforcedLastArgumentHashStyle: ignore_implicit
19
25
  SupportedLastArgumentHashStyles: ignore_implicit
20
26
 
27
+ Layout/EmptyLinesAroundClassBody:
28
+ EnforcedStyle: empty_lines
29
+
30
+ Layout/SpaceBeforeBlockBraces:
31
+ Enabled: false
32
+
33
+ #############################################
34
+ # Style
35
+ #
36
+
21
37
  Style/DefWithParentheses:
22
38
  Enabled: false
23
39
 
@@ -40,13 +56,13 @@ Style/PercentLiteralDelimiters:
40
56
  PreferredDelimiters:
41
57
  '%': '""'
42
58
  '%i': '[]'
43
- '%q': '[]'
44
- '%Q': '[]'
45
- '%r': '[]'
59
+ '%q': "''"
60
+ '%Q': '""'
61
+ '%r': '()'
46
62
  '%s': '[]'
47
63
  '%w': '[]'
48
64
  '%W': '[]'
49
- '%x': '[]'
65
+ '%x': '()'
50
66
 
51
67
  Style/PredicateName:
52
68
  NamePrefixBlacklist:
@@ -60,14 +76,44 @@ Style/PredicateName:
60
76
  Style/SignalException:
61
77
  EnforcedStyle: only_raise
62
78
 
63
- Style/EmptyLinesAroundClassBody:
64
- EnforcedStyle: empty_lines
65
-
66
79
  Style/TrailingCommaInLiteral:
67
80
  EnforcedStyleForMultiline: comma
68
81
 
82
+ Style/VariableNumber:
83
+ EnforcedStyle: snake_case
84
+
85
+ Style/VariableName:
86
+ Enabled: true
87
+
88
+ Style/FileName:
89
+ Exclude:
90
+ - 'Gemfile'
91
+ - 'Guardfile'
92
+
93
+ #############################################
94
+ # Metrics
95
+ #
96
+
69
97
  Metrics/LineLength:
70
98
  Exclude:
71
99
  - 'spec/**/*'
72
100
  Max: 140
73
101
  AllowURI: true
102
+
103
+ Metrics/BlockLength:
104
+ Exclude:
105
+ - 'spec/**/*_spec.rb'
106
+ - 'spec/**/*_spec.rb'
107
+ - 'spec/factories/**/*.rb'
108
+ - 'spec/spec_helper.rb'
109
+ - 'spec/support/shared_examples/*.rb'
110
+
111
+ #############################################
112
+ # Security
113
+ #
114
+
115
+ Security/Eval:
116
+ Enabled: true
117
+
118
+ Security/MarshalLoad:
119
+ Enabled: true
data/.semver CHANGED
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  :major: 2
3
3
  :minor: 1
4
- :patch: 2
4
+ :patch: 3
5
5
  :special: ''
6
6
  :metadata: ''
@@ -0,0 +1 @@
1
+ ruby 2.3.5
@@ -1,3 +1,5 @@
1
+ == v2.1.3 (11 October 2017)
2
+
1
3
  == v2.1.2 (02 October 2017)
2
4
 
3
5
  == v2.1.1 (19 September 2017)
@@ -66,7 +66,7 @@ module RakeNBake
66
66
  version_file = version_files[0]
67
67
 
68
68
  version = current_version.to_s.sub(/^v/, '')
69
- version_string = "VERSION = '#{version}'"
69
+ version_string = "VERSION = '#{version}'.freeze"
70
70
  version_file_content = File.read(version_file).sub(/VERSION = .*$/, version_string)
71
71
 
72
72
  File.write(version_file, version_file_content)
@@ -1,3 +1,3 @@
1
1
  module RakeNBake
2
- VERSION = '2.1.2'
2
+ VERSION = '2.1.3'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rake-n-bake
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.2
4
+ version: 2.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Vickerstaff
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-10-02 00:00:00.000000000 Z
12
+ date: 2017-10-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
@@ -54,6 +54,7 @@ files:
54
54
  - ".rubocop.yml"
55
55
  - ".ruby-version"
56
56
  - ".semver"
57
+ - ".tool-versions"
57
58
  - ".travis.yml"
58
59
  - Gemfile
59
60
  - Guardfile