barsoom_utils 0.3.0.84 → 0.3.0.88

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: f8a4c4af045da26978663ce83d4f82d84dceba347d3488b35e4eeca64e2fb2c3
4
+ data.tar.gz: 32e51595347e191d0dd7af51a21b9b9c525f9c4b4330fbe69096600be61c9b5a
5
5
  SHA512:
6
- metadata.gz: 128e1465550c40cf9afe0d371cf72c009f9158e81114ab452c7d597e2b398bdc6cf189e690e86c00edd9ddad23a1b970e2ade65b75847f106b87dfa44ba858c1
7
- data.tar.gz: bf33b33b7b9c858fc9d7d5dcf2ac7e00743cafb5bba062a35759e55a587512a6e943cc94e4628e6041307d33e3cf25548c86688c780500cbb942622cae03a3e8
6
+ metadata.gz: 888fbdca8e3ac684dbe5d30b1e3786d65441642e2d43a64345283da5166d61774e42613502ec332dc683e34ed60549c5a8b88c3cc14d578669080e803c235e4f
7
+ data.tar.gz: 5033443b5cf16260e7846a3ae413693af96a2f66f30f1d5a922271e314b12a62043d575c46242be5e1dae268ba2921a1ea99bbf53aa25a93a57ce7873fda099c
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.88
@@ -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
data/script/test CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/bin/sh
2
- rspec $@
2
+ bundle exec rspec "$@"
@@ -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.88
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomas Skogberg