wip-bootstrap 1.0 → 1.1

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -1,2 +1,15 @@
1
1
  require 'bundler'
2
2
  Bundler::GemHelper.install_tasks
3
+
4
+ module Bundler
5
+ class GemHelper
6
+ # override in order to see install output (we have a post-install hook)
7
+ def install_gem
8
+ built_gem_path = build_gem
9
+ out, err, code = sh_with_code("gem install #{built_gem_path}")
10
+ puts out
11
+ raise err if err[/ERROR/]
12
+ Bundler.ui.confirm "#{name} (#{version}) installed"
13
+ end
14
+ end
15
+ end
data/bin/wip-bootstrap ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ begin
4
+ require 'wip-bootstrap'
5
+ WIP::Bootstrap.run
6
+ rescue
7
+ raise 'Failed to bootstrap `wip`'
8
+ end
@@ -1,5 +1,5 @@
1
1
  module WIP
2
2
  module Bootstrap
3
- VERSION = "1.0"
3
+ VERSION = "1.1"
4
4
  end
5
5
  end
@@ -18,4 +18,15 @@ Gem::Specification.new do |s|
18
18
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
19
19
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
20
20
  s.require_paths = ["lib"]
21
+
22
+ s.post_install_message = %Q{
23
+ Thank you for installing #{s.name} v#{s.version}
24
+ ------------------------------------------------------------------------------
25
+ NOTE: Please run
26
+
27
+ wip-bootstrap
28
+
29
+ To update your bash profile with `wip` functions and such.
30
+ ------------------------------------------------------------------------------
31
+ }
21
32
  end
metadata CHANGED
@@ -1,12 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wip-bootstrap
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
- - 0
9
- version: "1.0"
8
+ - 1
9
+ version: "1.1"
10
10
  platform: ruby
11
11
  authors:
12
12
  - Corey Innis
@@ -21,8 +21,8 @@ dependencies: []
21
21
  description: bootstrap 'wip'
22
22
  email:
23
23
  - support+wip@coolerator.net
24
- executables: []
25
-
24
+ executables:
25
+ - wip-bootstrap
26
26
  extensions: []
27
27
 
28
28
  extra_rdoc_files: []
@@ -33,6 +33,7 @@ files:
33
33
  - Gemfile.lock
34
34
  - README.md
35
35
  - Rakefile
36
+ - bin/wip-bootstrap
36
37
  - files/wip/bin/wiprc
37
38
  - files/wiprc
38
39
  - lib/wip-bootstrap.rb
@@ -42,7 +43,17 @@ has_rdoc: true
42
43
  homepage: http://rubygems.org/gems/wip-bootstrap
43
44
  licenses: []
44
45
 
45
- post_install_message:
46
+ post_install_message: |
47
+
48
+ Thank you for installing wip-bootstrap v1.1
49
+ ------------------------------------------------------------------------------
50
+ NOTE: Please run
51
+
52
+ wip-bootstrap
53
+
54
+ To update your bash profile with `wip` functions and such.
55
+ ------------------------------------------------------------------------------
56
+
46
57
  rdoc_options: []
47
58
 
48
59
  require_paths: