scmd 3.0.1 → 3.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +0 -5
- data/{LICENSE.txt → LICENSE} +0 -0
- data/lib/scmd/version.rb +1 -1
- data/scmd.gemspec +5 -3
- data/test/helper.rb +9 -0
- data/test/unit/command_spy_tests.rb +1 -1
- data/test/unit/stored_commands_tests.rb +1 -1
- metadata +13 -14
- data/Rakefile +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
|
4
|
-
|
3
|
+
metadata.gz: 5e48e0e6abec09c2d488171bf2ffd04031b7efbe
|
4
|
+
data.tar.gz: f359070c4b73bb593beeeef403bfc14646bf5cce
|
5
5
|
SHA512:
|
6
|
-
|
7
|
-
|
6
|
+
metadata.gz: dd6d817e173b8ce52076b82cd2ef58ac7951d640284466f06bedb98640479e272822a7d1c46c11f84c34df48513dc4ecd34b4f4d93fd109e3f4c39df45d89512
|
7
|
+
data.tar.gz: 258d7604511058d00fce7787a5e9d1f37f5ae06bfe4f2e59a4e656a31dfb0b07987714a16797b55fb8185678a802a11a05e55e3d566a97a33080e4b84b75b61b
|
data/Gemfile
CHANGED
data/{LICENSE.txt → LICENSE}
RENAMED
File without changes
|
data/lib/scmd/version.rb
CHANGED
data/scmd.gemspec
CHANGED
@@ -5,11 +5,11 @@ require "scmd/version"
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |gem|
|
7
7
|
gem.name = "scmd"
|
8
|
-
gem.version =
|
8
|
+
gem.version = "3.0.2"
|
9
9
|
gem.authors = ["Kelly Redding", "Collin Redding"]
|
10
10
|
gem.email = ["kelly@kellyredding.com", "collin.redding@me.com"]
|
11
|
-
gem.description = %q{Build and run system commands.}
|
12
11
|
gem.summary = %q{Build and run system commands.}
|
12
|
+
gem.description = %q{Build and run system commands.}
|
13
13
|
gem.homepage = "http://github.com/redding/scmd"
|
14
14
|
gem.license = 'MIT'
|
15
15
|
|
@@ -18,6 +18,8 @@ Gem::Specification.new do |gem|
|
|
18
18
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
19
19
|
gem.require_paths = ["lib"]
|
20
20
|
|
21
|
-
gem.add_development_dependency("assert", ["~> 2.
|
21
|
+
gem.add_development_dependency("assert", ["~> 2.16.1"])
|
22
|
+
|
22
23
|
gem.add_dependency("posix-spawn", ["~> 0.3.11"])
|
24
|
+
|
23
25
|
end
|
data/test/helper.rb
CHANGED
@@ -9,3 +9,12 @@ $LOAD_PATH.unshift(ROOT_PATH)
|
|
9
9
|
require 'pry'
|
10
10
|
|
11
11
|
require 'test/support/factory'
|
12
|
+
|
13
|
+
# 1.8.7 backfills
|
14
|
+
|
15
|
+
# Array#sample
|
16
|
+
if !(a = Array.new).respond_to?(:sample) && a.respond_to?(:choice)
|
17
|
+
class Array
|
18
|
+
alias_method :sample, :choice
|
19
|
+
end
|
20
|
+
end
|
@@ -137,7 +137,7 @@ class Scmd::StoredCommands
|
|
137
137
|
stub2 = Stub.new(@cmd_str)
|
138
138
|
assert_equal stub1, stub2
|
139
139
|
|
140
|
-
Assert.stub(stub1, [:cmd_str, :hash].
|
140
|
+
Assert.stub(stub1, [:cmd_str, :hash].sample){ Factory.string }
|
141
141
|
assert_not_equal stub1, stub2
|
142
142
|
end
|
143
143
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scmd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kelly Redding
|
@@ -10,28 +10,28 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date:
|
13
|
+
date: 2016-06-01 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
|
-
|
16
|
+
name: assert
|
17
|
+
prerelease: false
|
18
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
17
19
|
requirements:
|
18
20
|
- - ~>
|
19
21
|
- !ruby/object:Gem::Version
|
20
|
-
version:
|
22
|
+
version: 2.16.1
|
21
23
|
type: :development
|
22
|
-
|
23
|
-
name: assert
|
24
|
-
prerelease: false
|
24
|
+
version_requirements: *id001
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
|
-
|
26
|
+
name: posix-spawn
|
27
|
+
prerelease: false
|
28
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
27
29
|
requirements:
|
28
30
|
- - ~>
|
29
31
|
- !ruby/object:Gem::Version
|
30
32
|
version: 0.3.11
|
31
33
|
type: :runtime
|
32
|
-
|
33
|
-
name: posix-spawn
|
34
|
-
prerelease: false
|
34
|
+
version_requirements: *id002
|
35
35
|
description: Build and run system commands.
|
36
36
|
email:
|
37
37
|
- kelly@kellyredding.com
|
@@ -45,9 +45,8 @@ extra_rdoc_files: []
|
|
45
45
|
files:
|
46
46
|
- .gitignore
|
47
47
|
- Gemfile
|
48
|
-
- LICENSE
|
48
|
+
- LICENSE
|
49
49
|
- README.md
|
50
|
-
- Rakefile
|
51
50
|
- bench/results.txt
|
52
51
|
- bench/runner.rb
|
53
52
|
- lib/scmd.rb
|
@@ -90,7 +89,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
90
89
|
requirements: []
|
91
90
|
|
92
91
|
rubyforge_project:
|
93
|
-
rubygems_version: 2.
|
92
|
+
rubygems_version: 2.6.4
|
94
93
|
signing_key:
|
95
94
|
specification_version: 4
|
96
95
|
summary: Build and run system commands.
|
data/Rakefile
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
require "bundler/gem_tasks"
|