rndb 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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: c745160e3fa8b2713e1661bc83157c29746e9ed7125b6ac332700d81a3db7a7f
4
+ data.tar.gz: 52b92a38e619572b13ec8e5b50dac552d1561832fe39f858b9ce269db6eaadb7
5
+ SHA512:
6
+ metadata.gz: f6930929cdf9a3958de8ae0c730bc619c74b62fe145776fd53a6a61fc84e7b1dcf7af0752955f47bac3d9e601a1907aa2d36fca6774bd765c87ad7668f07d01a
7
+ data.tar.gz: d9cf1aee0b156bb6e0d02491b89a3cb4abb4ca9bca1e55d99751d0ec3375aef75a7490da48d3cd78a7860c3879d52ce4b170ea33fd7ecbadd7f5f9786380ebf6
data/.document ADDED
@@ -0,0 +1,5 @@
1
+ lib/**/*.rb
2
+ bin/*
3
+ -
4
+ features/**/*.feature
5
+ LICENSE.txt
data/.editorconfig ADDED
@@ -0,0 +1,9 @@
1
+ root = true
2
+
3
+ [*]
4
+ charset = utf-8
5
+ indent_style = space
6
+ indent_size = 2
7
+ end_of_line = lf
8
+ insert_final_newline = true
9
+ trim_trailing_whitespace = true
@@ -0,0 +1,28 @@
1
+ name: ship
2
+
3
+ on:
4
+ release:
5
+ types:
6
+ - published
7
+
8
+ jobs:
9
+ ship:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v2
13
+ - name: Set up Ruby
14
+ uses: ruby/setup-ruby@v1
15
+ with:
16
+ ruby-version: 2.5.8
17
+ bundler-cache: true
18
+ - name: Deploy to RubyGems
19
+ run: |
20
+ mkdir -p $HOME/.gem
21
+ touch $HOME/.gem/credentials
22
+ chmod 0600 $HOME/.gem/credentials
23
+ printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
24
+ bundle exec rake gemspec
25
+ bundle exec rake build
26
+ gem push pkg/*
27
+ env:
28
+ GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
@@ -0,0 +1,22 @@
1
+ name: test
2
+
3
+ on: [push, pull_request]
4
+
5
+ jobs:
6
+ test:
7
+ runs-on: ubuntu-latest
8
+ env:
9
+ PUNK_ENV: test
10
+ COVERALLS_REPO_TOKEN: "${{secrets.COVERALLS_REPO_TOKEN}}"
11
+
12
+ steps:
13
+ - uses: actions/checkout@v2
14
+ - name: Set up Ruby
15
+ uses: ruby/setup-ruby@v1
16
+ with:
17
+ ruby-version: 2.5.8
18
+ bundler-cache: true
19
+ - name: Lint files
20
+ run: bundle exec rubocop
21
+ - name: Run specs
22
+ run: bundle exec rspec
data/.rdoc_options ADDED
@@ -0,0 +1,22 @@
1
+ --- !ruby/object:RDoc::Options
2
+ encoding: UTF-8
3
+ static_path: []
4
+ rdoc_include:
5
+ - "."
6
+ charset: UTF-8
7
+ exclude:
8
+ hyperlink_all: false
9
+ line_numbers: false
10
+ locale:
11
+ locale_dir: locale
12
+ locale_name:
13
+ main_page:
14
+ markup: markdown
15
+ output_decoration: true
16
+ page_dir:
17
+ show_hash: false
18
+ tab_width: 8
19
+ template_stylesheets: []
20
+ title:
21
+ visibility: :protected
22
+ webcvs:
data/.rgignore ADDED
@@ -0,0 +1 @@
1
+ *.lock
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --color
2
+ --require spec_helper
data/.rubocop.yml ADDED
@@ -0,0 +1,203 @@
1
+ require:
2
+ - rubocop-rspec
3
+
4
+ AllCops:
5
+ NewCops: enable
6
+ TargetRubyVersion: 2.5
7
+ DisplayCopNames: true
8
+ Exclude:
9
+ - "rndb.gemspec"
10
+ - ".bundle/**/*"
11
+ - "vendor/**/*"
12
+ - "node_modules/**/*"
13
+
14
+ RSpec/DescribeMethod:
15
+ Exclude:
16
+ - spec/routes/**/*
17
+
18
+ RSpec/FilePath:
19
+ Exclude:
20
+ - spec/routes/**/*
21
+
22
+ Layout/EmptyLineAfterGuardClause:
23
+ Enabled: false
24
+
25
+ Layout/EmptyLinesAroundAttributeAccessor:
26
+ Enabled: true
27
+
28
+ Layout/ExtraSpacing:
29
+ AllowForAlignment: false
30
+
31
+ Layout/FirstHashElementIndentation:
32
+ EnforcedStyle: consistent
33
+
34
+ Layout/LineLength:
35
+ Enabled: false
36
+
37
+ Layout/SpaceAroundEqualsInParameterDefault:
38
+ EnforcedStyle: no_space
39
+
40
+ Layout/SpaceAroundMethodCallOperator:
41
+ Enabled: true
42
+
43
+ Layout/SpaceBeforeBrackets:
44
+ Enabled: false
45
+
46
+ Lint/BinaryOperatorWithIdenticalOperands:
47
+ Enabled: true
48
+
49
+ Lint/DeprecatedOpenSSLConstant:
50
+ Enabled: true
51
+
52
+ Lint/DuplicateElsifCondition:
53
+ Enabled: true
54
+
55
+ Lint/DuplicateRescueException:
56
+ Enabled: true
57
+
58
+ Lint/EmptyConditionalBody:
59
+ Enabled: true
60
+
61
+ Lint/FloatComparison:
62
+ Enabled: true
63
+
64
+ Lint/MissingSuper:
65
+ Enabled: true
66
+
67
+ Lint/MixedRegexpCaptureTypes:
68
+ Enabled: true
69
+
70
+ Lint/OutOfRangeRegexpRef:
71
+ Enabled: true
72
+
73
+ Lint/RaiseException:
74
+ Enabled: true
75
+
76
+ Lint/SelfAssignment:
77
+ Enabled: true
78
+
79
+ Lint/StructNewOverride:
80
+ Enabled: true
81
+
82
+ Lint/TopLevelReturnWithArgument:
83
+ Enabled: true
84
+
85
+ Lint/UnreachableLoop:
86
+ Enabled: true
87
+
88
+ Metrics/ParameterLists:
89
+ Enabled: false
90
+
91
+ Metrics/BlockLength:
92
+ Enabled: false
93
+
94
+ Metrics/MethodLength:
95
+ Enabled: false
96
+
97
+ Metrics/ClassLength:
98
+ Enabled: false
99
+
100
+ Metrics/ModuleLength:
101
+ Enabled: false
102
+
103
+ Metrics/AbcSize:
104
+ Enabled: false
105
+
106
+ Metrics/CyclomaticComplexity:
107
+ Enabled: false
108
+
109
+ Metrics/PerceivedComplexity:
110
+ Enabled: false
111
+
112
+ Naming/MethodParameterName:
113
+ Enabled: false
114
+
115
+ RSpec/EmptyExampleGroup:
116
+ Enabled: false
117
+
118
+ RSpec/MultipleExpectations:
119
+ Max: 2
120
+
121
+ Style/AccessorGrouping:
122
+ Enabled: true
123
+
124
+ Style/ArrayCoercion:
125
+ Enabled: true
126
+
127
+ Style/AsciiComments:
128
+ Enabled: false
129
+
130
+ Style/BisectedAttrAccessor:
131
+ Enabled: true
132
+
133
+ Style/CaseLikeIf:
134
+ Enabled: true
135
+
136
+ Style/Documentation:
137
+ Enabled: false
138
+
139
+ Style/ExplicitBlockArgument:
140
+ Enabled: false
141
+
142
+ Style/ExponentialNotation:
143
+ Enabled: true
144
+
145
+ Style/GlobalStdStream:
146
+ Enabled: true
147
+
148
+ Style/HashAsLastArrayItem:
149
+ Enabled: true
150
+
151
+ Style/HashEachMethods:
152
+ Enabled: true
153
+
154
+ Style/HashLikeCase:
155
+ Enabled: true
156
+
157
+ Style/HashTransformKeys:
158
+ Enabled: true
159
+
160
+ Style/HashTransformValues:
161
+ Enabled: true
162
+
163
+ Style/OptionalBooleanParameter:
164
+ Enabled: true
165
+
166
+ Style/ParallelAssignment:
167
+ Enabled: false
168
+
169
+ Style/RedundantAssignment:
170
+ Enabled: true
171
+
172
+ Style/RedundantFetchBlock:
173
+ Enabled: true
174
+
175
+ Style/RedundantFileExtensionInRequire:
176
+ Enabled: true
177
+
178
+ Style/RedundantRegexpCharacterClass:
179
+ Enabled: true
180
+
181
+ Style/RedundantRegexpEscape:
182
+ Enabled: true
183
+
184
+ Style/RegexpLiteral:
185
+ Enabled: false
186
+
187
+ Style/SingleArgumentDig:
188
+ Enabled: true
189
+
190
+ Style/SlicingWithRange:
191
+ Enabled: true
192
+
193
+ Style/StringConcatenation:
194
+ Enabled: true
195
+
196
+ Style/StringLiterals:
197
+ Enabled: false
198
+
199
+ Style/SymbolArray:
200
+ Enabled: false
201
+
202
+ Style/WordArray:
203
+ Enabled: false
data/.ruby-gemset ADDED
@@ -0,0 +1 @@
1
+ rndb
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 2.6.6
data/Gemfile ADDED
@@ -0,0 +1,26 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ gem 'rdoc', '~> 6.3'
6
+ gem 'yard', '~> 0.9'
7
+
8
+ group :development do
9
+ gem 'bundler', '~> 1.17'
10
+ gem 'gemfile_updater', '~> 0.1'
11
+ gem 'juwelier', '~> 2.4'
12
+ end
13
+
14
+ group :test do
15
+ gem 'coveralls', '~> 0.8'
16
+ gem 'rspec', '~> 3.10'
17
+ gem 'rspec-its', '~> 1.3'
18
+ gem 'rubocop', '~> 1.9'
19
+ gem 'rubocop-rspec', '~> 2.2'
20
+ end
21
+
22
+ group :development, :test do
23
+ gem 'byebug', '~> 11.1'
24
+ gem 'crypt-isaac', '~> 1.2'
25
+ gem 'faker', '~> 2.16'
26
+ end
data/Gemfile.lock ADDED
@@ -0,0 +1,150 @@
1
+ GEM
2
+ remote: https://rubygems.org/
3
+ specs:
4
+ addressable (2.7.0)
5
+ public_suffix (>= 2.0.2, < 5.0)
6
+ ast (2.4.2)
7
+ builder (3.2.4)
8
+ byebug (11.1.3)
9
+ concurrent-ruby (1.1.8)
10
+ coveralls (0.8.23)
11
+ json (>= 1.8, < 3)
12
+ simplecov (~> 0.16.1)
13
+ term-ansicolor (~> 1.3)
14
+ thor (>= 0.19.4, < 2.0)
15
+ tins (~> 1.6)
16
+ crypt-isaac (1.2.0)
17
+ descendants_tracker (0.0.4)
18
+ thread_safe (~> 0.3, >= 0.3.1)
19
+ diff-lcs (1.4.4)
20
+ docile (1.3.5)
21
+ faker (2.16.0)
22
+ i18n (>= 1.6, < 2)
23
+ faraday (1.3.0)
24
+ faraday-net_http (~> 1.0)
25
+ multipart-post (>= 1.2, < 3)
26
+ ruby2_keywords
27
+ faraday-net_http (1.0.1)
28
+ gemfile_updater (0.1.0)
29
+ git (1.8.1)
30
+ rchardet (~> 1.8)
31
+ github_api (0.19.0)
32
+ addressable (~> 2.4)
33
+ descendants_tracker (~> 0.0.4)
34
+ faraday (>= 0.8, < 2)
35
+ hashie (~> 3.5, >= 3.5.2)
36
+ oauth2 (~> 1.0)
37
+ hashie (3.6.0)
38
+ highline (2.0.3)
39
+ i18n (1.8.9)
40
+ concurrent-ruby (~> 1.0)
41
+ json (2.5.1)
42
+ juwelier (2.4.9)
43
+ builder
44
+ bundler
45
+ git
46
+ github_api
47
+ highline
48
+ kamelcase (~> 0)
49
+ nokogiri
50
+ psych
51
+ rake
52
+ rdoc
53
+ semver2
54
+ jwt (2.2.2)
55
+ kamelcase (0.0.2)
56
+ semver2 (~> 3)
57
+ mini_portile2 (2.5.0)
58
+ multi_json (1.15.0)
59
+ multi_xml (0.6.0)
60
+ multipart-post (2.1.1)
61
+ nokogiri (1.11.1)
62
+ mini_portile2 (~> 2.5.0)
63
+ racc (~> 1.4)
64
+ oauth2 (1.4.4)
65
+ faraday (>= 0.8, < 2.0)
66
+ jwt (>= 1.0, < 3.0)
67
+ multi_json (~> 1.3)
68
+ multi_xml (~> 0.5)
69
+ rack (>= 1.2, < 3)
70
+ parallel (1.20.1)
71
+ parser (3.0.0.0)
72
+ ast (~> 2.4.1)
73
+ psych (3.3.0)
74
+ public_suffix (4.0.6)
75
+ racc (1.5.2)
76
+ rack (2.2.3)
77
+ rainbow (3.0.0)
78
+ rake (13.0.3)
79
+ rchardet (1.8.0)
80
+ rdoc (6.3.0)
81
+ regexp_parser (2.1.0)
82
+ rexml (3.2.4)
83
+ rspec (3.10.0)
84
+ rspec-core (~> 3.10.0)
85
+ rspec-expectations (~> 3.10.0)
86
+ rspec-mocks (~> 3.10.0)
87
+ rspec-core (3.10.1)
88
+ rspec-support (~> 3.10.0)
89
+ rspec-expectations (3.10.1)
90
+ diff-lcs (>= 1.2.0, < 2.0)
91
+ rspec-support (~> 3.10.0)
92
+ rspec-its (1.3.0)
93
+ rspec-core (>= 3.0.0)
94
+ rspec-expectations (>= 3.0.0)
95
+ rspec-mocks (3.10.2)
96
+ diff-lcs (>= 1.2.0, < 2.0)
97
+ rspec-support (~> 3.10.0)
98
+ rspec-support (3.10.2)
99
+ rubocop (1.10.0)
100
+ parallel (~> 1.10)
101
+ parser (>= 3.0.0.0)
102
+ rainbow (>= 2.2.2, < 4.0)
103
+ regexp_parser (>= 1.8, < 3.0)
104
+ rexml
105
+ rubocop-ast (>= 1.2.0, < 2.0)
106
+ ruby-progressbar (~> 1.7)
107
+ unicode-display_width (>= 1.4.0, < 3.0)
108
+ rubocop-ast (1.4.1)
109
+ parser (>= 2.7.1.5)
110
+ rubocop-rspec (2.2.0)
111
+ rubocop (~> 1.0)
112
+ rubocop-ast (>= 1.1.0)
113
+ ruby-progressbar (1.11.0)
114
+ ruby2_keywords (0.0.4)
115
+ semver2 (3.4.2)
116
+ simplecov (0.16.1)
117
+ docile (~> 1.1)
118
+ json (>= 1.8, < 3)
119
+ simplecov-html (~> 0.10.0)
120
+ simplecov-html (0.10.2)
121
+ sync (0.5.0)
122
+ term-ansicolor (1.7.1)
123
+ tins (~> 1.0)
124
+ thor (1.1.0)
125
+ thread_safe (0.3.6)
126
+ tins (1.28.0)
127
+ sync
128
+ unicode-display_width (2.0.0)
129
+ yard (0.9.26)
130
+
131
+ PLATFORMS
132
+ ruby
133
+
134
+ DEPENDENCIES
135
+ bundler (~> 1.17)
136
+ byebug (~> 11.1)
137
+ coveralls (~> 0.8)
138
+ crypt-isaac (~> 1.2)
139
+ faker (~> 2.16)
140
+ gemfile_updater (~> 0.1)
141
+ juwelier (~> 2.4)
142
+ rdoc (~> 6.3)
143
+ rspec (~> 3.10)
144
+ rspec-its (~> 1.3)
145
+ rubocop (~> 1.9)
146
+ rubocop-rspec (~> 2.2)
147
+ yard (~> 0.9)
148
+
149
+ BUNDLED WITH
150
+ 1.17.3