rubocop-ogat 1.0.3 → 1.1.0
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 +5 -5
- data/.gitignore +13 -0
- data/.rspec +3 -0
- data/.rubocop.yml +5 -0
- data/.travis.yml +17 -0
- data/Gemfile +6 -15
- data/LICENSE.txt +17 -16
- data/README.md +37 -11
- data/Rakefile +5 -47
- data/bin/console +15 -0
- data/bin/setup +8 -0
- data/config/default.yml +18 -18
- data/lib/rubocop/ogat.rb +10 -0
- data/lib/rubocop/ogat/version.rb +7 -0
- data/rubocop-ogat.gemspec +24 -62
- metadata +36 -62
- data/.document +0 -5
- data/VERSION +0 -1
- data/lib/rubocop-ogat.rb +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 503811c7400d964cdc03b8666ed43875faa065897874db0498f8d0ca5dc036a5
|
|
4
|
+
data.tar.gz: 3ef6c3dd5c921805fa448b7cd14b3b73bd8cc109f3a30b1164cef1ad9fc845df
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d3bb8c7944f0734afb2f8b8a0d50fbdc496f0aabe61fee00b9d360a373a1869ef8a1682d5706199d9ddd1b3787f9bc0994deb7566735900d760769a59e163ad3
|
|
7
|
+
data.tar.gz: 3ce6c2d375e894d31b4e0d5832e7e4cbba3c356f34f10b9929d111779d4d275cbe6954fdc54930dbae914d28352f5306089e8b4e681fa0f72ddc3ad376b4999a
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.rubocop.yml
ADDED
data/.travis.yml
CHANGED
|
@@ -1,8 +1,25 @@
|
|
|
1
|
+
sudo: false
|
|
2
|
+
language: ruby
|
|
3
|
+
cache: bundler
|
|
4
|
+
rvm:
|
|
5
|
+
- 2.3.6
|
|
6
|
+
- 2.4.3
|
|
7
|
+
- 2.5.0
|
|
8
|
+
- ruby-head
|
|
9
|
+
matrix:
|
|
10
|
+
allow_failures:
|
|
11
|
+
- rvm: ruby-head
|
|
12
|
+
fast_finish: true
|
|
13
|
+
before_install: gem install bundler -v 1.16.1
|
|
14
|
+
script:
|
|
15
|
+
- bundle exec rubocop
|
|
16
|
+
- bundle exec rake
|
|
1
17
|
deploy:
|
|
2
18
|
provider: rubygems
|
|
3
19
|
api_key:
|
|
4
20
|
secure: kazURR5idcANlaYnqiGLnkXfsYWluTc3H87sg73H6s2JwEkA69FieZA3tUrDVX8kfbOxsqDphyv3fZmqrQtmG74ksUPVGsouoth7gpUMNh6Uj8Hr/e3Cgt/4b/SeGCAdpIsx869w8fA9kEKuf1NhQ0taazfiqToau3amyal6QblxMaalX8ThvWtO98ViJkEeIszxRK+uzd3t1aIEW/Lds9jWUm9Rf1tI/ajlRecwStA74pCQHJ2wuPQRcAB8DYz82pNjlyGwIZd14Gmbys0en+r+av3tYLjzwN+z9y7vlXwp1xAeRKU9GoJCHuevKmT1joRnFFfp3xGoKn63b6yS7KHVFT7v4l+qRbMnL+m/wrz5Xv3ZUyk0un9O3+MFLy0jIYP1adcvh+KkqenAktzSekjGstZn8oRk8lAEYfGLUD45nijdGjbYF7VAUPhoP5g6vxGlbZDCHslHuLGMjiEd/vP+SGEhtEMzk6cvir1yoMzryilRTfBfkut7iVsy/MaMvTShxF0qd1hdtx+Htfcq2zad98lAASsciz8su6u9vaqmqyxLKxdMptbWks4bCd0lB9g6fjIT79cIzjwQB6Hv3WNDpMLGDxWH8PkZf4ZEIlvV1goLlzt5t0SoZryn1hWbO4VJMvGLXtVj9MvdgskN95Ww9FTvO3wlm0PVK5iQWkU=
|
|
5
21
|
gem: rubocop-ogat
|
|
6
22
|
on:
|
|
23
|
+
rvm: 2.4.3
|
|
7
24
|
tags: true
|
|
8
25
|
repo: Outwood/rubocop-ogat
|
data/Gemfile
CHANGED
|
@@ -1,17 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
# Add dependencies required to use your gem here.
|
|
3
|
-
# Example:
|
|
4
|
-
# gem "activesupport", ">= 2.3.5"
|
|
1
|
+
# frozen_string_literal: true
|
|
5
2
|
|
|
6
|
-
|
|
7
|
-
gem 'rubocop-rspec', '~> 1.22'
|
|
3
|
+
source 'https://rubygems.org'
|
|
8
4
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
gem "rdoc", "~> 6.0"
|
|
14
|
-
gem "bundler", "~> 1.0"
|
|
15
|
-
gem "juwelier", "~> 2.4.9"
|
|
16
|
-
gem "simplecov", ">= 0"
|
|
17
|
-
end
|
|
5
|
+
git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
|
|
6
|
+
|
|
7
|
+
# Specify your gem's dependencies in rubocop-ogat.gemspec
|
|
8
|
+
gemspec
|
data/LICENSE.txt
CHANGED
|
@@ -1,20 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
1
3
|
Copyright (c) 2018 Outwood Grange Academies Trust
|
|
2
4
|
|
|
3
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
the following conditions:
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
10
11
|
|
|
11
|
-
The above copyright notice and this permission notice shall be
|
|
12
|
-
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
13
14
|
|
|
14
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
OF
|
|
20
|
-
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|
data/README.md
CHANGED
|
@@ -1,27 +1,53 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Rubocop::Ogat
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Applies the default RuboCop configuration used by OGAT Ruby projects.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Add this line to your application's Gemfile:
|
|
8
8
|
|
|
9
|
-
```
|
|
10
|
-
gem 'rubocop-ogat', require: false
|
|
9
|
+
```ruby
|
|
10
|
+
gem 'rubocop-ogat', require: false, groups: [:test, :development]
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
And then execute:
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
inherit_from: .rubocop_todo.yml
|
|
15
|
+
$ bundle
|
|
17
16
|
|
|
17
|
+
Or install it yourself as:
|
|
18
|
+
|
|
19
|
+
$ gem install rubocop-ogat
|
|
20
|
+
|
|
21
|
+
## Usage
|
|
22
|
+
|
|
23
|
+
Add this to your `.rubocop.yml`:
|
|
24
|
+
|
|
25
|
+
```yaml
|
|
18
26
|
inherit_gem:
|
|
19
27
|
rubocop-ogat:
|
|
20
28
|
- config/default.yml
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Then define the following as appropriate to the project:
|
|
21
32
|
|
|
22
|
-
|
|
33
|
+
```yaml
|
|
23
34
|
AllCops:
|
|
24
|
-
TargetRubyVersion: 2.
|
|
35
|
+
TargetRubyVersion: 2.4
|
|
25
36
|
TargetRailsVersion: 4.2
|
|
26
|
-
|
|
37
|
+
Rails:
|
|
38
|
+
Enabled: true
|
|
27
39
|
```
|
|
40
|
+
|
|
41
|
+
## Development
|
|
42
|
+
|
|
43
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
|
44
|
+
|
|
45
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
|
46
|
+
|
|
47
|
+
## Contributing
|
|
48
|
+
|
|
49
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/outwood/rubocop-ogat.
|
|
50
|
+
|
|
51
|
+
## License
|
|
52
|
+
|
|
53
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
data/Rakefile
CHANGED
|
@@ -1,50 +1,8 @@
|
|
|
1
|
-
#
|
|
1
|
+
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
require '
|
|
4
|
-
require '
|
|
5
|
-
begin
|
|
6
|
-
Bundler.setup(:default, :development)
|
|
7
|
-
rescue Bundler::BundlerError => e
|
|
8
|
-
$stderr.puts e.message
|
|
9
|
-
$stderr.puts "Run `bundle install` to install missing gems"
|
|
10
|
-
exit e.status_code
|
|
11
|
-
end
|
|
12
|
-
require 'rake'
|
|
13
|
-
require 'juwelier'
|
|
14
|
-
Juwelier::Tasks.new do |gem|
|
|
15
|
-
# gem is a Gem::Specification... see http://guides.rubygems.org/specification-reference/ for more options
|
|
16
|
-
gem.name = "rubocop-ogat"
|
|
17
|
-
gem.homepage = "http://github.com/Outwood/rubocop-ogat"
|
|
18
|
-
gem.license = "MIT"
|
|
19
|
-
gem.summary = %Q{RuboCop OGAT}
|
|
20
|
-
gem.description = %Q{Provides recommended RuboCop configuration for use on OGAT open source and internal Ruby projects.}
|
|
21
|
-
gem.email = "webmaster@outwood.com"
|
|
22
|
-
gem.authors = ["Elliot Bowes", "Tom Crouch"]
|
|
3
|
+
require 'bundler/gem_tasks'
|
|
4
|
+
require 'rspec/core/rake_task'
|
|
23
5
|
|
|
24
|
-
|
|
25
|
-
end
|
|
26
|
-
Juwelier::RubygemsDotOrgTasks.new
|
|
27
|
-
require 'rake/testtask'
|
|
28
|
-
Rake::TestTask.new(:test) do |test|
|
|
29
|
-
test.libs << 'lib' << 'test'
|
|
30
|
-
test.pattern = 'test/**/test_*.rb'
|
|
31
|
-
test.verbose = true
|
|
32
|
-
end
|
|
6
|
+
RSpec::Core::RakeTask.new(:spec)
|
|
33
7
|
|
|
34
|
-
|
|
35
|
-
task :simplecov do
|
|
36
|
-
ENV['COVERAGE'] = "true"
|
|
37
|
-
Rake::Task['test'].execute
|
|
38
|
-
end
|
|
39
|
-
|
|
40
|
-
task :default => :test
|
|
41
|
-
|
|
42
|
-
require 'rdoc/task'
|
|
43
|
-
Rake::RDocTask.new do |rdoc|
|
|
44
|
-
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
|
45
|
-
|
|
46
|
-
rdoc.rdoc_dir = 'rdoc'
|
|
47
|
-
rdoc.title = "rubocop-ogat #{version}"
|
|
48
|
-
rdoc.rdoc_files.include('README*')
|
|
49
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
|
50
|
-
end
|
|
8
|
+
task default: :spec
|
data/bin/console
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
require 'bundler/setup'
|
|
5
|
+
require 'rubocop/ogat'
|
|
6
|
+
|
|
7
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
|
8
|
+
# with your gem easier. You can also use a different console, if you like.
|
|
9
|
+
|
|
10
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
|
11
|
+
# require "pry"
|
|
12
|
+
# Pry.start
|
|
13
|
+
|
|
14
|
+
require 'irb'
|
|
15
|
+
IRB.start(__FILE__)
|
data/bin/setup
ADDED
data/config/default.yml
CHANGED
|
@@ -8,11 +8,6 @@ AllCops:
|
|
|
8
8
|
- 'db/schema.rb'
|
|
9
9
|
- 'vendor/**/*'
|
|
10
10
|
|
|
11
|
-
Rails:
|
|
12
|
-
Enabled: true
|
|
13
|
-
|
|
14
|
-
# OGAT Desired Config
|
|
15
|
-
|
|
16
11
|
Layout/AlignParameters:
|
|
17
12
|
EnforcedStyle: with_fixed_indentation
|
|
18
13
|
|
|
@@ -68,19 +63,6 @@ Metrics/BlockLength:
|
|
|
68
63
|
- 'config/routes.rb'
|
|
69
64
|
- 'spec/**/*.rb'
|
|
70
65
|
|
|
71
|
-
|
|
72
|
-
RSpec/AlignLeftLetBrace:
|
|
73
|
-
Enabled: false
|
|
74
|
-
|
|
75
|
-
RSpec/AlignRightLetBrace:
|
|
76
|
-
Enabled: false
|
|
77
|
-
|
|
78
|
-
RSpec/LetSetup:
|
|
79
|
-
Enabled: false
|
|
80
|
-
|
|
81
|
-
RSpec/NestedGroups:
|
|
82
|
-
Max: 6
|
|
83
|
-
|
|
84
66
|
Style/ClassAndModuleChildren:
|
|
85
67
|
EnforcedStyle: nested
|
|
86
68
|
|
|
@@ -95,6 +77,12 @@ Style/CollectionMethods:
|
|
|
95
77
|
Style/Copyright:
|
|
96
78
|
Enabled: false
|
|
97
79
|
|
|
80
|
+
Style/Documentation:
|
|
81
|
+
Exclude:
|
|
82
|
+
- 'spec/**/*'
|
|
83
|
+
- 'test/**/*'
|
|
84
|
+
- 'db/migrate/**/*'
|
|
85
|
+
|
|
98
86
|
Style/DocumentationMethod:
|
|
99
87
|
Enabled: false
|
|
100
88
|
|
|
@@ -109,3 +97,15 @@ Style/MissingElse:
|
|
|
109
97
|
|
|
110
98
|
Style/RescueStandardError:
|
|
111
99
|
EnforcedStyle: implicit
|
|
100
|
+
|
|
101
|
+
RSpec/AlignLeftLetBrace:
|
|
102
|
+
Enabled: false
|
|
103
|
+
|
|
104
|
+
RSpec/AlignRightLetBrace:
|
|
105
|
+
Enabled: false
|
|
106
|
+
|
|
107
|
+
RSpec/LetSetup:
|
|
108
|
+
Enabled: false
|
|
109
|
+
|
|
110
|
+
RSpec/NestedGroups:
|
|
111
|
+
Max: 6
|
data/lib/rubocop/ogat.rb
ADDED
data/rubocop-ogat.gemspec
CHANGED
|
@@ -1,68 +1,30 @@
|
|
|
1
|
-
#
|
|
2
|
-
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
|
-
# Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
|
|
4
|
-
# -*- encoding: utf-8 -*-
|
|
5
|
-
# stub: rubocop-ogat 1.0.3 ruby lib
|
|
1
|
+
# frozen_string_literal: true
|
|
6
2
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
3
|
+
lib = File.expand_path('../lib', __FILE__)
|
|
4
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
5
|
+
require 'rubocop/ogat/version'
|
|
10
6
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
s.email = "webmaster@outwood.com".freeze
|
|
17
|
-
s.extra_rdoc_files = [
|
|
18
|
-
"LICENSE.txt",
|
|
19
|
-
"README.md"
|
|
20
|
-
]
|
|
21
|
-
s.files = [
|
|
22
|
-
".document",
|
|
23
|
-
".travis.yml",
|
|
24
|
-
"Gemfile",
|
|
25
|
-
"LICENSE.txt",
|
|
26
|
-
"README.md",
|
|
27
|
-
"Rakefile",
|
|
28
|
-
"VERSION",
|
|
29
|
-
"config/default.yml",
|
|
30
|
-
"lib/rubocop-ogat.rb",
|
|
31
|
-
"rubocop-ogat.gemspec"
|
|
32
|
-
]
|
|
33
|
-
s.homepage = "http://github.com/Outwood/rubocop-ogat".freeze
|
|
34
|
-
s.licenses = ["MIT".freeze]
|
|
35
|
-
s.rubygems_version = "2.6.13".freeze
|
|
36
|
-
s.summary = "RuboCop OGAT".freeze
|
|
7
|
+
Gem::Specification.new do |spec|
|
|
8
|
+
spec.name = 'rubocop-ogat'
|
|
9
|
+
spec.version = Rubocop::Ogat::VERSION
|
|
10
|
+
spec.authors = ['Elliot Bowes', 'Tom Crouch']
|
|
11
|
+
spec.email = ['webmaster@outwood.com']
|
|
37
12
|
|
|
38
|
-
|
|
39
|
-
|
|
13
|
+
spec.summary = 'Default RuboCop configuration for OGAT Ruby projects'
|
|
14
|
+
spec.homepage = 'https://github.com/Outwood/rubocop-ogat'
|
|
15
|
+
spec.license = 'MIT'
|
|
40
16
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
s.add_development_dependency(%q<shoulda>.freeze, [">= 0"])
|
|
45
|
-
s.add_development_dependency(%q<rdoc>.freeze, ["~> 6.0"])
|
|
46
|
-
s.add_development_dependency(%q<bundler>.freeze, ["~> 1.0"])
|
|
47
|
-
s.add_development_dependency(%q<juwelier>.freeze, ["~> 2.4.9"])
|
|
48
|
-
s.add_development_dependency(%q<simplecov>.freeze, [">= 0"])
|
|
49
|
-
else
|
|
50
|
-
s.add_dependency(%q<rubocop>.freeze, ["~> 0.52"])
|
|
51
|
-
s.add_dependency(%q<rubocop-rspec>.freeze, ["~> 1.22"])
|
|
52
|
-
s.add_dependency(%q<shoulda>.freeze, [">= 0"])
|
|
53
|
-
s.add_dependency(%q<rdoc>.freeze, ["~> 6.0"])
|
|
54
|
-
s.add_dependency(%q<bundler>.freeze, ["~> 1.0"])
|
|
55
|
-
s.add_dependency(%q<juwelier>.freeze, ["~> 2.4.9"])
|
|
56
|
-
s.add_dependency(%q<simplecov>.freeze, [">= 0"])
|
|
17
|
+
spec.files =
|
|
18
|
+
`git ls-files -z`.split("\x0").reject do |f|
|
|
19
|
+
f.match(%r{^(test|spec|features)/})
|
|
57
20
|
end
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
s.add_dependency(%q<shoulda>.freeze, [">= 0"])
|
|
62
|
-
s.add_dependency(%q<rdoc>.freeze, ["~> 6.0"])
|
|
63
|
-
s.add_dependency(%q<bundler>.freeze, ["~> 1.0"])
|
|
64
|
-
s.add_dependency(%q<juwelier>.freeze, ["~> 2.4.9"])
|
|
65
|
-
s.add_dependency(%q<simplecov>.freeze, [">= 0"])
|
|
66
|
-
end
|
|
67
|
-
end
|
|
21
|
+
spec.bindir = 'exe'
|
|
22
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
23
|
+
spec.require_paths = ['lib']
|
|
68
24
|
|
|
25
|
+
spec.add_development_dependency 'bundler', '~> 1.16'
|
|
26
|
+
spec.add_development_dependency 'rake', '~> 10.0'
|
|
27
|
+
spec.add_development_dependency 'rspec', '~> 3.0'
|
|
28
|
+
spec.add_runtime_dependency 'rubocop', '~> 0.52'
|
|
29
|
+
spec.add_runtime_dependency 'rubocop-rspec', '~> 1.22'
|
|
30
|
+
end
|
metadata
CHANGED
|
@@ -1,134 +1,108 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rubocop-ogat
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0
|
|
4
|
+
version: 1.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Elliot Bowes
|
|
8
8
|
- Tom Crouch
|
|
9
9
|
autorequire:
|
|
10
|
-
bindir:
|
|
10
|
+
bindir: exe
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2018-01-
|
|
12
|
+
date: 2018-01-19 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
|
-
name:
|
|
15
|
+
name: bundler
|
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
|
17
17
|
requirements:
|
|
18
18
|
- - "~>"
|
|
19
19
|
- !ruby/object:Gem::Version
|
|
20
|
-
version: '
|
|
21
|
-
type: :
|
|
20
|
+
version: '1.16'
|
|
21
|
+
type: :development
|
|
22
22
|
prerelease: false
|
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
|
24
24
|
requirements:
|
|
25
25
|
- - "~>"
|
|
26
26
|
- !ruby/object:Gem::Version
|
|
27
|
-
version: '
|
|
27
|
+
version: '1.16'
|
|
28
28
|
- !ruby/object:Gem::Dependency
|
|
29
|
-
name:
|
|
29
|
+
name: rake
|
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
|
31
31
|
requirements:
|
|
32
32
|
- - "~>"
|
|
33
33
|
- !ruby/object:Gem::Version
|
|
34
|
-
version: '
|
|
35
|
-
type: :runtime
|
|
36
|
-
prerelease: false
|
|
37
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
38
|
-
requirements:
|
|
39
|
-
- - "~>"
|
|
40
|
-
- !ruby/object:Gem::Version
|
|
41
|
-
version: '1.22'
|
|
42
|
-
- !ruby/object:Gem::Dependency
|
|
43
|
-
name: shoulda
|
|
44
|
-
requirement: !ruby/object:Gem::Requirement
|
|
45
|
-
requirements:
|
|
46
|
-
- - ">="
|
|
47
|
-
- !ruby/object:Gem::Version
|
|
48
|
-
version: '0'
|
|
34
|
+
version: '10.0'
|
|
49
35
|
type: :development
|
|
50
36
|
prerelease: false
|
|
51
37
|
version_requirements: !ruby/object:Gem::Requirement
|
|
52
38
|
requirements:
|
|
53
|
-
- - "
|
|
39
|
+
- - "~>"
|
|
54
40
|
- !ruby/object:Gem::Version
|
|
55
|
-
version: '0'
|
|
41
|
+
version: '10.0'
|
|
56
42
|
- !ruby/object:Gem::Dependency
|
|
57
|
-
name:
|
|
43
|
+
name: rspec
|
|
58
44
|
requirement: !ruby/object:Gem::Requirement
|
|
59
45
|
requirements:
|
|
60
46
|
- - "~>"
|
|
61
47
|
- !ruby/object:Gem::Version
|
|
62
|
-
version: '
|
|
48
|
+
version: '3.0'
|
|
63
49
|
type: :development
|
|
64
50
|
prerelease: false
|
|
65
51
|
version_requirements: !ruby/object:Gem::Requirement
|
|
66
52
|
requirements:
|
|
67
53
|
- - "~>"
|
|
68
54
|
- !ruby/object:Gem::Version
|
|
69
|
-
version: '
|
|
55
|
+
version: '3.0'
|
|
70
56
|
- !ruby/object:Gem::Dependency
|
|
71
|
-
name:
|
|
57
|
+
name: rubocop
|
|
72
58
|
requirement: !ruby/object:Gem::Requirement
|
|
73
59
|
requirements:
|
|
74
60
|
- - "~>"
|
|
75
61
|
- !ruby/object:Gem::Version
|
|
76
|
-
version: '
|
|
77
|
-
type: :
|
|
62
|
+
version: '0.52'
|
|
63
|
+
type: :runtime
|
|
78
64
|
prerelease: false
|
|
79
65
|
version_requirements: !ruby/object:Gem::Requirement
|
|
80
66
|
requirements:
|
|
81
67
|
- - "~>"
|
|
82
68
|
- !ruby/object:Gem::Version
|
|
83
|
-
version: '
|
|
69
|
+
version: '0.52'
|
|
84
70
|
- !ruby/object:Gem::Dependency
|
|
85
|
-
name:
|
|
71
|
+
name: rubocop-rspec
|
|
86
72
|
requirement: !ruby/object:Gem::Requirement
|
|
87
73
|
requirements:
|
|
88
74
|
- - "~>"
|
|
89
75
|
- !ruby/object:Gem::Version
|
|
90
|
-
version:
|
|
91
|
-
type: :
|
|
76
|
+
version: '1.22'
|
|
77
|
+
type: :runtime
|
|
92
78
|
prerelease: false
|
|
93
79
|
version_requirements: !ruby/object:Gem::Requirement
|
|
94
80
|
requirements:
|
|
95
81
|
- - "~>"
|
|
96
82
|
- !ruby/object:Gem::Version
|
|
97
|
-
version:
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
requirements:
|
|
102
|
-
- - ">="
|
|
103
|
-
- !ruby/object:Gem::Version
|
|
104
|
-
version: '0'
|
|
105
|
-
type: :development
|
|
106
|
-
prerelease: false
|
|
107
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
108
|
-
requirements:
|
|
109
|
-
- - ">="
|
|
110
|
-
- !ruby/object:Gem::Version
|
|
111
|
-
version: '0'
|
|
112
|
-
description: Provides recommended RuboCop configuration for use on OGAT open source
|
|
113
|
-
and internal Ruby projects.
|
|
114
|
-
email: webmaster@outwood.com
|
|
83
|
+
version: '1.22'
|
|
84
|
+
description:
|
|
85
|
+
email:
|
|
86
|
+
- webmaster@outwood.com
|
|
115
87
|
executables: []
|
|
116
88
|
extensions: []
|
|
117
|
-
extra_rdoc_files:
|
|
118
|
-
- LICENSE.txt
|
|
119
|
-
- README.md
|
|
89
|
+
extra_rdoc_files: []
|
|
120
90
|
files:
|
|
121
|
-
- ".
|
|
91
|
+
- ".gitignore"
|
|
92
|
+
- ".rspec"
|
|
93
|
+
- ".rubocop.yml"
|
|
122
94
|
- ".travis.yml"
|
|
123
95
|
- Gemfile
|
|
124
96
|
- LICENSE.txt
|
|
125
97
|
- README.md
|
|
126
98
|
- Rakefile
|
|
127
|
-
-
|
|
99
|
+
- bin/console
|
|
100
|
+
- bin/setup
|
|
128
101
|
- config/default.yml
|
|
129
|
-
- lib/rubocop
|
|
102
|
+
- lib/rubocop/ogat.rb
|
|
103
|
+
- lib/rubocop/ogat/version.rb
|
|
130
104
|
- rubocop-ogat.gemspec
|
|
131
|
-
homepage:
|
|
105
|
+
homepage: https://github.com/Outwood/rubocop-ogat
|
|
132
106
|
licenses:
|
|
133
107
|
- MIT
|
|
134
108
|
metadata: {}
|
|
@@ -148,8 +122,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
148
122
|
version: '0'
|
|
149
123
|
requirements: []
|
|
150
124
|
rubyforge_project:
|
|
151
|
-
rubygems_version: 2.
|
|
125
|
+
rubygems_version: 2.7.4
|
|
152
126
|
signing_key:
|
|
153
127
|
specification_version: 4
|
|
154
|
-
summary: RuboCop OGAT
|
|
128
|
+
summary: Default RuboCop configuration for OGAT Ruby projects
|
|
155
129
|
test_files: []
|
data/.document
DELETED
data/VERSION
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
1.0.3
|
data/lib/rubocop-ogat.rb
DELETED
|
File without changes
|