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 +4 -4
- data/lib/bumbler/track_initializers.rb +8 -9
- data/lib/bumbler/version.rb +1 -1
- metadata +5 -33
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9abbc91606a74bf42c56bb717da504655cfc3168
|
4
|
+
data.tar.gz: cb5ebda70468bedb63bb4824f47d8d6a9fe93f7f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1faad2c2902c97caba3629be3f5ad29ce44925013d6bf6b1d0bc0b3dab26eed6c1505d7b4fed0e552c414360971f35d4e3839848d87db249df729fe7bd44c9bf
|
7
|
+
data.tar.gz: f92d2a7e5e1d24508e80424d5d4fb47ca72185b67f6b273f0d640effdc12cd7aba72cfc6055422973972e669bc2f292b1e67022eb8d492be50ae2265ff2853be
|
@@ -1,14 +1,13 @@
|
|
1
|
-
Rails::Engine.
|
2
|
-
def load(
|
3
|
-
initializer =
|
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.
|
9
|
-
|
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) {
|
11
|
+
Bumbler::Hooks.benchmark(name) { super }.last
|
13
12
|
end
|
14
|
-
end
|
13
|
+
end)
|
data/lib/bumbler/version.rb
CHANGED
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.
|
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:
|
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:
|
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:
|
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.
|
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
|