benchmark_requires 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7b07e2c540d6ec7f257cd936a9bb92717d539ce3
4
- data.tar.gz: d6c3acf3bd94e9f79b01d0b3afa27d7ce39fbbe3
3
+ metadata.gz: ec6989c116a249070eb72f15be902c809b09a0b4
4
+ data.tar.gz: ff95a76aee3083c2a74496d10ee5b9481685e8aa
5
5
  SHA512:
6
- metadata.gz: 853593d2b6935448749ac4f1e39d7f7aa863af035fe95dae9d239db15f0c576b5934cfa301475182b4a9e14449280e63ff514f6c73416820dbcc494d2d6b59ca
7
- data.tar.gz: 6ca91dc35d13df8aff6a0f740cfaac89eb074f239fcbc61b844a7ab6b7c219643a142d782646e95b92ecc4bf529c5eaf2aefddcdee95264e73c8287978ee83e4
6
+ metadata.gz: be334a41038305e0e476fe8204fdbc624656af73a331e63868b87a4de2735f3e003e4f596ab07754ae137afc0e22f25049aa63800d5d6463b5875189d61093bc
7
+ data.tar.gz: 87806ccb04f41d22c9936dc9e189fa00a4c5e1b1143d0ac4984dbf24f29621b761fb03191c0c68407c4bbba02bdb24f6f91c14544e21673bfdb24819ad96dd0b
data/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  benchmark_requires
2
2
  ==================
3
3
 
4
+ ![travis-ci-status](https://travis-ci.org/binarycleric/benchmark_requires.svg?branch=master)
5
+
4
6
  BenchmarkRequires is a simple gem that helps identify slow loading libraries.
5
7
 
6
8
  As applications get older and more complex the start-up time tends to increase
@@ -37,12 +39,12 @@ BenchmarkRequires.logger = Rails.logger
37
39
  BenchmarkRequires.logger = Logger.new STDERR
38
40
  BenchmarkRequires.logger = Logger.new nil
39
41
 
40
- BenchmarkRequires.log_action = proc do |logger, message|
42
+ BenchmarkRequires.log_action = lambda do |logger, message|
41
43
  logger.info message
42
44
  end
43
45
 
44
46
  # super basic log action.
45
- BenchmarkRequires.log_action = proc do |logger, message|
47
+ BenchmarkRequires.log_action = lambda do |logger, message|
46
48
  puts message
47
49
  end
48
50
 
@@ -1,6 +1,6 @@
1
1
  module BenchmarkRequires
2
2
 
3
- VERSION = "1.0.0"
3
+ VERSION = "1.0.1"
4
4
 
5
5
  SUMMARY = "BenchmarkRequires is a simple gem that helps identify slow loading libraries."
6
6
 
@@ -24,7 +24,7 @@ module BenchmarkRequires
24
24
 
25
25
  unless self.logger
26
26
  logger = Logger.new(STDOUT)
27
- logger.formatter = proc do |severity, datetime, progname, message|
27
+ logger.formatter = lambda do |severity, datetime, progname, message|
28
28
  "#{message}\n"
29
29
  end
30
30
  self.logger = logger
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: benchmark_requires
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jon Daniel
@@ -14,28 +14,28 @@ dependencies:
14
14
  name: rake
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
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
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
40
  version: '0'
41
41
  description: "BenchmarkRequires is a simple gem that helps identify slow loading libraries.\n\nAs
@@ -47,17 +47,16 @@ executables: []
47
47
  extensions: []
48
48
  extra_rdoc_files: []
49
49
  files:
50
+ - LICENSE
51
+ - README.md
52
+ - lib/benchmark_requires.rb
50
53
  - lib/benchmark_requires/message_builder.rb
51
54
  - lib/benchmark_requires/object_extension.rb
52
55
  - lib/benchmark_requires/runner.rb
53
56
  - lib/benchmark_requires/version.rb
54
- - lib/benchmark_requires.rb
55
- - LICENSE
56
- - README.md
57
57
  - spec/lib/benchmark_requires/message_builder_spec.rb
58
58
  - spec/lib/benchmark_requires/runner_spec.rb
59
59
  - spec/lib/benchmark_requires_spec.rb
60
- - Rakefile
61
60
  homepage: http://www.github.com/binarycleric/benchmark_requires
62
61
  licenses:
63
62
  - MIT
@@ -68,17 +67,17 @@ require_paths:
68
67
  - lib
69
68
  required_ruby_version: !ruby/object:Gem::Requirement
70
69
  requirements:
71
- - - '>='
70
+ - - ">="
72
71
  - !ruby/object:Gem::Version
73
72
  version: '0'
74
73
  required_rubygems_version: !ruby/object:Gem::Requirement
75
74
  requirements:
76
- - - '>='
75
+ - - ">="
77
76
  - !ruby/object:Gem::Version
78
77
  version: '0'
79
78
  requirements: []
80
79
  rubyforge_project:
81
- rubygems_version: 2.0.5
80
+ rubygems_version: 2.2.0
82
81
  signing_key:
83
82
  specification_version: 4
84
83
  summary: BenchmarkRequires is a simple gem that helps identify slow loading libraries.
@@ -86,4 +85,3 @@ test_files:
86
85
  - spec/lib/benchmark_requires/message_builder_spec.rb
87
86
  - spec/lib/benchmark_requires/runner_spec.rb
88
87
  - spec/lib/benchmark_requires_spec.rb
89
- - Rakefile
data/Rakefile DELETED
@@ -1,9 +0,0 @@
1
- Bundler::GemHelper.install_tasks
2
-
3
- require 'rspec/core'
4
- require 'rspec/core/rake_task'
5
-
6
- desc "Run all specs in spec directory"
7
- RSpec::Core::RakeTask.new(:test)
8
-
9
- task :default => [:test]