barsoom_utils 0.3.0.84 → 0.3.0.87

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a17821003c2a66932a782d681677fd072f6877a59721b2202a4df8f0eaeb5037
4
- data.tar.gz: 86b0f1dc0a38793fd819e70ead45898e522d4ab13cc00c845b09224a2fa2c882
3
+ metadata.gz: a02d928edb9379ea59949efe3e710c4aaf1f867c0883e55613993ce5336fa3d4
4
+ data.tar.gz: 16eb4d51434cb817299d0253378bcea888f19dc4399550a257de1edb1bee4115
5
5
  SHA512:
6
- metadata.gz: 128e1465550c40cf9afe0d371cf72c009f9158e81114ab452c7d597e2b398bdc6cf189e690e86c00edd9ddad23a1b970e2ade65b75847f106b87dfa44ba858c1
7
- data.tar.gz: bf33b33b7b9c858fc9d7d5dcf2ac7e00743cafb5bba062a35759e55a587512a6e943cc94e4628e6041307d33e3cf25548c86688c780500cbb942622cae03a3e8
6
+ metadata.gz: 6fdf14056334b818e37957035a1bacf74f1404866b972adfabd17d3f2dd3077ba47e710f918a03dc824a6ddfda8e1019506855f1186b93432985984e4567fda6
7
+ data.tar.gz: bb74fc226d9033348fd53362a3a5fbc6450537dabb9ab0d370e34645b8ffd8cb1b05a61370563baaf33661fd343c821a363d2c0b515d9969e4acc18e5917ee3e
data/.rubocop.yml CHANGED
@@ -1 +1,7 @@
1
1
  inherit_from: "./shared_rubocop.yml"
2
+
3
+ Style/FrozenStringLiteralComment:
4
+ Enabled: true
5
+
6
+ Layout/EmptyLineAfterMagicComment:
7
+ Enabled: true
data/Gemfile CHANGED
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  source "https://rubygems.org"
3
4
 
4
5
  # Specify your gem's dependencies in barsoom_utils.gemspec
data/Rakefile CHANGED
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  require "rspec/core/rake_task"
3
4
 
4
5
  RSpec::Core::RakeTask.new(:spec)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.0.84
1
+ 0.3.0.87
@@ -1,5 +1,6 @@
1
1
  # coding: utf-8
2
2
  # frozen_string_literal: true
3
+
3
4
  lib = File.expand_path("lib", __dir__)
4
5
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
6
  require "barsoom_utils/version"
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  # Notify devs about an exception without necessarily
3
4
  # letting it appear to the user as a 500 error.
4
5
 
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  require "attr_extras"
3
4
  require "redis"
4
5
 
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  # Custom cops, loaded by shared_rubocop.yml.
3
4
  require "rubocop"
4
5
  require_relative "../rubocop/cop/barsoom/attr_extras_initialize"
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  require "lolcat"
3
4
 
4
5
  module BarsoomUtils
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  module BarsoomUtils
3
4
  # Use SEMVER in VERSION, build number gets appended on release.
4
5
  VERSION = File.read(File.join(__dir__, "../../VERSION"))
data/lib/barsoom_utils.rb CHANGED
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  require "barsoom_utils/version"
3
4
 
4
5
  module BarsoomUtils
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  module RuboCop
3
4
  module Cop
4
5
  module Barsoom
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  module RuboCop
3
4
  module Cop
4
5
  module Barsoom
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  module RuboCop
3
4
  module Cop
4
5
  module Barsoom
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  require "barsoom_utils/exception_notifier"
3
4
  require "sentry-ruby"
4
5
  require "fixme"
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  require "barsoom_utils/feature_toggle"
3
4
 
4
5
  RSpec.describe BarsoomUtils::FeatureToggle, ".turn_on" do
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  require "rubocop_helper"
3
4
 
4
5
  RSpec.describe RuboCop::Cop::Barsoom::AttrExtrasInitialize, :config do
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  require "rubocop_helper"
3
4
 
4
5
  RSpec.describe RuboCop::Cop::Barsoom::InlinePrivateClassMethod, :config do
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  require "rubocop_helper"
3
4
 
4
5
  RSpec.describe RuboCop::Cop::Barsoom::SpaceInsidePercentLiteralDelimiters, :config do
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  require "rubocop"
3
4
  require "rubocop/rspec/support"
4
5
  require "barsoom_utils/rubocop"
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  require "barsoom_utils/spec/debug_helpers"
3
4
 
4
5
  RSpec.describe BarsoomUtils::Spec::DebugHelpers do
data/spec/spec_helper.rb CHANGED
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  RSpec.configure do |config|
3
4
  config.disable_monkey_patching!
4
5
  config.order = "random"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: barsoom_utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0.84
4
+ version: 0.3.0.87
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomas Skogberg