rpr 0.6.0 → 0.7.0

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: 4deb365e48b00ead5a52507ea7ba879791ebc3be
4
- data.tar.gz: 366f9ff9b521860d649f2e3dc574d43f9edff844
3
+ metadata.gz: 09187a49f07762509a754fa2e311c8670a12b61e
4
+ data.tar.gz: 0df2758541f2bd55cf7c8834bca6e9d11f9465dc
5
5
  SHA512:
6
- metadata.gz: 4cc9c130cf482405703ca4670ccf3e9c784859df81ad09453e1aa147d09b0a3dafe7c15842380e6b3b7aa8ea12ad381c36519829c5895bff746f67d6c708b504
7
- data.tar.gz: d9b9d12c29b216d3d99e220587a39e9935af7e9a10ad7c7640cda7f13058be76eb3bfff2db6c931ea93fd10cc365223bb11249008b18a1471e7a0e73e3af77b5
6
+ metadata.gz: 38a559b084a67f674c3d3b1c4726ee70e10890c4cf76b2aea02ca15970adc953d6daa3bf72eaaf58053a7fd2e77e6fca9195f0a2e78a6d7848bba095c5ede6e6
7
+ data.tar.gz: 32b0247d0cfe9e300c70e84ccb42016f915291404a5554fae021d8537b1ccc3d49d07f8d1d844ba899a05e12f712ab6c55ce94e31425339daed69c284801bbac
data/.rubocop.yml ADDED
@@ -0,0 +1,485 @@
1
+ AllCops:
2
+ DisplayCopNames: true
3
+ TargetRubyVersion: 2.3
4
+
5
+ Style/BlockDelimiters:
6
+ Enabled: false
7
+
8
+ Style/AccessModifierIndentation:
9
+ Enabled: false
10
+
11
+ Style/AccessorMethodName:
12
+ Enabled: false
13
+
14
+ Style/Alias:
15
+ Enabled: false
16
+
17
+ Style/AlignArray:
18
+ Enabled: false
19
+
20
+ Style/AlignHash:
21
+ Enabled: false
22
+
23
+ Style/AlignParameters:
24
+ Enabled: false
25
+
26
+ Style/AndOr:
27
+ Enabled: false
28
+
29
+ Style/ArrayJoin:
30
+ Enabled: false
31
+
32
+ Style/AsciiComments:
33
+ Enabled: false
34
+
35
+ Style/AsciiIdentifiers:
36
+ Enabled: false
37
+
38
+ Style/Attr:
39
+ Enabled: false
40
+
41
+ Style/BeginBlock:
42
+ Enabled: false
43
+
44
+ Style/BarePercentLiterals:
45
+ Enabled: false
46
+
47
+ Style/BlockComments:
48
+ Enabled: false
49
+
50
+ Style/BlockEndNewline:
51
+ Enabled: false
52
+
53
+ Style/BracesAroundHashParameters:
54
+ Enabled: false
55
+
56
+ Style/CaseEquality:
57
+ Enabled: true
58
+
59
+ Style/CaseIndentation:
60
+ Enabled: false
61
+
62
+ Style/CharacterLiteral:
63
+ Enabled: false
64
+
65
+ Style/ClassAndModuleCamelCase:
66
+ Enabled: false
67
+
68
+ Style/ClassAndModuleChildren:
69
+ Enabled: false
70
+
71
+ Style/ClassCheck:
72
+ Enabled: false
73
+
74
+ Style/ClassMethods:
75
+ Enabled: false
76
+
77
+ Style/ClassVars:
78
+ Enabled: false
79
+
80
+ Style/ColonMethodCall:
81
+ Enabled: false
82
+
83
+ Style/ClosingParenthesisIndentation:
84
+ Enabled: false
85
+
86
+ Style/CommentAnnotation:
87
+ Enabled: false
88
+
89
+ Style/CommentIndentation:
90
+ Enabled: false
91
+
92
+ Style/ConstantName:
93
+ Enabled: false
94
+
95
+ Style/DefWithParentheses:
96
+ Enabled: false
97
+
98
+ Style/DeprecatedHashMethods:
99
+ Enabled: false
100
+
101
+ Style/Documentation:
102
+ Enabled: false
103
+
104
+ Style/DotPosition:
105
+ Enabled: false
106
+
107
+ Style/DoubleNegation:
108
+ Enabled: false
109
+
110
+ Style/EachWithObject:
111
+ Enabled: false
112
+
113
+ Style/ElseAlignment:
114
+ Enabled: false
115
+
116
+ Style/EmptyElse:
117
+ Enabled: false
118
+
119
+ Style/EmptyLineBetweenDefs:
120
+ Enabled: false
121
+
122
+ Style/EmptyLines:
123
+ Enabled: false
124
+
125
+ Style/EmptyLinesAroundAccessModifier:
126
+ Enabled: false
127
+
128
+ Style/EmptyLinesAroundBlockBody:
129
+ Enabled: false
130
+
131
+ Style/EmptyLinesAroundClassBody:
132
+ Enabled: false
133
+
134
+ Style/EmptyLinesAroundModuleBody:
135
+ Enabled: false
136
+
137
+ Style/EmptyLinesAroundMethodBody:
138
+ Enabled: false
139
+
140
+ Style/EmptyLiteral:
141
+ Enabled: false
142
+
143
+ Style/EndBlock:
144
+ Enabled: false
145
+
146
+ Style/EndOfLine:
147
+ Enabled: false
148
+
149
+ Style/EvenOdd:
150
+ Enabled: false
151
+
152
+ Style/ExtraSpacing:
153
+ Enabled: false
154
+
155
+ Style/FileName:
156
+ Enabled: false
157
+
158
+ Style/FirstParameterIndentation:
159
+ Enabled: false
160
+
161
+ Style/FlipFlop:
162
+ Enabled: false
163
+
164
+ Style/For:
165
+ Enabled: false
166
+
167
+ Style/FormatString:
168
+ Enabled: false
169
+
170
+ Style/FrozenStringLiteralComment:
171
+ Enabled: false
172
+
173
+ Style/GlobalVars:
174
+ Enabled: true
175
+
176
+ Style/GuardClause:
177
+ Enabled: false
178
+
179
+ Style/HashSyntax:
180
+ Enabled: true
181
+ SupportedStyles:
182
+ - ruby19
183
+ - ruby19_no_mixed_keys
184
+ - hash_rockets
185
+ UseHashRocketsWithSymbolValues: false
186
+
187
+ Style/IfUnlessModifier:
188
+ Enabled: false
189
+
190
+ Style/IfWithSemicolon:
191
+ Enabled: false
192
+
193
+ Style/IndentationConsistency:
194
+ Enabled: false
195
+
196
+ Style/IndentationWidth:
197
+ Enabled: true
198
+ Width: 2
199
+
200
+ Style/IndentArray:
201
+ Enabled: false
202
+
203
+ Style/IndentHash:
204
+ Enabled: false
205
+
206
+ Style/InfiniteLoop:
207
+ Enabled: false
208
+
209
+ Style/Lambda:
210
+ Enabled: false
211
+
212
+ Style/LambdaCall:
213
+ Enabled: false
214
+
215
+ Style/LeadingCommentSpace:
216
+ Enabled: false
217
+
218
+ Style/LineEndConcatenation:
219
+ Enabled: false
220
+
221
+ Style/MethodCallParentheses:
222
+ Enabled: false
223
+
224
+ Style/MethodDefParentheses:
225
+ Enabled: false
226
+
227
+ Style/MethodName:
228
+ Enabled: false
229
+
230
+ Style/ModuleFunction:
231
+ Enabled: false
232
+
233
+ Style/MultilineBlockChain:
234
+ Enabled: false
235
+
236
+ Style/MultilineBlockLayout:
237
+ Enabled: false
238
+
239
+ Style/MultilineIfThen:
240
+ Enabled: false
241
+
242
+ Style/MultilineOperationIndentation:
243
+ Enabled: false
244
+
245
+ Style/MultilineTernaryOperator:
246
+ Enabled: false
247
+
248
+ Style/NegatedIf:
249
+ Enabled: false
250
+
251
+ Style/NegatedWhile:
252
+ Enabled: false
253
+
254
+ Style/NestedTernaryOperator:
255
+ Enabled: false
256
+
257
+ Style/Next:
258
+ Enabled: false
259
+
260
+ Style/NilComparison:
261
+ Enabled: false
262
+
263
+ Style/NonNilCheck:
264
+ Enabled: false
265
+
266
+ Style/Not:
267
+ Enabled: false
268
+
269
+ Style/NumericLiterals:
270
+ Enabled: false
271
+
272
+ Style/OneLineConditional:
273
+ Enabled: false
274
+
275
+ Style/OpMethod:
276
+ Enabled: false
277
+
278
+ Style/ParenthesesAroundCondition:
279
+ Enabled: false
280
+
281
+ Style/PercentLiteralDelimiters:
282
+ Enabled: false
283
+
284
+ Style/PercentQLiterals:
285
+ Enabled: false
286
+
287
+ Style/PerlBackrefs:
288
+ Enabled: false
289
+
290
+ Style/PredicateName:
291
+ Enabled: false
292
+
293
+ Style/Proc:
294
+ Enabled: false
295
+
296
+ Style/RaiseArgs:
297
+ Enabled: false
298
+
299
+ Style/RedundantBegin:
300
+ Enabled: false
301
+
302
+ Style/RedundantException:
303
+ Enabled: false
304
+
305
+ Style/RedundantReturn:
306
+ Enabled: false
307
+
308
+ Style/RedundantSelf:
309
+ Enabled: false
310
+
311
+ Style/RegexpLiteral:
312
+ Enabled: false
313
+
314
+ Style/RescueModifier:
315
+ Enabled: false
316
+
317
+ Style/SelfAssignment:
318
+ Enabled: false
319
+
320
+ Style/Semicolon:
321
+ Enabled: false
322
+
323
+ Style/SignalException:
324
+ Enabled: false
325
+
326
+ Style/SingleLineBlockParams:
327
+ Enabled: false
328
+
329
+ Style/SingleLineMethods:
330
+ Enabled: false
331
+
332
+ Style/SpaceBeforeFirstArg:
333
+ Enabled: false
334
+
335
+ Style/SpaceAfterColon:
336
+ Enabled: false
337
+
338
+ Style/SpaceAfterComma:
339
+ Enabled: false
340
+
341
+ Style/SpaceAroundKeyword:
342
+ Enabled: false
343
+
344
+ Style/SpaceAfterMethodName:
345
+ Enabled: false
346
+
347
+ Style/SpaceAfterNot:
348
+ Enabled: false
349
+
350
+ Style/SpaceAfterSemicolon:
351
+ Enabled: false
352
+
353
+ Style/SpaceBeforeBlockBraces:
354
+ Enabled: false
355
+
356
+ Style/SpaceBeforeComma:
357
+ Enabled: false
358
+
359
+ Style/SpaceBeforeComment:
360
+ Enabled: false
361
+
362
+ Style/SpaceBeforeSemicolon:
363
+ Enabled: false
364
+
365
+ Style/SpaceInsideBlockBraces:
366
+ Enabled: false
367
+
368
+ Style/SpaceAroundBlockParameters:
369
+ Enabled: false
370
+
371
+ Style/SpaceAroundEqualsInParameterDefault:
372
+ Enabled: false
373
+
374
+ Style/SpaceAroundOperators:
375
+ Enabled: false
376
+
377
+ Style/SpaceInsideBrackets:
378
+ Enabled: false
379
+
380
+ Style/SpaceInsideHashLiteralBraces:
381
+ Enabled: false
382
+
383
+ Style/SpaceInsideParens:
384
+ Enabled: false
385
+
386
+ Style/SpaceInsideRangeLiteral:
387
+ Enabled: false
388
+
389
+ Style/SpecialGlobalVars:
390
+ Enabled: false
391
+
392
+ Style/StringLiterals:
393
+ Enabled: false
394
+
395
+ Style/StringLiteralsInInterpolation:
396
+ Enabled: false
397
+
398
+ Style/StructInheritance:
399
+ Enabled: false
400
+
401
+ Style/SymbolProc:
402
+ Enabled: false
403
+
404
+ Style/Tab:
405
+ Enabled: false
406
+
407
+ Style/TrailingBlankLines:
408
+ Enabled: false
409
+
410
+ Style/TrailingCommaInLiteral:
411
+ Enabled: true
412
+ EnforcedStyleForMultiline: comma
413
+
414
+ Style/TrailingCommaInArguments:
415
+ Enabled: true
416
+ EnforcedStyleForMultiline: comma
417
+
418
+ Style/TrailingWhitespace:
419
+ Enabled: false
420
+
421
+ Style/TrivialAccessors:
422
+ Enabled: false
423
+
424
+ Style/UnlessElse:
425
+ Enabled: false
426
+
427
+ Style/UnneededCapitalW:
428
+ Enabled: false
429
+
430
+ Style/UnneededPercentQ:
431
+ Enabled: false
432
+
433
+ Style/VariableInterpolation:
434
+ Enabled: false
435
+
436
+ Style/VariableName:
437
+ Enabled: false
438
+
439
+ Style/WhenThen:
440
+ Enabled: false
441
+
442
+ Style/WhileUntilDo:
443
+ Enabled: false
444
+
445
+ Style/WhileUntilModifier:
446
+ Enabled: false
447
+
448
+ Style/WordArray:
449
+ Enabled: false
450
+
451
+ Lint/EndAlignment:
452
+ Enabled: false
453
+
454
+ Lint/StringConversionInInterpolation:
455
+ Enabled: false
456
+
457
+ Lint/AssignmentInCondition:
458
+ Enabled: false
459
+
460
+ Metrics/AbcSize:
461
+ Enabled: false
462
+
463
+ Metrics/BlockNesting:
464
+ Enabled: false
465
+
466
+ Metrics/ClassLength:
467
+ Enabled: false
468
+
469
+ Metrics/CyclomaticComplexity:
470
+ Enabled: false
471
+
472
+ Metrics/LineLength:
473
+ Enabled: false
474
+
475
+ Metrics/MethodLength:
476
+ Enabled: false
477
+
478
+ Metrics/ModuleLength:
479
+ Enabled: false
480
+
481
+ Metrics/ParameterLists:
482
+ Enabled: false
483
+
484
+ Metrics/PerceivedComplexity:
485
+ Enabled: false
data/.travis.yml ADDED
@@ -0,0 +1,15 @@
1
+ language: ruby
2
+
3
+ rvm:
4
+ - 2.2.5
5
+ - 2.3.1
6
+ - ruby-head
7
+
8
+ cache: bundler
9
+ bundler_args: --jobs=4 --retry=3
10
+ sudo: false
11
+
12
+
13
+
14
+ script:
15
+ - bundle exec rake test
data/Guardfile ADDED
@@ -0,0 +1,54 @@
1
+ # A sample Guardfile
2
+ # More info at https://github.com/guard/guard#readme
3
+
4
+ ## Uncomment and set this to only include directories you want to watch
5
+ # directories %w(app lib config test spec features) \
6
+ # .select{|d| Dir.exists?(d) ? d : UI.warning("Directory #{d} does not exist")}
7
+
8
+ ## Note: if you are using the `directories` clause above and you are not
9
+ ## watching the project directory ('.'), then you will want to move
10
+ ## the Guardfile to a watched dir and symlink it back, e.g.
11
+ #
12
+ # $ mkdir config
13
+ # $ mv Guardfile config/
14
+ # $ ln -s config/Guardfile .
15
+ #
16
+ # and, you'll have to watch "config/Guardfile" instead of "Guardfile"
17
+
18
+ guard :bundler do
19
+ require 'guard/bundler'
20
+ require 'guard/bundler/verify'
21
+ helper = Guard::Bundler::Verify.new
22
+
23
+ files = ['Gemfile']
24
+ files += Dir['*.gemspec'] if files.any? { |f| helper.uses_gemspec?(f) }
25
+
26
+ # Assume files are symlinked from somewhere
27
+ files.each { |file| watch(helper.real_path(file)) }
28
+ end
29
+
30
+ guard :minitest do
31
+ # with Minitest::Unit
32
+ watch(%r{^test/(.*)\/?test_(.*)\.rb$})
33
+ watch(%r{^lib/(.*/)?([^/]+)\.rb$}) { |m| "test/#{m[1]}test_#{m[2]}.rb" }
34
+ watch(%r{^test/test_helper\.rb$}) { 'test' }
35
+
36
+ # with Minitest::Spec
37
+ # watch(%r{^spec/(.*)_spec\.rb$})
38
+ # watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
39
+ # watch(%r{^spec/spec_helper\.rb$}) { 'spec' }
40
+
41
+ # Rails 4
42
+ # watch(%r{^app/(.+)\.rb$}) { |m| "test/#{m[1]}_test.rb" }
43
+ # watch(%r{^app/controllers/application_controller\.rb$}) { 'test/controllers' }
44
+ # watch(%r{^app/controllers/(.+)_controller\.rb$}) { |m| "test/integration/#{m[1]}_test.rb" }
45
+ # watch(%r{^app/views/(.+)_mailer/.+}) { |m| "test/mailers/#{m[1]}_mailer_test.rb" }
46
+ # watch(%r{^lib/(.+)\.rb$}) { |m| "test/lib/#{m[1]}_test.rb" }
47
+ # watch(%r{^test/.+_test\.rb$})
48
+ # watch(%r{^test/test_helper\.rb$}) { 'test' }
49
+
50
+ # Rails < 4
51
+ # watch(%r{^app/controllers/(.*)\.rb$}) { |m| "test/functional/#{m[1]}_test.rb" }
52
+ # watch(%r{^app/helpers/(.*)\.rb$}) { |m| "test/helpers/#{m[1]}_test.rb" }
53
+ # watch(%r{^app/models/(.*)\.rb$}) { |m| "test/unit/#{m[1]}_test.rb" }
54
+ end
data/LICENSE ADDED
@@ -0,0 +1,116 @@
1
+ CC0 1.0 Universal
2
+
3
+ Statement of Purpose
4
+
5
+ The laws of most jurisdictions throughout the world automatically confer
6
+ exclusive Copyright and Related Rights (defined below) upon the creator and
7
+ subsequent owner(s) (each and all, an "owner") of an original work of
8
+ authorship and/or a database (each, a "Work").
9
+
10
+ Certain owners wish to permanently relinquish those rights to a Work for the
11
+ purpose of contributing to a commons of creative, cultural and scientific
12
+ works ("Commons") that the public can reliably and without fear of later
13
+ claims of infringement build upon, modify, incorporate in other works, reuse
14
+ and redistribute as freely as possible in any form whatsoever and for any
15
+ purposes, including without limitation commercial purposes. These owners may
16
+ contribute to the Commons to promote the ideal of a free culture and the
17
+ further production of creative, cultural and scientific works, or to gain
18
+ reputation or greater distribution for their Work in part through the use and
19
+ efforts of others.
20
+
21
+ For these and/or other purposes and motivations, and without any expectation
22
+ of additional consideration or compensation, the person associating CC0 with a
23
+ Work (the "Affirmer"), to the extent that he or she is an owner of Copyright
24
+ and Related Rights in the Work, voluntarily elects to apply CC0 to the Work
25
+ and publicly distribute the Work under its terms, with knowledge of his or her
26
+ Copyright and Related Rights in the Work and the meaning and intended legal
27
+ effect of CC0 on those rights.
28
+
29
+ 1. Copyright and Related Rights. A Work made available under CC0 may be
30
+ protected by copyright and related or neighboring rights ("Copyright and
31
+ Related Rights"). Copyright and Related Rights include, but are not limited
32
+ to, the following:
33
+
34
+ i. the right to reproduce, adapt, distribute, perform, display, communicate,
35
+ and translate a Work;
36
+
37
+ ii. moral rights retained by the original author(s) and/or performer(s);
38
+
39
+ iii. publicity and privacy rights pertaining to a person's image or likeness
40
+ depicted in a Work;
41
+
42
+ iv. rights protecting against unfair competition in regards to a Work,
43
+ subject to the limitations in paragraph 4(a), below;
44
+
45
+ v. rights protecting the extraction, dissemination, use and reuse of data in
46
+ a Work;
47
+
48
+ vi. database rights (such as those arising under Directive 96/9/EC of the
49
+ European Parliament and of the Council of 11 March 1996 on the legal
50
+ protection of databases, and under any national implementation thereof,
51
+ including any amended or successor version of such directive); and
52
+
53
+ vii. other similar, equivalent or corresponding rights throughout the world
54
+ based on applicable law or treaty, and any national implementations thereof.
55
+
56
+ 2. Waiver. To the greatest extent permitted by, but not in contravention of,
57
+ applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and
58
+ unconditionally waives, abandons, and surrenders all of Affirmer's Copyright
59
+ and Related Rights and associated claims and causes of action, whether now
60
+ known or unknown (including existing as well as future claims and causes of
61
+ action), in the Work (i) in all territories worldwide, (ii) for the maximum
62
+ duration provided by applicable law or treaty (including future time
63
+ extensions), (iii) in any current or future medium and for any number of
64
+ copies, and (iv) for any purpose whatsoever, including without limitation
65
+ commercial, advertising or promotional purposes (the "Waiver"). Affirmer makes
66
+ the Waiver for the benefit of each member of the public at large and to the
67
+ detriment of Affirmer's heirs and successors, fully intending that such Waiver
68
+ shall not be subject to revocation, rescission, cancellation, termination, or
69
+ any other legal or equitable action to disrupt the quiet enjoyment of the Work
70
+ by the public as contemplated by Affirmer's express Statement of Purpose.
71
+
72
+ 3. Public License Fallback. Should any part of the Waiver for any reason be
73
+ judged legally invalid or ineffective under applicable law, then the Waiver
74
+ shall be preserved to the maximum extent permitted taking into account
75
+ Affirmer's express Statement of Purpose. In addition, to the extent the Waiver
76
+ is so judged Affirmer hereby grants to each affected person a royalty-free,
77
+ non transferable, non sublicensable, non exclusive, irrevocable and
78
+ unconditional license to exercise Affirmer's Copyright and Related Rights in
79
+ the Work (i) in all territories worldwide, (ii) for the maximum duration
80
+ provided by applicable law or treaty (including future time extensions), (iii)
81
+ in any current or future medium and for any number of copies, and (iv) for any
82
+ purpose whatsoever, including without limitation commercial, advertising or
83
+ promotional purposes (the "License"). The License shall be deemed effective as
84
+ of the date CC0 was applied by Affirmer to the Work. Should any part of the
85
+ License for any reason be judged legally invalid or ineffective under
86
+ applicable law, such partial invalidity or ineffectiveness shall not
87
+ invalidate the remainder of the License, and in such case Affirmer hereby
88
+ affirms that he or she will not (i) exercise any of his or her remaining
89
+ Copyright and Related Rights in the Work or (ii) assert any associated claims
90
+ and causes of action with respect to the Work, in either case contrary to
91
+ Affirmer's express Statement of Purpose.
92
+
93
+ 4. Limitations and Disclaimers.
94
+
95
+ a. No trademark or patent rights held by Affirmer are waived, abandoned,
96
+ surrendered, licensed or otherwise affected by this document.
97
+
98
+ b. Affirmer offers the Work as-is and makes no representations or warranties
99
+ of any kind concerning the Work, express, implied, statutory or otherwise,
100
+ including without limitation warranties of title, merchantability, fitness
101
+ for a particular purpose, non infringement, or the absence of latent or
102
+ other defects, accuracy, or the present or absence of errors, whether or not
103
+ discoverable, all to the greatest extent permissible under applicable law.
104
+
105
+ c. Affirmer disclaims responsibility for clearing rights of other persons
106
+ that may apply to the Work or any use thereof, including without limitation
107
+ any person's Copyright and Related Rights in the Work. Further, Affirmer
108
+ disclaims responsibility for obtaining any necessary consents, permissions
109
+ or other rights required for any use of the Work.
110
+
111
+ d. Affirmer understands and acknowledges that Creative Commons is not a
112
+ party to this document and has no duty or obligation with respect to this
113
+ CC0 or use of the Work.
114
+
115
+ For more information, please see
116
+ <http://creativecommons.org/publicdomain/zero/1.0/>
data/README.md CHANGED
@@ -136,3 +136,15 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
136
136
 
137
137
  Bug reports and pull requests are welcome on GitHub at https://github.com/pocke/rpr.
138
138
 
139
+
140
+ ## Links
141
+
142
+ - [Ripperをコマンドラインから簡単に使うラッパー rpr を作った - pockestrap](http://pocke.hatenablog.com/entry/2016/05/19/234740) (Japanese Blog)
143
+
144
+
145
+ License
146
+ -------
147
+
148
+ These codes are licensed under CC0.
149
+
150
+ [![CC0](http://i.creativecommons.org/p/zero/1.0/88x31.png "CC0")](http://creativecommons.org/publicdomain/zero/1.0/deed.en)
data/Rakefile CHANGED
@@ -1,2 +1,9 @@
1
1
  require "bundler/gem_tasks"
2
+ require 'rake/testtask'
2
3
  task :default => :spec
4
+
5
+ Rake::TestTask.new do |test|
6
+ test.libs << 'test'
7
+ test.test_files = Dir['test/**/test_*.rb']
8
+ test.verbose = true
9
+ end
data/lib/rpr/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Rpr
2
- VERSION = "0.6.0"
2
+ VERSION = "0.7.0"
3
3
  end
data/rpr.gemspec CHANGED
@@ -17,9 +17,18 @@ Gem::Specification.new do |spec|
17
17
  spec.bindir = "exe"
18
18
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
19
19
  spec.require_paths = ["lib"]
20
+ spec.licenses = ['CC0-1.0']
20
21
 
21
22
  spec.add_runtime_dependency 'pry', '~> 0.10.3'
22
23
 
23
24
  spec.add_development_dependency "bundler", "~> 1.11"
24
25
  spec.add_development_dependency "rake", "~> 10.0"
26
+
27
+ # testing
28
+ spec.add_development_dependency "minitest", "~> 5.9.0"
29
+ spec.add_development_dependency "minitest-power_assert", "~> 0.2.0"
30
+ spec.add_development_dependency 'guard', '~> 2.13.0'
31
+ spec.add_development_dependency 'guard-minitest', '~> 2.4.4'
32
+ spec.add_development_dependency 'guard-bundler', '~> 2.1.0'
33
+ spec.add_development_dependency "rubocop", "~> 0.40.0"
25
34
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rpr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masataka Kuwabara
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-05-19 00:00:00.000000000 Z
11
+ date: 2016-05-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry
@@ -52,6 +52,90 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '10.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: minitest
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 5.9.0
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 5.9.0
69
+ - !ruby/object:Gem::Dependency
70
+ name: minitest-power_assert
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 0.2.0
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 0.2.0
83
+ - !ruby/object:Gem::Dependency
84
+ name: guard
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: 2.13.0
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: 2.13.0
97
+ - !ruby/object:Gem::Dependency
98
+ name: guard-minitest
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: 2.4.4
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: 2.4.4
111
+ - !ruby/object:Gem::Dependency
112
+ name: guard-bundler
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: 2.1.0
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: 2.1.0
125
+ - !ruby/object:Gem::Dependency
126
+ name: rubocop
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: 0.40.0
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: 0.40.0
55
139
  description: Ripper on command line
56
140
  email:
57
141
  - p.ck.t22@gmail.com
@@ -61,7 +145,11 @@ extensions: []
61
145
  extra_rdoc_files: []
62
146
  files:
63
147
  - ".gitignore"
148
+ - ".rubocop.yml"
149
+ - ".travis.yml"
64
150
  - Gemfile
151
+ - Guardfile
152
+ - LICENSE
65
153
  - README.md
66
154
  - Rakefile
67
155
  - bin/console
@@ -74,7 +162,8 @@ files:
74
162
  - lib/rpr/version.rb
75
163
  - rpr.gemspec
76
164
  homepage: https://github.com/pocke/rpr
77
- licenses: []
165
+ licenses:
166
+ - CC0-1.0
78
167
  metadata: {}
79
168
  post_install_message:
80
169
  rdoc_options: []