surveymonkey-style 0.1.0 → 0.1.1

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: 4bc053ec165afeb7a7f2fbee0f31349466dc7b7f66de9bb1bf5062109718a568
4
- data.tar.gz: e4ee65542286b7d9c5c7d4ea6de5e3786930669ed85a79098d93f9279c905fc0
3
+ metadata.gz: ea21eb62827adf79d5b515839f3341271da03954b1e141fcc97537c33b9278ef
4
+ data.tar.gz: 5cb42d3e7ab197e8e3695bea1114ea6847fb389c0dcbe5733fe73b58557aec54
5
5
  SHA512:
6
- metadata.gz: 9ae384eccca234898dfc3a41400fe711818459dbb877a01c7f417c38778908269851b4fd26afd4e46e718a1e791d2ded91806a6329f0267d8b43476d23e7ec96
7
- data.tar.gz: edcbb052a0383a2f4a3852d277d000409f7c2462fa6ce8806b72da6fac0c775296b69f962279d22063b5f151610ad51fc0252d65b1ef4d60bc1cae6255eeae5a
6
+ metadata.gz: 573b37470b08bdc95880cf5cb63b7ce5bb79c7ec3a40a4ba3752389d40cd5efaa7a9542156bddcc660be5fa74f2ab17a3f4dc0970e24e0f5b166ba6113803110
7
+ data.tar.gz: d50778845f9608af31957898dbf4704a6c3146ec580febd9d0943b394404e5402ec1e3342317f0e33f29688b1caecdfdba6951eb13cecfb70f4291d7d57475ce
@@ -0,0 +1,13 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: bundler
4
+ directory: "/"
5
+ schedule:
6
+ interval: daily
7
+ time: "13:00"
8
+ open-pull-requests-limit: 10
9
+ reviewers:
10
+ - mdeering
11
+ labels:
12
+ - Dependencies
13
+ - Dependabot
@@ -10,7 +10,7 @@ jobs:
10
10
 
11
11
  strategy:
12
12
  matrix:
13
- ruby: ['2.5', '2.6', '2.7']
13
+ ruby: ['2.5', '2.6', '2.7', '3.0']
14
14
 
15
15
  steps:
16
16
  - uses: actions/checkout@v2
data/Gemfile.lock CHANGED
@@ -1,27 +1,27 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- surveymonkey-style (0.1.0)
4
+ surveymonkey-style (0.1.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
- ast (2.4.0)
10
- coderay (1.1.2)
11
- diff-lcs (1.3)
12
- ffi (1.12.2)
13
- formatador (0.2.5)
14
- guard (2.16.2)
9
+ ast (2.4.2)
10
+ coderay (1.1.3)
11
+ diff-lcs (1.5.0)
12
+ ffi (1.15.5)
13
+ formatador (1.1.0)
14
+ guard (2.18.0)
15
15
  formatador (>= 0.2.4)
16
16
  listen (>= 2.7, < 4.0)
17
17
  lumberjack (>= 1.0.12, < 2.0)
18
18
  nenv (~> 0.1)
19
19
  notiffany (~> 0.0)
20
- pry (>= 0.9.12)
20
+ pry (>= 0.13.0)
21
21
  shellany (~> 0.0)
22
22
  thor (>= 0.18.1)
23
- guard-bundler (2.2.1)
24
- bundler (>= 1.3.0, < 3)
23
+ guard-bundler (3.0.0)
24
+ bundler (>= 2.1, < 3)
25
25
  guard (~> 2.2)
26
26
  guard-compat (~> 1.1)
27
27
  guard-compat (1.2.1)
@@ -29,63 +29,71 @@ GEM
29
29
  guard (~> 2.1)
30
30
  guard-compat (~> 1.1)
31
31
  rspec (>= 2.99.0, < 4.0)
32
- guard-rubocop (1.3.0)
32
+ guard-rubocop (1.5.0)
33
33
  guard (~> 2.0)
34
- rubocop (~> 0.20)
34
+ rubocop (< 2.0)
35
35
  guard-yardstick (1.0.0)
36
36
  guard (>= 2.0)
37
37
  guard-compat (>= 1.2)
38
38
  yardstick (>= 0.9)
39
- listen (3.2.1)
39
+ listen (3.7.1)
40
40
  rb-fsevent (~> 0.10, >= 0.10.3)
41
41
  rb-inotify (~> 0.9, >= 0.9.10)
42
- lumberjack (1.2.4)
42
+ lumberjack (1.2.8)
43
43
  method_source (1.0.0)
44
44
  nenv (0.3.0)
45
45
  notiffany (0.1.3)
46
46
  nenv (~> 0.1)
47
47
  shellany (~> 0.0)
48
- parallel (1.19.1)
49
- parser (2.7.1.2)
50
- ast (~> 2.4.0)
51
- pry (0.13.1)
48
+ parallel (1.21.0)
49
+ parser (3.1.0.0)
50
+ ast (~> 2.4.1)
51
+ pry (0.14.1)
52
52
  coderay (~> 1.1)
53
53
  method_source (~> 1.0)
54
- rainbow (3.0.0)
55
- rake (13.0.1)
56
- rb-fsevent (0.10.4)
54
+ rainbow (3.1.1)
55
+ rake (13.0.6)
56
+ rb-fsevent (0.11.0)
57
57
  rb-inotify (0.10.1)
58
58
  ffi (~> 1.0)
59
- rexml (3.2.4)
60
- rspec (3.9.0)
61
- rspec-core (~> 3.9.0)
62
- rspec-expectations (~> 3.9.0)
63
- rspec-mocks (~> 3.9.0)
64
- rspec-core (3.9.2)
65
- rspec-support (~> 3.9.3)
66
- rspec-expectations (3.9.2)
59
+ regexp_parser (2.2.0)
60
+ rexml (3.2.5)
61
+ rspec (3.10.0)
62
+ rspec-core (~> 3.10.0)
63
+ rspec-expectations (~> 3.10.0)
64
+ rspec-mocks (~> 3.10.0)
65
+ rspec-core (3.10.2)
66
+ rspec-support (~> 3.10.0)
67
+ rspec-expectations (3.10.2)
67
68
  diff-lcs (>= 1.2.0, < 2.0)
68
- rspec-support (~> 3.9.0)
69
- rspec-mocks (3.9.1)
69
+ rspec-support (~> 3.10.0)
70
+ rspec-mocks (3.10.3)
70
71
  diff-lcs (>= 1.2.0, < 2.0)
71
- rspec-support (~> 3.9.0)
72
- rspec-support (3.9.3)
73
- rubocop (0.83.0)
72
+ rspec-support (~> 3.10.0)
73
+ rspec-support (3.10.3)
74
+ rubocop (1.25.0)
74
75
  parallel (~> 1.10)
75
- parser (>= 2.7.0.1)
76
+ parser (>= 3.1.0.0)
76
77
  rainbow (>= 2.2.2, < 4.0)
78
+ regexp_parser (>= 1.8, < 3.0)
77
79
  rexml
80
+ rubocop-ast (>= 1.15.1, < 2.0)
78
81
  ruby-progressbar (~> 1.7)
79
- unicode-display_width (>= 1.4.0, < 2.0)
80
- rubocop-performance (1.5.2)
81
- rubocop (>= 0.71.0)
82
- rubocop-rspec (1.39.0)
83
- rubocop (>= 0.68.1)
84
- ruby-progressbar (1.10.1)
82
+ unicode-display_width (>= 1.4.0, < 3.0)
83
+ rubocop-ast (1.15.1)
84
+ parser (>= 3.0.1.1)
85
+ rubocop-performance (1.13.2)
86
+ rubocop (>= 1.7.0, < 2.0)
87
+ rubocop-ast (>= 0.4.0)
88
+ rubocop-rspec (2.8.0)
89
+ rubocop (~> 1.19)
90
+ ruby-progressbar (1.11.0)
85
91
  shellany (0.0.1)
86
- thor (1.0.1)
87
- unicode-display_width (1.7.0)
88
- yard (0.9.25)
92
+ thor (1.2.1)
93
+ unicode-display_width (2.1.0)
94
+ webrick (1.7.0)
95
+ yard (0.9.27)
96
+ webrick (~> 1.7.0)
89
97
  yardstick (0.9.9)
90
98
  yard (~> 0.8, >= 0.8.7.2)
91
99
 
@@ -106,4 +114,4 @@ DEPENDENCIES
106
114
  yardstick
107
115
 
108
116
  BUNDLED WITH
109
- 2.1.2
117
+ 2.3.6
data/README.md CHANGED
@@ -18,8 +18,11 @@ Add the following to your .rubocop.yml
18
18
  ```yaml
19
19
  inherit_gem:
20
20
  surveymonkey-style:
21
- - rubocop/all.yml # Includes Rails, Ruby && RSpec Cops
22
- # - rubocop/ruby.yml # Includes Ruby && RSpec Cops
21
+ - rubocop/all.yml # Includes Performance, Rails, RSpec and Ruby Cops
22
+ # - rubocop/performance.yml
23
+ # - rubocop/rails.yml
24
+ # - rubocop/rspec.yml
25
+ # - rubocop/ruby.yml
23
26
  ```
24
27
 
25
28
  ### Yardstick
@@ -7,7 +7,7 @@ module SurveyMonkey
7
7
 
8
8
  MAJOR = 0
9
9
  MINOR = 1
10
- PATCH = 0
10
+ PATCH = 1
11
11
  PRE_RELEASE = nil
12
12
 
13
13
  # Current semantic version of the gem
data/rubocop/ruby.yml CHANGED
@@ -39,3 +39,7 @@ Style/SymbolArray:
39
39
  # anyway with %w[foo bar baz] VS ['foo', 'bar', 'baz']? Street cred../
40
40
  Style/WordArray:
41
41
  EnforcedStyle: brackets
42
+
43
+ # Prefer has_key? and has_value?
44
+ Style/PreferredHashMethods:
45
+ EnforcedStyle: verbose
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
 
11
11
  spec.summary = 'SurveyMonkey coding standards'
12
12
  spec.description = 'Set of common SurveyMonkey coding and linting settings and configurations'
13
- spec.required_ruby_version = Gem::Requirement.new('>= 2.3.0')
13
+ spec.required_ruby_version = Gem::Requirement.new('>= 2.5.0')
14
14
 
15
15
  # Specify which files should be added to the gem when it is released.
16
16
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
@@ -22,4 +22,5 @@ Gem::Specification.new do |spec|
22
22
  spec.require_paths = ['lib']
23
23
 
24
24
  spec.add_development_dependency 'rake'
25
+ spec.metadata['rubygems_mfa_required'] = 'true'
25
26
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: surveymonkey-style
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
  - Michael Deering
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-05-12 00:00:00.000000000 Z
11
+ date: 2022-02-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -31,7 +31,7 @@ executables: []
31
31
  extensions: []
32
32
  extra_rdoc_files: []
33
33
  files:
34
- - ".dependabot/config.yml"
34
+ - ".github/dependabot.yml"
35
35
  - ".github/workflows/rake.yml"
36
36
  - ".gitignore"
37
37
  - ".rspec"
@@ -53,10 +53,11 @@ files:
53
53
  - rubocop/ruby.yml
54
54
  - surveymonkey-style.gemspec
55
55
  - yardstick/.yardstick.yml
56
- homepage:
56
+ homepage:
57
57
  licenses: []
58
- metadata: {}
59
- post_install_message:
58
+ metadata:
59
+ rubygems_mfa_required: 'true'
60
+ post_install_message:
60
61
  rdoc_options: []
61
62
  require_paths:
62
63
  - lib
@@ -64,16 +65,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
64
65
  requirements:
65
66
  - - ">="
66
67
  - !ruby/object:Gem::Version
67
- version: 2.3.0
68
+ version: 2.5.0
68
69
  required_rubygems_version: !ruby/object:Gem::Requirement
69
70
  requirements:
70
71
  - - ">="
71
72
  - !ruby/object:Gem::Version
72
73
  version: '0'
73
74
  requirements: []
74
- rubyforge_project:
75
- rubygems_version: 2.7.10
76
- signing_key:
75
+ rubygems_version: 3.2.3
76
+ signing_key:
77
77
  specification_version: 4
78
78
  summary: SurveyMonkey coding standards
79
79
  test_files: []
@@ -1,16 +0,0 @@
1
- version: 1
2
- update_configs:
3
- # Update your Gemfile (& lockfiles) as soon as
4
- # new versions are published to the RubyGems registry
5
- - package_manager: 'ruby:bundler'
6
- directory: '/'
7
- update_schedule: 'live'
8
-
9
- default_reviewers:
10
- # TODO: We need to create a getfeedback/ruby-libraries team
11
- - 'mdeering'
12
- default_labels:
13
- - 'Dependencies'
14
- - 'Dependabot'
15
-
16
- # To learn more about this config file, visit: https://dependabot.com/docs/config-file/