samovar 1.9.1 → 1.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +16 -13
- data/lib/samovar/flags.rb +1 -0
- data/lib/samovar/version.rb +1 -1
- data/samovar.gemspec +2 -1
- data/spec/samovar/command_spec.rb +2 -1
- data/spec/samovar/nested_spec.rb +2 -2
- data/spec/samovar/options_spec.rb +1 -1
- data/spec/spec_helper.rb +3 -18
- metadata +21 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9c0bd9487cfc9b45d64ca2f1e807ce0e89b6b4408ef9ed812eb6fd3f04b376c6
|
4
|
+
data.tar.gz: 7145b36d633509be0f83db27f2f875109ac0623f9d46fac397933e3ac0196a6d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fcf6d2a20f71d11d82855526be7f9e888ec332cdf80bb8999fa4467f5030e4ba8ee18cd9fa710f0e3c2083be4222ea4dd2db44b3b7a435bb41cd8e10692371a9
|
7
|
+
data.tar.gz: f75f223d7e5db75dc352f18f384b53e4935937353ef213b77949b963305ba717c7054d38c036e1f6c43a6bea448093154d7a90a8926670fd0c5109387bd66fc8
|
data/.travis.yml
CHANGED
@@ -1,17 +1,20 @@
|
|
1
1
|
language: ruby
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
- 2.2.4
|
6
|
-
- 2.3.0
|
7
|
-
- 2.4.0
|
8
|
-
- ruby-head
|
9
|
-
- jruby-head
|
10
|
-
- rbx-2
|
11
|
-
env: COVERAGE=true
|
2
|
+
dist: xenial
|
3
|
+
cache: bundler
|
4
|
+
|
12
5
|
matrix:
|
13
|
-
|
14
|
-
|
6
|
+
include:
|
7
|
+
- rvm: 2.3
|
8
|
+
- rvm: 2.4
|
9
|
+
- rvm: 2.5
|
10
|
+
- rvm: 2.6
|
11
|
+
- rvm: 2.6
|
12
|
+
env: COVERAGE=BriefSummary,Coveralls
|
13
|
+
- rvm: truffleruby
|
15
14
|
- rvm: jruby-head
|
15
|
+
env: JRUBY_OPTS="--debug -X+O"
|
16
|
+
- rvm: ruby-head
|
17
|
+
allow_failures:
|
16
18
|
- rvm: ruby-head
|
17
|
-
- rvm:
|
19
|
+
- rvm: truffleruby
|
20
|
+
- rvm: jruby-head
|
data/lib/samovar/flags.rb
CHANGED
data/lib/samovar/version.rb
CHANGED
data/samovar.gemspec
CHANGED
@@ -21,7 +21,8 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.add_dependency "mapping", "~> 1.0"
|
22
22
|
spec.add_dependency "rainbow", ">= 2.0", "< 4.0"
|
23
23
|
|
24
|
-
spec.add_development_dependency "
|
24
|
+
spec.add_development_dependency "covered"
|
25
|
+
spec.add_development_dependency "bundler"
|
25
26
|
spec.add_development_dependency "rake", "~> 10.0"
|
26
27
|
spec.add_development_dependency "rspec", "~> 3.6"
|
27
28
|
end
|
data/spec/samovar/nested_spec.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
@@ -1,25 +1,10 @@
|
|
1
1
|
|
2
|
-
|
3
|
-
begin
|
4
|
-
require 'simplecov'
|
5
|
-
|
6
|
-
SimpleCov.start do
|
7
|
-
add_filter "/spec/"
|
8
|
-
end
|
9
|
-
|
10
|
-
if ENV['TRAVIS']
|
11
|
-
require 'coveralls'
|
12
|
-
Coveralls.wear!
|
13
|
-
end
|
14
|
-
rescue LoadError
|
15
|
-
warn "Could not load simplecov: #{$!}"
|
16
|
-
end
|
17
|
-
end
|
18
|
-
|
19
|
-
require "bundler/setup"
|
2
|
+
require 'covered/rspec'
|
20
3
|
require "samovar"
|
21
4
|
|
22
5
|
RSpec.configure do |config|
|
6
|
+
config.disable_monkey_patching!
|
7
|
+
|
23
8
|
# Enable flags like --only-failures and --next-failure
|
24
9
|
config.example_status_persistence_file_path = ".rspec_status"
|
25
10
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: samovar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.9.
|
4
|
+
version: 1.9.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-02-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mapping
|
@@ -44,20 +44,34 @@ dependencies:
|
|
44
44
|
- - "<"
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: '4.0'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: covered
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
type: :development
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - ">="
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '0'
|
47
61
|
- !ruby/object:Gem::Dependency
|
48
62
|
name: bundler
|
49
63
|
requirement: !ruby/object:Gem::Requirement
|
50
64
|
requirements:
|
51
|
-
- - "
|
65
|
+
- - ">="
|
52
66
|
- !ruby/object:Gem::Version
|
53
|
-
version: '
|
67
|
+
version: '0'
|
54
68
|
type: :development
|
55
69
|
prerelease: false
|
56
70
|
version_requirements: !ruby/object:Gem::Requirement
|
57
71
|
requirements:
|
58
|
-
- - "
|
72
|
+
- - ">="
|
59
73
|
- !ruby/object:Gem::Version
|
60
|
-
version: '
|
74
|
+
version: '0'
|
61
75
|
- !ruby/object:Gem::Dependency
|
62
76
|
name: rake
|
63
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -140,8 +154,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
140
154
|
- !ruby/object:Gem::Version
|
141
155
|
version: '0'
|
142
156
|
requirements: []
|
143
|
-
|
144
|
-
rubygems_version: 2.7.7
|
157
|
+
rubygems_version: 3.0.2
|
145
158
|
signing_key:
|
146
159
|
specification_version: 4
|
147
160
|
summary: Samovar is a flexible option parser excellent support for sub-commands and
|