chloride 0.4.1 → 0.4.2

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
  SHA1:
3
- metadata.gz: 673dacc72fc31d96ac66908c36ebebcbfeac50b6
4
- data.tar.gz: 40b9456cb76d2ddb9a7765587d075b63e47211e7
3
+ metadata.gz: d6e567486ae3c4a867e23bc0e416c95c5769cb67
4
+ data.tar.gz: 003a4669e66bbb63c7b2ae5654ee8593292d0793
5
5
  SHA512:
6
- metadata.gz: ab4b435e5ce899405a9b5f92d9c1163f794a083c45124a0f6a5d89b1e4059556ceeb7132fd1bb206726e4b5cda55a2132b3757c5b0ccae6b6911d55ec4dbc7f2
7
- data.tar.gz: bd4d2ff293e3591fac0cd6831815c0e9066b85a4b314c0f6bcd7c54f5a75bf475702798e52ba6e1bd73ef47868f055a7e3a57185ec25a05726c0c26964a4e97b
6
+ metadata.gz: b74c1294407152edb603b69086799771493ff72cd28b7e5a222537831698b851ccd70166397d276a286e99e82bac94fde9cc889b2ffa86ae8967d03557a5cf2b
7
+ data.tar.gz: 84ef933090d7ac86e5cf52c29097b66a5b2560f0038ad8a5ad54a04a7f92262ba0a97d1e8a623e0b54905cce60a9e259481c5f487d37cf96c8429a31fdb008cf
data/README.md CHANGED
@@ -43,14 +43,21 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
43
43
 
44
44
  We use [gem-release](https://github.com/svenfuchs/gem-release) to make the gem release process easier.
45
45
  ```
46
- # with any of these commands, provide --pretend to see what would happen
47
- # First we bump the lib/chloride/version.rb file
48
- bundle exec gem bump -v 1.1.1 # Bump to the given, specific version number
49
- bundle exec gem bump -v major # Bump to the next major level (e.g. 0.0.1 to 1.0.0)
50
- bundle exec gem bump -v minor # Bump to the next minor level (e.g. 0.0.1 to 0.1.0)
51
- bundle exec gem bump -v patch # Bump to the next patch level (e.g. 0.0.1 to 0.0.2)
52
- # Finally, we tag and release
46
+ # First, ensure that all the files in the repo are world-readable
47
+ chmod -R ugo+r *
48
+
49
+ # with any of the following commands, provide --pretend to see what would happen
50
+ # Second, bump the lib/chloride/version.rb file, and create a signed commit
51
+ bundle exec gem bump -s -v 1.1.1 # Bump to the given, specific version number
52
+ bundle exec gem bump -s -v major # Bump to the next major level (e.g. 0.0.1 to 1.0.0)
53
+ bundle exec gem bump -s -v minor # Bump to the next minor level (e.g. 0.0.1 to 0.1.0)
54
+ bundle exec gem bump -s -v patch # Bump to the next patch level (e.g. 0.0.1 to 0.0.2)
55
+
56
+ # Finally, tag and release
53
57
  bundle exec gem release -t -p # Tag (-t), and push (-p) the gem
58
+
59
+ # If you want to do it all in one
60
+ bundle exec gem bump -v patch -s -t -p
54
61
  ```
55
62
 
56
63
  ## Contributing
@@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
14
14
  spec.license = 'Apache-2.0'
15
15
 
16
16
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
17
- f.match(%r{^(test|spec|features)/})
17
+ f.match(%r{^(\..*|(test|spec|features)/)})
18
18
  end
19
19
  spec.bindir = 'exe'
20
20
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
@@ -1,3 +1,3 @@
1
1
  module Chloride
2
- VERSION = '0.4.1'.freeze
2
+ VERSION = '0.4.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chloride
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon High
@@ -147,10 +147,6 @@ executables: []
147
147
  extensions: []
148
148
  extra_rdoc_files: []
149
149
  files:
150
- - ".gem_release.yml"
151
- - ".gitignore"
152
- - ".rubocop.yml"
153
- - ".travis.yml"
154
150
  - CODE_OF_CONDUCT.md
155
151
  - Gemfile
156
152
  - LICENSE
@@ -1 +0,0 @@
1
- # Add gem-release config here
data/.gitignore DELETED
@@ -1,51 +0,0 @@
1
- *.gem
2
- *.rbc
3
- /.config
4
- /coverage/
5
- /InstalledFiles
6
- /pkg/
7
- /spec/reports/
8
- /spec/examples.txt
9
- /test/tmp/
10
- /test/version_tmp/
11
- /tmp/
12
-
13
- # Used by dotenv library to load environment variables.
14
- # .env
15
-
16
- ## Specific to RubyMotion:
17
- .dat*
18
- .repl_history
19
- build/
20
- *.bridgesupport
21
- build-iPhoneOS/
22
- build-iPhoneSimulator/
23
-
24
- ## Specific to RubyMotion (use of CocoaPods):
25
- #
26
- # We recommend against adding the Pods directory to your .gitignore. However
27
- # you should judge for yourself, the pros and cons are mentioned at:
28
- # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
29
- #
30
- # vendor/Pods/
31
-
32
- ## Documentation cache and generated files:
33
- /.yardoc/
34
- /_yardoc/
35
- /doc/
36
- /rdoc/
37
-
38
- ## Environment normalization:
39
- /.bundle/
40
- /vendor/bundle
41
- /lib/bundler/man/
42
-
43
- # for a library or gem, you might want to ignore these files since the code is
44
- # intended to run in multiple environments; otherwise, check them in:
45
- # Gemfile.lock
46
- # .ruby-version
47
- # .ruby-gemset
48
- Gemfile.lock
49
-
50
- # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
51
- .rvmrc
@@ -1,391 +0,0 @@
1
- # This configuration was generated by
2
- # `rubocop --auto-gen-config`
3
- # on 2016-10-21 10:10:42 -0700 using RuboCop version 0.44.1.
4
- # The point is for the user to remove these configuration records
5
- # one by one as the offenses are removed from the code base.
6
- # Note that changes in the inspected code, or installation of new
7
- # versions of RuboCop, may require this file to be generated again.
8
-
9
- AllCops:
10
- TargetRubyVersion: 2.4
11
-
12
- # Offense count: 6
13
- # Configuration parameters: AllowSafeAssignment.
14
- Lint/AssignmentInCondition:
15
- Exclude:
16
- - 'lib/chloride/host.rb'
17
-
18
- Lint/HandleExceptions:
19
- Enabled: true
20
-
21
- Lint/RescueException:
22
- Enabled: true
23
-
24
- # Offense count: 5
25
- Lint/ShadowingOuterLocalVariable:
26
- Exclude:
27
- - 'lib/chloride/host.rb'
28
-
29
- # Cop supports --auto-correct.
30
- Lint/StringConversionInInterpolation:
31
- Enabled: true
32
- AutoCorrect: true
33
-
34
- Lint/UnderscorePrefixedVariableName:
35
- Enabled: true
36
-
37
- # Cop supports --auto-correct.
38
- # Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
39
- Lint/UnusedBlockArgument:
40
- Enabled: true
41
- AutoCorrect: false
42
-
43
- # Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods.
44
- Lint/UnusedMethodArgument:
45
- Enabled: true
46
-
47
- Lint/UselessAssignment:
48
- Enabled: true
49
-
50
- # Offense count: 1
51
- Lint/Void:
52
- Enabled: true
53
-
54
- # Offense count: 6
55
- Metrics/AbcSize:
56
- Enabled: false
57
- Max: 70
58
-
59
- # Offense count: 4
60
- # Configuration parameters: CountComments.
61
- Metrics/BlockLength:
62
- Enabled: false
63
- Max: 45
64
-
65
- Metrics/BlockNesting:
66
- Max: 4
67
-
68
- # Offense count: 1
69
- # Configuration parameters: CountComments.
70
- Metrics/ClassLength:
71
- Max: 205
72
-
73
- # Offense count: 2
74
- Metrics/CyclomaticComplexity:
75
- Enabled: false
76
- Max: 20
77
-
78
- # Offense count: 90
79
- # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives.
80
- # URISchemes: http, https
81
- Metrics/LineLength:
82
- Max: 237
83
-
84
- # Offense count: 10
85
- # Configuration parameters: CountComments.
86
- Metrics/MethodLength:
87
- Enabled: false
88
- Max: 89
89
-
90
- # Offense count: 2
91
- Metrics/PerceivedComplexity:
92
- Enabled: false
93
- Max: 23
94
-
95
- # Offense count: 10
96
- # Cop supports --auto-correct.
97
- Performance/RedundantBlockCall:
98
- AutoCorrect: false
99
- Exclude:
100
- - 'lib/chloride/action.rb'
101
- - 'lib/chloride/action/execute.rb'
102
- - 'lib/chloride/action/file_copy.rb'
103
- - 'lib/chloride/action/resolve_dns.rb'
104
- - 'lib/chloride/host.rb'
105
-
106
- # Cop supports --auto-correct.
107
- Performance/TimesMap:
108
- Enabled: true
109
- AutoCorrect: true
110
-
111
- # Offense count: 3
112
- # Cop supports --auto-correct.
113
- # Configuration parameters: EnforcedStyle, SupportedStyles, ProceduralMethods, FunctionalMethods, IgnoredMethods.
114
- # SupportedStyles: line_count_based, semantic, braces_for_chaining
115
- # ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object
116
- # FunctionalMethods: let, let!, subject, watch
117
- # IgnoredMethods: lambda, proc, it
118
- Style/BlockDelimiters:
119
- AutoCorrect: false
120
- Exclude:
121
- - 'lib/chloride/host.rb'
122
-
123
- # Cop supports --auto-correct.
124
- # Configuration parameters: EnforcedStyle, SupportedStyles.
125
- # SupportedStyles: braces, no_braces, context_dependent
126
- Style/BracesAroundHashParameters:
127
- AutoCorrect: true
128
-
129
- # Offense count: 8
130
- # Configuration parameters: EnforcedStyle, SupportedStyles.
131
- # SupportedStyles: nested, compact
132
- Style/ClassAndModuleChildren:
133
- Enabled: false
134
- Exclude:
135
- - 'lib/chloride/action/execute.rb'
136
- - 'lib/chloride/action/file_copy.rb'
137
- - 'lib/chloride/action/mkdir.rb'
138
- - 'lib/chloride/action/mktmp.rb'
139
- - 'lib/chloride/action/resolve_dns.rb'
140
- - 'lib/chloride/errors.rb'
141
- - 'lib/chloride/event.rb'
142
- - 'lib/chloride/host.rb'
143
-
144
- # Cop supports --auto-correct.
145
- Style/ColonMethodCall:
146
- AutoCorrect: true
147
-
148
- # Cop supports --auto-correct.
149
- # Configuration parameters: EnforcedStyle, SupportedStyles, SingleLineConditionsOnly.
150
- # SupportedStyles: assign_to_condition, assign_inside_condition
151
- Style/ConditionalAssignment:
152
- AutoCorrect: true
153
-
154
- # Offense count: 11
155
- Style/Documentation:
156
- Exclude:
157
- - 'spec/**/*'
158
- - 'test/**/*'
159
- - 'lib/chloride.rb'
160
- - 'lib/chloride/action.rb'
161
- - 'lib/chloride/action/execute.rb'
162
- - 'lib/chloride/action/file_copy.rb'
163
- - 'lib/chloride/action/mkdir.rb'
164
- - 'lib/chloride/action/mktmp.rb'
165
- - 'lib/chloride/action/resolve_dns.rb'
166
- - 'lib/chloride/errors.rb'
167
- - 'lib/chloride/event.rb'
168
- - 'lib/chloride/event/message.rb'
169
- - 'lib/chloride/executor.rb'
170
- - 'lib/chloride/host.rb'
171
- - 'lib/chloride/step.rb'
172
- - 'lib/chloride/step/noop.rb'
173
-
174
- # Cop supports --auto-correct.
175
- Layout/EmptyLines:
176
- AutoCorrect: true
177
-
178
- # Cop supports --auto-correct.
179
- # Configuration parameters: AllowForAlignment, ForceEqualSignAlignment.
180
- Layout/ExtraSpacing:
181
- AutoCorrect: true
182
-
183
- # Configuration parameters: EnforcedStyle, SupportedStyles.
184
- # SupportedStyles: format, sprintf, percent
185
- Style/FormatString:
186
- Enabled: true
187
-
188
- # Offense count: 6
189
- # Configuration parameters: MinBodyLength.
190
- Style/GuardClause:
191
- Exclude:
192
- - 'lib/chloride/action/execute.rb'
193
- - 'lib/chloride/action/mkdir.rb'
194
- - 'lib/chloride/action/mktmp.rb'
195
- - 'lib/chloride/host.rb'
196
-
197
- # Cop supports --auto-correct.
198
- # Configuration parameters: EnforcedStyle, SupportedStyles, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
199
- # SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
200
- Style/HashSyntax:
201
- AutoCorrect: true
202
-
203
- # Cop supports --auto-correct.
204
- # Configuration parameters: MaxLineLength.
205
- Style/IfUnlessModifier:
206
- AutoCorrect: true
207
-
208
- # Configuration parameters: EnforcedStyle, SupportedStyles.
209
- # SupportedStyles: normal, rails
210
- Layout/IndentationConsistency:
211
- Enabled: true
212
-
213
- # Cop supports --auto-correct.
214
- # Configuration parameters: Width.
215
- Layout/IndentationWidth:
216
- AutoCorrect: true
217
-
218
- # Cop supports --auto-correct.
219
- Layout/LeadingCommentSpace:
220
- AutoCorrect: true
221
-
222
- # Cop supports --auto-correct.
223
- # Configuration parameters: EnforcedStyle, SupportedStyles.
224
- # SupportedStyles: symmetrical, new_line, same_line
225
- Layout/MultilineMethodCallBraceLayout:
226
- AutoCorrect: true
227
-
228
- # Cop supports --auto-correct.
229
- Style/MutableConstant:
230
- AutoCorrect: true
231
-
232
- # Cop supports --auto-correct.
233
- Style/NegatedIf:
234
- AutoCorrect: true
235
-
236
- # Cop supports --auto-correct.
237
- # Configuration parameters: AutoCorrect, EnforcedStyle, SupportedStyles.
238
- # SupportedStyles: predicate, comparison
239
- Style/NumericPredicate:
240
- AutoCorrect: true
241
-
242
- # Cop supports --auto-correct.
243
- # Configuration parameters: AllowSafeAssignment.
244
- Style/ParenthesesAroundCondition:
245
- AutoCorrect: true
246
-
247
- # Cop supports --auto-correct.
248
- # Configuration parameters: PreferredDelimiters.
249
- Style/PercentLiteralDelimiters:
250
- AutoCorrect: true
251
-
252
- # Cop supports --auto-correct.
253
- # Configuration parameters: EnforcedStyle, SupportedStyles.
254
- # SupportedStyles: short, verbose
255
- Style/PreferredHashMethods:
256
- AutoCorrect: true
257
-
258
- # Cop supports --auto-correct.
259
- Style/Proc:
260
- AutoCorrect: true
261
-
262
- # Cop supports --auto-correct.
263
- Style/RedundantParentheses:
264
- AutoCorrect: true
265
-
266
- # Cop supports --auto-correct.
267
- # Configuration parameters: AllowMultipleReturnValues.
268
- Style/RedundantReturn:
269
- AutoCorrect: true
270
-
271
- # Cop supports --auto-correct.
272
- Style/RedundantSelf:
273
- AutoCorrect: true
274
-
275
- # Cop supports --auto-correct.
276
- Layout/SpaceAfterComma:
277
- AutoCorrect: true
278
-
279
- # Cop supports --auto-correct.
280
- Layout/SpaceAfterNot:
281
- AutoCorrect: true
282
-
283
- # Cop supports --auto-correct.
284
- # Configuration parameters: EnforcedStyle, SupportedStyles.
285
- # SupportedStyles: space, no_space
286
- Layout/SpaceAroundEqualsInParameterDefault:
287
- AutoCorrect: true
288
-
289
- # Cop supports --auto-correct.
290
- # Configuration parameters: AllowForAlignment.
291
- Layout/SpaceAroundOperators:
292
- AutoCorrect: true
293
-
294
- # Cop supports --auto-correct.
295
- # Configuration parameters: EnforcedStyle, SupportedStyles.
296
- # SupportedStyles: space, no_space
297
- Layout/SpaceBeforeBlockBraces:
298
- Enabled: true
299
-
300
- # Cop supports --auto-correct.
301
- # Configuration parameters: EnforcedStyle, SupportedStyles, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
302
- # SupportedStyles: space, no_space
303
- Layout/SpaceInsideBlockBraces:
304
- AutoCorrect: true
305
-
306
- # Cop supports --auto-correct.
307
- # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SupportedStyles.
308
- # SupportedStyles: space, no_space, compact
309
- Layout/SpaceInsideHashLiteralBraces:
310
- AutoCorrect: true
311
-
312
- # Cop supports --auto-correct.
313
- # Configuration parameters: EnforcedStyle, SupportedStyles, ConsistentQuotesInMultiline.
314
- # SupportedStyles: single_quotes, double_quotes
315
- Style/StringLiterals:
316
- Enabled: true
317
- AutoCorrect: true
318
-
319
- Style/FrozenStringLiteralComment:
320
- Enabled: false
321
-
322
- # Configuration parameters: EnforcedStyle, SupportedStyles.
323
- # SupportedStyles: single_quotes, double_quotes
324
- Style/StringLiteralsInInterpolation:
325
- AutoCorrect: true
326
-
327
- # Cop supports --auto-correct.
328
- # Configuration parameters: EnforcedStyle, SupportedStyles, AllowSafeAssignment.
329
- # SupportedStyles: require_parentheses, require_no_parentheses
330
- Style/TernaryParentheses:
331
- AutoCorrect: true
332
-
333
- # Cop supports --auto-correct.
334
- # Configuration parameters: EnforcedStyleForMultiline, SupportedStyles.
335
- # SupportedStyles: comma, consistent_comma, no_comma
336
- Style/TrailingCommaInArrayLiteral:
337
- AutoCorrect: true
338
- Style/TrailingCommaInHashLiteral:
339
- AutoCorrect: true
340
-
341
- # Cop supports --auto-correct.
342
- # Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, IgnoreClassMethods, Whitelist.
343
- # Whitelist: to_ary, to_a, to_c, to_enum, to_h, to_hash, to_i, to_int, to_io, to_open, to_path, to_proc, to_r, to_regexp, to_str, to_s, to_sym
344
- Style/TrivialAccessors:
345
- AutoCorrect: true
346
-
347
- # Cop supports --auto-correct.
348
- Style/UnlessElse:
349
- AutoCorrect: true
350
-
351
- # Cop supports --auto-correct.
352
- Style/UnneededInterpolation:
353
- AutoCorrect: true
354
-
355
- # Cop supports --auto-correct.
356
- Style/UnneededPercentQ:
357
- AutoCorrect: true
358
-
359
- # Cop supports --auto-correct.
360
- # Configuration parameters: SupportedStyles, WordRegex.
361
- # SupportedStyles: percent, brackets
362
- Style/WordArray:
363
- AutoCorrect: true
364
- EnforcedStyle: percent
365
- MinSize: 8
366
-
367
- # Cop supports --auto-correct.
368
- Style/ZeroLengthPredicate:
369
- AutoCorrect: true
370
-
371
- # I'll be a terse as I want to
372
- Naming/UncommunicativeMethodParamName:
373
- Enabled: false
374
-
375
- # Don't like the %i style.
376
- Style/SymbolArray:
377
- Enabled: false
378
-
379
- # if code_is_poetry
380
- # make_a_block_if_you_want_to
381
- # end
382
- Style/IfUnlessModifier:
383
- Enabled: false
384
-
385
- Metrics/LineLength:
386
- Enabled: false
387
-
388
- # We're ok with using variable names (` Exception => err`)
389
- # for exceptions, not just `Exception => e`
390
- Naming/RescuedExceptionsVariableName:
391
- Enabled: false
@@ -1,4 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 2.4
4
- - 2.5