panolint 0.1.0 → 0.1.1

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
2
  SHA256:
3
- metadata.gz: d105b6c29c1e4f554308503e7c8ec1f1e55de7ccafb67bd24b733a6e233b484a
4
- data.tar.gz: b9420c644510fac68763f8cf8fb8a175b3fa0c30012bc0f7f3ff7b3da44e246f
3
+ metadata.gz: 154ac6670562115294b0e08dce393a20cf80242d5c82b8106a05749ead58b063
4
+ data.tar.gz: 19f94479b898c1f218420446303465506da9190ee47120b355ef746e8bcf1bed
5
5
  SHA512:
6
- metadata.gz: eaa48d827a15f87b9120af91273780f9451cb13e471399518e3a143899d56ddfd704bb365bfd2284be07b0e888c1313f3770a514fd0d3c117463a32890fd3537
7
- data.tar.gz: abf1ed9a4ba750f2ebb23cea8fa0d381a4f1ffaf423115136d098629b086de22515f900882a8333466916f749f4a54347e3cda83716ce09bc502392d99605b64
6
+ metadata.gz: 7bfb19bb2223e6594d1822e46d928a5f1fbfcc224de8704a1964a2f1774de18381c3357c96c447bc64420bf8d726d52d1f7c03f3722d9ce57f350e4348ad54a9
7
+ data.tar.gz: 076f9558f8f544d35ee36450ffca761e9b96db8b31ad5ecf34e97078d64be1528d52b8df2c05277b15ee459752162f526fcf3ca8f37ac651f326dfcc8974a3e1
@@ -0,0 +1,11 @@
1
+ # This is a dependabot configuration file. When this file is seen on github, a
2
+ # dependabot configuration is created for the project. We can use this to
3
+ # control various aspects of the automated dependency checking, such as the
4
+ # frequency and the target_branch.
5
+ #
6
+ # Reference: https://dependabot.com/docs/config-file/
7
+ version: 1
8
+ update_configs:
9
+ - package_manager: "ruby:bundler"
10
+ directory: "/"
11
+ update_schedule: "weekly"
@@ -19,5 +19,5 @@ jobs:
19
19
  ${{ runner.os }}-gems-
20
20
  - run: bundle config path vendor/bundle
21
21
  - run: bundle install --jobs 4 --retry 3
22
- - run: bundle exec rubocop
22
+ - run: bundle exec rubocop --config panolint.yml
23
23
  - run: bundle exec rspec
data/CHANGELOG.md ADDED
@@ -0,0 +1,24 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
6
+
7
+ ## [Unreleased]
8
+
9
+ ## [0.1.1] - 2020-04-10
10
+
11
+ ### Changed
12
+
13
+ - Explicitly ignore the `Naming/FileName` rule on `.overcommit/Gemfile` files.
14
+ - Change the config name from `.rubocop.yml` to `panolint.yml`.
15
+
16
+ ## [0.1.0] - 2020-04-09
17
+
18
+ ### Added
19
+
20
+ - Initial release. 🎉
21
+
22
+ [unreleased]: https://github.com/panorama-ed/panolint/compare/v0.1.1...HEAD
23
+ [0.1.1]: https://github.com/panorama-ed/panolint/compare/v0.1.0...v0.1.1
24
+ [0.1.0]: https://github.com/panorama-ed/panolint/compare/45c38b...v0.1.0
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- panolint (0.1.0)
4
+ panolint (0.1.1)
5
5
  rubocop (~> 0.81)
6
6
  rubocop-performance (~> 1.5)
7
7
  rubocop-rails (~> 2.5)
data/README.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Panolint
2
2
 
3
+ [![Build Status](https://github.com/panorama-ed/panolint/workflows/Main/badge.svg)](https://github.com/panorama-ed/panolint/actions)
4
+ [![Gem Version](https://img.shields.io/gem/v/panolint.svg)](https://github.com/panorama-ed/panolint)
5
+
3
6
  A small gem containing rules for linting code at Panorama Education.
4
7
 
5
8
  ## Installation
@@ -24,9 +27,11 @@ You can use this in your project's `.rubocop.yml` with the following at the top:
24
27
 
25
28
  ```
26
29
  inherit_gem:
27
- panolint: .rubocop.yml
30
+ panolint: panolint.yml
28
31
  ```
29
32
 
33
+ Note that it for this gem in particular in needs to not be a `.rubocop.yml` file because of rubocop's [path relativity](https://github.com/rubocop-hq/rubocop/blob/master/manual/configuration.md#path-relativity).
34
+
30
35
  ## Development
31
36
 
32
37
  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.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Panolint
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
@@ -65,6 +65,10 @@ Metrics/PerceivedComplexity:
65
65
  Naming/BinaryOperatorParameterName:
66
66
  Enabled: false
67
67
 
68
+ Naming/FileName:
69
+ Exclude:
70
+ - .overcommit/Gemfile
71
+
68
72
  RSpec/ExpectChange:
69
73
  Enabled: false
70
74
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: panolint
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Deisz
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-04-09 00:00:00.000000000 Z
11
+ date: 2020-04-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -115,10 +115,11 @@ executables: []
115
115
  extensions: []
116
116
  extra_rdoc_files: []
117
117
  files:
118
+ - ".dependabot/config.yml"
118
119
  - ".github/workflows/main.yml"
119
120
  - ".gitignore"
120
121
  - ".rspec"
121
- - ".rubocop.yml"
122
+ - CHANGELOG.md
122
123
  - CODE_OF_CONDUCT.md
123
124
  - Gemfile
124
125
  - Gemfile.lock
@@ -130,6 +131,7 @@ files:
130
131
  - lib/panolint.rb
131
132
  - lib/panolint/version.rb
132
133
  - panolint.gemspec
134
+ - panolint.yml
133
135
  homepage: https://github.com/panorama-ed/panolint
134
136
  licenses:
135
137
  - MIT