Skip to content

Commit 6b770ed

Browse files
author
pierre golfier
committed
rename gem
1 parent 8def3eb commit 6b770ed

File tree

6 files changed

+18
-18
lines changed

6 files changed

+18
-18
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
.DS_Store
2-
Gemfile.lock
2+
Gemfile.lock

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
1-
# Codeur Rubostyle
1+
# Rubocop Codeur
22
Shared rubocop config gem for every Ruby projects at Codeur SARL
33

44
## Installation
55
Add this lines to your application's Gemfile:
66
```ruby
77
group :development do
8-
gem 'codeur-rubostyle'
8+
gem 'rubocop-codeur'
99
end
1010
```
1111

1212
Or, for a Ruby library, add this to your gemspec:
1313
```ruby
14-
spec.add_development_dependency 'codeur-rubostyle'
14+
spec.add_development_dependency 'rubocop-codeur'
1515
```
1616

1717
## Usage
1818
Create a `.rubocop.yml` with the following directives:
1919
```yml
2020
inherit_gem:
21-
codeur-rubostyle:
21+
rubocop-codeur:
2222
- default.yml
2323
```
2424
2525
Then run:
2626
`bundle exec rubocop`
2727

28-
You do not need to include rubocop directly in your application's dependencies. Codeur-rubostyle will include `rubocop`, `rubocop-minitest`, `rubocop-performance` and `rubocop-rails` dependencies.
28+
You do not need to include rubocop directly in your application's dependencies. rubocop-codeur will include `rubocop`, `rubocop-minitest`, `rubocop-performance` and `rubocop-rails` dependencies.
2929

3030
## FYI
3131
It might be necessary to override style rules set in this gem for some projects or to add specific ones. Rule inheritance provided by Rubocop works like the following:
@@ -34,7 +34,7 @@ It might be necessary to override style rules set in this gem for some projects
3434
For example:
3535
```yml
3636
inherit_gem:
37-
codeur-rubostyle:
37+
rubocop-codeur:
3838
- default.yml
3939
4040
inherit_from: .some_rubocop_config_file.yml

lib/codeur_rubostyle.rb

Lines changed: 0 additions & 6 deletions
This file was deleted.

lib/rubocop_codeur.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# frozen_string_literal: true
2+
3+
require 'rubocop_codeur/version'
4+
5+
module RubocopCodeur
6+
end
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

3-
module CodeurRubostyle
3+
module RubocopCodeur
44
VERSION = '0.1.0'
55
end
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
lib = File.expand_path('../lib', __dir__)
44
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5-
require_relative 'lib/codeur_rubostyle/version'
5+
require_relative 'lib/rubocop_codeur/version'
66

77
Gem::Specification.new do |spec|
8-
spec.name = 'codeur-rubostyle'
9-
spec.version = CodeurRubostyle::VERSION
8+
spec.name = 'rubocop-codeur'
9+
spec.version = RubocopCodeur::VERSION
1010
spec.authors = ['Dev-team Codeur']
1111
spec.email = ['[email protected]']
12-
spec.homepage = 'https://github.com/codeur/codeur-rubostyle'
12+
spec.homepage = 'https://github.com/codeur/rubocop-codeur'
1313
spec.summary = 'Codeur rubocop config gem'
1414
spec.description = 'Shared rubocop config gem for every Ruby projects at Codeur SARL'
1515
spec.license = 'MIT'

0 commit comments

Comments
 (0)