command-runner 0.8.1 → 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9c2621f1bb8bf6c57ea83aaaefaa8513f0498493
4
- data.tar.gz: ece6a307c578b584d6885880a2af0c74d63262e7
3
+ metadata.gz: 7547604c52079e08e7fb9394e3ac7436332ca402
4
+ data.tar.gz: beaddb35df551eb3858a10fb3991e69d2963f8db
5
5
  SHA512:
6
- metadata.gz: d2b68143080c04956b1288fbf871c83a064787ff59cb7fd8f4b311a49823ce6ea4ccec310de931f9367d2e8d066379abe97bb056da3a73d925465791b5d35f02
7
- data.tar.gz: 0e20e6ec4c1a462e152a2d5d35aaab170bbb1164c3bb8cf097a00dae8d2b1db0d425e6f832346e764298dcbc50823c68a20d8033da130939302530ff48a2c777
6
+ metadata.gz: d4d2ae85fd767805cfa8d1d5c4ada39aae4ccb689d2d2ba150ba284f5336d016d1326fd9fc86011738dbdc95b13792ffb43210fa4f8c2cd918578598961e833b
7
+ data.tar.gz: 2d341ceec6a4f57732d88ab64be721842707435952eefce32da0fbf97855c0c0b0c977d247bc4f082b0a1d3a40a73e862f301b600279251895954ab4bb9036f0
@@ -0,0 +1 @@
1
+ require "command/runner"
@@ -40,6 +40,10 @@ module Command
40
40
  start_time = nil
41
41
  end_time = nil
42
42
 
43
+ if options[:input]
44
+ raise ArgumentError, "Cannot specify options[:input] - using incorrect backend"
45
+ end
46
+
43
47
  with_modified_env(env) do
44
48
  start_time = Time.now
45
49
  output << `#{command} #{arguments.join(' ')}`
@@ -3,7 +3,7 @@ module Command
3
3
  class Runner
4
4
 
5
5
  # The current version of Runner.
6
- VERSION = "0.8.1".freeze
6
+ VERSION = "0.9.1".freeze
7
7
 
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,71 +1,71 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: command-runner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Rodi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-09 00:00:00.000000000 Z
11
+ date: 2014-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: promise
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.3'
19
+ version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '0.3'
26
+ version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rspec
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '2'
33
+ version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: '2'
40
+ version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: yard
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: '0.8'
47
+ version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: '0.8'
54
+ version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: fuubar
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
- version: '1'
61
+ version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - "~>"
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
- version: '1'
68
+ version: '0'
69
69
  description: |2
70
70
  Runs a command or two in the shell with arguments that can be
71
71
  interpolated with the interpolation syntax.
@@ -75,6 +75,7 @@ extensions: []
75
75
  extra_rdoc_files: []
76
76
  files:
77
77
  - README.md
78
+ - lib/command-runner.rb
78
79
  - lib/command/runner.rb
79
80
  - lib/command/runner/backends.rb
80
81
  - lib/command/runner/backends/backticks.rb
@@ -108,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
108
109
  version: '0'
109
110
  requirements: []
110
111
  rubyforge_project:
111
- rubygems_version: 2.2.0
112
+ rubygems_version: 2.2.2
112
113
  signing_key:
113
114
  specification_version: 4
114
115
  summary: Runs commands.