collapsium 0.9.0 → 0.9.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
  SHA1:
3
- metadata.gz: deac18315792dbdc2e175b87bad0fcfce11bce10
4
- data.tar.gz: ef4d05110632ddc47fedb1fcdb39b6f8a7379b96
3
+ metadata.gz: 825b8a5ec19d768060bc4024a12fc78d3f3c9ed1
4
+ data.tar.gz: 366975e637fa2a856de4f6dfce2eeec7d5a0a23a
5
5
  SHA512:
6
- metadata.gz: 36e5ad4663e3c5d1091824857f2d2cc347e19dae1433cc796e0eb58bcd6043636aa343114d51f3d52ca4f71a361be06f0d7a3dddc64a8d9d5e390f4d018f418b
7
- data.tar.gz: d704ceffee1732c7f9a8157ddc9ee1f10e8699c8796d771ee85516626ae2d54f83057339bab9d0c9526ce05cb0d9c8860bdf3b050461ce8fd4981318741d5b8a
6
+ metadata.gz: cbb69003e1c2e62442e335a4a9dab8bfd2a3763b431ccf6eef3dbf042c729f17afd9b50a50c08665ccb79d118aede827d026f40df5aa1fb0cab4d012c3a213e5
7
+ data.tar.gz: a2b827ec5aef79c244b29f24839171b20b45b134698d591edd1344b806cc64a9ca45bef60d71a04582cfa85fd5ba813d9f5fce1d52967e6d60ffa30deb908320
@@ -4,10 +4,10 @@ AllCops:
4
4
  # Metrics
5
5
 
6
6
  Metrics/LineLength:
7
- Max: 83
7
+ Max: 84
8
8
  Details: >-
9
9
  Line length of 80 is ideal for readability and compatibility; we'll accept
10
- an extra 3 for minor edge cases.
10
+ an extra 4 for minor edge cases (e.g. copyright notice).
11
11
 
12
12
  Metrics/MethodLength:
13
13
  Max: 35
@@ -77,6 +77,9 @@ Style/PreferredHashMethods:
77
77
  Style/NumericPredicate:
78
78
  Enabled: false # Not compatible with <= 2.2
79
79
 
80
+ Style/YodaCondition:
81
+ Enabled: false
82
+
80
83
  # Layout
81
84
 
82
85
  Layout/EmptyLineAfterMagicComment:
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- collapsium (0.9.0)
4
+ collapsium (0.9.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -12,7 +12,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
12
12
  require 'collapsium/version'
13
13
 
14
14
  # rubocop:disable Style/UnneededPercentQ
15
- # rubocop:disable Style/SpaceAroundOperators
15
+ # rubocop:disable Layout/SpaceAroundOperators
16
16
  Gem::Specification.new do |spec|
17
17
  spec.name = "collapsium"
18
18
  spec.version = Collapsium::VERSION
@@ -41,5 +41,5 @@ Gem::Specification.new do |spec|
41
41
  spec.add_development_dependency "simplecov", "~> 0.13"
42
42
  spec.add_development_dependency "yard", "~> 0.9"
43
43
  end
44
- # rubocop:enable Style/SpaceAroundOperators
44
+ # rubocop:enable Layout/SpaceAroundOperators
45
45
  # rubocop:enable Style/UnneededPercentQ
@@ -35,9 +35,14 @@ module Collapsium
35
35
 
36
36
  # Object's constants contain all Module and Class definitions to date.
37
37
  # We need to get the constant values, though, not just their names.
38
+ # Note: the $VERBOSE mess is to silence deprecation warnings, which
39
+ # occur on newer Ruby versions.
40
+ verbose = $VERBOSE
41
+ $VERBOSE = nil
38
42
  builtins = Object.constants.sort.map do |const_name|
39
43
  Object.const_get(const_name)
40
44
  end
45
+ $VERBOSE = verbose
41
46
 
42
47
  # If JSON was required, there will be some generator methods that
43
48
  # override the above generators. We want to filter those out as well.
@@ -8,5 +8,5 @@
8
8
  #
9
9
  module Collapsium
10
10
  # The current release version
11
- VERSION = "0.9.0".freeze
11
+ VERSION = "0.9.1".freeze
12
12
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: collapsium
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jens Finkhaeuser