autocop 0.3.0 → 0.3.1

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: 222f8b72e5bca61960478182b12f1b9fa6c34dc62f1860c85bb3d7bcba1e75a5
4
- data.tar.gz: b56081269317c1744b12680617e72f038611e340945cae62cb322f664daa11aa
3
+ metadata.gz: 7fc8e477005ebf0535c68d8fc9676f9964d144ce673d2dbf6fe3e5929fd695b1
4
+ data.tar.gz: 869456b6298e18c4ddf34ee4b74f640e464960107572a30900254e6de31adebc
5
5
  SHA512:
6
- metadata.gz: baa39be874b1c8df80e65d63f48544cf263aa1df6a21a81f50da35d93a21d489a3d7139167bffc7935ed888cd8a59e5c8f9ebff19ce05cc1861c64cdf985adfb
7
- data.tar.gz: d86edb25e549b97a47cba35826f564ae1c7f12b33206d14c67f3026bec1b5dab104714b9b32d635aaa75ca4966dc458ccd457411af30a047da4bb05781e4c078
6
+ metadata.gz: 73c14e7865d8eb85fa661783ef20ca4b53a27c339441731be2454b8fe1592a740178b508c690b99e8881510febe9498b7f2326054083556e3f31bedc9b1a8be5
7
+ data.tar.gz: d7e5211e4f92d2cff836684aca2694717655e633713cc557910ddd4f07a845df7602a1fe92cd92d66436767e1b15ba43f75a4cfabe7a9d37e6dd34d9773b80bb
@@ -1012,7 +1012,7 @@ Style/FrozenStringLiteralComment:
1012
1012
  Description: Add the frozen_string_literal comment to the top of files to help transition
1013
1013
  from Ruby 2.3.0 to Ruby 3.0.
1014
1014
  Enabled: true
1015
- EnforcedStyle: when_needed
1015
+ EnforcedStyle: always
1016
1016
  SupportedStyles:
1017
1017
  - when_needed
1018
1018
  - always
@@ -0,0 +1 @@
1
+ ruby 2.6.2
@@ -1,3 +1,7 @@
1
+ ## v0.3.1 - 2019-06-18
2
+
3
+ - Fix `EnforcedStyle: always` of frozen string literal cop
4
+
1
5
  ## v0.3.0 - 2019-06-18
2
6
 
3
7
  - Remove obsolete rules
data/Gemfile CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  source 'https://rubygems.org'
2
4
 
3
5
  git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- autocop (0.3.0)
4
+ autocop (0.3.1)
5
5
  rubocop (>= 0.52.1)
6
6
  rubocop-rspec (>= 1.22.1)
7
7
 
data/Rakefile CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'rubygems'
2
4
  require 'bundler'
3
5
  require 'bundler/gem_tasks'
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  lib = File.expand_path('lib', __dir__)
2
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
5
  require 'autocop/version'
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
2
3
 
3
4
  require 'bundler/setup'
4
5
  require 'autocop'
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'autocop/version'
2
4
 
3
5
  # Autocop module for the gem namespace
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Autocop
2
- VERSION = '0.3.0'.freeze
4
+ VERSION = '0.3.1'
3
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autocop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Autolist Engineering
@@ -104,6 +104,7 @@ files:
104
104
  - ".autocop-rubocop.yml"
105
105
  - ".gitignore"
106
106
  - ".rspec"
107
+ - ".tool-versions"
107
108
  - ".travis.yml"
108
109
  - CHANGELOG.md
109
110
  - CODE_OF_CONDUCT.md