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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- data.tar.gz: 41ab93becdd3b11aa43cf2b7465bb06740176732
4
- metadata.gz: d8df11392ad93610a721cdfb7c85aa4a2bc3b0a2
3
+ metadata.gz: 5e48e0e6abec09c2d488171bf2ffd04031b7efbe
4
+ data.tar.gz: f359070c4b73bb593beeeef403bfc14646bf5cce
5
5
  SHA512:
6
- data.tar.gz: c069015a2af2701ac855f12384c2941b39ede49b7e89b9157a83be6214b83034106405a1ad0c52fc016007b65a4d3ced67cb118008a6d7c0fa5cbf56fa3eb0ed
7
- metadata.gz: cce48d3004f825e93f42b5e1a397ed5c7dbaff2a4fddcfce0e8acba3586b56286ba9a3dd7952136b73aacdb2eb51cd9ebf3435d35719dfc2cc0384a87193fec6
6
+ metadata.gz: dd6d817e173b8ce52076b82cd2ef58ac7951d640284466f06bedb98640479e272822a7d1c46c11f84c34df48513dc4ecd34b4f4d93fd109e3f4c39df45d89512
7
+ data.tar.gz: 258d7604511058d00fce7787a5e9d1f37f5ae06bfe4f2e59a4e656a31dfb0b07987714a16797b55fb8185678a802a11a05e55e3d566a97a33080e4b84b75b61b
data/Gemfile CHANGED
@@ -2,10 +2,5 @@ source "https://rubygems.org"
2
2
 
3
3
  gemspec
4
4
 
5
- gem 'rake'
6
5
  gem 'pry', "~> 0.9.0"
7
6
  gem 'whysoslow'
8
-
9
- platform :rbx do
10
- gem 'rubysl'
11
- end
File without changes
@@ -1,3 +1,3 @@
1
1
  module Scmd
2
- VERSION = "3.0.1"
2
+ VERSION = "3.0.2"
3
3
  end
@@ -5,11 +5,11 @@ require "scmd/version"
5
5
 
6
6
  Gem::Specification.new do |gem|
7
7
  gem.name = "scmd"
8
- gem.version = Scmd::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.15"])
21
+ gem.add_development_dependency("assert", ["~> 2.16.1"])
22
+
22
23
  gem.add_dependency("posix-spawn", ["~> 0.3.11"])
24
+
23
25
  end
@@ -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
@@ -217,7 +217,7 @@ class Scmd::CommandSpy
217
217
  :exitstatus,
218
218
  :stdout,
219
219
  :stderr
220
- ].choice
220
+ ].sample
221
221
  Assert.stub(spy2, a){ Factory.string }
222
222
 
223
223
  assert_not_equal spy1, spy2
@@ -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].choice){ Factory.string }
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.1
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: 2015-12-22 00:00:00 Z
13
+ date: 2016-06-01 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
- version_requirements: &id001 !ruby/object:Gem::Requirement
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: "2.15"
22
+ version: 2.16.1
21
23
  type: :development
22
- requirement: *id001
23
- name: assert
24
- prerelease: false
24
+ version_requirements: *id001
25
25
  - !ruby/object:Gem::Dependency
26
- version_requirements: &id002 !ruby/object:Gem::Requirement
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
- requirement: *id002
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.txt
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.5.1
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"