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 +4 -4
- data/.rubocop-https---raw-githubusercontent-com-dvmtn-house-style-master-rubocop-yml +54 -8
- data/.semver +1 -1
- data/.tool-versions +1 -0
- data/history.rdoc +2 -0
- data/lib/semver_versioning.rb +1 -1
- data/lib/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c7501a03d768e05a71e89a6c618ddc403a393aca
|
4
|
+
data.tar.gz: a98d11a87b7d72ac9bf526c8ee4b415a2bbec28c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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
data/.tool-versions
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
ruby 2.3.5
|
data/history.rdoc
CHANGED
data/lib/semver_versioning.rb
CHANGED
@@ -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)
|
data/lib/version.rb
CHANGED
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.
|
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-
|
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
|