bumbler 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/bumbler +8 -2
  3. data/lib/bumbler/version.rb +1 -1
  4. metadata +17 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9da205e5dde7cac9a1568c557993872636cd0ffd
4
- data.tar.gz: ab7b2b5b97f952eb6dc299e579ca9fe7e17e6604
3
+ metadata.gz: 276347c37dc81fbeff680275e5c74e63c092efb8
4
+ data.tar.gz: b0e35d455326683d010e5a2d09423965b7ca6139
5
5
  SHA512:
6
- metadata.gz: c48658e26dc52a97035412c716265bfbdf43336f33a6262e8152830194ed3af9919f0700e49963c383ef461d1a72ee0804df1b3778c3cf6b487c875add7000fc
7
- data.tar.gz: 154dae20f53893ad2636675018013b07ef921ce67e885739ab5a9f0653e8ed015f651a7aab22a15a2ed22b069b6c6ab00163fd3b7944db8a6548130ce7db53c6
6
+ metadata.gz: aab69f5ad6d732fd3c5812c6100f7436b1bc7ba7130bcc9c04e1a96c03e0054d1223fb83f7892e55347978183770cad8c3dc42c832fa42717cea37f2a8d9e337
7
+ data.tar.gz: ddda3a691a55a282209854c7cdc9df1ab4da364c07cf9e3fd342cf45ab2d51b13e55d515707eb198bc3bf7c93599eb2dbae7aa90edc9a70bc1639084a04e1edf
@@ -1,5 +1,10 @@
1
1
  #!/usr/bin/env ruby
2
- $LOAD_PATH << File.join(File.dirname(__FILE__), '..', 'lib')
2
+ add_load_path = lambda do
3
+ path = File.join(File.dirname(__FILE__), '..', 'lib')
4
+ $LOAD_PATH << path unless $LOAD_PATH.include? path
5
+ end
6
+
7
+ add_load_path.call # in case we execute via ./bin
3
8
 
4
9
  require 'optparse'
5
10
  require 'bumbler'
@@ -24,12 +29,13 @@ Bumbler::Hooks.slow_threshold = options[:threshold] if options[:threshold]
24
29
 
25
30
  if options[:initializers]
26
31
  require './config/application'
32
+ add_load_path.call # bundler kicks us out
27
33
  require 'bumbler/track_initializers'
28
34
  require './config/environment'
29
35
  else
30
36
  require 'bumbler/go'
31
37
  require './config/environment'
38
+ add_load_path.call # bundler kicks us out
32
39
  end
33
40
 
34
- $LOAD_PATH << File.join(File.dirname(__FILE__), '..', 'lib') # bundler kicks us out
35
41
  Bumbler::Stats.all_slow_items
@@ -1,3 +1,3 @@
1
1
  module Bumbler
2
- VERSION = '0.3.0'
2
+ VERSION = '0.3.1'
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.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ian MacLeod
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-25 00:00:00.000000000 Z
11
+ date: 2014-01-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -24,6 +24,20 @@ dependencies:
24
24
  - - '>='
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bump
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: minitest
29
43
  requirement: !ruby/object:Gem::Requirement
@@ -104,7 +118,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
104
118
  version: '0'
105
119
  requirements: []
106
120
  rubyforge_project:
107
- rubygems_version: 2.0.3
121
+ rubygems_version: 2.0.14
108
122
  signing_key:
109
123
  specification_version: 4
110
124
  summary: Track the load progress of your Bundler-based projects