active_regulation 4.0.2 → 4.0.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: 0ca9e1f21b6b01f47b110d68380e1130ac932b1a
4
- data.tar.gz: a94651edb8e3ff2066adda543a69b2a0cbb045af
3
+ metadata.gz: '09539c95b2458fd671fb9425f38acd51e580fd19'
4
+ data.tar.gz: 7239bbf9068805702d9ea80fadfdad630a4be061
5
5
  SHA512:
6
- metadata.gz: 3b93da4bdf3b1afafcd1a52559eb420e07c7380e296e25e39fd583ee47d1a6963f1ea3dad66a27419be2f104a5454566765e66e07239f9aa20e2b00638f98319
7
- data.tar.gz: 5725d7afa804653f1102d46a111dea937b45cbd8e8fe523b19c152c3a5fe09c0cfd9f8a0aebfed3bb8c1c0aa621004d68829517af9ba6c59d74ac5a36562f910
6
+ metadata.gz: a8af7bedcf9c979eb40c1c09368c086089dbd2f954b6c609ddca006ab1850272530618e069aea6debb3453274f0cd8ace9217aa7ef8dec3f644d1985cf411a61
7
+ data.tar.gz: 1dd3f4d0d144280772a578ea1bde1d5cb5ebb0de1a283eb4c68345210ec3fb751e170761930d3e033d62881e693c9f697a49d5f87b7cbf80343c6f4f436332f4
data/.rubocop.yml CHANGED
@@ -1,11 +1,25 @@
1
1
  AllCops:
2
2
  DisplayCopNames: true
3
3
  DisplayStyleGuide: true
4
- TargetRubyVersion: 2.3
4
+ TargetRubyVersion: 2.4
5
5
  Exclude:
6
6
  - 'spec/**/**/*'
7
+ Layout/ClosingParenthesisIndentation:
8
+ Enabled: false
9
+ Layout/EmptyLinesAroundBlockBody:
10
+ Enabled: false
11
+ Layout/EmptyLinesAroundClassBody:
12
+ Enabled: false
13
+ Layout/EmptyLinesAroundModuleBody:
14
+ Enabled: false
15
+ Layout/FirstParameterIndentation:
16
+ Enabled: false
17
+ Layout/MultilineMethodCallIndentation:
18
+ EnforcedStyle: aligned
7
19
  LineLength:
8
20
  Max: 100
21
+ Lint/ScriptPermission:
22
+ Enabled: false
9
23
  Metrics/ClassLength:
10
24
  Enabled: false
11
25
  Metrics/ModuleLength:
@@ -14,24 +28,12 @@ Style/Alias:
14
28
  EnforcedStyle: prefer_alias_method
15
29
  Style/BracesAroundHashParameters:
16
30
  Enabled: false
17
- Style/ClosingParenthesisIndentation:
18
- Enabled: false
19
31
  Style/Documentation:
20
32
  Enabled: false
21
- Style/EmptyLinesAroundBlockBody:
22
- Enabled: false
23
- Style/EmptyLinesAroundClassBody:
24
- Enabled: false
25
- Style/EmptyLinesAroundModuleBody:
26
- Enabled: false
27
33
  Style/HashSyntax:
28
34
  Enabled: false
29
- Style/FirstParameterIndentation:
30
- Enabled: false
31
35
  Style/FrozenStringLiteralComment:
32
36
  Enabled: false
33
- Style/MultilineMethodCallIndentation:
34
- EnforcedStyle: aligned
35
37
  Style/NumericLiterals:
36
38
  Enabled: false
37
39
  Style/RescueModifier:
@@ -1,4 +1,5 @@
1
1
  # coding: utf-8
2
+
2
3
  lib = File.expand_path('../lib', __FILE__)
3
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
5
  require 'active_regulation/version'
@@ -17,7 +18,7 @@ Gem::Specification.new do |spec|
17
18
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
19
  spec.bindir = 'exe'
19
20
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
- spec.require_paths = %w(lib support)
21
+ spec.require_paths = %w[lib support]
21
22
 
22
23
  spec.add_runtime_dependency 'activerecord'
23
24
  spec.add_runtime_dependency 'activesupport'
@@ -1,3 +1,3 @@
1
1
  module ActiveRegulation
2
- VERSION = '4.0.2'.freeze
2
+ VERSION = '4.0.3'.freeze
3
3
  end
@@ -1,4 +1,4 @@
1
- %w(version activation containment expiration quarantine suspension visibility).each do |file_name|
1
+ %w[version activation containment expiration quarantine suspension visibility].each do |file_name|
2
2
  require "active_regulation/#{file_name}"
3
3
  end
4
4
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_regulation
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.2
4
+ version: 4.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Gomez
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-10-19 00:00:00.000000000 Z
11
+ date: 2017-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -217,7 +217,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
217
217
  version: '0'
218
218
  requirements: []
219
219
  rubyforge_project:
220
- rubygems_version: 2.6.7
220
+ rubygems_version: 2.6.12
221
221
  signing_key:
222
222
  specification_version: 4
223
223
  summary: Gem for commonly used record states.