hyperlaunch-rails-lint 0.1.0 → 0.1.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 175a241dfa8cfeed384477933f282cd96f74fcd72aaa774e5e7f4e382b3efd1a
|
4
|
+
data.tar.gz: 620f4c86550145e0784ddf4a1bd6b6e707af8828da85b28f4d35bc7058648093
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 37ed4500a641d892aeb6d3e519dfff1967cd7c1f0775b96746398a3aabf35eed94eedac3162e1eba61014f566a65bb4f30d043f6ab8fc343bf709135917c0a39
|
7
|
+
data.tar.gz: cc76248dc9150fe2f156a6a2b28a70bb6866d03bdd612f86df3dbb153a102f03e33e18fd722525483415c18d2b6d432c5f600f36e267cd68759dffafba7d2ee0
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module HyperlaunchRailsLint
|
4
|
+
module Generators
|
5
|
+
# Generate .rubocop.yml file into project
|
6
|
+
class RubocopConfigGenerator < Rails::Generators::Base
|
7
|
+
source_root File.expand_path('templates', __dir__)
|
8
|
+
|
9
|
+
def copy_rubocop_file
|
10
|
+
template 'rubocop.yml', '.rubocop.yml', force: false
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hyperlaunch-rails-lint
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Garrett
|
@@ -137,6 +137,9 @@ executables: []
|
|
137
137
|
extensions: []
|
138
138
|
extra_rdoc_files: []
|
139
139
|
files:
|
140
|
+
- lib/generators/hyperlaunch_rails_lint/rubocop_config/rubocop_config_generator.rb
|
141
|
+
- lib/generators/hyperlaunch_rails_lint/rubocop_config/templates/rubocop.yml
|
142
|
+
- lib/hyperlaunch_rails_lint.rb
|
140
143
|
- rubocop.yml
|
141
144
|
homepage: https://github.com/hyperlaunch/hyperlaunch-rails-lint
|
142
145
|
licenses:
|