whysoslow 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -2,5 +2,5 @@ source "https://rubygems.org"
2
2
 
3
3
  gemspec
4
4
 
5
- gem 'rake'
6
- gem 'pry'
5
+ gem 'rake', "~> 10.4.0"
6
+ gem 'pry', "~> 0.9.0"
@@ -1,4 +1,4 @@
1
- Copyright (c) 2012-Present Kelly Redding
1
+ Copyright (c) 2012-Present Kelly Redding and Collin Redding
2
2
 
3
3
  MIT License
4
4
 
data/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## Description
4
4
 
5
- Whysoslow is a little runner/printer I wrote to benchmark my Ruby code. It runs a block of code, collects run time measurements, and can snapshot memory usage information at various points during execution.
5
+ Whysoslow is a little runner/printer we wrote to benchmark our Ruby code. It runs a block of code, collects run time measurements, and can snapshot memory usage information at various points during execution.
6
6
 
7
7
  It has no tests, shockingly sparse docs, and is more of an experiment at this point. It comes as is for now so use if you see fit. I will happily accept any pull requests for documentation, tests, extensions, and improvements.
8
8
 
@@ -1,3 +1,3 @@
1
1
  module Whysoslow
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
@@ -6,3 +6,5 @@ $LOAD_PATH.unshift(File.expand_path("../..", __FILE__))
6
6
 
7
7
  # require pry for debugging (`binding.pry`)
8
8
  require 'pry'
9
+
10
+ require 'test/support/factory'
@@ -0,0 +1,6 @@
1
+ require 'assert/factory'
2
+
3
+ module Factory
4
+ extend Assert::Factory
5
+
6
+ end
@@ -6,11 +6,11 @@ require "whysoslow/version"
6
6
  Gem::Specification.new do |gem|
7
7
  gem.name = "whysoslow"
8
8
  gem.version = Whysoslow::VERSION
9
- gem.authors = ["Kelly Redding"]
10
- gem.email = ["kelly@kellyredding.com"]
9
+ gem.authors = ["Kelly Redding", "Collin Redding"]
10
+ gem.email = ["kelly@kellyredding.com", "collin.redding@me.com"]
11
11
  gem.description = %q{A little runner/printer to benchmark Ruby code blocks}
12
12
  gem.summary = %q{A little runner/printer to benchmark Ruby code blocks}
13
- gem.homepage = "http://github.com/kellyredding/whysoslow"
13
+ gem.homepage = "http://github.com/redding/whysoslow"
14
14
  gem.license = 'MIT'
15
15
 
16
16
  gem.files = `git ls-files`.split($/)
@@ -18,7 +18,7 @@ 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.0"])
21
+ gem.add_development_dependency("assert", ["~> 2.13"])
22
22
 
23
23
  gem.add_dependency("ansi", ["~> 1.4"])
24
24
 
metadata CHANGED
@@ -1,40 +1,39 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: whysoslow
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 0
10
- version: 1.0.0
9
+ - 1
10
+ version: 1.0.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Kelly Redding
14
+ - Collin Redding
14
15
  autorequire:
15
16
  bindir: bin
16
17
  cert_chain: []
17
18
 
18
- date: 2013-07-20 00:00:00 Z
19
+ date: 2015-03-01 00:00:00 Z
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
21
- name: assert
22
- prerelease: false
23
22
  requirement: &id001 !ruby/object:Gem::Requirement
24
23
  none: false
25
24
  requirements:
26
25
  - - ~>
27
26
  - !ruby/object:Gem::Version
28
- hash: 3
27
+ hash: 25
29
28
  segments:
30
29
  - 2
31
- - 0
32
- version: "2.0"
30
+ - 13
31
+ version: "2.13"
33
32
  type: :development
33
+ name: assert
34
34
  version_requirements: *id001
35
- - !ruby/object:Gem::Dependency
36
- name: ansi
37
35
  prerelease: false
36
+ - !ruby/object:Gem::Dependency
38
37
  requirement: &id002 !ruby/object:Gem::Requirement
39
38
  none: false
40
39
  requirements:
@@ -46,10 +45,13 @@ dependencies:
46
45
  - 4
47
46
  version: "1.4"
48
47
  type: :runtime
48
+ name: ansi
49
49
  version_requirements: *id002
50
+ prerelease: false
50
51
  description: A little runner/printer to benchmark Ruby code blocks
51
52
  email:
52
53
  - kelly@kellyredding.com
54
+ - collin.redding@me.com
53
55
  executables: []
54
56
 
55
57
  extensions: []
@@ -70,9 +72,10 @@ files:
70
72
  - lib/whysoslow/runner.rb
71
73
  - lib/whysoslow/version.rb
72
74
  - test/helper.rb
75
+ - test/support/factory.rb
73
76
  - test/unit/whysoslow_test.rb
74
77
  - whysoslow.gemspec
75
- homepage: http://github.com/kellyredding/whysoslow
78
+ homepage: http://github.com/redding/whysoslow
76
79
  licenses:
77
80
  - MIT
78
81
  post_install_message:
@@ -101,10 +104,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
101
104
  requirements: []
102
105
 
103
106
  rubyforge_project:
104
- rubygems_version: 1.8.24
107
+ rubygems_version: 1.8.29
105
108
  signing_key:
106
109
  specification_version: 3
107
110
  summary: A little runner/printer to benchmark Ruby code blocks
108
111
  test_files:
109
112
  - test/helper.rb
113
+ - test/support/factory.rb
110
114
  - test/unit/whysoslow_test.rb