bumbler 0.3.2 → 0.4.0

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: 9cdb53357b702f62f0720e5c6ec6114433c03e32
4
- data.tar.gz: 070eba4472756b62580ae40891a2fc58b7ab1c3a
3
+ metadata.gz: 9abbc91606a74bf42c56bb717da504655cfc3168
4
+ data.tar.gz: cb5ebda70468bedb63bb4824f47d8d6a9fe93f7f
5
5
  SHA512:
6
- metadata.gz: b68cfd7357eb8616e4fc404b8dd5203bc557ad708d716b2379583a3d3dde80c21d42895ef2dca0f75b8ffd48308226bde8bfa4db6f19999c9426fbd3f240e10b
7
- data.tar.gz: 2393a9e83c322396669fe95d29de3f46c71c63da9a314f1d0cc040d431290267903f8abec84661f6e327355b5bb4ddff357bdec3f27e1a684e69bf21a49c397b
6
+ metadata.gz: 1faad2c2902c97caba3629be3f5ad29ce44925013d6bf6b1d0bc0b3dab26eed6c1505d7b4fed0e552c414360971f35d4e3839848d87db249df729fe7bd44c9bf
7
+ data.tar.gz: f92d2a7e5e1d24508e80424d5d4fb47ca72185b67f6b273f0d640effdc12cd7aba72cfc6055422973972e669bc2f292b1e67022eb8d492be50ae2265ff2853be
@@ -1,14 +1,13 @@
1
- Rails::Engine.class_eval do
2
- def load(initializer)
3
- initializer = initializer.sub(Rails.root.to_s, ".")
1
+ Rails::Engine.prepend(Module.new do
2
+ def load(file, *)
3
+ initializer = file.sub(Rails.root.to_s, ".")
4
4
  Bumbler::Hooks.benchmark(initializer) { super }.last
5
5
  end
6
- end
6
+ end)
7
7
 
8
- Rails::Initializable::Initializer.class_eval do
9
- alias_method :run_without_bumbler, :run
10
- def run(*args)
8
+ Rails::Initializable::Initializer.prepend(Module.new do
9
+ def run(*)
11
10
  name = (@name.is_a?(Symbol) ? @name.inspect : @name)
12
- Bumbler::Hooks.benchmark(name) { run_without_bumbler(*args) }.last
11
+ Bumbler::Hooks.benchmark(name) { super }.last
13
12
  end
14
- end
13
+ end)
@@ -1,3 +1,3 @@
1
1
  module Bumbler
2
- VERSION = '0.3.2'
2
+ VERSION = '0.4.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bumbler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ian MacLeod
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-08 00:00:00.000000000 Z
11
+ date: 2018-02-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -39,35 +39,7 @@ dependencies:
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
- name: minitest
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: '0'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: '0'
55
- - !ruby/object:Gem::Dependency
56
- name: minitest-rg
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- version: '0'
69
- - !ruby/object:Gem::Dependency
70
- name: minitest-around
42
+ name: maxitest
71
43
  requirement: !ruby/object:Gem::Requirement
72
44
  requirements:
73
45
  - - ">="
@@ -110,7 +82,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
110
82
  requirements:
111
83
  - - ">="
112
84
  - !ruby/object:Gem::Version
113
- version: '0'
85
+ version: 2.1.0
114
86
  required_rubygems_version: !ruby/object:Gem::Requirement
115
87
  requirements:
116
88
  - - ">="
@@ -118,7 +90,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
118
90
  version: '0'
119
91
  requirements: []
120
92
  rubyforge_project:
121
- rubygems_version: 2.4.5.1
93
+ rubygems_version: 2.6.14
122
94
  signing_key:
123
95
  specification_version: 4
124
96
  summary: Track the load progress of your Bundler-based projects