pbio 0.1.0 → 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
2
  SHA256:
3
- metadata.gz: 2b7b794873adade256aa3a133018ca891d5b160aff747233db4cf0ea534da3fc
4
- data.tar.gz: 909c3ed71f37ab6dcb1140c7bc999ea295604b28c3ffcc5269373890529c79df
3
+ metadata.gz: 4a8b91516b406e0557ab91a3d3ba4dbed454bddf50ac90e97221cdb7e4a59774
4
+ data.tar.gz: '09b4907470dc89e4d3aed9682678fb1f5ec6967d01cd45e2623d9cdebf7ccd50'
5
5
  SHA512:
6
- metadata.gz: 10b80972ce679a9a1243dab4eb5740b4a5a828249c0863c95f6920eae1e5084c0b93c71e58ee19f0d6c1e9df40876a205cafeb2281cdfceeab5bc019c0bdceaa
7
- data.tar.gz: e3fbb13072427cde21c717db1282e27ab0fe9b40295ba71b88d096f291466321a7c32361e0cc579ccc640ee21d79bd355439b4efee4acd5b59bdb39ac9c78b67
6
+ metadata.gz: af4c6cb33801bfeb830950a6d8abe66e79a85d899d9d523eb3522ebd7edfe1281e68cd229819135d2c02c9da748571d01b315f362dc9e542ef625ceb147d9967
7
+ data.tar.gz: a9e311d2b1d87cb6a12373f99e34b277d06e00a2976f2022f73e3fb5f98fa26b5d28ae8deeef1ccaeb34e71c5157b709b02b7879a311f17edbcea5ebc249dbab
@@ -0,0 +1,78 @@
1
+ AllCops:
2
+ Exclude:
3
+ - "db/schema.rb"
4
+ - "vendor/**/*"
5
+ - "**/*_pb.rb"
6
+
7
+ Metrics/AbcSize:
8
+ Enabled: false
9
+ Metrics/BlockLength:
10
+ Exclude:
11
+ - "**/*.rake"
12
+ - "db/**/*.rb"
13
+ - "**/spec/**/*.rb"
14
+ - "**/*.gemspec"
15
+ Metrics/ClassLength:
16
+ Max: 1500
17
+ Metrics/CyclomaticComplexity:
18
+ Max: 20
19
+ Metrics/LineLength:
20
+ Max: 160
21
+ Metrics/MethodLength:
22
+ Max: 20
23
+ Exclude:
24
+ - "db/**/*.rb"
25
+ Metrics/ModuleLength:
26
+ Exclude:
27
+ - "**/*_spec.rb"
28
+ Metrics/PerceivedComplexity:
29
+ Max: 20
30
+
31
+ Layout/AlignArguments:
32
+ EnforcedStyle: with_fixed_indentation
33
+ Layout/AlignHash:
34
+ EnforcedHashRocketStyle: table
35
+ Layout/AlignParameters:
36
+ EnforcedStyle: with_fixed_indentation
37
+ Layout/EmptyLinesAroundBlockBody:
38
+ Exclude:
39
+ - "db/**/*.rb"
40
+ - "**/*.rake"
41
+ - "**/*_spec.rb"
42
+ Layout/EmptyLinesAroundClassBody:
43
+ Enabled: false
44
+ Layout/IndentFirstArrayElement:
45
+ EnforcedStyle: consistent
46
+ Layout/MultilineOperationIndentation:
47
+ Enabled: false
48
+ Layout/SpaceAroundEqualsInParameterDefault:
49
+ EnforcedStyle: no_space
50
+ Layout/SpaceInsideBlockBraces:
51
+ SpaceBeforeBlockParameters: false
52
+
53
+ Lint/AmbiguousBlockAssociation:
54
+ Exclude:
55
+ - "spec/**/*_spec.rb"
56
+
57
+ Style/ClassAndModuleChildren:
58
+ Enabled: false
59
+ Style/Documentation:
60
+ Enabled: false
61
+ Style/FrozenStringLiteralComment:
62
+ Enabled: false
63
+ Style/HashSyntax:
64
+ EnforcedStyle: ruby19_no_mixed_keys
65
+ Style/MultilineIfModifier:
66
+ Enabled: false
67
+ Style/NumericLiterals:
68
+ Enabled: false
69
+ Style/Semicolon:
70
+ AllowAsExpressionSeparator: true
71
+ Style/SingleLineBlockParams:
72
+ Enabled: false
73
+ Style/TrailingCommaInArguments:
74
+ EnforcedStyleForMultiline: consistent_comma
75
+ Style/TrailingCommaInArrayLiteral:
76
+ EnforcedStyleForMultiline: consistent_comma
77
+ Style/TrailingCommaInHashLiteral:
78
+ EnforcedStyleForMultiline: consistent_comma
@@ -1,27 +1,6 @@
1
- AllCops:
2
- TargetRubyVersion: 2.2
3
-
4
- Naming/MemoizedInstanceVariableName:
5
- Enabled: false
1
+ require: rubocop-performance
2
+ inherit_from:
3
+ - https://gitlab.com/bsm/misc/raw/master/rubocop/default.yml
6
4
 
7
- Metrics/AbcSize:
8
- Enabled: false
9
- Metrics/CyclomaticComplexity:
10
- Enabled: false
11
- Metrics/PerceivedComplexity:
12
- Enabled: false
13
- Metrics/BlockLength:
14
- Exclude: [spec/**]
15
- Metrics/MethodLength:
16
- Enabled: false
17
- Metrics/LineLength:
18
- Max: 120
19
-
20
- Style/NumericLiterals:
21
- Exclude: [spec/**]
22
- Style/TrailingCommaInArguments:
23
- EnforcedStyleForMultiline: consistent_comma
24
- Style/TrailingCommaInArrayLiteral:
25
- EnforcedStyleForMultiline: consistent_comma
26
- Style/TrailingCommaInHashLiteral:
27
- EnforcedStyleForMultiline: consistent_comma
5
+ AllCops:
6
+ TargetRubyVersion: "2.4"
@@ -1,4 +1,4 @@
1
1
  rvm:
2
- - 2.3
3
- - 2.4
2
+ - 2.6
4
3
  - 2.5
4
+ - 2.4
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- pbio (0.1.0)
4
+ pbio (0.2.0)
5
5
  google-protobuf
6
6
 
7
7
  GEM
@@ -9,35 +9,37 @@ GEM
9
9
  specs:
10
10
  ast (2.4.0)
11
11
  diff-lcs (1.3)
12
- google-protobuf (3.5.1.2)
13
- parallel (1.12.1)
14
- parser (2.5.1.0)
12
+ google-protobuf (3.10.0-x86_64-linux)
13
+ jaro_winkler (1.5.3)
14
+ parallel (1.18.0)
15
+ parser (2.6.5.0)
15
16
  ast (~> 2.4.0)
16
- powerpack (0.1.1)
17
17
  rainbow (3.0.0)
18
- rake (12.3.1)
19
- rspec (3.7.0)
20
- rspec-core (~> 3.7.0)
21
- rspec-expectations (~> 3.7.0)
22
- rspec-mocks (~> 3.7.0)
23
- rspec-core (3.7.1)
24
- rspec-support (~> 3.7.0)
25
- rspec-expectations (3.7.0)
18
+ rake (13.0.0)
19
+ rspec (3.9.0)
20
+ rspec-core (~> 3.9.0)
21
+ rspec-expectations (~> 3.9.0)
22
+ rspec-mocks (~> 3.9.0)
23
+ rspec-core (3.9.0)
24
+ rspec-support (~> 3.9.0)
25
+ rspec-expectations (3.9.0)
26
26
  diff-lcs (>= 1.2.0, < 2.0)
27
- rspec-support (~> 3.7.0)
28
- rspec-mocks (3.7.0)
27
+ rspec-support (~> 3.9.0)
28
+ rspec-mocks (3.9.0)
29
29
  diff-lcs (>= 1.2.0, < 2.0)
30
- rspec-support (~> 3.7.0)
31
- rspec-support (3.7.1)
32
- rubocop (0.55.0)
30
+ rspec-support (~> 3.9.0)
31
+ rspec-support (3.9.0)
32
+ rubocop (0.75.0)
33
+ jaro_winkler (~> 1.5.1)
33
34
  parallel (~> 1.10)
34
- parser (>= 2.5)
35
- powerpack (~> 0.1)
35
+ parser (>= 2.6)
36
36
  rainbow (>= 2.2.2, < 4.0)
37
37
  ruby-progressbar (~> 1.7)
38
- unicode-display_width (~> 1.0, >= 1.0.1)
39
- ruby-progressbar (1.9.0)
40
- unicode-display_width (1.3.2)
38
+ unicode-display_width (>= 1.4.0, < 1.7)
39
+ rubocop-performance (1.5.0)
40
+ rubocop (>= 0.71.0)
41
+ ruby-progressbar (1.10.1)
42
+ unicode-display_width (1.6.0)
41
43
 
42
44
  PLATFORMS
43
45
  ruby
@@ -48,6 +50,7 @@ DEPENDENCIES
48
50
  rake
49
51
  rspec
50
52
  rubocop
53
+ rubocop-performance
51
54
 
52
55
  BUNDLED WITH
53
- 1.16.1
56
+ 1.17.3
@@ -1,7 +1,6 @@
1
-
2
1
  Gem::Specification.new do |s|
3
2
  s.name = 'pbio'
4
- s.version = '0.1.0'
3
+ s.version = '0.2.0'
5
4
  s.authors = ['Dimitrij Denissenko']
6
5
  s.email = ['dimitrij@blacksquaremedia.com']
7
6
  s.summary = 'Protobuf Streaming'
@@ -9,10 +8,10 @@ Gem::Specification.new do |s|
9
8
  s.homepage = 'https://github.com/bsm/pbio'
10
9
  s.license = 'MIT'
11
10
 
12
- s.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^spec/}) }
11
+ s.files = `git ls-files -z`.split("\x0").reject {|f| f.match(%r{^spec/}) }
13
12
  s.test_files = `git ls-files -z -- spec/*`.split("\x0")
14
13
  s.require_paths = ['lib']
15
- s.required_ruby_version = '>= 2.2.0'
14
+ s.required_ruby_version = '>= 2.4.0'
16
15
 
17
16
  s.add_dependency 'google-protobuf'
18
17
 
@@ -20,4 +19,5 @@ Gem::Specification.new do |s|
20
19
  s.add_development_dependency 'rake'
21
20
  s.add_development_dependency 'rspec'
22
21
  s.add_development_dependency 'rubocop'
22
+ s.add_development_dependency 'rubocop-performance'
23
23
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pbio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dimitrij Denissenko
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-10 00:00:00.000000000 Z
11
+ date: 2019-10-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-protobuf
@@ -80,6 +80,20 @@ dependencies:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rubocop-performance
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
83
97
  description: ''
84
98
  email:
85
99
  - dimitrij@blacksquaremedia.com
@@ -88,6 +102,7 @@ extensions: []
88
102
  extra_rdoc_files: []
89
103
  files:
90
104
  - ".gitignore"
105
+ - ".rubocop-https---gitlab-com-bsm-misc-raw-master-rubocop-default-yml"
91
106
  - ".rubocop.yml"
92
107
  - ".travis.yml"
93
108
  - Gemfile
@@ -112,15 +127,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
112
127
  requirements:
113
128
  - - ">="
114
129
  - !ruby/object:Gem::Version
115
- version: 2.2.0
130
+ version: 2.4.0
116
131
  required_rubygems_version: !ruby/object:Gem::Requirement
117
132
  requirements:
118
133
  - - ">="
119
134
  - !ruby/object:Gem::Version
120
135
  version: '0'
121
136
  requirements: []
122
- rubyforge_project:
123
- rubygems_version: 2.7.3
137
+ rubygems_version: 3.0.3
124
138
  signing_key:
125
139
  specification_version: 4
126
140
  summary: Protobuf Streaming