modulorails 1.0.0 → 1.0.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: 945b70ac74dba5edd9a3e6df1aae0f0244d4a4704487a070c82d0b46580a2285
4
- data.tar.gz: 850fcbbf27e12f2b777f0c72deb15a249d84a46fa9dc993fca359dbe79481efe
3
+ metadata.gz: d9c1a33ace09742eb134cb8f41cf1aaac6f6687c8e9df97c91190aec0ca23034
4
+ data.tar.gz: 22e48b8dd51a0f187abc8a76f95af35224b6666b41b55851ef77a5a8a98d2450
5
5
  SHA512:
6
- metadata.gz: 43ef84405a627ebc3460428add66c7769b626a476c15b4e1e21234dc8ec3e4a03bade4d42bfea506965d1ee9192cfa12aa6b8271989005d0075c292faa951b25
7
- data.tar.gz: b76c6a8fd2b32a745cac58298a751c4f120e7165ac3b5c13221dd11602475f4e3bf5aaa398106ef4f6a10e1c93c98e917373aea3c041114cf480820e91cae342
6
+ metadata.gz: '08b2eb1496c1c61f30674449f5f0c56c773203851559b83b38c2c0cbf2dc55b88e89fcdece0f9d0b4a8264cc6baeef50d9b42f5bd2b67ad953bfb6d884e15881'
7
+ data.tar.gz: e21f3ac1ba44ebfc00776ca0f04541bf97e505f0773f5f47a8c2e5299909f0339f2769c1478ebce043935751a282373a0940bef910fb96bd271e857a7155e6c5
data/.rubocop.yml CHANGED
@@ -43,3 +43,20 @@ Rails/UnknownEnv:
43
43
  - development
44
44
  - test
45
45
  - staging
46
+ - preprod
47
+
48
+ # Checks if String literals are using single quotes when no interpolation is required
49
+ Style/StringLiterals:
50
+ Enabled: true
51
+ EnforcedStyle: single_quotes
52
+ ConsistentQuotesInMultiline: false
53
+
54
+ # Checks if the quotes used for quoted symbols are single quotes when no interpolation is required
55
+ Style/QuotedSymbols:
56
+ Enabled: true
57
+ EnforcedStyle: same_as_string_literals
58
+
59
+ # This cop checks for uses of literal strings converted to a symbol where a literal symbol could be used instead.
60
+ Lint/SymbolConversion:
61
+ Enabled: true
62
+ EnforcedStyle: strict
data/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  This file is used to list changes made in each version of the gem.
4
4
 
5
+ # 1.0.1
6
+
7
+ First Rubocop rules.
8
+
9
+ - Add Style/StringLiterals, Style/QuotedSymbols and Lint/SymbolConversion.
10
+
5
11
  # 1.0.0
6
12
 
7
13
  The Rubocop release.
@@ -1,5 +1,5 @@
1
1
  module Modulorails
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.1'
3
3
 
4
4
  # Useful to compare the current Ruby version
5
5
  COMPARABLE_RUBY_VERSION = Gem::Version.new(RUBY_VERSION)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: modulorails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthieu Ciappara
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-10 00:00:00.000000000 Z
11
+ date: 2022-02-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties