clamp 1.0.1 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
- require 'spec_helper'
1
+ require "spec_helper"
2
2
 
3
3
  describe Clamp::Command do
4
4
 
@@ -1,4 +1,4 @@
1
- require 'spec_helper'
1
+ require "spec_helper"
2
2
 
3
3
  describe Clamp::Parameter::Definition do
4
4
 
data/spec/spec_helper.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  require "rspec"
2
2
  require "clamp"
3
- require 'stringio'
3
+ require "stringio"
4
4
 
5
5
  RSpec.configure do |config|
6
6
 
@@ -11,7 +11,6 @@ end
11
11
  module OutputCapture
12
12
 
13
13
  def self.included(target)
14
-
15
14
  target.before do
16
15
  $stdout = @out = StringIO.new
17
16
  $stderr = @err = StringIO.new
@@ -21,7 +20,6 @@ module OutputCapture
21
20
  $stdout = STDOUT
22
21
  $stderr = STDERR
23
22
  end
24
-
25
23
  end
26
24
 
27
25
  def stdout
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: clamp
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Williams
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-01 00:00:00.000000000 Z
11
+ date: 2016-10-16 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |
14
14
  Clamp provides an object-model for command-line utilities.
@@ -21,6 +21,7 @@ files:
21
21
  - ".autotest"
22
22
  - ".gitignore"
23
23
  - ".rspec"
24
+ - ".rubocop.yml"
24
25
  - ".travis.yml"
25
26
  - CHANGES.md
26
27
  - Gemfile
@@ -36,6 +37,7 @@ files:
36
37
  - examples/gitdown
37
38
  - examples/scoop
38
39
  - examples/speak
40
+ - examples/subcommand_missing
39
41
  - lib/clamp.rb
40
42
  - lib/clamp/attribute/declaration.rb
41
43
  - lib/clamp/attribute/definition.rb
@@ -83,7 +85,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
83
85
  version: '0'
84
86
  requirements: []
85
87
  rubyforge_project:
86
- rubygems_version: 2.5.1
88
+ rubygems_version: 2.4.8
87
89
  signing_key:
88
90
  specification_version: 4
89
91
  summary: a minimal framework for command-line utilities