appbooster_rubocop_config 0.1.4 → 0.2.0

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
- SHA1:
3
- metadata.gz: 4c4554d26c0c3702092fd133c139c063f6e0792e
4
- data.tar.gz: 45304b30a7dedeccf434f3b9e31b7d6807d19bd0
2
+ SHA256:
3
+ metadata.gz: 0dd009b011690ff16b9d89aac8a2fc83441130ef99a5b9f045fdd6dae2efbe8c
4
+ data.tar.gz: 477215dd440e64d372665e2b16fc1faaf79d06876a1e5435a7bd75e4719d3cf6
5
5
  SHA512:
6
- metadata.gz: e02e2dff295f7634b364b7de75ca91edb9c576bca3e2af36694c2718a1e604d9149452b442dde234946beb8abdcb82d45c5dcb26f7519f14f07cac1c3d6ec564
7
- data.tar.gz: 81f913c6cccebdb6db88e77fec0935beb2761ce8ad50d7111e35249f6f818da8513fcb8ff62d65251485b62383f12fe8665a406749b1dd5efadf0156bc86349b
6
+ metadata.gz: aecf617aa42b4642e80623090a79540141b3e38ae5bbef69292cdebe96f8528b3b2fbea8c64015a3ca3c0c64b3f103c4e572c4dd54b206e055aa7bb6d058719c
7
+ data.tar.gz: 41f1decf61d1e2fc2fef7cc2a367b8c1d8b0a858bcc94d76abab3a91582c1422b861d9771947c3147efc5c96c3d1aa381594beb532b5baadbd13737a8c7813ea
data/.travis.yml CHANGED
@@ -6,3 +6,7 @@ before_install: gem install bundler -v 1.15.4
6
6
  script:
7
7
  - make lint
8
8
  - make test
9
+ deploy:
10
+ provider: rubygems
11
+ api_key: $RUBYGEMS_APIKEY
12
+ gem: appbooster_rubocop_config
data/Makefile CHANGED
@@ -5,4 +5,16 @@ test:
5
5
  lint:
6
6
  bundle exec rubocop
7
7
 
8
+ setup:
9
+ bin/setup
10
+
11
+ install:
12
+ bundle exec rake install
13
+
14
+ release:
15
+ bundle exec rake bump:set
16
+
17
+ version:
18
+ bundle exec rake bump:current
19
+
8
20
  .PHONY: all
@@ -0,0 +1,7 @@
1
+ #### :tophat: Что? Зачем?
2
+
3
+ #### :family: Зависимости
4
+
5
+ #### :clipboard: Подзадачи
6
+ - [x]
7
+ - [ ]
data/README.md CHANGED
@@ -2,16 +2,14 @@
2
2
 
3
3
  [![Build Status](https://travis-ci.org/appbooster/rubocop_config.svg?branch=master)](https://travis-ci.org/appbooster/rubocop_config)
4
4
 
5
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/appbooster_rubocop_config`. To experiment with that code, run `bin/console` for an interactive prompt.
6
-
7
- TODO: Delete this and the text above, and describe your gem
5
+ Shared rubocop config of Appbooster organization
8
6
 
9
7
  ## Installation
10
8
 
11
9
  Add this line to your application's Gemfile:
12
10
 
13
11
  ```ruby
14
- gem 'appbooster_rubocop_config', github: 'appbooster/rubocop_config'
12
+ gem 'appbooster_rubocop_config'
15
13
  ```
16
14
 
17
15
  And then execute:
@@ -47,11 +45,13 @@ inherit_from:
47
45
 
48
46
  ## Development
49
47
 
50
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `make` to run the tests and lints. Or you can call it seperatly `make lint` for linting and `make test` for testing.
48
+ After checking out the repo, run `make setup` to install dependencies.
49
+ Then, run `make` to run the tests and lints. Or you can call it seperatly `make lint` for linting and `make test` for testing.
51
50
 
52
- 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).
53
- TODO: create `make release`
51
+ To install this gem onto your local machine, run `make install`.
52
+ To release a new version, run `make version` to show you current version, ie `0.1.4`
53
+ Then run `make release VERSION="0.1.5"` where `VERSION` is next release version you want to push to [rubygems.org](https://rubygems.org).
54
54
 
55
55
  ## Contributing
56
56
 
57
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/appbooster_rubocop_config.
57
+ Bug reports and pull requests are welcome on [GitHub](https://github.com/appbooster/rubocop_config).
data/Rakefile CHANGED
@@ -1,6 +1,8 @@
1
1
  require "bundler/gem_tasks"
2
2
  require "rspec/core/rake_task"
3
+ require "bump/tasks"
3
4
 
4
5
  RSpec::Core::RakeTask.new(:spec)
5
6
 
6
7
  task default: :spec
8
+ task(:release).clear
@@ -31,7 +31,8 @@ Gem::Specification.new do |spec|
31
31
  spec.add_development_dependency "bundler", "~> 1.15"
32
32
  spec.add_development_dependency "rake", "~> 10.0"
33
33
  spec.add_development_dependency "rspec", "~> 3.0"
34
+ spec.add_development_dependency "bump", ">= 0.5.4"
34
35
 
35
- spec.add_dependency "rubocop", "~> 0.51.0"
36
+ spec.add_dependency "rubocop", "~> 0.59.0"
36
37
  spec.add_dependency "rubocop-rspec", "~> 1.20"
37
38
  end
data/default.yml CHANGED
@@ -43,6 +43,9 @@ Rails:
43
43
  Rails/SkipsModelValidations:
44
44
  Enabled: true
45
45
 
46
+ VariableName:
47
+ EnforcedStyle: snake_case
48
+
46
49
  # Single quotes being faster is hardly measurable and only affects parse time.
47
50
  # Enforcing double quotes reduces the times where you need to change them
48
51
  # when introducing an interpolation. Use single quotes only if their semantics
@@ -1,3 +1,3 @@
1
1
  module AppboosterRubocopConfig
2
- VERSION = "0.1.4".freeze
2
+ VERSION = "0.2.0".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appbooster_rubocop_config
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitriy Ivliev
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-03-12 00:00:00.000000000 Z
11
+ date: 2018-10-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -52,20 +52,34 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '3.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: bump
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: 0.5.4
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: 0.5.4
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: rubocop
57
71
  requirement: !ruby/object:Gem::Requirement
58
72
  requirements:
59
73
  - - "~>"
60
74
  - !ruby/object:Gem::Version
61
- version: 0.51.0
75
+ version: 0.59.0
62
76
  type: :runtime
63
77
  prerelease: false
64
78
  version_requirements: !ruby/object:Gem::Requirement
65
79
  requirements:
66
80
  - - "~>"
67
81
  - !ruby/object:Gem::Version
68
- version: 0.51.0
82
+ version: 0.59.0
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: rubocop-rspec
71
85
  requirement: !ruby/object:Gem::Requirement
@@ -93,6 +107,7 @@ files:
93
107
  - ".travis.yml"
94
108
  - Gemfile
95
109
  - Makefile
110
+ - PULL_REQUEST_TEMPLATE.md
96
111
  - README.md
97
112
  - Rakefile
98
113
  - appbooster_rubocop_config.gemspec
@@ -123,7 +138,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
123
138
  version: '0'
124
139
  requirements: []
125
140
  rubyforge_project:
126
- rubygems_version: 2.6.11
141
+ rubygems_version: 2.7.7
127
142
  signing_key:
128
143
  specification_version: 4
129
144
  summary: Shared rubocop config of Appbooster organization