osm-rubocop 0.1.12 → 0.1.13

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
- SHA256:
3
- metadata.gz: b96dea16819d0e649811cedbb805714a5b2268bd3056b0349a53df505c435670
4
- data.tar.gz: 26bb1205cb5bd1d0d30a5bc4f9a741fc83ae4de1b2f1d1ac2d28bfa22b9182af
2
+ SHA1:
3
+ metadata.gz: 2c9acbe2e118a2d996af6ce1523cd40061c7d54a
4
+ data.tar.gz: a70fcc180148a14bd4fde626291341d38a687428
5
5
  SHA512:
6
- metadata.gz: 076bb899302eb20ac977b4c7053da25864f037d35197ed8a6aede8f9c0781327861ff863d171510debc56bf599cb7e1afb75fec60955cce3628d61cd30a68688
7
- data.tar.gz: f1ab88bb3cd10cc618b02ab899a3ea348a5ecafa52dfbe3938157bef5a8878f65458b1c9b92fd0587df521686310d15204dd067caf64f3d63d76f0a1b7056d47
6
+ metadata.gz: 7f87f1ff09b1e824977c6994fa7aa85a4be0e3bb92d17f84791ca79c3bb628cf124f03d06541f38d9f24837f5f168142b58333d5d0c8c5b0ac0f9763fa30e11f
7
+ data.tar.gz: 78012cd396e22c46ba1b74c8a45160a280715723dd6f83eed7f24dbdda6d62c3141b60d14067c0220b5cf2deac4d0278b094091f9e0a356c1025dde3c9485238
data/Gemfile CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  source 'https://rubygems.org'
2
4
 
3
5
  # Specify your gem's dependencies in osm-rubocop.gemspec
data/Rakefile CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'bundler/gem_tasks'
2
4
  load 'tasks/osm_rubocop.rake'
3
5
  task default: :spec
@@ -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 'osm/rubocop'
@@ -1,5 +1,6 @@
1
1
  require:
2
2
  - rubocop-performance
3
+ - rubocop-rails
3
4
  - rubocop-rspec
4
5
 
5
6
  AllCops:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'osm/rubocop'
2
4
 
3
5
  Osm::Rubocop.inject_defaults!
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'osm/rubocop/version'
2
4
  require 'osm/rubocop/railtie' if defined?(::Rails::Railtie)
3
5
  require 'rubocop'
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Osm
2
4
  module Rubocop
3
5
  class Railtie < Rails::Railtie
@@ -1,5 +1,7 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Osm
2
4
  module Rubocop
3
- VERSION = '0.1.12'.freeze
5
+ VERSION = '0.1.13'
4
6
  end
5
7
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  namespace :osm_rubocop do
2
4
  desc 'Install a pre-commit hook that ensures the code adheres to the OSM Rubocop configuration'
3
5
  task :install_precommit_hook do
@@ -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 'osm/rubocop/version'
@@ -19,9 +21,10 @@ Gem::Specification.new do |spec|
19
21
  spec.executables = spec.files.grep(/^exe\//) { |f| File.basename(f) }
20
22
  spec.require_paths = ['lib']
21
23
 
22
- spec.add_dependency 'rubocop', '0.68.1'
23
- spec.add_dependency 'rubocop-performance', '1.2.0'
24
- spec.add_dependency 'rubocop-rspec', '1.32.0'
24
+ spec.add_dependency 'rubocop', '0.73.0'
25
+ spec.add_dependency 'rubocop-performance', '1.4.0'
26
+ spec.add_dependency 'rubocop-rails', '2.2.1'
27
+ spec.add_dependency 'rubocop-rspec', '1.34.0'
25
28
  spec.add_development_dependency 'bundler', '>= 1.16'
26
29
  spec.add_development_dependency 'rake', '~> 12.0'
27
30
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: osm-rubocop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.12
4
+ version: 0.1.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Isaac Betesh
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-05-09 00:00:00.000000000 Z
11
+ date: 2019-07-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,42 +16,56 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.68.1
19
+ version: 0.73.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 0.68.1
26
+ version: 0.73.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-performance
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 1.2.0
33
+ version: 1.4.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 1.2.0
40
+ version: 1.4.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: rubocop-rails
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '='
46
+ - !ruby/object:Gem::Version
47
+ version: 2.2.1
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '='
53
+ - !ruby/object:Gem::Version
54
+ version: 2.2.1
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: rubocop-rspec
43
57
  requirement: !ruby/object:Gem::Requirement
44
58
  requirements:
45
59
  - - '='
46
60
  - !ruby/object:Gem::Version
47
- version: 1.32.0
61
+ version: 1.34.0
48
62
  type: :runtime
49
63
  prerelease: false
50
64
  version_requirements: !ruby/object:Gem::Requirement
51
65
  requirements:
52
66
  - - '='
53
67
  - !ruby/object:Gem::Version
54
- version: 1.32.0
68
+ version: 1.34.0
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: bundler
57
71
  requirement: !ruby/object:Gem::Requirement
@@ -123,7 +137,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
123
137
  version: '0'
124
138
  requirements: []
125
139
  rubyforge_project:
126
- rubygems_version: 2.7.3
140
+ rubygems_version: 2.6.8
127
141
  signing_key:
128
142
  specification_version: 4
129
143
  summary: OnSite Ruby coding conventions.